<div dir="ltr"><span style="font-size:14px">Hi,</span><div style="font-size:14px"><br></div><div style="font-size:14px">Due to this regression bug <a href="https://launchpad.net/bugs/1552888" target="_blank">https://launchpad.net/bugs/1552888</a>, found we are using 'formart' jsonschema keyword in wrong way. The 'format' is not only for string instance, but all the types.<br></div><div style="font-size:14px"><br></div><div style="font-size:14px">So checking the server create API, we have problem at <a href="https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/servers.py#L38" target="_blank">https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/servers.py#L38</a>. 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.</div><div style="font-size:14px"><br></div><div style="font-size:14px">So what we need to do for this:</div><div style="font-size:14px"><br></div><div style="font-size:14px">Option1: Fix it with microversion</div><div style="font-size:14px">Option2: Fix it without microversion</div><div style="font-size:14px">Option3: Keep it as 'null' isn't allowed.</div><div style="font-size:14px"><br></div><div style="font-size:14px">If we choice to fix it, I think we need Microversion, due to this bug is introduced before v2.1 API release.</div><div style="font-size:14px"><br></div><div style="font-size:14px">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.</div><div style="font-size:14px"><br></div><div style="font-size:14px">What would you think?</div><div style="font-size:14px"><br></div><div style="font-size:14px">Thanks</div><div style="font-size:14px">Alex</div><div class="" style="font-size:14px"></div></div>