← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1476157] [NEW] Error info of openstack trust create is too confused

 

Public bug reported:

stack@openstack:~$ openstack role assignment list
+----------------------------------+----------------------------------+-------+----------------------------------+--------+
| Role                             | User                             | Group | Project                          | Domain |
+----------------------------------+----------------------------------+-------+----------------------------------+--------+
| 5f209b933ffb432ebcd84eca20db1488 | 1d1a0e930907477799640584e29a98ec |       | 824f8b8c6ad24855b07b88766d90786c |        |
| 5f209b933ffb432ebcd84eca20db1488 | 1d1a0e930907477799640584e29a98ec |       | e70944f6380b46ba8a3cf650325acceb |        |
| c30dcf29ffd04595bcdb02bd5458622d | 3962eab80d314a369154f23504fa1ced |       | 36f4eea0e82746369914bc0f73490845 |        |
| c30dcf29ffd04595bcdb02bd5458622d | 47264650de5f454da644aaf27621fa90 |       | 36f4eea0e82746369914bc0f73490845 |        |
| 1ed3e8f0502b4b70a162470e5a927a77 | 4dd2389e79bd4154869a67ee1b237f2a |       | 41d3e03e55f0453488f2896562ba79bb |        |
| 1ed3e8f0502b4b70a162470e5a927a77 | 4dd2389e79bd4154869a67ee1b237f2a |       | 824f8b8c6ad24855b07b88766d90786c |        |
| 26ea0ce38b6f4ce4bcf03151db2927c4 | 4dd2389e79bd4154869a67ee1b237f2a |       | 824f8b8c6ad24855b07b88766d90786c |        |
| 1ed3e8f0502b4b70a162470e5a927a77 | 5b21aa8e7ed046509ddf960159bcfff4 |       | 791eb1c53373409e8270c0f03365510e |        |
| 5f209b933ffb432ebcd84eca20db1488 | f1553dd09afd44d2af178dbc2847e0ff |       | 36f4eea0e82746369914bc0f73490845 |        |
+----------------------------------+----------------------------------+-------+----------------------------------+--------+


stack@openstack:~$ openstack user list
+----------------------------------+----------------+
| ID                               | Name           |
+----------------------------------+----------------+
| 1d1a0e930907477799640584e29a98ec | admin          |
| 262eca90ba6e4626b50054b9a90ff6c8 | testuser_dx_px |
| 3962eab80d314a369154f23504fa1ced | glance         |
| 47264650de5f454da644aaf27621fa90 | cinder         |
| 4dd2389e79bd4154869a67ee1b237f2a | demo           |
| 5b21aa8e7ed046509ddf960159bcfff4 | alt_demo       |
| f1553dd09afd44d2af178dbc2847e0ff | nova           |
+----------------------------------+----------------+


stack@openstack:~$ env | grep OS_
OS_REGION_NAME=RegionOne
OS_IDENTITY_API_VERSION=3
OS_PASSWORD=quiet
OS_AUTH_URL=http://10.250.6.52:5000/v3
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_VOLUME_API_VERSION=2
OS_NO_CACHE=1


stack@openstack:~$ openstack trust create --project 824f8b8c6ad24855b07b88766d90786c --role 5f209b933ffb432ebcd84eca20db1488 --expiration 2015-7-20T4:50:1 1d1a0e930907477799640584e29a98ec 262eca90ba6e4626b50054b9a90ff6c8
ERROR: openstack No user with a name or ID of '1d1a0e930907477799640584e29a98ec' exists.


But the truth is that user with a name or ID of '1d1a0e930907477799640584e29a98ec' exists.

** Affects: keystone
     Importance: Undecided
     Assignee: jiaxi (tjxiter)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => jiaxi (tjxiter)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1476157

Title:
  Error info of openstack trust create is too confused

Status in Keystone:
  New

Bug description:
  stack@openstack:~$ openstack role assignment list
  +----------------------------------+----------------------------------+-------+----------------------------------+--------+
  | Role                             | User                             | Group | Project                          | Domain |
  +----------------------------------+----------------------------------+-------+----------------------------------+--------+
  | 5f209b933ffb432ebcd84eca20db1488 | 1d1a0e930907477799640584e29a98ec |       | 824f8b8c6ad24855b07b88766d90786c |        |
  | 5f209b933ffb432ebcd84eca20db1488 | 1d1a0e930907477799640584e29a98ec |       | e70944f6380b46ba8a3cf650325acceb |        |
  | c30dcf29ffd04595bcdb02bd5458622d | 3962eab80d314a369154f23504fa1ced |       | 36f4eea0e82746369914bc0f73490845 |        |
  | c30dcf29ffd04595bcdb02bd5458622d | 47264650de5f454da644aaf27621fa90 |       | 36f4eea0e82746369914bc0f73490845 |        |
  | 1ed3e8f0502b4b70a162470e5a927a77 | 4dd2389e79bd4154869a67ee1b237f2a |       | 41d3e03e55f0453488f2896562ba79bb |        |
  | 1ed3e8f0502b4b70a162470e5a927a77 | 4dd2389e79bd4154869a67ee1b237f2a |       | 824f8b8c6ad24855b07b88766d90786c |        |
  | 26ea0ce38b6f4ce4bcf03151db2927c4 | 4dd2389e79bd4154869a67ee1b237f2a |       | 824f8b8c6ad24855b07b88766d90786c |        |
  | 1ed3e8f0502b4b70a162470e5a927a77 | 5b21aa8e7ed046509ddf960159bcfff4 |       | 791eb1c53373409e8270c0f03365510e |        |
  | 5f209b933ffb432ebcd84eca20db1488 | f1553dd09afd44d2af178dbc2847e0ff |       | 36f4eea0e82746369914bc0f73490845 |        |
  +----------------------------------+----------------------------------+-------+----------------------------------+--------+

  
  stack@openstack:~$ openstack user list
  +----------------------------------+----------------+
  | ID                               | Name           |
  +----------------------------------+----------------+
  | 1d1a0e930907477799640584e29a98ec | admin          |
  | 262eca90ba6e4626b50054b9a90ff6c8 | testuser_dx_px |
  | 3962eab80d314a369154f23504fa1ced | glance         |
  | 47264650de5f454da644aaf27621fa90 | cinder         |
  | 4dd2389e79bd4154869a67ee1b237f2a | demo           |
  | 5b21aa8e7ed046509ddf960159bcfff4 | alt_demo       |
  | f1553dd09afd44d2af178dbc2847e0ff | nova           |
  +----------------------------------+----------------+

  
  stack@openstack:~$ env | grep OS_
  OS_REGION_NAME=RegionOne
  OS_IDENTITY_API_VERSION=3
  OS_PASSWORD=quiet
  OS_AUTH_URL=http://10.250.6.52:5000/v3
  OS_USERNAME=admin
  OS_TENANT_NAME=admin
  OS_VOLUME_API_VERSION=2
  OS_NO_CACHE=1

  
  stack@openstack:~$ openstack trust create --project 824f8b8c6ad24855b07b88766d90786c --role 5f209b933ffb432ebcd84eca20db1488 --expiration 2015-7-20T4:50:1 1d1a0e930907477799640584e29a98ec 262eca90ba6e4626b50054b9a90ff6c8
  ERROR: openstack No user with a name or ID of '1d1a0e930907477799640584e29a98ec' exists.

  
  But the truth is that user with a name or ID of '1d1a0e930907477799640584e29a98ec' exists.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1476157/+subscriptions