← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1193226] Re: Resources utilization in nova count those vm which failed.

 

Currently, we can't guarantee that the vm spawns failed didn't consume
any resource even it didn't exist on the hypervisor under.

** Changed in: nova
       Status: In Progress => Invalid

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

Title:
  Resources utilization in nova count those vm which failed.

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  When vm deploy failed, the nova still count the resources which
  allocated to that vm as occupied, is this work as design?

  1. check first

  > nova hypervisor-show 1
  +----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Property             | Value                                                                                                                                                                                                                         |
  +----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | hypervisor_hostname  | WIN-UJAK7KN9LRA                                                                                                                                                                                                               |
  | cpu_info             | {"vendor": "GenuineIntel", "model": "Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz", "arch": "x64", "features": ["mmx", "sse", "rdtsc", "pae", "sse2", "nx", "sse3"], "topology": {"cores": 6, "threads": 2, "sockets": 2}} |
  | free_disk_gb         | 516                                                                                                                                                                                                                           |
  | hypervisor_version   | 629200                                                                                                                                                                                                                        |
  | disk_available_least | None                                                                                                                                                                                                                          |
  | local_gb             | 556                                                                                                                                                                                                                           |
  | free_ram_mb          | 130548                                                                                                                                                                                                                        |
  | id                   | 1                                                                                                                                                                                                                             |
  | vcpus_used           | 2                                                                                                                                                                                                                             |
  | hypervisor_type      | hyperv                                                                                                                                                                                                                        |
  | local_gb_used        | 40                                                                                                                                                                                                                            |
  | memory_mb_used       | 4608                                                                                                                                                                                                                          |
  | memory_mb            | 135156                                                                                                                                                                                                                        |
  | current_workload     | 0                                                                                                                                                                                                                             |
  | vcpus                | 24                                                                                                                                                                                                                            |
  | running_vms          | 2                                                                                                                                                                                                                             |
  | service_id           | 47                                                                                                                                                                                                                            |
  | service_host         | WIN-UJAK7KN9LRA                  


  IBM-SCE> nova list
  +--------------------------------------+--------------+--------+----------+
  | ID                                   | Name         | Status | Networks |
  +--------------------------------------+--------------+--------+----------+
  | 1cb055e4-a2db-434d-816a-c2b12c87d49f | test-vm-2    | ACTIVE |          |
  | 970ad589-a613-4189-860f-60b2610da0ab | testDeploy01 | ACTIVE |          |
  +--------------------------------------+--------------+--------+----------+
  IBM-SCE> 

  
  Hyperv-manager have 2 instances

  
  2.   Then I deploy one instance(with flavor small), deploy failed


  IBM-SCE> nova list
  +--------------------------------------+--------------+--------+----------+
  | ID                                   | Name         | Status | Networks |
  +--------------------------------------+--------------+--------+----------+
  | 1cb055e4-a2db-434d-816a-c2b12c87d49f | test-vm-2    | ACTIVE |          |
  | 2c1d0921-e2af-4e7e-a1c9-9c5b0080e336 | test-vm-os-1 | ERROR  |          |
  | 970ad589-a613-4189-860f-60b2610da0ab | testDeploy01 | ACTIVE |          |
  +--------------------------------------+--------------+--------+----------+

  
  > nova hypervisor-show 1
  +----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Property             | Value                                                                                                                                                                                                                         |
  +----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | hypervisor_hostname  | WIN-UJAK7KN9LRA                                                                                                                                                                                                               |
  | cpu_info             | {"vendor": "GenuineIntel", "model": "Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz", "arch": "x64", "features": ["mmx", "sse", "rdtsc", "pae", "sse2", "nx", "sse3"], "topology": {"cores": 6, "threads": 2, "sockets": 2}} |
  | free_disk_gb         | 496                                                                                                                                                                                                                           |
  | hypervisor_version   | 629200                                                                                                                                                                                                                        |
  | disk_available_least | None                                                                                                                                                                                                                          |
  | local_gb             | 556                                                                                                                                                                                                                           |
  | free_ram_mb          | 128500                                                                                                                                                                                                                        |
  | id                   | 1                                                                                                                                                                                                                             |
  | vcpus_used           | 3                                                                                                                                                                                                                             |
  | hypervisor_type      | hyperv                                                                                                                                                                                                                        |
  | local_gb_used        | 60                                                                                                                                                                                                                            |
  | memory_mb_used       | 6656                                                                                                                                                                                                                          |
  | memory_mb            | 135156                                                                                                                                                                                                                        |
  | current_workload     | 0                                                                                                                                                                                                                             |
  | vcpus                | 24                                                                                                                                                                                                                            |
  | running_vms          | 3                                                                                                                                                                                                                             |
  | service_id           | 47                                                                                                                                                                                                                            |
  | service_host         | WIN-UJAK7KN9LRA                                                                                                                                                                                                               |

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