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}}
Unfortunately it only gives the generic message 'Unable to create host aggregate'.