← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1357195] [NEW] Availability Zone for Host Aggregates is now mandatory

 

Public bug reported:

Create a Host Aggregate without specifying a Availability Zone results
to error.


REQ: curl -i 'http://10.0.2.15:8774/v2/79a9eabda419419d869630b77d0c0b8f/os-aggregates' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Project-Id: 79a9eabda419419d869630b77d0c0b8f" -H "X-Auth-Token: {SHA1}9830df0b0e5ed172c13f680381c2f7dba1d483db" -d '{"aggregate": {"name": "ha1", "availability_zone": ""}}'
RESP: [400] {'date': 'Fri, 15 Aug 2014 04:35:45 GMT', 'content-length': '103', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-4689063c-f99f-45f0-b9a5-a5313fc66147'}
RESP BODY: {"badRequest": {"message": "Availability_zone has a minimum character requirement of 1.", "code": 400}}

** Affects: horizon
     Importance: Undecided
     Assignee: Lin Hua Cheng (lin-hua-cheng)
         Status: New

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

Title:
  Availability Zone for Host Aggregates is now mandatory

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Create a Host Aggregate without specifying a Availability Zone results
  to error.

  
  REQ: curl -i 'http://10.0.2.15:8774/v2/79a9eabda419419d869630b77d0c0b8f/os-aggregates' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Project-Id: 79a9eabda419419d869630b77d0c0b8f" -H "X-Auth-Token: {SHA1}9830df0b0e5ed172c13f680381c2f7dba1d483db" -d '{"aggregate": {"name": "ha1", "availability_zone": ""}}'
  RESP: [400] {'date': 'Fri, 15 Aug 2014 04:35:45 GMT', 'content-length': '103', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-4689063c-f99f-45f0-b9a5-a5313fc66147'}
  RESP BODY: {"badRequest": {"message": "Availability_zone has a minimum character requirement of 1.", "code": 400}}

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


Follow ups

References