Comment 0 for bug 1890340

Revision history for this message
Difu Hu (difuhu) wrote :

Brief Description
-----------------
subcloud4 has 2 labels. SystemController apply 1 label to image.
image label on SystemController and subcloud4 are different

Severity
--------
Major

Steps to Reproduce
------------------
precondition - subcloud4 has 2 labels
system --os-region-name SystemController device-image-apply 8a304eb6-11fd-4db1-8830-1d9ba249dfe0 subcloud4=8
dcmanager fw-update-strategy create --subcloud-apply-type serial
dcmanager fw-update-strategy apply

Expected Behavior
------------------
subcloud4 update with image labeled subcloud4=8

Actual Behavior
----------------
subcloud4 update with image labeled subcloud4=8 and subcloudgroup=2

Reproducibility
---------------
not sure

System Configuration
--------------------
Lab-name: DC-3

Branch/Pull Time/Commit
-----------------------
2020-07-31_20-00-00

Last Pass
---------
N/A

Timestamp/Logs
--------------
[sysadmin@controller-0 ~(keystone_admin)]$ system --os-region-name SystemController device-image-show 8a304eb6-11fd-4db1-8830-1d9ba249dfe0
+----------------+--------------------------------------+
| Property | Value |
+----------------+--------------------------------------+
| uuid | 8a304eb6-11fd-4db1-8830-1d9ba249dfe0 |
| bitstream_type | functional |
| pci_vendor | 8086 |
| pci_device | 0b30 |
| bitstream_id | 1 |
| key_signature | None |
| revoke_key_id | None |
| name | None |
| description | None |
| image_version | None |
| applied | True |
| applied_labels | [{u'subcloud4': u'8'}] |
+----------------+--------------------------------------+
[sysadmin@controller-0 ~(keystone_admin)]$ system --os-auth-url https://[fd01:304::2]:5001/v3 --os-region-name subcloud4 device-image-show 8a304eb6-11fd-4db1-8830-1d9ba249dfe0
+----------------+--------------------------------------------------+
| Property | Value |
+----------------+--------------------------------------------------+
| uuid | 8a304eb6-11fd-4db1-8830-1d9ba249dfe0 |
| bitstream_type | functional |
| pci_vendor | 8086 |
| pci_device | 0b30 |
| bitstream_id | 1 |
| key_signature | None |
| revoke_key_id | None |
| name | None |
| description | None |
| image_version | None |
| applied | True |
| applied_labels | [{u'subcloudgroup': u'2'}, {u'subcloud4': u'8'}] |
+----------------+--------------------------------------------------+
[sysadmin@controller-0 ~(keystone_admin)]$ system --os-auth-url https://[fd01:304::2]:5001/v3 --os-region-name subcloud4 device-label-list
+--------------+------------------+---------------+-------------+
| hostname | PCI device name | label key | label value |
+--------------+------------------+---------------+-------------+
| controller-0 | pci_0000_b4_00_0 | subcloudgroup | 2 |
| controller-0 | pci_0000_b4_00_0 | subcloud4 | 8 |
+--------------+------------------+---------------+-------------+

Test Activity
-------------
Functional Testing