Bug 1540263 - No IronicPxe service deployed via environments/services/ironic.yaml
Summary: No IronicPxe service deployed via environments/services/ironic.yaml
Keywords:
Status: CLOSED DUPLICATE of bug 1549770
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: RHOS Documentation Team
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-30 16:22 UTC by Rafal Szmigiel
Modified: 2018-02-28 15:51 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-28 15:17:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 546181 0 None None None 2018-02-28 15:51:47 UTC

Description Rafal Szmigiel 2018-01-30 16:22:56 UTC
Description of problem:
Following our docs https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html-single/bare_metal_provisioning/#sect-deploying-the-overcloud I have deployed OSP12 with overcloud Ironic. I've noticed that environments/services/ironic.yaml deploys containerized Ironic services while I'd expect to have it done via environments/services-docker/ironic.yaml. Not sure if that's on purpose to enforce all the deployments running containers. However there is one line missing in environments/services/ironic.yaml which exist in environments/services-docker/ironic.yaml:

[root@director environments]# diff -u services/ironic.yaml services-docker/ironic.yaml 
--- services/ironic.yaml        2017-11-30 15:46:20.000000000 -0500
+++ services-docker/ironic.yaml 2017-11-03 16:20:12.000000000 -0400
@@ -1,6 +1,7 @@
 resource_registry:
   OS::TripleO::Services::IronicApi: ../../docker/services/ironic-api.yaml
   OS::TripleO::Services::IronicConductor: ../../docker/services/ironic-conductor.yaml
+  OS::TripleO::Services::IronicPxe: ../../docker/services/ironic-pxe.yaml
   OS::TripleO::Services::NovaIronic: ../../docker/services/nova-ironic.yaml
 parameter_defaults:
   NovaSchedulerDiscoverHostsInCellsInterval: 15

In result Overcloud Ironic deployed following our official docs is missing IronicPxe service. We should either fix environment files or update docs to point to use environments/services-docker/ironic.yaml instead of environments/services/ironic.yaml. 


Version-Release number of selected component (if applicable):
[root@director ~]# rpm -qa | grep -i tripleo
python-tripleoclient-7.3.3-7.el7ost.noarch
openstack-tripleo-ui-7.4.3-4.el7ost.noarch
openstack-tripleo-image-elements-7.0.1-1.el7ost.noarch
puppet-tripleo-7.4.3-11.el7ost.noarch
openstack-tripleo-common-7.6.3-8.el7ost.noarch
openstack-tripleo-common-containers-7.6.3-8.el7ost.noarch
openstack-tripleo-validations-7.4.2-1.el7ost.noarch
openstack-tripleo-puppet-elements-7.0.1-2.el7ost.noarch
openstack-tripleo-heat-templates-7.0.3-18.el7ost.noarch


How reproducible:
All the time if following downstream docs.

Steps to Reproduce:
1) Follow https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html-single/bare_metal_provisioning to deploy overcloud BMaaS
2) Run deployment including /usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml as docs say, instead of using /usr/share/openstack-tripleo-heat-templates/environments/services-docker/ironic.yaml
3) Find out that there is no IronicPxe service listening on :8088 on the controller node

Actual results:
No IronicPxe service, cannot use BMaaS.

Expected results:
All required services for BMaaS are up and running.

Additional info:
Upstream docs differentiate use of services and services-docker templates:
https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/baremetal_overcloud.html#deployment

To deploy Ironic in containers (starting with the Pike release), use /usr/share/openstack-tripleo-heat-templates/environments/services-docker/ironic.yaml instead.

Comment 1 Derek Higgins 2018-01-30 17:18:13 UTC
We should update the docs at the very least

Comment 2 Bogdan Dobrelya 2018-02-28 15:17:38 UTC
This is a sub-case of a broader heat templates desync issue #1549770

*** This bug has been marked as a duplicate of bug 1549770 ***


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