Comment 5 for bug 1445086

Revision history for this message
Kanthi Pavuluri (pavuluri-kanthi-w) wrote :

Is this working now, I use python-novaclient==3.2.0, there are two compute endpoints each from two different hosts running nova services

keystone catalog --service compute
Service: compute
+-------------+---------------------------------------------------------------+
| Property | Value |
+-------------+---------------------------------------------------------------+
| adminURL | http://X.X.X.X:8774/v1.1/88fc16ee91624191b669d2923ca16cc1 |
| id | 3ed8916635224670939ce63bcc5eb202 |
| internalURL | http://X.X.X.X:8774/v1.1/88fc16ee91624191b669d2923ca16cc1 |
| publicURL | http://X.X.X.X:8774/v1.1/88fc16ee91624191b669d2923ca16cc1 |
| region | RegionOne |
+-------------+---------------------------------------------------------------+
+-------------+---------------------------------------------------------------+
| Property | Value |
+-------------+---------------------------------------------------------------+
| adminURL | http://Y.Y.Y.Y:8774/v1.1/88fc16ee91624191b669d2923ca16cc1 |
| id | 1414ebb46b154715a89dc19a505b0792 |
| internalURL | http://Y.Y.Y.Y:8774/v1.1/88fc16ee91624191b669d2923ca16cc1 |
| publicURL | http://Y.Y.Y.Y:8774/v1.1/88fc16ee91624191b669d2923ca16cc1 |
| region | RegionTwo |
+-------------+---------------------------------------------------------------+

Can I use bypass url to filter the endpoints and reach to the right one, something like:

 nova --bypass-url "http://X.X.X.X:8774/v1.1/88fc16ee91624191b669d2923ca16cc1" list