Comment 1 for bug 1549619

Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

Issue:
-----------
During upgrade the postinst of contrail-openstack back's up the
/etc/init.d/<openstack service> assuming that the conf file is from the
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/supervisord_openstack.sock status
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-vse2100-1:/opt/contrail/utils#

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:
---------------------
Workaround is to rename /etc/init.d/service.backup to /etc/init.d/service