← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1637449] [NEW] Ironic: Invalid hypervisor stats info while instance running

 

Public bug reported:

Description
===========

hypervisor-stats of nova showing wrong information of ironic node
resource.

Steps to reproduce
==================
Environment was setup following http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack

After delpoy 3 ironic-nodes, each has 1 cpu, 1024mb mem, 1gb disk, 2 instances running: 
#nova hypervisor-stats
+----------------------+-------+
| Property             | Value |
+----------------------+-------+
| count                | 3     |
| current_workload     | 1     |
| disk_available_least | -10   |
| free_disk_gb         | 10    |
| free_ram_mb          | 1024  |
| local_gb             | 10    |
| local_gb_used        | 20    |
| memory_mb            | 1024  |
| memory_mb_used       | 2048  |
| running_vms          | 2     |
| vcpus                | 1     |
| vcpus_used           | 2     |
+----------------------+-------+

Expected result
===============

vcpus should be 3.
memory_mb should be 3072.
local_gb should be 30.

** Affects: ironic
     Importance: Undecided
     Assignee: Tuan (tuanla)
         Status: New

** Affects: nova
     Importance: Undecided
     Assignee: Tuan (tuanla)
         Status: New

** Also affects: ironic
   Importance: Undecided
       Status: New

** Changed in: ironic
     Assignee: (unassigned) => Tuan (tuanla)

** Changed in: nova
     Assignee: (unassigned) => Tuan (tuanla)

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

Title:
  Ironic: Invalid hypervisor stats info while instance running

Status in Ironic:
  New
Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========

  hypervisor-stats of nova showing wrong information of ironic node
  resource.

  Steps to reproduce
  ==================
  Environment was setup following http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack

  After delpoy 3 ironic-nodes, each has 1 cpu, 1024mb mem, 1gb disk, 2 instances running: 
  #nova hypervisor-stats
  +----------------------+-------+
  | Property             | Value |
  +----------------------+-------+
  | count                | 3     |
  | current_workload     | 1     |
  | disk_available_least | -10   |
  | free_disk_gb         | 10    |
  | free_ram_mb          | 1024  |
  | local_gb             | 10    |
  | local_gb_used        | 20    |
  | memory_mb            | 1024  |
  | memory_mb_used       | 2048  |
  | running_vms          | 2     |
  | vcpus                | 1     |
  | vcpus_used           | 2     |
  +----------------------+-------+

  Expected result
  ===============

  vcpus should be 3.
  memory_mb should be 3072.
  local_gb should be 30.

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


Follow ups