Ironic provides wrong public endpoint

Bug #1493059 reported by Kyrylo Romanenko
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Andrey Shestakov

Bug Description

Ironic provides wrong public endpoint. This prevents us from running Tempest baremetal API tests against Ironic.

Check ironic public endpoint in "nova endpoints" output:
http://paste.openstack.org/show/448754/

See that publicURL for ironic is http://172.16.51.132:6385
This prevents from usage of baremetal API tests by Tempest.
Also note that other services public endpoints have address like http://public.fuel.local:<port>

Currently we need to re-create endpoint:
# keystone endpoint-delete <old_ironic_endpoint_id>
# keystone endpoint-create --region RegionOne --service ironic --publicurl https://public.fuel.local:6385 --internalurl http://192.168.0.2:6385 --adminurl http://192.168.0.2:6385

After that Baremetal API became available for Tempest.

Environment:

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "260"
  build_id: "260"
  nailgun_sha: "3de0f32fe9e09fbeee8a695d738f31fe2347e55a"
  python-fuelclient_sha: "9643fa07f1290071511066804f962f62fe27b512"
  fuel-agent_sha: "082a47bf014002e515001be05f99040437281a2d"
  fuel-nailgun-agent_sha: "d7027952870a35db8dc52f185bb1158cdd3d1ebd"
  astute_sha: "53c86cba593ddbac776ce5a3360240274c20738c"
  fuel-library_sha: "e055af9dee6fbaf84cb8e86a9ebff9b25b07792e"
  fuel-ostf_sha: "582a81ccaa1e439a3aec4b8b8f6994735de840f4"
  fuelmain_sha: "994bb9a8a2a3c4ab1f16e57b479d052abe45f921"

Ironic plugin:
fuel-plugin-ironic-1.0-1.0.0-1.noarch_aug28.rpm

Tags: ironic
Changed in mos:
status: New → Confirmed
Revision history for this message
Andrey Shestakov (ashestakov) wrote :
Changed in mos:
status: Confirmed → Fix Committed
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

First Disable SSL on public endpoints before deployment.
Then after deployment verify that ironic endpoint work properly.
# nova endpoints
+-------------+----------------------------------+
| ironic | Value |
+-------------+----------------------------------+
| adminURL | http://192.168.0.2:6385 |
| id | 8b56db5b6eb94b0aacb79516f56f8c99 |
| internalURL | http://192.168.0.2:6385 |
| publicURL | http://172.16.51.52:6385 |
| region | RegionOne |
+-------------+----------------------------------+

Tempest baremetal api tests pass as expected.

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "288"
  build_id: "288"
  nailgun_sha: "93477f9b42c5a5e0506248659f40bebc9ac23943"
  python-fuelclient_sha: "1ce8ecd8beb640f2f62f73435f4e18d1469979ac"
  fuel-agent_sha: "082a47bf014002e515001be05f99040437281a2d"
  fuel-nailgun-agent_sha: "d7027952870a35db8dc52f185bb1158cdd3d1ebd"
  astute_sha: "a717657232721a7fafc67ff5e1c696c9dbeb0b95"
  fuel-library_sha: "121016a09b0e889994118aa3ea42fa67eabb8f25"
  fuel-ostf_sha: "1f08e6e71021179b9881a824d9c999957fcc7045"
  fuelmain_sha: "6b83d6a6a75bf7bca3177fcf63b2eebbf1ad0a85"

Ironic plugin: fuel-plugin-ironic-1.0-1.0.0-1.noarch.rpm from 10 Sep 2015.

Changed in mos:
status: Fix Committed → Fix Released
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.