2015-01-27 09:11:23 |
Charlotte Han |
bug |
|
|
added bug |
2015-01-27 09:12:02 |
Charlotte Han |
description |
1. I have a flavor named 'disk0' that's disk size is 0.
[root@opencos114-222 ~(keystone_admin)]# nova flavor-list
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 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 |
| 41ef4850-14a6-424a-81b6-99ba0edbec52 | disk0 | 100 | 0 | 0 | | 1 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
2. I use disk0 flavor to boot a instance and instance' uuid is 9fb1389d-5d1b-45ac-8a9d-437f69f88422.
[root@opencos114-222 ~(keystone_admin)]# nova boot --image 66d2336c-31d2-495a-833d-6470b3d46263 --flavor 41ef4850-14a6-424a-81b6-99ba0edbec52 --nic net-id=9b68affa-f2f1-4d74-99d0-5b3d712846dc hanrong
+--------------------------------------+-----------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000015 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | Q5iUAxTW5r29 |
| config_drive | |
| created | 2015-03-28T08:38:38Z |
| flavor | disk0 (41ef4850-14a6-424a-81b6-99ba0edbec52) |
| hostId | |
| id | 9fb1389d-5d1b-45ac-8a9d-437f69f88422 |
| image | cirror (66d2336c-31d2-495a-833d-6470b3d46263) |
| key_name | - |
| metadata | {} |
| name | hanrong |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| serial_type | file |
| status | BUILD |
| tenant_id | 94d1a1b3260648f4be6bc423fab73bfa |
| updated | 2015-03-28T08:38:38Z |
| user_id | 1f60084b664844aab2304eb0fc288fba |
+--------------------------------------+-----------------------------------------------+
3. I see the instance's root_gb is 0 in nova database.
[root@opencos114-222 ~(keystone_admin)]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 9905
Server version: 5.5.36-MariaDB-wsrep MariaDB Server, wsrep_25.9.r3961
Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use nova
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [nova]> select uuid,root_gb from instances where uuid='9fb1389d-5d1b-45ac-8a9d-437f69f88422';
+--------------------------------------+---------+
| uuid | root_gb |
+--------------------------------------+---------+
| 9fb1389d-5d1b-45ac-8a9d-437f69f88422 | 0 |
+--------------------------------------+---------+
1 row in set (0.00 sec)
4. But this instance's actual root disk size is not 0.
[root@opencos114-98 instances]# cd 9fb1389d-5d1b-45ac-8a9d-437f69f88422/
[root@opencos114-98 9fb1389d-5d1b-45ac-8a9d-437f69f88422]# ll
total 992
-rw-rw---- 1 root root 16750 Mar 28 16:39 console.log
-rw-r--r-- 1 root root 1048576 Mar 28 16:39 disk
-rw-r--r-- 1 root root 79 Mar 28 16:38 disk.info
-rw-r--r-- 1 root root 1725 Mar 28 16:38 libvirt.xml
[root@opencos114-98 9fb1389d-5d1b-45ac-8a9d-437f69f88422]# qemu-img info disk
image: disk
file format: qcow2
virtual size: 39M (41126400 bytes)
disk size: 1.3M
cluster_size: 65536
backing file: /var/lib/nova/instances/_base/cff6eefd4b2262239fafae317589c4507325abe9
Format specific information:
compat: 1.1
lazy refcounts: false
5. Many disk statistics is resulting from instances' root_gb field. I think 0 is improper. |
1. I have a flavor named 'disk0' that's disk size is 0.
[root@opencos114-222 ~(keystone_admin)]# nova flavor-list
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 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 |
| 41ef4850-14a6-424a-81b6-99ba0edbec52 | disk0 | 100 | 0 | 0 | | 1 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
2. I use disk0 flavor to boot a instance and instance' uuid is 9fb1389d-5d1b-45ac-8a9d-437f69f88422.
[root@opencos114-222 ~(keystone_admin)]# nova boot --image 66d2336c-31d2-495a-833d-6470b3d46263 --flavor 41ef4850-14a6-424a-81b6-99ba0edbec52 --nic net-id=9b68affa-f2f1-4d74-99d0-5b3d712846dc hanrong
+--------------------------------------+-----------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000015 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | Q5iUAxTW5r29 |
| config_drive | |
| created | 2015-03-28T08:38:38Z |
| flavor | disk0 (41ef4850-14a6-424a-81b6-99ba0edbec52) |
| hostId | |
| id | 9fb1389d-5d1b-45ac-8a9d-437f69f88422 |
| image | cirror (66d2336c-31d2-495a-833d-6470b3d46263) |
| key_name | - |
| metadata | {} |
| name | hanrong |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| serial_type | file |
| status | BUILD |
| tenant_id | 94d1a1b3260648f4be6bc423fab73bfa |
| updated | 2015-03-28T08:38:38Z |
| user_id | 1f60084b664844aab2304eb0fc288fba |
+--------------------------------------+-----------------------------------------------+
3. I see the instance's root_gb is 0 in nova database.
[root@opencos114-222 ~(keystone_admin)]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 9905
Server version: 5.5.36-MariaDB-wsrep MariaDB Server, wsrep_25.9.r3961
Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use nova
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [nova]> select uuid,root_gb from instances where uuid='9fb1389d-5d1b-45ac-8a9d-437f69f88422';
+--------------------------------------+---------+
| uuid | root_gb |
+--------------------------------------+---------+
| 9fb1389d-5d1b-45ac-8a9d-437f69f88422 | 0 |
+--------------------------------------+---------+
1 row in set (0.00 sec)
4. But this instance's actual root disk size is not 0.
[root@opencos114-98 instances]# cd 9fb1389d-5d1b-45ac-8a9d-437f69f88422/
[root@opencos114-98 9fb1389d-5d1b-45ac-8a9d-437f69f88422]# ll
total 992
-rw-rw---- 1 root root 16750 Mar 28 16:39 console.log
-rw-r--r-- 1 root root 1048576 Mar 28 16:39 disk
-rw-r--r-- 1 root root 79 Mar 28 16:38 disk.info
-rw-r--r-- 1 root root 1725 Mar 28 16:38 libvirt.xml
[root@opencos114-98 9fb1389d-5d1b-45ac-8a9d-437f69f88422]# qemu-img info disk
image: disk
file format: qcow2
virtual size: 39M (41126400 bytes)
disk size: 1.3M
cluster_size: 65536
backing file: /var/lib/nova/instances/_base/cff6eefd4b2262239fafae317589c4507325abe9
Format specific information:
compat: 1.1
lazy refcounts: false
5. Many disk statistics are resulting from instances' root_gb field. I think 0 is improper. |
|
2015-01-27 10:49:13 |
Meena |
nova: assignee |
|
Meena (meena-ventrapati) |
|
2015-01-28 17:53:22 |
Gary Kotton |
nova: importance |
Undecided |
Wishlist |
|
2015-01-28 23:42:20 |
Sean Dague |
nova: status |
New |
Won't Fix |
|
2015-01-29 04:19:10 |
Meena |
nova: assignee |
Meena (meena-ventrapati) |
|
|
2015-07-24 14:50:53 |
Adrien Cunin |
bug |
|
|
added subscriber Adrien Cunin |
2015-07-24 14:59:33 |
Sylvain Bauza |
tags |
|
scheduler |
|
2015-07-24 14:59:48 |
Sylvain Bauza |
tags |
scheduler |
compute scheduler |
|
2015-07-24 17:10:06 |
Feodor Tersin |
bug |
|
|
added subscriber Feodor Tersin |
2016-11-11 08:38:05 |
Charlotte Han |
description |
1. I have a flavor named 'disk0' that's disk size is 0.
[root@opencos114-222 ~(keystone_admin)]# nova flavor-list
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 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 |
| 41ef4850-14a6-424a-81b6-99ba0edbec52 | disk0 | 100 | 0 | 0 | | 1 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
2. I use disk0 flavor to boot a instance and instance' uuid is 9fb1389d-5d1b-45ac-8a9d-437f69f88422.
[root@opencos114-222 ~(keystone_admin)]# nova boot --image 66d2336c-31d2-495a-833d-6470b3d46263 --flavor 41ef4850-14a6-424a-81b6-99ba0edbec52 --nic net-id=9b68affa-f2f1-4d74-99d0-5b3d712846dc hanrong
+--------------------------------------+-----------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000015 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | Q5iUAxTW5r29 |
| config_drive | |
| created | 2015-03-28T08:38:38Z |
| flavor | disk0 (41ef4850-14a6-424a-81b6-99ba0edbec52) |
| hostId | |
| id | 9fb1389d-5d1b-45ac-8a9d-437f69f88422 |
| image | cirror (66d2336c-31d2-495a-833d-6470b3d46263) |
| key_name | - |
| metadata | {} |
| name | hanrong |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| serial_type | file |
| status | BUILD |
| tenant_id | 94d1a1b3260648f4be6bc423fab73bfa |
| updated | 2015-03-28T08:38:38Z |
| user_id | 1f60084b664844aab2304eb0fc288fba |
+--------------------------------------+-----------------------------------------------+
3. I see the instance's root_gb is 0 in nova database.
[root@opencos114-222 ~(keystone_admin)]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 9905
Server version: 5.5.36-MariaDB-wsrep MariaDB Server, wsrep_25.9.r3961
Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use nova
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [nova]> select uuid,root_gb from instances where uuid='9fb1389d-5d1b-45ac-8a9d-437f69f88422';
+--------------------------------------+---------+
| uuid | root_gb |
+--------------------------------------+---------+
| 9fb1389d-5d1b-45ac-8a9d-437f69f88422 | 0 |
+--------------------------------------+---------+
1 row in set (0.00 sec)
4. But this instance's actual root disk size is not 0.
[root@opencos114-98 instances]# cd 9fb1389d-5d1b-45ac-8a9d-437f69f88422/
[root@opencos114-98 9fb1389d-5d1b-45ac-8a9d-437f69f88422]# ll
total 992
-rw-rw---- 1 root root 16750 Mar 28 16:39 console.log
-rw-r--r-- 1 root root 1048576 Mar 28 16:39 disk
-rw-r--r-- 1 root root 79 Mar 28 16:38 disk.info
-rw-r--r-- 1 root root 1725 Mar 28 16:38 libvirt.xml
[root@opencos114-98 9fb1389d-5d1b-45ac-8a9d-437f69f88422]# qemu-img info disk
image: disk
file format: qcow2
virtual size: 39M (41126400 bytes)
disk size: 1.3M
cluster_size: 65536
backing file: /var/lib/nova/instances/_base/cff6eefd4b2262239fafae317589c4507325abe9
Format specific information:
compat: 1.1
lazy refcounts: false
5. Many disk statistics are resulting from instances' root_gb field. I think 0 is improper. |
1. I have a flavor named 'disk0' that's disk size is 0.
[root@opencos114-222 ~(keystone_admin)]# nova flavor-list
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 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 |
| 41ef4850-14a6-424a-81b6-99ba0edbec52 | disk0 | 100 | 0 | 0 | | 1 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+--------------------------------------+-----------+-----------+------+-----------+------+-------+-------------+-----------+
2. I use disk0 flavor to boot a instance and instance' uuid is 9fb1389d-5d1b-45ac-8a9d-437f69f88422.
[root@opencos114-222 ~(keystone_admin)]# nova boot --image 66d2336c-31d2-495a-833d-6470b3d46263 --flavor 41ef4850-14a6-424a-81b6-99ba0edbec52 --nic net-id=9b68affa-f2f1-4d74-99d0-5b3d712846dc hanrong
+--------------------------------------+-----------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000015 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | Q5iUAxTW5r29 |
| config_drive | |
| created | 2015-03-28T08:38:38Z |
| flavor | disk0 (41ef4850-14a6-424a-81b6-99ba0edbec52) |
| hostId | |
| id | 9fb1389d-5d1b-45ac-8a9d-437f69f88422 |
| image | cirror (66d2336c-31d2-495a-833d-6470b3d46263) |
| key_name | - |
| metadata | {} |
| name | hanrong |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| serial_type | file |
| status | BUILD |
| tenant_id | 94d1a1b3260648f4be6bc423fab73bfa |
| updated | 2015-03-28T08:38:38Z |
| user_id | 1f60084b664844aab2304eb0fc288fba |
+--------------------------------------+-----------------------------------------------+
3. I see the instance's root_gb is 0 in nova database.
[root@opencos114-222 ~(keystone_admin)]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 9905
Server version: 5.5.36-MariaDB-wsrep MariaDB Server, wsrep_25.9.r3961
Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use nova
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [nova]> select uuid,root_gb from instances where uuid='9fb1389d-5d1b-45ac-8a9d-437f69f88422';
+--------------------------------------+---------+
| uuid | root_gb |
+--------------------------------------+---------+
| 9fb1389d-5d1b-45ac-8a9d-437f69f88422 | 0 |
+--------------------------------------+---------+
1 row in set (0.00 sec)
4. But this instance's actual root disk size is not 0.
[root@opencos114-98 instances]# cd 9fb1389d-5d1b-45ac-8a9d-437f69f88422/
[root@opencos114-98 9fb1389d-5d1b-45ac-8a9d-437f69f88422]# ll
total 992
-rw-rw---- 1 root root 16750 Mar 28 16:39 console.log
-rw-r--r-- 1 root root 1048576 Mar 28 16:39 disk
-rw-r--r-- 1 root root 79 Mar 28 16:38 disk.info
-rw-r--r-- 1 root root 1725 Mar 28 16:38 libvirt.xml
[root@opencos114-98 9fb1389d-5d1b-45ac-8a9d-437f69f88422]# qemu-img info disk
image: disk
file format: qcow2
virtual size: 39M (41126400 bytes)
disk size: 1.3M
cluster_size: 65536
backing file: /var/lib/nova/instances/_base/cff6eefd4b2262239fafae317589c4507325abe9
Format specific information:
compat: 1.1
lazy refcounts: false
5. Many disk statistics are resulting from instances' root_gb field. I think 0 is improper, image's virtual size would be more appropriate. |
|
2016-11-12 00:22:52 |
Charlotte Han |
nova: assignee |
|
Charlotte Han (hanrong) |
|
2016-11-18 01:31:19 |
Charlotte Han |
nova: status |
Won't Fix |
In Progress |
|
2017-04-06 07:17:17 |
MarkMielke |
bug |
|
|
added subscriber MarkMielke |
2019-09-25 09:32:52 |
Balazs Gibizer |
nova: assignee |
Charlotte Han (hanrong) |
|
|
2019-09-25 09:33:25 |
Balazs Gibizer |
nova: status |
In Progress |
Won't Fix |
|