[Openstack] Bug in Manila client

Francesc Pinyol Margalef francesc.pinyol.m at gmail.com
Tue Aug 4 18:49:34 UTC 2015


Hi,
I'm using python-manilaclient==1.2.0, and when I try to get the list of
services, I
get an error:

$ manila service-list
ERROR: Could not find Manila endpoint in catalog

Debugging the code (manilaclient/v1/client.py), I've seen that the
condition in line 146
https://github.com/openstack/python-manilaclient/blob/master/manilaclient/v1/client.py#L146
is never satisfied.

If I modify the line 146 to:
if str(e_type).lower() == 'url':

I successfully get the list of services:
$ manila service-list
+----+------------------+-----------------+------+---------+-------+----------------------------+
| Id | Binary           | Host            | Zone | Status  | State |
Updated_at                 |
+----+------------------+-----------------+------+---------+-------+----------------------------+
| 1  | manila-scheduler | controller-node | nova | enabled | up    |
2015-08-04T18:28:01.000000 |
+----+------------------+---------------------------------------+------+---------+-------+----------------------------+


Is this a bug?

Francesc

-- 
Francesc Pinyol Margalef
http://www.francescpinyol.cat/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150804/337783ce/attachment.html>


More information about the Openstack mailing list