Bug 1042987 - Upgrade of openstack-quantum to openstack-neutron hangs
Summary: Upgrade of openstack-quantum to openstack-neutron hangs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 4.0
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: 4.0
Assignee: Terry Wilson
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 17:04 UTC by Terry Wilson
Modified: 2016-04-26 23:37 UTC (History)
14 users (show)

Fixed In Version: openstack-neutron-2013.2-16.el6ost
Doc Type: Bug Fix
Doc Text:
Cause: The upgrade script for properly restoring service enablement did not properly handle disabled services. Consequence: Upgrading a grizzly quantum install to neutron when a grizzly service was disabled on the machine could fail. Fix: Specifically generate a chkconfig 'off' command for disabled services. Result: Upgrading from quantum to grizzly with disabled services no longer fails.
Clone Of: 1040704
Environment:
Last Closed: 2013-12-20 00:44:40 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

Comment 1 Terry Wilson 2013-12-13 17:09:36 UTC
As breaking upgrades whenever a service is disabled as bad, setting this urgent for 4.0.

Comment 2 Terry Wilson 2013-12-13 17:47:09 UTC
To test:
1) Install grizzly packstack --allinone
2) chkconfig neutron-server-off
3.a) Set up havana repo and update neutron rpms
 or to quickly verify
3.b) grab the sed script from the spec file (which should match below) and run, ensuring that chkconfig neutron off is output for neutron-server instead of a line just saying 'neutron-server'

chkconfig --type sysv --list|grep ^quantum| \
      sed -re 's/[0-6]:off//g
               s/([0-6]):on\s*/\1/g
               s/quantum/neutron/g
               s/^([a-z0-9-]+)\s+$/chkconfig \1 off/
               s/^([a-z0-9-]+)\s+([0-6]+)/chkconfig --levels \2 \1 on/'

Comment 5 errata-xmlrpc 2013-12-20 00:44:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1859.html


Note You need to log in before you can comment on or make changes to this bug.