Hi, Due to this regression bug https://launchpad.net/bugs/1552888, found we are using 'formart' jsonschema keyword in wrong way. The 'format' is not only for string instance, but all the types.
So checking the server create API, we have problem at https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/servers.py#L38. The original purpose of jsonschema want to allow 'null' value by the 'type' keywordl. Actually the 'null' value isn't allowed, as the 'uuid' format will return fault for 'null' value. So what we need to do for this: Option1: Fix it with microversion Option2: Fix it without microversion Option3: Keep it as 'null' isn't allowed. If we choice to fix it, I think we need Microversion, due to this bug is introduced before v2.1 API release. But I prefer to not fix it, as we said v2.1 strict the API input. And 'null' isn't valuable valid value(If port isn't provided by user, user can just ignore this parameter.). I think we can just disable it, keep this current behaviour as the v2.1 API behaviour. What would you think? Thanks Alex
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev