'openstack undercloud upgrade' fails for upgrade from stable/mitaka to newton

Bug #1593179 reported by Marios Andreou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Low
Marios Andreou

Bug Description

When trying to upgrade a stable/mitaka undercloud, after enabling the newton repos and running yum -y update (more below, this took ages), trying to upgrade the undercloud returns immediately with an error:

[stack@instack ~]$ openstack undercloud upgrade
Traceback (most recent call last):
  File "/bin/openstack", line 6, in <module>
    from openstackclient.shell import main
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 29, in <module>
    from osc_lib.command import timing
ImportError: No module named osc_lib.command

To reproduce:
1-> deploy stable/mitaka
    using mitaka centos repos e.g. sudo curl -o /etc/yum.repos.d/delorean-mitaka.repo http://trunk.rdoproject.org/centos7-mitaka/current/delorean.repo

2-> disable mitaka and enable newton repos:

CURRENT_VERSION=mitaka
NEW_VERSION=newton

mkdir ~/REPOBACKUP
sudo mv /etc/yum.repos.d/delorean*$CURRENT_VERSION* ~/REPOBACKUP/

sudo curl -o /etc/yum.repos.d/delorean-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/current/delorean.repo
sudo curl -o /etc/yum.repos.d/delorean-deps-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/delorean-deps.repo

3-> sudo yum -y update
    Takes a veery long time, over half hour... looks like it hangs at
  Cleanup : openstack-swift-object-2.7.1-0.20160507155743.d75e6d3.el7.centos.noarch 235/297
  Cleanup : 1:openstack-heat-engine-6.0.1-0.20160610190800.4efadc5.el7.centos.noarch 236/297

    but eventually continues "Complete!"

4-> openstack undercloud upgrade
immediately returns with
Traceback (most recent call last):
  File "/bin/openstack", line 6, in <module>
    from openstackclient.shell import main
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 29, in <module>
    from osc_lib.command import timing
ImportError: No module named osc_lib.command

package versions:

