upgrade_storage abort on service cinder-api restart failure
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
High
|
Ignatious Johnson Christopher | |||
Trunk |
Fix Committed
|
High
|
Ignatious Johnson Christopher |
Bug Description
upgrade_storage abort on service cinder-api restart failure upgrading from beta ML-2711 to R3.0-2717 kilo. Something may be wrong with upgrade_contrail since a few other services are not recognized, something to do with supervisord configs...
root@cmbu-
nova-api: unrecognized service
root@cmbu-
nova-scheduler: unrecognized service
2016-02-24 17:22:14:207546: [root@10.
2016-02-24 17:22:14:215108: [root@10.
2016-02-24 17:22:14:230774: [root@10.
2016-02-24 17:22:14:230930: [root@10.
2016-02-24 17:22:14:231028: [root@10.
2016-02-24 17:22:14:231123: [root@10.
2016-02-24 17:22:14:231247: [root@10.
2016-02-24 17:22:14:395487: [root@10.
2016-02-24 17:22:14:427277: [root@10.
2016-02-24 17:22:14:427407: [root@10.
2016-02-24 17:22:14:427502: [root@10.
2016-02-24 17:22:14:427598: [root@10.
information type: | Proprietary → Public |
Issue: d/<openstack service> assuming that the conf file is from the
-----------
During upgrade the postinst of contrail-openstack back's up the
/etc/init.
native package.
apt-get install during upgrade wont unpack the conf files, if there is no change in configuration files( even with --force-confnew) option
Though the services are running, no service operation on individual service is possible as the init.d script is backed up to /etc/init. d/<service> .backup
root@cmbu- vse2100- 1:/opt/ contrail/ utils# supervisorctl -s unix:// /tmp/supervisor d_openstack. sock status vse2100- 1:/opt/ contrail/ utils#
cinder-api RUNNING pid 4715, uptime 17:21:27
cinder-scheduler RUNNING pid 4725, uptime 17:21:27
glance-api RUNNING pid 4714, uptime 17:21:27
glance-registry RUNNING pid 4723, uptime 17:21:27
heat-api RUNNING pid 4724, uptime 17:21:27
heat-api-cfn RUNNING pid 4720, uptime 17:21:27
heat-engine RUNNING pid 4722, uptime 17:21:27
keystone RUNNING pid 4718, uptime 17:21:27
nova-api RUNNING pid 4712, uptime 17:21:27
nova-conductor RUNNING pid 4713, uptime 17:21:27
nova-console RUNNING pid 4719, uptime 17:21:27
nova-consoleauth RUNNING pid 4716, uptime 17:21:27
nova-novncproxy RUNNING pid 4711, uptime 17:21:27
nova-objectstore RUNNING pid 4717, uptime 17:21:27
nova-scheduler RUNNING pid 4721, uptime 17:21:27
root@cmbu-
Fix:
-------
Fix is to backup only if the native package upstart
file exists(meaning fresh install). If the native package upstart dosent exists
it is upgrade case.
Workaround: ------- ------- d/service. backup to /etc/init.d/service
-------
Workaround is to rename /etc/init.