← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1282266] Re: enabled attribute missing from GET /v3/endpoints

 

Reviewed:  https://review.openstack.org/76949
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=3340299e0554c8b07d07bfbeb47dee45d47d3ab2
Submitter: Jenkins
Branch:    master

commit 3340299e0554c8b07d07bfbeb47dee45d47d3ab2
Author: Brant Knudson <bknudson@xxxxxxxxxx>
Date:   Thu Feb 27 13:31:37 2014 -0600

    XML endpoint client use correct string for enabled
    
    The XML endpoint client was passing enabled='True' or
    enabled='False' when creating or updating an endpoint.
    
    The Keystone XML parser expects 'true' and 'false' for the
    'enabled' attribute and only converts those strings to a Boolean
    value, other values are passed through as strings.
    
    Note that the XML identity_client correctly converts the Boolean
    values to lowercase strings already.
    
    Change-Id: I2f1374430d186959aca8fb90b4f7730044ec0c65
    Closes-Bug: #1282266


** Changed in: tempest
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1282266

Title:
  enabled attribute missing from GET /v3/endpoints

Status in OpenStack Identity (Keystone):
  In Progress
Status in Tempest:
  Fix Released

Bug description:
  response from current master:

  RESP BODY: {"endpoints": [{"links": {"self":
  "http://localhost:5000/v3/endpoints/7237fc3ba1ec460595e8de463a5c7132"},
  "url": "http://localhost:35357/v3";, "region": "regionOne",
  "interface": "admin", "service_id":
  "0c8a9efdeada49d689c4d3ef29ecb3d7", "id":
  "7237fc3ba1ec460595e8de463a5c7132"}], "links": {"self":
  "http://localhost:5000/v3/endpoints";, "previous": null, "next": null}}

  response from stable/havana (this is correct):

  RESP BODY: {"endpoints": [{"links": {"self":
  "http://localhost:5000/v3/endpoints/6e1b54c3423347f1bafb20030dabb412"},
  "url": "http://127.0.0.1:35357/";, "region": null, "enabled": true,
  "interface": "admin", "service_id":
  "f43f1d5cb2e04edda9316077421062c8", "id":
  "6e1b54c3423347f1bafb20030dabb412"}], "links": {"self":
  "http://localhost:5000/v3/endpoints";, "previous": null, "next": null}}

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


References