← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1586289] Re: openstack project list can not list the project which is domain.

 

Ah, damn! Looks like the openstackclient has not been updated either!
OK, I'll have to fix that. What I would expect you to be able to do
(once I've fixed, which I will do asap), will be to issue a command
like:

openstack project list --is_domain

In the meantime, if you want to experiment, you could fire the raw http
command at your keystone server (using curl of whatever), e.g.:

curl -s \
 -H "X-Auth-Token: $OS_TOKEN" \
 http://localhost:5000/v3/projects?is_domain | python -mjson.tool

where OS_TOKEN contains your project scoped token ID and localhost is
replaced by the IP address of your keystone server.

Alternatively, you can use the python-keystoneclient library to write a
little python example.

** Also affects: python-openstackclient
   Importance: Undecided
       Status: New

** Changed in: python-openstackclient
     Assignee: (unassigned) => Henry Nash (henry-nash)

** Changed in: python-openstackclient
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1586289

Title:
  openstack project list can not list the project which is domain.

Status in OpenStack Identity (keystone):
  In Progress
Status in python-openstackclient:
  Confirmed

Bug description:
  version:mitaka
  question:
  In project table of keystone database, there are following projects:
  +----------------------------------+--------------------------+-------+-----------------------------------------------+---------+--------------------------+-----------+-----------+
  | id                               | name                     | extra | description                                   | enabled | domain_id                | parent_id | is_domain |
  +----------------------------------+--------------------------+-------+-----------------------------------------------+---------+--------------------------+-----------+-----------+
  | 1e424dd1844b4a7d81d5b167f188192d | heat                     | {}    | Owns users and projects created by heat       |       1 | <<keystone.domain.root>> | NULL      |         1 |
  | 388ba5efe7c24cd6b4762b9c6f60a5d5 | magnum                   | {}    | Owns users and projects created by magnum     |       1 | <<keystone.domain.root>> | NULL      |         1 |
  | 4d6e4e79ea1f4ec392475308e11a895d | admin                    | {}    | Bootstrap project for initializing the cloud. |       1 | default                  | default   |         0 |
  | 749e9ebce1d24c4aa5463382c6d2c526 | demo                     | {}    |                                               |       1 | default                  | default   |         0 |
  | 9314197e00bc43e197995681cff786cc | alt_demo                 | {}    |                                               |       1 | default                  | default   |         0 |
  | <<keystone.domain.root>>         | <<keystone.domain.root>> | {}    |                                               |       0 | <<keystone.domain.root>> | NULL      |         1 |
  | b79ace1760194778916e18cfb053a6d1 | service                  | {}    |                                               |       1 | default                  | default   |         0 |
  | cf443a4f9b9749c9a172915ce48d7989 | project_a                | {}    |                                               |       1 | default                  | default   |         0 |
  | d076df0e55d24881a61325cd6bb7f6f4 | project_b                | {}    |                                               |       1 | default                  | default   |         0 |
  | d90353b3872749719e2a5c9343f9acce | invisible_to_admin       | {}    |                                               |       1 | default                  | default   |         0 |
  | default                          | Default                  | {}    | The default domain                            |       1 | <<keystone.domain.root>> | NULL      |         1 |
  +----------------------------------+--------------------------+-------+-----------------------------------------------+---------+--------------------------+-----------+-----------+

  But when I execute openstack project list, I got following result:
  +----------------------------------+--------------------+
  | ID                               | Name               |
  +----------------------------------+--------------------+
  | 4d6e4e79ea1f4ec392475308e11a895d | admin              |
  | 749e9ebce1d24c4aa5463382c6d2c526 | demo               |
  | 9314197e00bc43e197995681cff786cc | alt_demo           |
  | b79ace1760194778916e18cfb053a6d1 | service            |
  | cf443a4f9b9749c9a172915ce48d7989 | project_a          |
  | d076df0e55d24881a61325cd6bb7f6f4 | project_b          |
  | d90353b3872749719e2a5c9343f9acce | invisible_to_admin |
  +----------------------------------+--------------------+

  The project which is domain can not list, such as heat, magnum,
  <<keystone.domain.root>>, Default.

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


References