<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br></div>I'm using python-manilaclient==1.2.0, and when I try to get the list of services, I<br></div>get an error:<br><br>$ manila service-list<br>ERROR: Could not find Manila endpoint in catalog<br><br></div>Debugging the code (manilaclient/v1/client.py), I've seen that the condition in line 146 <br></div><a href="https://github.com/openstack/python-manilaclient/blob/master/manilaclient/v1/client.py#L146">https://github.com/openstack/python-manilaclient/blob/master/manilaclient/v1/client.py#L146</a><br></div>is never satisfied.<br></div><br>If I modify the line 146 to:<br>if str(e_type).lower() == 'url':<br><br></div>I successfully get the list of services:<br>$ manila service-list<br>+----+------------------+-----------------+------+---------+-------+----------------------------+<br>| Id | Binary           | Host            | Zone | Status  | State | Updated_at                 |<br>+----+------------------+-----------------+------+---------+-------+----------------------------+<br>| 1  | manila-scheduler | controller-node | nova | enabled | up    | 2015-08-04T18:28:01.000000 |<br>+----+------------------+---------------------------------------+------+---------+-------+----------------------------+<br><br><div><div><div><div><div><div><div><div><br><div>Is this a bug?<br><br></div><div>Francesc<br clear="all"></div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr">Francesc Pinyol Margalef<br><a href="http://www.francescpinyol.cat/" target="_blank">http://www.francescpinyol.cat/</a></div></div>
</div></div></div></div></div></div></div></div></div></div></div>