[root@instack ~]# rpm -qa | grep "openstack\|tripleo\|heat\|instack"
openstack-nova-network-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-nova-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-zaqar-3.0.0-0.20160616085522.b8a70e4.el7.centos.noarch
openstack-neutron-ml2-9.0.0-0.20160616085845.1f12cb4.el7.centos.noarch
openstack-heat-api-7.0.0-0.20160616043631.2b0ae3c.el7.centos.noarch
openstack-aodh-listener-2.0.2-0.20160607162328.7212765.el7.centos.noarch
openstack-tripleo-image-elements-5.0.0-0.20160613170926.5feb901.el7.centos.noarch
openstack-ceilometer-polling-6.0.1-0.20160613225348.f99cedf.el7.centos.noarch
openstack-selinux-0.7.2-1.el7.noarch
openstack-nova-compute-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-cinder-9.0.0-0.20160616074803.93aa664.el7.centos.noarch
openstack-sahara-common-5.0.0-0.20160614222831.5fefb63.el7.centos.noarch
python-openstack-mistral-3.0.0-0.20160616041356.b03f1f1.el7.centos.noarch
openstack-aodh-common-2.0.2-0.20160607162328.7212765.el7.centos.noarch
openstack-utils-2015.2-1.el7.noarch
openstack-ceilometer-central-6.0.1-0.20160613225348.f99cedf.el7.centos.noarch
openstack-swift-object-2.8.1-0.20160615215434.3944d82.el7.centos.noarch
openstack-aodh-notifier-2.0.2-0.20160607162328.7212765.el7.centos.noarch
python-heatclient-1.2.1-0.20160609061334.1e86edb.el7.centos.noarch
instack-0.0.9-0.20160520194509.5aabf5c.el7.centos.noarch
openstack-swift-container-2.8.1-0.20160615215434.3944d82.el7.centos.noarch
python-openstackclient-2.6.1-0.20160615194619.114eeeb.el7.centos.noarch
openstack-heat-common-7.0.0-0.20160616043631.2b0ae3c.el7.centos.noarch
openstack-ceilometer-notification-6.0.1-0.20160613225348.f99cedf.el7.centos.noarch
openstack-nova-common-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-nova-novncproxy-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-nova-conductor-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-keystone-10.0.0-0.20160615220717.3a62069.el7.centos.noarch
openstack-sahara-5.0.0-0.20160614222831.5fefb63.el7.centos.noarch
instack-undercloud-5.0.0-0.20160615175348.baf0a96.el7.centos.noarch
openstack-ironic-conductor-5.1.1-0.20160615200732.823582c.el7.centos.noarch
openstack-neutron-9.0.0-0.20160616085845.1f12cb4.el7.centos.noarch
openstack-heat-api-cfn-7.0.0-0.20160616043631.2b0ae3c.el7.centos.noarch
openstack-swift-proxy-2.8.1-0.20160615215434.3944d82.el7.centos.noarch
openstack-tripleo-0.0.1-0.20160427125528.b076a5a.el7.centos.noarch
openstack-swift-2.8.1-0.20160615215434.3944d82.el7.centos.noarch
python2-openstacksdk-0.8.7-0.20160614203452.8a56981.el7.centos.noarch
openstack-ceilometer-common-6.0.1-0.20160613225348.f99cedf.el7.centos.noarch
openstack-nova-api-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-nova-scheduler-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-sahara-engine-5.0.0-0.20160614222831.5fefb63.el7.centos.noarch
openstack-glance-13.0.0-0.20160615102423.5f48788.el7.centos.noarch
openstack-neutron-common-9.0.0-0.20160616085845.1f12cb4.el7.centos.noarch
openstack-ironic-common-5.1.1-0.20160615200732.823582c.el7.centos.noarch
openstack-tripleo-puppet-elements-5.0.0-0.20160613150956.bee7e8b.el7.centos.noarch
openstack-heat-templates-0.0.1-0.20160614215755.b9f87c5.el7.centos.noarch
python-tripleoclient-5.0.0-0.20160608084412.edcbcf3.el7.centos.noarch
openstack-neutron-openvswitch-9.0.0-0.20160616085845.1f12cb4.el7.centos.noarch
openstack-ceilometer-api-6.0.1-0.20160613225348.f99cedf.el7.centos.noarch
openstack-ironic-inspector-3.3.1-0.20160614104057.8550b8b.el7.centos.noarch
openstack-nova-cert-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
python-heat-tests-7.0.0-0.20160616043631.2b0ae3c.el7.centos.noarch
openstack-sahara-api-5.0.0-0.20160614222831.5fefb63.el7.centos.noarch
openstack-mistral-common-3.0.0-0.20160616041356.b03f1f1.el7.centos.noarch
openstack-aodh-evaluator-2.0.2-0.20160607162328.7212765.el7.centos.noarch
openstack-tripleo-heat-templates-5.0.0-0.20160615053553.4bd42ea.el7.centos.noarch
openstack-tempest-12.0.1-0.20160615103516.9fd0de9.el7.centos.noarch
openstack-ceilometer-collector-6.0.1-0.20160613225348.f99cedf.el7.centos.noarch
openstack-swift-account-2.8.1-0.20160615215434.3944d82.el7.centos.noarch
openstack-aodh-api-2.0.2-0.20160607162328.7212765.el7.centos.noarch
openstack-swift-plugin-swift3-1.10-1.el7.noarch
openstack-nova-console-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-nova-cells-14.0.0-0.20160616021801.2b0557e.el7.centos.noarch
openstack-tripleo-common-5.0.0-0.20160615184428.4b0830e.el7.centos.noarch
openstack-ironic-api-5.1.1-0.20160615200732.823582c.el7.centos.noarch
openstack-heat-engine-7.0.0-0.20160616043631.2b0ae3c.el7.centos.noarch
openstack-puppet-modules-8.1.1-0.20160609150428.ab63b38.el7.centos.noarch

description: updated
Revision history for this message
Marios Andreou (marios-b) wrote :

I'm not sure of the status of this bug. I wasn't able to reproduce it. I think (one of) the real issue(s) at the moment is the other bug I filed at https://bugs.launchpad.net/tripleo/+bug/1593182 - the relevance is that the 'hanging' i mention in the description above is actually because undercloud-install is waiting for nova-scheduler to startup but it can't. Once I manually patched nova.conf for that I then continued and hit other issues (will be filing bugs momentarily).

For now will change status to invalid to reflect that, we can revisit if needed.

Changed in tripleo:
status: Triaged → Invalid
Changed in tripleo:
importance: High → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.