BaremetalIntrospectionAction.introspect does not find the service name

Bug #1541041 reported by Jiri Tomasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Medium
Jiri Tomasek

Bug Description

mistral run-action baremetal_introspection.introspect '{"uuid":"95524d15-73bb-460e-afb6-98e04eb7dc52"}'
{"result": "Failed to run action [action_ex_id=None, action_cls='<class 'mistral.actions.action_factory.BaremetalIntrospectionAction'>', attributes='{u'client_method_name': u'introspect'}', params='{u'uuid': u'95524d15-73bb-460e-afb6-98e04eb7dc52', u'new_ipmi_username': None, u'new_ipmi_password': None}']\n BaremetalIntrospectionAction.introspect failed: <type 'exceptions.Exception'>: Either service 'baremetal-introspection' or service type 'None' doesn't exist!"}

openstack endpoint list
+----------------------------------+-----------+------------------+-------------------------+
| ID | Region | Service Name | Service Type |
+----------------------------------+-----------+------------------+-------------------------+
| e60fd58bd7b1436c8eade6a589b6ab7d | regionOne | ironic-inspector | baremetal-introspection |

Jiri Tomasek (jtomasek)
description: updated
Lingxian Kong (kong)
Changed in mistral:
milestone: none → mitaka-3
assignee: nobody → Jiri Tomasek (jtomasek)
importance: Undecided → Medium
Changed in mistral:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/275347
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=bc52b58671a7a6f1719f928818ca3586a66af6ea
Submitter: Jenkins
Branch: master

commit bc52b58671a7a6f1719f928818ca3586a66af6ea
Author: Jiri Tomasek <email address hidden>
Date: Tue Feb 2 18:52:39 2016 +0100

    BaremetalIntrospectionAction get endpoint by service_type

    Closes-Bug: #1541041
    Change-Id: I4107e0ceabb3ebd8801404047805a8f06b605bdb

Changed in mistral:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/mistral 2.0.0.0b3

This issue was fixed in the openstack/mistral 2.0.0.0b3 development milestone.

Changed in mistral:
milestone: mitaka-3 → 2.0.0
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.