yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #27085
[Bug 1413136] Re: JSONSchema validation error with affinity policy
** Also affects: tempest
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1413136
Title:
JSONSchema validation error with affinity policy
Status in OpenStack Compute (Nova):
New
Status in Tempest:
New
Bug description:
When the new JSONSchema is used for server_group validation, the server_group creation fails with validation error:
ValidationError: Invalid input for field/attribute 0. Value: affinity. {'allOf': [{'enum': 'affinity'}, {'enum': 'anti-affinity'}]} is not allowed for 'affinity'
The JSONSchema was introduced in this change:
https://review.openstack.org/#/c/131924/8
The issue is caused by the incorrect use of 'enum' in the schema.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1413136/+subscriptions
References