http://logs.openstack.org/85/564285/20/check/tripleo-ci-centos-7-scenario004-multinode-oooq-container/5894ea4/logs/subnode-2/var/log/containers/nova/nova-compute.log.txt.gz#_2018-06-20_01_54_50_903
2018-06-20 01:54:50.903 7 WARNING nova.scheduler.client.report [req-36012e34-70de-44e9-b757-a194d3a16b28 - - - - -] [req-b88725d5-9831-40fa-be0a-977401aa6e6c] Failed to update inventory for resource provider 1f03e781-e2c5-446d-8208-ee697a118136: 400 <html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
The server could not comply with the request since it is either malformed or otherwise incorrect.<br /><br />
JSON does not validate: 0.0 is less than the minimum of 1
Failed validating 'minimum' in schema['properties']['inventories']['patternProperties']['^[A-Z0-9_]+$']['properties']['max_unit']:
{'maximum': 2147483647, 'minimum': 1, 'type': 'integer'}
On instance['inventories'][u'DISK_GB']['max_unit']:
0
</body>
</html>
===================
Results in tempest failure
http://logs.openstack.org/85/564285/20/check/tripleo-ci-centos-7-scenario004-multinode-oooq-container/5894ea4/logs/stackviz/#/stdin/test-details/tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper
return f(self, *func_args, **func_kwargs)
File "/usr/lib/python2.7/site-packages/tempest/scenario/test_network_basic_ops.py", line 403, in test_network_basic_ops
self._setup_network_and_servers()
File "/usr/lib/python2.7/site-packages/tempest/scenario/test_network_basic_ops.py", line 119, in _setup_network_and_servers
server = self._create_server(self.network, port_id)
File "/usr/lib/python2.7/site-packages/tempest/scenario/test_network_basic_ops.py", line 171, in _create_server
security_groups=security_groups)
File "/usr/lib/python2.7/site-packages/tempest/scenario/manager.py", line 202, in create_server
image_id=image_id, **kwargs)
File "/usr/lib/python2.7/site-packages/tempest/common/compute.py", line 258, in create_test_server
server['id'])
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/site-packages/tempest/common/compute.py", line 229, in create_test_server
clients.servers_client, server['id'], wait_until)
File "/usr/lib/python2.7/site-packages/tempest/common/waiters.py", line 76, in wait_for_server_status
server_id=server_id)
tempest.exceptions.BuildErrorException: Server 3d212ef0-f28b-4a90-ad2d-3ca60308cb1f failed to build and is in ERROR status
Details: {u'message': u'No valid host was found. ', u'code': 500, u'created': u'2018-06-20T02:01:36Z'}
Nova compute is giving DISK_GB of 0.0 but placement validates with minimal 1, can be related to the following nova pike change, https:/ /github. com/openstack/ nova/commit/ 2c9c4a09cb5fd31 ccff368315534ea a788e90e67