Ironic API not setting region to regionOne as the rest of the services and instead using default RegionOne

Bug #1661839 reported by Ramon Acedo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Ramon Acedo

Bug Description

Ironic configured using the default region set by Puppet to "RegionOne" instead of using "regionOne".

$ openstack endpoint list
+----------------------------------+-----------+--------------+----------------+
| ID | Region | Service Name | Service Type |
+----------------------------------+-----------+--------------+----------------+
| ed339ef2914b4d45a9e4f243d27de0c5 | regionOne | ceilometer | metering |
| ad745d702dae43e3914895a0ed45d347 | regionOne | heat | orchestration |
| c00b528ac7144a1999afeaf5e99e972a | RegionOne | ironic | baremetal |
| c65093ed7c294aa292f64860a473a190 | regionOne | cinderv3 | volumev3 |
| db0f6efe6cd74d66ab67212170e284ee | regionOne | swift | object-store |
| 772617ab8ee94e19bb46d501e45a72ee | regionOne | heat-cfn | cloudformation |
| 54c1a9e717e1479fb3c4f77225f08a12 | regionOne | aodh | alarming |
| 944021c888cb453e92af16b44b91b364 | regionOne | neutron | network |
| c74e6fb0a41f475cb80e6460e5859886 | regionOne | gnocchi | metric |
| 22695bfdb2bd43e7999926016270c2dd | regionOne | cinderv2 | volumev2 |
| 9066e3b3e1fe4e5f97c4cbbf02e085b4 | regionOne | glance | image |
| 9a444811da4e4da683d6494b81d5f1fe | regionOne | nova | compute |
| 2e05fe21689a465fbf8c8e2f71f20bf2 | regionOne | cinder | volume |
| 8c1f1c984c284bf5889e1cba0d457382 | regionOne | keystone | identity |
+----------------------------------+-----------+--------------+----------------+

This causes access issues to Horizon unless explicitly changing the region before logging out.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/429273

Changed in tripleo:
assignee: nobody → Ramon Acedo (ramon-linux-labs)
status: New → In Progress
Revision history for this message
Karim Boumedhel (karmab) wrote :

shouldnt it be fixed in puppet-ironic instead?

Revision history for this message
Emilien Macchi (emilienm) wrote :

Karim: no, puppet-ironic already provides the interface to change the parameter, the patch in THT is correct (see how other services are implemented).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/429273
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=2afc24096bb68ad7a121bc5133a62a8b56b9ec89
Submitter: Jenkins
Branch: master

commit 2afc24096bb68ad7a121bc5133a62a8b56b9ec89
Author: Ramon Acedo <email address hidden>
Date: Sat Feb 4 13:50:08 2017 +0000

    Adds default Keystone region to regionOne
    Closes-Bug: #1661839

    Change-Id: I9498be04749dc866d0423e75e57d4c07eaf3e904

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0rc1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/439835

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/439835
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=18f46213cbb67c9596a20b2b3f036e37f8340d58
Submitter: Jenkins
Branch: stable/newton

commit 18f46213cbb67c9596a20b2b3f036e37f8340d58
Author: Ramon Acedo <email address hidden>
Date: Sat Feb 4 13:50:08 2017 +0000

    Adds default Keystone region to regionOne
    Closes-Bug: #1661839

    Change-Id: I9498be04749dc866d0423e75e57d4c07eaf3e904
    (cherry picked from commit 2afc24096bb68ad7a121bc5133a62a8b56b9ec89)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.3.0

This issue was fixed in the openstack/tripleo-heat-templates 5.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.