← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1792876] [NEW] nova client doesn't support application credential

 

Public bug reported:

Description
===========
Nova client doesn't support application credential although openstack client support application credential.


Steps to reproduce
==================
openstack-cli:~$ cat openrc
export OS_AUTH_TYPE=v3applicationcredential
export OS_AUTH_URL=https://openstack.cli.com:5000/v3
export OS_IDENTITY_API_VERSION=3
export OS_APPLICATION_CREDENTIAL_ID=MY_CREDENTIAL_ID
export OS_APPLICATION_CREDENTIAL_SECRET=MY_CREDENTIAL_SECRET

openstack-cli:~$ source openrc

openstack-cli:~$ openstack limits show --project 28f1fb51d07b492ea29b962e4078beed --absolute
+--------------------------+--------+
| Name                     |  Value |
+--------------------------+--------+
| maxServerMeta            |    128 |
| maxTotalInstances        |     20 |
......(ommited)

openstack-cli:~$ nova --version
11.0.0

openstack-cli:~$ nova limits --tenant 28f1fb51d07b492ea29b962e4078beed
ERROR (CommandError): You must provide a user name/id (via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]) or an auth token (via --os-token).


Expected result
===============
Nova limits command would return result.


Actual result
=============
Nova limits command returned error.


Environment
===========
openstack-cli:~$ nova --version
11.0.0
openstack-cli:~$ pip list | grep nova
python-novaclient (11.0.0)

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  nova client doesn't support application credential

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  Nova client doesn't support application credential although openstack client support application credential.

  
  Steps to reproduce
  ==================
  openstack-cli:~$ cat openrc
  export OS_AUTH_TYPE=v3applicationcredential
  export OS_AUTH_URL=https://openstack.cli.com:5000/v3
  export OS_IDENTITY_API_VERSION=3
  export OS_APPLICATION_CREDENTIAL_ID=MY_CREDENTIAL_ID
  export OS_APPLICATION_CREDENTIAL_SECRET=MY_CREDENTIAL_SECRET

  openstack-cli:~$ source openrc

  openstack-cli:~$ openstack limits show --project 28f1fb51d07b492ea29b962e4078beed --absolute
  +--------------------------+--------+
  | Name                     |  Value |
  +--------------------------+--------+
  | maxServerMeta            |    128 |
  | maxTotalInstances        |     20 |
  ......(ommited)

  openstack-cli:~$ nova --version
  11.0.0

  openstack-cli:~$ nova limits --tenant 28f1fb51d07b492ea29b962e4078beed
  ERROR (CommandError): You must provide a user name/id (via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]) or an auth token (via --os-token).

  
  Expected result
  ===============
  Nova limits command would return result.

  
  Actual result
  =============
  Nova limits command returned error.

  
  Environment
  ===========
  openstack-cli:~$ nova --version
  11.0.0
  openstack-cli:~$ pip list | grep nova
  python-novaclient (11.0.0)

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


Follow ups