← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1744455] Re: New instance on compute fails

 

*** This bug is a duplicate of bug 1672041 ***
    https://bugs.launchpad.net/bugs/1672041

** Project changed: nova-solver-scheduler => nova

** This bug has been marked a duplicate of bug 1672041
   nova.scheduler.client.report  409 Conflict

-- 
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/1744455

Title:
  New instance on compute fails

Status in OpenStack Compute (nova):
  New

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.host_manager [req-f0b60f13-637f-4856-a321-76914742652c - - - - -] Successfully synced instances from host 'compute'.
  2018-01-20 16:18:28.287 1011 WARNING nova.scheduler.client.report [req-07c5ee94-dd71-4328-8f63-f24550f16e37 c8e5bcf05f67431ba5c89518238ef4d7 6a17e79098ab478fa728b4ace304d591 - default default] Unable to submit allocation for instance c9120f12-02b7-4515-ba9f-37faca050cc3 (409 <html>
   <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-452b-44b2-b96d-653c394a543c'. The requested amount would violate inventory constraints.

  
   </body>
  </html>)
  2018-01-20 16:18:28.919 1011 WARNING nova.scheduler.client.report [req-07c5ee94-dd71-4328-8f63-f24550f16e37 c8e5bcf05f67431ba5c89518238ef4d7 6a17e79098ab478fa728b4ace304d591 - default default] Unable to submit allocation for instance c9120f12-02b7-4515-ba9f-37faca050cc3 (409 <html>
   <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-452b-44b2-b96d-653c394a543c'. The requested amount would violate inventory constraints.

  
   </body>
  </html>)

  
  While Checking the resource available in nova registered compute. I don't see the problem.

  MariaDB [nova]> select id,vcpus,vcpus_used,hypervisor_type,host,uuid,memory_mb,memory_mb_used from compute_nodes;
  +----+-------+------------+-----------------+---------+--------------------------------------+-----------+----------------+
  | id | vcpus | vcpus_used | hypervisor_type | host    | uuid                                 | memory_mb | memory_mb_used |
  +----+-------+------------+-----------------+---------+--------------------------------------+-----------+----------------+
  |  1 |     1 |          0 | QEMU            | compute | 5841aceb-452b-44b2-b96d-653c394a543c |      3723 |            696 |
  +----+-------+------------+-----------------+---------+--------------------------------------+-----------+----------------+
  1 row in set (0.00 sec)

  MariaDB [nova]>

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1744455/+subscriptions