yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #27086
[Bug 1413136] Re: JSONSchema validation error with affinity policy
*** This bug is a duplicate of bug 1412973 ***
https://bugs.launchpad.net/bugs/1412973
Looks like fixed in https://review.openstack.org/#/c/148748/
Change-Id: I5dbd764460ba757835d569e7613970b3e658e886
** Changed in: nova
Status: New => Fix Committed
** Changed in: tempest
Status: New => Invalid
** This bug has been marked a duplicate of bug 1412973
test_create_server_with_scheduler_hint_group fails
--
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):
Fix Committed
Status in Tempest:
Invalid
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