curl examples in getting started guide don't work

Bug #884789 reported by Glen Campbell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Dolph Mathews

Bug Description

http://docs.openstack.org/diablo/openstack-identity/admin/content/curl-examples.html

The initial example,

   curl -d '{"passwordCredentials":{"username": "MyAdmin", "password": "P@ssw0rd"}}' -H "Content-type: application/json" http://localhost:5001/v2.0/tokens

fails with the error,

  {"badRequest": {"message": "Expecting auth", "code": "400"}}

I'm guessing the examples have not been updated for 2.0

Dolph Mathews (dolph)
Changed in keystone:
assignee: nobody → Dolph Mathews (dolph)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to keystone (stable/diablo)

Reviewed: https://review.openstack.org/1446
Committed: http://github.com/openstack/keystone/commit/98b0e0810ce5d528022aabb34876024820e1d0e4
Submitter: Jenkins
Branch: stable/diablo

 status fixcommitted
 done

commit 98b0e0810ce5d528022aabb34876024820e1d0e4
Author: Dolph Mathews <email address hidden>
Date: Tue Nov 8 18:01:32 2011 -0600

    Revised curl examples (bug 884789)

    - Added & removed examples to match the core API as implemented in stable/diablo

    Change-Id: Icabf1f32c86a3288cf6b07ba3609d74e3e5f523f

Changed in keystone:
status: Confirmed → Fix Committed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/1599
Committed: http://github.com/openstack/keystone/commit/e789a03d5dacd9264d9fa98722fd6f03f2879785
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit e789a03d5dacd9264d9fa98722fd6f03f2879785
Author: Dolph Mathews <email address hidden>
Date: Tue Nov 8 18:01:32 2011 -0600

    Revised curl examples (bug 884789)

    - Added & removed examples to match the core API in master

    Change-Id: Icabf1f32c86a3288cf6b07ba3609d74e3e5f523f

Thierry Carrez (ttx)
Changed in keystone:
milestone: none → essex-2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (stable/diablo)

Reviewed: https://review.openstack.org/2128
Committed: http://github.com/openstack/keystone/commit/3275af7a598aa5fa3ec1eb30b7ec30f7c6e2c514
Submitter: Jenkins
Branch: stable/diablo

commit 3275af7a598aa5fa3ec1eb30b7ec30f7c6e2c514
Author: Alan Pevec <email address hidden>
Date: Wed Dec 7 01:55:36 2011 +0100

    adjust echo client example for 2.0

    This was fixed on master as a part of larger patch
    96f2fc18ee2bb562e99cb966d33758b929ec2c60

    This cherry picks only echo_client.py change from master.

    Similar fix in docs was LP#884789

    Change-Id: I481bd7ebc2fe2aa14336daac2ce2a8b32f7dcbce
    Cc: stable-maintainers

tags: added: in-stable-diablo
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-2 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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