2019-09-17 14:43:57 |
Wendy Mitchell |
bug |
|
|
added bug |
2019-09-17 14:44:30 |
Wendy Mitchell |
description |
Brief Description
-----------------
system host-disk-wipe returns disk available size but the partition is still listed
(does not report disk change back to the conductor to update inventory)
Severity
--------
Major: Vbox installation cannot access VMs consoles
Steps to Reproduce
------------------
1. Lock controller-1
2. system host-disk-list controller-1
This is one of the disks with 447.128 available_gib
| 8f58bae7-b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 447.128 | N/A | PHWA542200SY | /dev/disk/by-path/pci-0000:00:1f |
| | | | | 13 | | | 480FGN | .2-ata-5.0
3. Create a new partition using this disk eg. size 40
As expected the available_gib is reduced to 407.128
$ system host-disk-partition-list controller-1
...
+--------------------------------------+-----------------------------+----------------+--------------------------------------+----------------- ....
8f58bae7b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 407.128 | N/A | PHWA542200SY | /dev/dis
| | | | | 13 | | | 480FGN | .2-ata-5
| | | | | | | | |
system host-disk-partition-list controller-1
uuid | device_path | device_nod | type_guid | type_nam | size_ | status |
| | | e | | e | gib | |
+--------------------------------------+-----------------------------+------------+--------------------------------------+----------+-------+--------+
| bb74e25a-5083-441c-b3b9-d768c1d18a84 | /dev/disk/by-path/pci-0000: | /dev/sdd1 | ba5eba11-0000-1111-2222-000000000001 | LVM | 40.0 | Ready |
| | 00:1f.2-ata-5.0-part1 | | | Physical | | |
| | | | | Volume |
4. Perform a wipe disk operation on the disk
$ system host-disk-wipe controller-1 8f58bae7-b2ad-4dc6-b702-05ed982435ee
WARNING: This operation is irreversible and all data on the specified disk will be lost.
Continue [yes/N]: yes
None
5. Notice that the available_gib have returned to 447.128 as expected.
$ system host-disk-list controller-1
| uuid | device_node | device_num | device_type | size_gib | available_gib | rpm | serial_id | device_path
...
| 8f58bae7-b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 447.128 | N/A | PHWA542200SY | /dev/disk/by-path/pci-0000:00:1f |
| | | | | 13 | | | 480FGN | .2-ata-5.0 |
| | | | | | | | |
6. However, the disk partition is still reported as there (with size 40.0)
$ system host-disk-partition-list controller-1
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------+----------+--------+
| uuid | device_path | device_node | type_guid | type_name | size_gib | status |
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------+----------+--------+
| bb74e25a-5083-441c-b3b9-d768c1d18a84 | /dev/disk/by-path/pci-0000:00:1f. | /dev/sdd1 | ba5eba11-0000-1111-2222-000000000001 | LVM Physical Volume | 40.0 | Ready |
| | 2-ata-5.0-part1 | | | | | |
| | | | | | | |
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------
[sysadmin@controller-0 ~(keystone_admin)]$ date
Tue Sep 17 14:36:42 UTC 2019
Expected Behavior
------------------
Expected the partition should no longer be listed in the inventory
(disk wipe and disk change should be reported back to the conductor to update the inventory)
Actual Behavior
----------------
Disk wipe without update disk partition inventory
Reproducibility
---------------
yes
System Configuration
--------------------
hw: 2+2+n
PV-1
wcp_113-121
Branch/Pull Time/Commit
-----------------------
JOB="TC_19.10_Build"
2019-09-11_20-00-00
Last Pass
---------
n/a
Timestamp/Logs
--------------
~14:36:40
Test Activity
------------- |
Brief Description
-----------------
system host-disk-wipe returns disk available size but the partition is still listed
(does not report disk change back to the conductor to update inventory)
Severity
--------
Major: Vbox installation cannot access VMs consoles
Steps to Reproduce
------------------
1. Lock controller-1 (optional)
2. system host-disk-list controller-1
This is one of the disks with 447.128 available_gib
| 8f58bae7-b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 447.128 | N/A | PHWA542200SY | /dev/disk/by-path/pci-0000:00:1f |
| | | | | 13 | | | 480FGN | .2-ata-5.0
3. Create a new partition using this disk eg. size 40
As expected the available_gib is reduced to 407.128
$ system host-disk-partition-list controller-1
...
+--------------------------------------+-----------------------------+----------------+--------------------------------------+----------------- ....
8f58bae7b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 407.128 | N/A | PHWA542200SY | /dev/dis
| | | | | 13 | | | 480FGN | .2-ata-5
| | | | | | | | |
system host-disk-partition-list controller-1
uuid | device_path | device_nod | type_guid | type_nam | size_ | status |
| | | e | | e | gib | |
+--------------------------------------+-----------------------------+------------+--------------------------------------+----------+-------+--------+
| bb74e25a-5083-441c-b3b9-d768c1d18a84 | /dev/disk/by-path/pci-0000: | /dev/sdd1 | ba5eba11-0000-1111-2222-000000000001 | LVM | 40.0 | Ready |
| | 00:1f.2-ata-5.0-part1 | | | Physical | | |
| | | | | Volume |
4. Perform a wipe disk operation on the disk
$ system host-disk-wipe controller-1 8f58bae7-b2ad-4dc6-b702-05ed982435ee
WARNING: This operation is irreversible and all data on the specified disk will be lost.
Continue [yes/N]: yes
None
5. Notice that the available_gib have returned to 447.128 as expected.
$ system host-disk-list controller-1
| uuid | device_node | device_num | device_type | size_gib | available_gib | rpm | serial_id | device_path
...
| 8f58bae7-b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 447.128 | N/A | PHWA542200SY | /dev/disk/by-path/pci-0000:00:1f |
| | | | | 13 | | | 480FGN | .2-ata-5.0 |
| | | | | | | | |
6. However, the disk partition is still reported as there (with size 40.0)
$ system host-disk-partition-list controller-1
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------+----------+--------+
| uuid | device_path | device_node | type_guid | type_name | size_gib | status |
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------+----------+--------+
| bb74e25a-5083-441c-b3b9-d768c1d18a84 | /dev/disk/by-path/pci-0000:00:1f. | /dev/sdd1 | ba5eba11-0000-1111-2222-000000000001 | LVM Physical Volume | 40.0 | Ready |
| | 2-ata-5.0-part1 | | | | | |
| | | | | | | |
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------
[sysadmin@controller-0 ~(keystone_admin)]$ date
Tue Sep 17 14:36:42 UTC 2019
Expected Behavior
------------------
Expected the partition should no longer be listed in the inventory
(disk wipe and disk change should be reported back to the conductor to update the inventory)
Actual Behavior
----------------
Disk wipe without update disk partition inventory
Reproducibility
---------------
yes
System Configuration
--------------------
hw: 2+2+n
PV-1
wcp_113-121
Branch/Pull Time/Commit
-----------------------
JOB="TC_19.10_Build"
2019-09-11_20-00-00
Last Pass
---------
n/a
Timestamp/Logs
--------------
~14:36:40
Test Activity
------------- |
|
2019-09-17 14:59:21 |
Wendy Mitchell |
attachment added |
|
controller-0_20190917.144011.tgz https://bugs.launchpad.net/starlingx/+bug/1844363/+attachment/5289190/+files/controller-0_20190917.144011.tgz |
|
2019-09-17 20:33:28 |
Wendy Mitchell |
tags |
|
stx.retestneeded |
|
2019-09-18 20:23:52 |
Ghada Khalil |
description |
Brief Description
-----------------
system host-disk-wipe returns disk available size but the partition is still listed
(does not report disk change back to the conductor to update inventory)
Severity
--------
Major: Vbox installation cannot access VMs consoles
Steps to Reproduce
------------------
1. Lock controller-1 (optional)
2. system host-disk-list controller-1
This is one of the disks with 447.128 available_gib
| 8f58bae7-b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 447.128 | N/A | PHWA542200SY | /dev/disk/by-path/pci-0000:00:1f |
| | | | | 13 | | | 480FGN | .2-ata-5.0
3. Create a new partition using this disk eg. size 40
As expected the available_gib is reduced to 407.128
$ system host-disk-partition-list controller-1
...
+--------------------------------------+-----------------------------+----------------+--------------------------------------+----------------- ....
8f58bae7b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 407.128 | N/A | PHWA542200SY | /dev/dis
| | | | | 13 | | | 480FGN | .2-ata-5
| | | | | | | | |
system host-disk-partition-list controller-1
uuid | device_path | device_nod | type_guid | type_nam | size_ | status |
| | | e | | e | gib | |
+--------------------------------------+-----------------------------+------------+--------------------------------------+----------+-------+--------+
| bb74e25a-5083-441c-b3b9-d768c1d18a84 | /dev/disk/by-path/pci-0000: | /dev/sdd1 | ba5eba11-0000-1111-2222-000000000001 | LVM | 40.0 | Ready |
| | 00:1f.2-ata-5.0-part1 | | | Physical | | |
| | | | | Volume |
4. Perform a wipe disk operation on the disk
$ system host-disk-wipe controller-1 8f58bae7-b2ad-4dc6-b702-05ed982435ee
WARNING: This operation is irreversible and all data on the specified disk will be lost.
Continue [yes/N]: yes
None
5. Notice that the available_gib have returned to 447.128 as expected.
$ system host-disk-list controller-1
| uuid | device_node | device_num | device_type | size_gib | available_gib | rpm | serial_id | device_path
...
| 8f58bae7-b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 447.128 | N/A | PHWA542200SY | /dev/disk/by-path/pci-0000:00:1f |
| | | | | 13 | | | 480FGN | .2-ata-5.0 |
| | | | | | | | |
6. However, the disk partition is still reported as there (with size 40.0)
$ system host-disk-partition-list controller-1
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------+----------+--------+
| uuid | device_path | device_node | type_guid | type_name | size_gib | status |
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------+----------+--------+
| bb74e25a-5083-441c-b3b9-d768c1d18a84 | /dev/disk/by-path/pci-0000:00:1f. | /dev/sdd1 | ba5eba11-0000-1111-2222-000000000001 | LVM Physical Volume | 40.0 | Ready |
| | 2-ata-5.0-part1 | | | | | |
| | | | | | | |
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------
[sysadmin@controller-0 ~(keystone_admin)]$ date
Tue Sep 17 14:36:42 UTC 2019
Expected Behavior
------------------
Expected the partition should no longer be listed in the inventory
(disk wipe and disk change should be reported back to the conductor to update the inventory)
Actual Behavior
----------------
Disk wipe without update disk partition inventory
Reproducibility
---------------
yes
System Configuration
--------------------
hw: 2+2+n
PV-1
wcp_113-121
Branch/Pull Time/Commit
-----------------------
JOB="TC_19.10_Build"
2019-09-11_20-00-00
Last Pass
---------
n/a
Timestamp/Logs
--------------
~14:36:40
Test Activity
------------- |
Brief Description
-----------------
system host-disk-wipe returns disk available size but the partition is still listed
(does not report disk change back to the conductor to update inventory)
Severity
--------
Major: cmd doesn't work
Steps to Reproduce
------------------
1. Lock controller-1 (optional)
2. system host-disk-list controller-1
This is one of the disks with 447.128 available_gib
| 8f58bae7-b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 447.128 | N/A | PHWA542200SY | /dev/disk/by-path/pci-0000:00:1f |
| | | | | 13 | | | 480FGN | .2-ata-5.0
3. Create a new partition using this disk eg. size 40
As expected the available_gib is reduced to 407.128
$ system host-disk-partition-list controller-1
...
+--------------------------------------+-----------------------------+----------------+--------------------------------------+----------------- ....
8f58bae7b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 407.128 | N/A | PHWA542200SY | /dev/dis
| | | | | 13 | | | 480FGN | .2-ata-5
| | | | | | | | |
system host-disk-partition-list controller-1
uuid | device_path | device_nod | type_guid | type_nam | size_ | status |
| | | e | | e | gib | |
+--------------------------------------+-----------------------------+------------+--------------------------------------+----------+-------+--------+
| bb74e25a-5083-441c-b3b9-d768c1d18a84 | /dev/disk/by-path/pci-0000: | /dev/sdd1 | ba5eba11-0000-1111-2222-000000000001 | LVM | 40.0 | Ready |
| | 00:1f.2-ata-5.0-part1 | | | Physical | | |
| | | | | Volume |
4. Perform a wipe disk operation on the disk
$ system host-disk-wipe controller-1 8f58bae7-b2ad-4dc6-b702-05ed982435ee
WARNING: This operation is irreversible and all data on the specified disk will be lost.
Continue [yes/N]: yes
None
5. Notice that the available_gib have returned to 447.128 as expected.
$ system host-disk-list controller-1
| uuid | device_node | device_num | device_type | size_gib | available_gib | rpm | serial_id | device_path
...
| 8f58bae7-b2ad-4dc6-b702-05ed982435ee | /dev/sdd | 2096 | SSD | 447. | 447.128 | N/A | PHWA542200SY | /dev/disk/by-path/pci-0000:00:1f |
| | | | | 13 | | | 480FGN | .2-ata-5.0 |
| | | | | | | | |
6. However, the disk partition is still reported as there (with size 40.0)
$ system host-disk-partition-list controller-1
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------+----------+--------+
| uuid | device_path | device_node | type_guid | type_name | size_gib | status |
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------+----------+--------+
| bb74e25a-5083-441c-b3b9-d768c1d18a84 | /dev/disk/by-path/pci-0000:00:1f. | /dev/sdd1 | ba5eba11-0000-1111-2222-000000000001 | LVM Physical Volume | 40.0 | Ready |
| | 2-ata-5.0-part1 | | | | | |
| | | | | | | |
+--------------------------------------+-----------------------------------+-------------+--------------------------------------+---------------------
[sysadmin@controller-0 ~(keystone_admin)]$ date
Tue Sep 17 14:36:42 UTC 2019
Expected Behavior
------------------
Expected the partition should no longer be listed in the inventory
(disk wipe and disk change should be reported back to the conductor to update the inventory)
Actual Behavior
----------------
Disk wipe without update disk partition inventory
Reproducibility
---------------
yes
System Configuration
--------------------
hw: 2+2+n
PV-1
wcp_113-121
Branch/Pull Time/Commit
-----------------------
master as of 2019-09-11_20-00-00
Last Pass
---------
n/a
Timestamp/Logs
--------------
~14:36:40
Test Activity
------------- |
|
2019-09-18 20:24:05 |
Ghada Khalil |
tags |
stx.retestneeded |
stx.3.0 stx.retestneeded stx.storage |
|
2019-09-18 20:24:47 |
Ghada Khalil |
starlingx: importance |
Undecided |
Medium |
|
2019-09-18 20:24:50 |
Ghada Khalil |
starlingx: status |
New |
Triaged |
|
2019-09-18 20:25:03 |
Ghada Khalil |
starlingx: assignee |
|
Cindy Xie (xxie1) |
|
2019-09-21 11:03:46 |
Cindy Xie |
starlingx: assignee |
Cindy Xie (xxie1) |
Tingjie Chen (silverhandy) |
|
2019-11-13 22:50:19 |
Bill Zvonar |
bug |
|
|
added subscriber Bill Zvonar |
2019-11-14 23:32:18 |
Ghada Khalil |
bug |
|
|
added subscriber Daniel Badea |
2019-11-18 23:07:26 |
Bill Zvonar |
removed subscriber Bill Zvonar |
|
|
|
2019-11-26 17:01:53 |
Wendy Mitchell |
tags |
stx.3.0 stx.retestneeded stx.storage |
stx.storage |
|
2019-11-27 18:54:53 |
Ghada Khalil |
starlingx: status |
Triaged |
Invalid |
|
2020-05-27 21:32:28 |
Wendy Mitchell |
attachment added |
|
wcp_92-98 controller-1 logs https://bugs.launchpad.net/starlingx/+bug/1844363/+attachment/5377536/+files/controller-1_20200527.211546.tgz |
|
2020-05-27 21:34:04 |
Wendy Mitchell |
starlingx: status |
Invalid |
Confirmed |
|
2020-05-27 21:34:41 |
Wendy Mitchell |
tags |
stx.storage |
stx.retestneeded stx.storage |
|
2020-06-03 14:11:20 |
Ghada Khalil |
starlingx: importance |
Medium |
Low |
|
2020-06-03 14:13:58 |
Ghada Khalil |
starlingx: assignee |
Tingjie Chen (silverhandy) |
|
|
2020-06-13 00:27:03 |
Ghada Khalil |
removed subscriber Daniel Badea |
|
|
|
2020-06-13 00:27:22 |
Ghada Khalil |
bug |
|
|
added subscriber Allain Legacy |
2020-06-15 18:01:44 |
Ghada Khalil |
tags |
stx.retestneeded stx.storage |
stx.5.0 stx.retestneeded stx.storage |
|
2020-09-03 00:21:10 |
Ghada Khalil |
removed subscriber Allain Legacy |
|
|
|
2020-09-03 00:21:20 |
Ghada Khalil |
tags |
stx.5.0 stx.retestneeded stx.storage |
stx.retestneeded stx.storage |
|