New instance on compute fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
I am installing openstack Pike release. While trying to create the instance on compute node, I see the below errors in nova-schedular logs:
2018-01-20 16:17:31.864 1011 INFO nova.scheduler.
2018-01-20 16:18:28.287 1011 WARNING nova.scheduler.
<head>
<title>409 Conflict</title>
</head>
<body>
<h1>409 Conflict</h1>
There was a conflict when trying to complete your request.<br /><br />
Unable to allocate inventory: Unable to create allocation for 'VCPU' on resource provider '5841aceb-
</body>
</html>)
2018-01-20 16:18:28.919 1011 WARNING nova.scheduler.
<head>
<title>409 Conflict</title>
</head>
<body>
<h1>409 Conflict</h1>
There was a conflict when trying to complete your request.<br /><br />
Unable to allocate inventory: Unable to create allocation for 'VCPU' on resource provider '5841aceb-
</body>
</html>)
While Checking the resource available in nova registered compute. I don't see the problem.
MariaDB [nova]> select id,vcpus,
+----+-
| id | vcpus | vcpus_used | hypervisor_type | host | uuid | memory_mb | memory_mb_used |
+----+-
| 1 | 1 | 0 | QEMU | compute | 5841aceb-
+----+-
1 row in set (0.00 sec)
MariaDB [nova]>
affects: | nova-solver-scheduler → nova |
try log in database ,use nova_api ,DELETE from resource_providers where uuid='5841aceb- 452b-44b2- b96d-653c394a54 3c'!