2012-08-30 18:40:04 |
Joe Gordon |
bug |
|
|
added bug |
2012-08-30 18:41:01 |
Joe Gordon |
description |
nova usage-list (os-simple-tenant-usage) does not return correct results. the os-simple-tenant-usage extension only gives correct results as called by horizon.
$ nova usage-list
Usage from 2012-08-02 to 2012-08-31:
+----------------------------------+-----------+--------------+-----------+---------------+
| Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
+----------------------------------+-----------+--------------+-----------+---------------+
| 089a61fd160c474d979849905613428f | 1 | 12699.23 | 24.80 | 0.00 |
+----------------------------------+-----------+--------------+-----------+---------------+
$ nova show 328cb611-28c2-4993-b08b-da505e826700
+-------------------------------------+----------------------------------------------------------------+
| Property | Value |
+-------------------------------------+----------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-SRV-ATTR:host | precise |
| OS-EXT-SRV-ATTR:hypervisor_hostname | precise. |
| OS-EXT-SRV-ATTR:instance_name | instance-00000001 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2012-08-30T17:48:28Z |
| flavor | m1.tiny (1) |
| hostId | 34d14cb95a830630d9e83b7362ef2505e81f6cb9c4a128f8eaf69f98 |
| id | 328cb611-28c2-4993-b08b-da505e826700 |
| image | cirros-0.3.0-x86_64-uec (c3f27bf5-1201-4431-be06-e4006c2ba2eb) |
| key_name | None |
| metadata | {} |
| name | Server 328cb611-28c2-4993-b08b-da505e826700 |
| private network | 10.0.0.2 |
| progress | 0 |
| security_groups | [{u'name': u'default'}] |
| status | ACTIVE |
| tenant_id | 089a61fd160c474d979849905613428f |
| updated | 2012-08-30T17:48:38Z |
| user_id | a2cd4f25d69d4910a910d80faf541d4a |
+-------------------------------------+----------------------------------------------------------------+
$ nova flavor-list
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+ |
nova usage-list (os-simple-tenant-usage) does not return correct results. the os-simple-tenant-usage extension only gives correct results as called by horizon.
This bug exists in both Essex and Folsom
From devstack:
$ nova usage-list
Usage from 2012-08-02 to 2012-08-31:
+----------------------------------+-----------+--------------+-----------+---------------+
| Tenant ID | Instances | RAM MB-Hours | CPU Hours | Disk GB-Hours |
+----------------------------------+-----------+--------------+-----------+---------------+
| 089a61fd160c474d979849905613428f | 1 | 12699.23 | 24.80 | 0.00 |
+----------------------------------+-----------+--------------+-----------+---------------+
$ nova show 328cb611-28c2-4993-b08b-da505e826700
+-------------------------------------+----------------------------------------------------------------+
| Property | Value |
+-------------------------------------+----------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-SRV-ATTR:host | precise |
| OS-EXT-SRV-ATTR:hypervisor_hostname | precise. |
| OS-EXT-SRV-ATTR:instance_name | instance-00000001 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2012-08-30T17:48:28Z |
| flavor | m1.tiny (1) |
| hostId | 34d14cb95a830630d9e83b7362ef2505e81f6cb9c4a128f8eaf69f98 |
| id | 328cb611-28c2-4993-b08b-da505e826700 |
| image | cirros-0.3.0-x86_64-uec (c3f27bf5-1201-4431-be06-e4006c2ba2eb) |
| key_name | None |
| metadata | {} |
| name | Server 328cb611-28c2-4993-b08b-da505e826700 |
| private network | 10.0.0.2 |
| progress | 0 |
| security_groups | [{u'name': u'default'}] |
| status | ACTIVE |
| tenant_id | 089a61fd160c474d979849905613428f |
| updated | 2012-08-30T17:48:38Z |
| user_id | a2cd4f25d69d4910a910d80faf541d4a |
+-------------------------------------+----------------------------------------------------------------+
$ nova flavor-list
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+ |
|
2012-08-30 20:41:04 |
Russell Bryant |
nova: status |
New |
Confirmed |
|
2012-08-30 20:41:11 |
Russell Bryant |
nova: importance |
Undecided |
Medium |
|
2012-08-30 21:45:48 |
Mark McLoughlin |
nova: milestone |
|
folsom-rc1 |
|
2012-08-31 17:36:43 |
Russell Bryant |
nova: importance |
Medium |
High |
|
2012-09-03 02:14:02 |
Rongze Zhu |
nova: assignee |
|
Rongze Zhu (zrzhit) |
|
2012-09-03 06:08:50 |
OpenStack Infra |
nova: status |
Confirmed |
In Progress |
|
2012-09-03 19:14:05 |
Mark McLoughlin |
bug |
|
|
added subscriber Mark McLoughlin |
2012-09-05 22:09:25 |
OpenStack Infra |
nova: status |
In Progress |
Fix Committed |
|
2012-09-10 20:38:36 |
Mark McLoughlin |
nominated for series |
|
nova/essex |
|
2012-09-10 20:38:36 |
Mark McLoughlin |
bug task added |
|
nova/essex |
|
2012-09-10 21:00:23 |
OpenStack Infra |
nova/essex: status |
New |
Fix Committed |
|
2012-09-19 06:34:36 |
Thierry Carrez |
nova: status |
Fix Committed |
Fix Released |
|
2012-09-27 15:31:46 |
Thierry Carrez |
nova: milestone |
folsom-rc1 |
2012.2 |
|
2012-10-09 19:51:48 |
Mark McLoughlin |
nova/essex: milestone |
|
2012.1.3 |
|
2012-10-11 19:44:43 |
Mark McLoughlin |
nova/essex: status |
Fix Committed |
Fix Released |
|
2012-12-12 09:15:36 |
Yolanda Robla |
nova (Ubuntu): status |
New |
Fix Released |
|
2012-12-12 09:15:39 |
Yolanda Robla |
nominated for series |
|
Ubuntu Precise |
|
2012-12-18 09:50:41 |
Launchpad Janitor |
branch linked |
|
lp:~yolanda.robla/openstack-ubuntu-testing/nova-precise-proposed |
|
2012-12-18 11:16:24 |
James Page |
bug task added |
|
nova (Ubuntu Precise) |
|
2013-05-09 23:12:51 |
Brian Murray |
nova (Ubuntu Precise): status |
New |
Fix Committed |
|
2013-05-09 23:12:55 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2013-05-09 23:13:01 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2013-05-09 23:13:09 |
Brian Murray |
tags |
|
verification-needed |
|
2013-05-09 23:45:39 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/nova |
|
2013-05-16 07:31:42 |
Yolanda Robla |
attachment added |
|
2012.1.3+stable-20130405-e52e6912-0ubuntu1.log https://bugs.launchpad.net/bugs/1043999/+attachment/3678020/+files/2012.1.3%2Bstable-20130405-e52e6912-0ubuntu1.log |
|
2013-05-16 07:33:57 |
Yolanda Robla |
attachment added |
|
2012.1.3+stable-20130405-e52e6912-0ubuntu1.log https://bugs.launchpad.net/bugs/1043999/+attachment/3678036/+files/2012.1.3%2Bstable-20130405-e52e6912-0ubuntu1.log |
|
2013-05-16 07:39:59 |
Yolanda Robla |
tags |
verification-needed |
verification-done |
|
2013-05-16 17:27:32 |
Launchpad Janitor |
nova (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2013-05-16 17:27:32 |
Launchpad Janitor |
cve linked |
|
2013-0208 |
|
2013-05-16 17:27:32 |
Launchpad Janitor |
cve linked |
|
2013-0335 |
|
2013-05-16 17:27:32 |
Launchpad Janitor |
cve linked |
|
2013-1664 |
|
2013-05-16 17:27:32 |
Launchpad Janitor |
cve linked |
|
2013-1838 |
|
2013-05-16 17:29:07 |
Scott Kitterman |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2013-05-16 17:39:33 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-updates/nova |
|