← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1599857] Re: openstack project create cannot find default domain

 

Unable to reproduce

stevemar@ubuntu:/opt/stack/keystone$ env | grep OS
OS_REGION_NAME=RegionOne
OS_USER_DOMAIN_NAME=Default
OS_PROJECT_NAME=admin
OS_IDENTITY_API_VERSION=3
OS_PASSWORD=openstack
OS_AUTH_URL=http://172.16.240.199:5000/v3
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_VOLUME_API_VERSION=2
OS_NO_CACHE=1
LESSCLOSE=/usr/bin/lesspipe %s %s
OS_PROJECT_DOMAIN_NAME=Default
stevemar@ubuntu:/opt/stack/keystone$ openstack project create tempo --domain default
+-------------+----------------------------------+
| Field       | Value                            |
+-------------+----------------------------------+
| description |                                  |
| domain_id   | default                          |
| enabled     | True                             |
| id          | 6cf61760909c4d27b1981a4dd820bbff |
| is_domain   | False                            |
| name        | tempo                            |
| parent_id   | default                          |
+-------------+----------------------------------+
stevemar@ubuntu:/opt/stack/keystone$ unset OS_USER_DOMAIN_NAME OS_PROJECT_DOMAIN_NAME 
stevemar@ubuntu:/opt/stack/keystone$ export OS_IDENTITY_API_VERSION='2.0' 
stevemar@ubuntu:/opt/stack/keystone$ export OS_AUTH_URL='http://172.16.240.199:5000/v2.0' 
stevemar@ubuntu:/opt/stack/keystone$ openstack project create tempo_v2              
+-------------+----------------------------------+
| Field       | Value                            |
+-------------+----------------------------------+
| description | None                             |
| enabled     | True                             |
| id          | c364d1d948a049cda209f0b108537eb2 |
| name        | tempo_v2                         |
+-------------+----------------------------------+


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

** Changed in: keystone
       Status: New => Invalid

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

-- 
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/1599857

Title:
  openstack project create cannot find default domain

Status in OpenStack Identity (keystone):
  Invalid
Status in python-openstackclient:
  Incomplete

Bug description:
  $ openstack project create TEST
  Could not find domain: default (HTTP 400) (Request-ID: req-f193e015-2cab-4763-814e-b374cc403793)

  Optional argument is mandatory.

  $ openstack project create --domain default TEST
  +-------------+----------------------------------+
  | Field       | Value                            |
  +-------------+----------------------------------+
  | description |                                  |
  | domain_id   | 4e92621013eb4945a36ba2b57611dbb8 |
  | enabled     | True                             |
  | id          | c00bfe7d586a4d8ba449b799295d9d98 |
  | is_domain   | False                            |
  | name        | TEST                             |
  | parent_id   | 4e92621013eb4945a36ba2b57611dbb8 |
  +-------------+----------------------------------+

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


References