Bug 1317567

Summary: python-zaqarclient causes "openstack flavor delete" to fail
Product: [Community] RDO Reporter: Lars Kellogg-Stedman <lars>
Component: python-openstackclientAssignee: hguemar
Status: CLOSED EOL QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: apevec, jruzicka
Target Milestone: ---   
Target Release: Kilo   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-19 15:31:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lars Kellogg-Stedman 2016-03-14 15:08:15 UTC
Description of problem:

With RDO mitaka, running "openstack flavor delete" fails with:

Making authentication request to http://192.0.2.1:5000/v2.0/tokens
"POST /v2.0/tokens HTTP/1.1" 200 3472
take_action(Namespace(flavor_name='oooq_control'))
public endpoint for messaging service not found
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 54, in run
    self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/zaqarclient/queues/v1/cli.py", line 292, in take_action
    client = self.app.client_manager.messaging
  File "/usr/lib/python2.7/site-packages/openstackclient/common/clientmanager.py", line 46, in __get__
    self._handle = self.factory(instance)
  File "/usr/lib/python2.7/site-packages/zaqarclient/queues/cli.py", line 40, in make_client
    instance._url = instance.get_endpoint_for_service_type(API_NAME)
  File "/usr/lib/python2.7/site-packages/openstackclient/common/clientmanager.py", line 203, in get_endpoint_for_service_type
    endpoint_type=interface,
  File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 337, in inner
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneclient/service_catalog.py", line 293, in url_for
    raise exceptions.EndpointNotFound(msg)
EndpointNotFound: public endpoint for messaging service not found

This is apparently due to python-zaqarclient using an incorrect entrypoint.

Version-Release number of selected component (if applicable):

python-zaqarclient-0.2.1-0.20160211162314.6ea734a.el7.centos.noarch

Comment 2 Chandan Kumar 2016-05-19 15:31:45 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.