Bug 1648998

Summary: FFU fails when ironic in OC is enabled: " resources.ControllerServiceChain: Error in 102 output role_data: The Parameter (UpgradeRemoveUnusedPackages) was not provided."
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: openstack-tripleo-heat-templatesAssignee: Marius Cornea <mcornea>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: urgent    
Version: 13.0 (Queens)CC: bfournie, bjacot, dcain, dlbewley, lmiccini, mariel, mburns, mlammon
Target Milestone: z4Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.0.7-7.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-16 17:55:25 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:

Description Alexander Chuzhoy 2018-11-12 16:49:10 UTC
FFU fails when ironic in OC is enabled: "  resources.ControllerServiceChain: Error in 102 output role_data: The Parameter (UpgradeRemoveUnusedPackages) was not provided."


Environment:
openstack-tripleo-heat-templates-8.0.7-4.el7ost.noarch


Steps to reproduce:
1. Deploy OSP10 OC with ironic enabled.
2. Attempt to fast forward upgrade the setup to OSP13.

Result:
Fails consitently during FFU prepare step with:

overcloud.ControllerServiceChain:
  resource_type: OS::TripleO::Services
  physical_resource_id: e9ab23ae-0d88-4c7f-89ea-220f81204cc2
  status: UPDATE_FAILED
  status_reason: |
    resources.ControllerServiceChain: Error in 102 output role_data:
The Parameter (UpgradeRemoveUnusedPackages) was not provided.

Comment 1 mlammon 2018-11-14 22:18:03 UTC
I hit this same issue on regular deployment and not from upgrade

13   -p 2018-11-07.3

2018-11-14 20:52:43Z [overcloud.ControllerServiceChain.ServiceChain]: CREATE_COMPLETE  Stack CREATE completed successfully
2018-11-14 20:52:43Z [overcloud.ControllerServiceChain.ServiceChain]: CREATE_COMPLETE  state changed
2018-11-14 20:53:07Z [overcloud.ControllerServiceChain]: CREATE_FAILED  Error in 102 output role_data: The Parameter (UpgradeRemoveUnusedPackages) was not provided.
2018-11-14 20:53:07Z [overcloud.ControllerServiceChain]: CREATE_FAILED  resources.ControllerServiceChain: Error in 102 output role_data: The Parameter (UpgradeRemoveUnusedPackages) was not provided.
2018-11-14 20:53:07Z [overcloud]: CREATE_FAILED  Resource CREATE failed: resources.ControllerServiceChain: Error in 102 output role_data: The Parameter (UpgradeRemoveUnusedPackages) was not provided.

 Stack overcloud CREATE_FAILED

overcloud.ControllerServiceChain:
  resource_type: OS::TripleO::Services
  physical_resource_id: 969513e8-b1de-4821-b9ee-6583c00d004e
  status: CREATE_FAILED
  status_reason: |
    resources.ControllerServiceChain: Error in 102 output role_data: The Parameter (UpgradeRemoveUnusedPackages) was not provided.
(undercloud) [stack@undercloud-0 ~]$

Comment 3 Alexander Chuzhoy 2018-11-14 23:01:35 UTC
The issue reproduces during deploy of OC osp13 with ironic too.

Comment 4 Alexander Chuzhoy 2018-11-19 19:02:08 UTC
Raising a blocker, because this bug blocks major upgrade for osp14 (osp13 -> osp14)

Comment 5 Bob Fournier 2018-11-19 19:19:37 UTC
The fix has been in master and rocky (so OSP-14) since May -https://review.openstack.org/#/c/570241/, it was just recently backported to Queens/OSP-13. So this should just be targeted to OSP-13, not OS-14.

Comment 7 Bob Fournier 2018-11-20 19:48:42 UTC
Brad - fix is in next osp13z4 puddle, for now just modify the yaml file as when done in the fix and include it in deployment -https://review.openstack.org/#/c/617215/3/docker/services/nova-ironic.yaml

Comment 19 Alexander Chuzhoy 2018-12-12 16:25:22 UTC
Verified.

Environment:
openstack-tripleo-heat-templates-8.0.7-15.el7ost.noarch


The reported issue doesn't reproduce.

Comment 22 errata-xmlrpc 2019-01-16 17:55:25 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/RHBA-2019:0068