Bug 1805242

Summary: OS::TripleO::Services::OctaviaDeploymentConfig is missing from deployed-server/deployed-server-roles-data.yaml
Product: Red Hat OpenStack Reporter: Matt Flusche <mflusche>
Component: openstack-tripleo-heat-templatesAssignee: Brent Eagles <beagles>
Status: CLOSED ERRATA QA Contact: Omer Schwartz <oschwart>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: aschultz, augol, bbonguar, gthiemon, jgrosso, jmelvin, mburns, oschwart, spower
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.4.1-58.1.el7ost.noarch.rpm Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-28 18:23:41 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 Matt Flusche 2020-02-20 14:52:57 UTC
Description of problem:
Service def OS::TripleO::Services::OctaviaDeploymentConfig is missing from deployed-server/deployed-server-roles-data.yaml for the ControllerDeployedServer role.

Therefore with an Octavia deployment, the mistral workflow in step 5 does not get executed to setup the amphora on the overcloud.



Version-Release number of selected component (if applicable):

$ rpm -q openstack-tripleo-heat-templates
openstack-tripleo-heat-templates-8.4.1-16.el7ost.noarch



How reproducible:
100%

Steps to Reproduce:
1.  Deploy overcloud with pre-provisioned nodes (-r /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-server-roles-data.yaml) and octavia (-e /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml)
2. Observe the missing amphora images after deployment

Comment 8 Omer Schwartz 2020-10-06 12:21:33 UTC
Hi,

I can't reproduce the bug, I tried to deploy overcloud with pre-provisioned nodes by adding
-r /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-server-roles-data.yaml \
and Octavia by adding
-e /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml \

to the overcloud_deploy.sh and re-running it, but the ansible job failed.

And then I tried adding 
--disable-validations \
-e /usr/share/openstack-tripleo-heat-templates/environments/deployed-server-environment.yaml \

as mentioned in the 'Using Already Deployed Servers', https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/deployed_server.html#deployment-command
but the ansible job failed again.



Here is the summary of the the second ansible failed job:

 Stack overcloud UPDATE_FAILED 

overcloud.ControllerDeployedServer.0.ControllerDeployedServer:
  resource_type: OS::TripleO::ControllerDeployedServerServer
  physical_resource_id: 172e6e8b-6704-4cc6-a4b8-383a3bab062b
  status: CREATE_FAILED
  status_reason: |
    resources.ControllerDeployedServer: Stack CREATE cancelled
overcloud.ComputeDeployedServer.0.ComputeDeployedServer:
  resource_type: OS::TripleO::ComputeDeployedServerServer
  physical_resource_id: 9b84557b-2b8e-4c83-99e2-12e4235413dd
  status: CREATE_FAILED
  status_reason: |
    resources.ComputeDeployedServer: Stack CREATE cancelled
Heat Stack update failed.
Heat Stack update failed.


And here is the full output:

http://pastebin.test.redhat.com/908071

Comment 9 Matt Flusche 2020-10-12 13:21:55 UTC
Hi Omar,

Your issue is completely unrelated to the described BZ.

Comment 11 Omer Schwartz 2020-10-22 15:54:31 UTC
Manual verification of the code change made sure the OctaviaDeploymentConfig service is in deployed-server-roles-data.yaml:

(overcloud) [stack@undercloud-0 ~]$ cat /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-server-roles-data.yaml | grep OS::TripleO::Services::OctaviaDeploymentConfig
    - OS::TripleO::Services::OctaviaDeploymentConfig


Puddle: 
(overcloud) [stack@undercloud-0 ~]$ cat /var/lib/rhos-release/latest-installed
13  -p 2020-10-06.2


I am moving the BZ to VERIFIED.

Comment 16 errata-xmlrpc 2020-10-28 18:23:41 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 (Red Hat OpenStack Platform 13.0 director bug fix 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-2020:4388