Comment 1 for bug 1620999

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote : Re: gate-tempest-dsvm-neutron-identity-v3-only-full-nv 100% failure rate

O.k., after finding a bug in devstack-gate when creating reproduce.sh, I can see the error now locally. It seems related to OSC getting confused when --os-cloud is used in combination with other variables being set (e.g. by sourcing openrc). Initially everything is fine:

stack@jr-t5:~/devstack$ openstack --os-cloud devstack token issue
+------------+----------------------------------+
| Field | Value |
+------------+----------------------------------+
| expires | 2016-09-13 21:19:39.381346+00:00 |
| id | ffcc967f3ba34321a7e25a7d0b322ca6 |
| project_id | a8512069cebe4f929681504422a931cb |
| user_id | ec224c917f8641b18a6c163441dd8345 |
+------------+----------------------------------+
stack@jr-t5:~/devstack$ openstack --os-cloud devstack-admin token issue
+------------+----------------------------------+
| Field | Value |
+------------+----------------------------------+
| expires | 2016-09-13 21:19:48.164681+00:00 |
| id | 660da9458ceb40cd8955c35c1bfe3cb7 |
| project_id | cb5b39acff6a49bc871cba73cd746578 |
| user_id | 0da7c28639cf4f0b9e8c60077e7a54d1 |
+------------+----------------------------------+

But after sourcing openrc things for the other cloud definition get off track:

stack@jr-t5:~/devstack$ . openrc
WARNING: setting legacy OS_TENANT_NAME to support cli tools.
stack@jr-t5:~/devstack$ openstack --os-cloud devstack token issue
+------------+----------------------------------+
| Field | Value |
+------------+----------------------------------+
| expires | 2016-09-13 21:19:59.915116+00:00 |
| id | 4491e058a9f440a88912a006af8e9f54 |
| project_id | a8512069cebe4f929681504422a931cb |
| user_id | ec224c917f8641b18a6c163441dd8345 |
+------------+----------------------------------+
stack@jr-t5:~/devstack$ openstack --os-cloud devstack-admin token issue
The request you have made requires authentication. (HTTP 401) (Request-ID: req-b8772035-9c99-4b85-8ed3-af1c8c4deeb3)