Bug 1516890 - OSP11 -> OSP12 upgrade: upgrade-non-controller.sh script fails while running the upgrade os-net-config tasks
Summary: OSP11 -> OSP12 upgrade: upgrade-non-controller.sh script fails while running ...
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 12.0 (Pike)
Assignee: Sofer Athlan-Guyot
QA Contact: Marius Cornea
Depends On:
TreeView+ depends on / blocked
Reported: 2017-11-23 13:51 UTC by Marius Cornea
Modified: 2018-02-05 19:18 UTC (History)
7 users (show)

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:
Clone Of:
Last Closed: 2017-12-13 22:22:16 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Launchpad 1732888 0 None None None 2017-11-24 08:47:15 UTC
Launchpad 1733924 0 None None None 2017-11-23 13:55:42 UTC
OpenStack gerrit 522831 0 None stable/pike: MERGED tripleo-common: config: Always add step conditional first for upgrade_tasks (I9f6d60f22ef4c057a0d5f47ac2bd4f08520faeec) 2017-11-28 19:35:29 UTC
OpenStack gerrit 523073 0 None stable/pike: MERGED tripleo-heat-templates: Ensure os-net-config conditional for upgrade doesn’t fail. (I9d9bb3b625c2f0fb5f4a2c98bd3bf903f4b... 2017-11-28 19:35:21 UTC
Red Hat Bugzilla 1516867 0 urgent CLOSED OSP11 -> OSP12 upgrade: floating IP connectivity gets disrupted during major-upgrade-composable-steps-docker 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Internal Links: 1516867

Description Marius Cornea 2017-11-23 13:51:18 UTC
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: []: 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):

How reproducible:

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 15:27:21 UTC
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 22:24:49 UTC
Adding another issue linked to this one.

Comment 3 Sofer Athlan-Guyot 2017-11-23 22:25:50 UTC
And the current solution.

Comment 4 Sofer Athlan-Guyot 2017-11-24 08:47:15 UTC
Adjust lp

Comment 9 errata-xmlrpc 2017-12-13 22:22:16 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.


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