Applying patches on deployed nodes

Asked by Claude Durocher on 2015-10-20

Document https://docs.mirantis.com/openstack/fuel/fuel-6.1/maintenance-updates.html states that after applying updates, all non-HA OpenStack services on compute and controller nodes should be restarted.

Is it possible to have a list of those services?

Question information

Language:
English Edit question
Status:
Solved
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Solved by:
Fabrizio Soppelsa
Solved:
2015-11-06
Last query:
2015-11-06
Last reply:
2015-10-23
Best Fabrizio Soppelsa (fsoppelsa) said : #1

Greetings Claude,

this very depends on your configuration. If you have installed Murano, Sahara and other additional services, they must be restarted too. In the standard list, all services not under pacemaker (which includes Ceilometer and Heat in 6.1+) should be restarted. Get them by these two commands:

services=$(curl http://git.openstack.org/cgit/open\
stack/governance/plain/reference/projects.yaml | \
  egrep -v 'Security|Documentation|Infrastructure' | \
  perl -n -e'/^(\w+):$/ && print "openstack-",lc $1,".*\$|",lc $1,".*\$|"')

initctl list | grep -oE $services | grep start

Best regards,
Fabrizio
Mirantis Team

Claude Durocher (claude-d) said : #2

Thanks Fabrizio Soppelsa, that solved my question.