Bug 1805242 - OS::TripleO::Services::OctaviaDeploymentConfig is missing from deployed-server/deployed-server-roles-data.yaml
Summary: OS::TripleO::Services::OctaviaDeploymentConfig is missing from deployed-serve...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Brent Eagles
QA Contact: Omer Schwartz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-20 14:52 UTC by Matt Flusche
Modified: 2023-10-06 19:19 UTC (History)
9 users (show)

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:
Clone Of:
Environment:
Last Closed: 2020-10-28 18:23:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1864915 0 None None None 2020-02-26 19:36:07 UTC
OpenStack gerrit 710122 0 None MERGED Added OctaviaDeploymentConfig to deployed server role 2021-01-18 21:40:25 UTC
OpenStack gerrit 737606 0 None MERGED Added OctaviaDeploymentConfig to deployed server role 2021-01-18 21:40:25 UTC
Red Hat Issue Tracker OSP-29407 0 None None None 2023-10-06 19:19:40 UTC
Red Hat Product Errata RHBA-2020:4388 0 None None None 2020-10-28 18:23:57 UTC

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


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