Pretty much all --os- auth options are broken

Bug #1489917 reported by Terry Howe
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
os-client-config
Invalid
Undecided
Unassigned
python-openstackclient
Invalid
Undecided
Unassigned

Bug Description

Most of the auth options from the CLI are broken --os-username --os-password --os-auth-url, and probably more.

Terry Howe (thowe-g)
Changed in python-openstackclient:
assignee: nobody → Terry Howe (thowe-g)
Revision history for this message
Steve Martinelli (stevemar) wrote :

logs?

Revision history for this message
Terry Howe (thowe-g) wrote :

Well, for example:

    (.venv)terry@f350:~/python-openstackclient$ os server list --os-auth-url bogus
    +--------------------------------------+------+--------+------------------+
    | ID | Name | Status | Networks |
    +--------------------------------------+------+--------+------------------+
    | 9e5fbcb6-24b7-45d8-8f43-19997e380b63 | foo | ACTIVE | private=10.0.0.2 |
    +--------------------------------------+------+--------+------------------+
    (.venv)terry@f350:~/python-openstackclient$

Terry Howe (thowe-g)
Changed in python-openstackclient:
assignee: Terry Howe (thowe-g) → nobody
Revision history for this message
Steve Martinelli (stevemar) wrote :

terry, this is working fine for me

Revision history for this message
Steve Martinelli (stevemar) wrote :

$ openstack server list --os-auth-url bogus
Missing parameter(s):
Set a username with --os-username, OS_USERNAME, or auth.username
Set a scope, such as a project or domain, set a project scope with --os-project-name, OS_PROJECT_NAME or auth.project_name, set a domain scope with --os-domain-name, OS_DOMAIN_NAME or auth.domain_name

Changed in python-openstackclient:
status: New → Incomplete
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: Incomplete → Invalid
Revision history for this message
Terry Howe (thowe-g) wrote :

Let's take another look at this.

Changed in python-openstackclient:
status: Invalid → New
Revision history for this message
Terry Howe (thowe-g) wrote :

May be no need to change OSC, made a change to OCC:

https://review.openstack.org/#/c/276846/

Changed in os-client-config:
status: New → In Progress
assignee: nobody → Terry Howe (thowe-g)
Changed in python-openstackclient:
assignee: nobody → Terry Howe (thowe-g)
Revision history for this message
Terry Howe (thowe-g) wrote :

The point is before the change, my command succeeded even through I provided a bogus --os-auth-url. Same goes for username and password.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-client-config (master)

Change abandoned by Terry Howe (<email address hidden>) on branch: master
Review: https://review.openstack.org/276846
Reason: Fixed by something else

Revision history for this message
Steve Martinelli (stevemar) wrote :

Automatically unassigning due to inactivity.

Changed in python-openstackclient:
assignee: Terry Howe (thowe-g) → nobody
Changed in python-openstackclient:
status: New → Invalid
Changed in os-client-config:
status: In Progress → Invalid
assignee: Terry Howe (thowe-g) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.