Bug 1444147

Summary: OSP10 -> OSP11 upgrade fails during major-upgrade-composable-steps.yaml when nodes are registered to Satellite 6
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-heat-agentsAssignee: Steve Baker <sbaker>
Status: CLOSED ERRATA QA Contact: Arik Chernetsky <achernet>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 11.0 (Ocata)CC: dbecker, jcoufal, mburns, morazi, rhel-osp-director-maint, sathlang, slinaber
Target Milestone: rcKeywords: Triaged
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-heat-agents-1.0.1-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-17 20:23:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
openstack stack failures list none

Description Marius Cornea 2017-04-20 16:46:50 UTC
Description of problem:
OSP10 -> OSP11 upgrade fails during major-upgrade-composable-steps.yaml when nodes are registered to Satellite 6 with:

  deploy_stderr: |
    Legacy hieradata from os-apply-config has been detected. Please update all of your interfaces to use the new heat-agents hiera hook before proceeding

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

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP10 with nodes registered to Satallite 6
2. Upgrade to OSP11

Actual results:
Upgrade fails with   deploy_stderr: |
    Legacy hieradata from os-apply-config has been detected. Please update all of your interfaces to use the new heat-agents hiera hook before proceeding

Expected results:
Upgrade completes ok.

Additional info:

Comment 1 Marius Cornea 2017-04-20 16:48:19 UTC
Created attachment 1273029 [details]
openstack stack failures list

Comment 2 Marius Cornea 2017-04-20 16:49:07 UTC
Environment files:

source ~/stackrc
export THT=/usr/share/openstack-tripleo-heat-templates/

openstack overcloud deploy --templates $THT \
-e $THT/environments/network-isolation.yaml \
-e $THT/environments/network-management.yaml \
-e $THT/environments/storage-environment.yaml \
-e $THT/extraconfig/pre_deploy/rhel-registration/rhel-registration-resource-registry.yaml \
-e ~/openstack_deployment/environments/satellite-6.yaml \
-e ~/openstack_deployment/environments/nodes.yaml \
-e ~/openstack_deployment/environments/network-environment.yaml \
-e ~/openstack_deployment/environments/disk-layout.yaml \
-e ~/openstack_deployment/environments/neutron-settings.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-composable-steps.yaml \
-e ~/repo.yaml \
--log-file overcloud_deployment.log &> overcloud_install.log

Comment 4 Sofer Athlan-Guyot 2017-04-20 16:56:18 UTC
Hi,

so the package on sat6 is not up to date and doesn't include the patch in https://bugzilla.redhat.com/show_bug.cgi?id=1439121 with the openstack-heat-agents-1.0.1-1.el7ost

Comment 5 Sofer Athlan-Guyot 2017-04-20 17:02:47 UTC
<mcornea> chem: sasha I see right now we have openstack-heat-agents.noarch
          1.0.0-3.el7ost
          @rhel-7-server-openstack-beta-rpms

So we have to have sat6 package updated to the latest version.

Comment 6 Sofer Athlan-Guyot 2017-04-20 17:40:51 UTC
So according to Mike "we need to re-push to stage, then resync satellite".  Pushing this modified with the correct needed build.

Comment 8 Jaromir Coufal 2017-04-24 15:22:49 UTC
Verbally acked by LT team (hbrock) on Apr 24, 2017. Granting pm_ack+ based on that.

Comment 11 errata-xmlrpc 2017-05-17 20:23:35 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.

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