Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1516890 - OSP11 -> OSP12 upgrade: upgrade-non-controller.sh script fails while running the upgrade os-net-config tasks
OSP11 -> OSP12 upgrade: upgrade-non-controller.sh script fails while running ...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
urgent Severity urgent
: rc
: 12.0 (Pike)
Assigned To: Sofer Athlan-Guyot
Marius Cornea
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-23 08:51 EST by Marius Cornea
Modified: 2018-02-05 14:18 EST (History)
7 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-16.el7ost, openstack-tripleo-common-7.6.3-6.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:22:16 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1732888 None None None 2017-11-24 03:47 EST
Launchpad 1733924 None None None 2017-11-23 08:55 EST
OpenStack gerrit 522831 None stable/pike: MERGED tripleo-common: config: Always add step conditional first for upgrade_tasks (I9f6d60f22ef4c057a0d5f47ac2bd4f08520faeec) 2017-11-28 14:35 EST
OpenStack gerrit 523073 None stable/pike: MERGED tripleo-heat-templates: Ensure os-net-config conditional for upgrade doesn’t fail. (I9d9bb3b625c2f0fb5f4a2c98bd3bf903f4b... 2017-11-28 14:35 EST
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Marius Cornea 2017-11-23 08:51:18 EST
Description of problem:
OSP11 -> OSP12 upgrade: upgrade-non-controller.sh script fails while running the upgrade os-net-config tasks

 upgrade-non-controller.sh --upgrade compute-0 fails with:

TASK [Upgrade os-net-config] ******************************************************************************************************************************************************************************************************************
fatal: [192.168.24.24]: FAILED! => {"failed": true, "msg": "The conditional check 'not os_net_config_need_upgrade.stdout and os_net_config_has_config.rc == 0' failed. The error was: error while evaluating conditional (not os_net_config_need_upgrade.stdout and os_net_config_has_config.rc == 0): 'dict object' has no attribute 'stdout'\n\nThe error appears to have been in '/home/stack/compute-0/tripleo-f7TvgC-config/Compute/upgrade_tasks.yaml': line 148, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n  - name: Upgrade os-net-config\n    ^ here\n"}
	to retry, use: --limit @/home/stack/compute-0/tripleo-f7TvgC-config/upgrade_steps_playbook.retry

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-7.0.3-12.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP11
2. Upgrade to OSP12

Actual results:
upgrade-non-controller-sh script fails

Expected results:
upgrade succeeds.

Additional info:
Comment 1 Sofer Athlan-Guyot 2017-11-23 10:27:21 EST
Adding a alternate solution here.  Discussion open for which would be the best.

We also need https://bugzilla.redhat.com/show_bug.cgi?id=1516867 for a complete solution.
Comment 2 Sofer Athlan-Guyot 2017-11-23 17:24:49 EST
Adding another issue linked to this one.
Comment 3 Sofer Athlan-Guyot 2017-11-23 17:25:50 EST
And the current solution.
Comment 4 Sofer Athlan-Guyot 2017-11-24 03:47:15 EST
Adjust lp
Comment 9 errata-xmlrpc 2017-12-13 17:22:16 EST
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.

https://access.redhat.com/errata/RHEA-2017:3462

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