Brief Description
-----------------
"system --os-region-name SystemController device-image-apply" to apply several labels to one image.
After "dcmanager fw-update-strategy apply", all these labels show on related subclouds.
Severity
--------
Minor
Steps to Reproduce
------------------
system --os-auth-url https://[fd01:12::2]:5001/v3 --os-region-name subcloud1 host-device-label-assign controller-0 0000:b2:00.0 subcloud1=29
system --os-auth-url https://[fd01:303::2]:5001/v3 --os-region-name subcloud3 host-device-label-assign controller-0 0000:b4:00.0 subcloud3=29
system --os-region-name SystemController device-image-upload 5gldpc_1x2x25g_20ww2.3_swap_ddr4_2xrefresh-signed-ssl-csk2.bin functional 8086 0b30 --bitstream-id 21
system --os-region-name SystemController device-image-apply 78fdbeca-b97d-4af7-9d20-e676bb873c87 subcloud1=29 subcloud3=29 nonsubcloud=xyz
dcmanager fw-update-strategy create
dcmanager fw-update-strategy apply
Expected Behavior
------------------
Update works on all subcloud.
(Not sure for label behavior)
Actual Behavior
----------------
Update works on all subcloud.
All these labels show in subclouds, which seems not friendly, especially when there are many labels.
Reproducibility
---------------
yes
System Configuration
--------------------
Lab-name: DC-3
Brief Description
-----------------
"system --os-region-name SystemController device-image-apply" to apply several labels to one image.
After "dcmanager fw-update-strategy apply", all these labels show on related subclouds.
Severity
--------
Minor
Steps to Reproduce :2]:5001/ v3 --os-region-name subcloud1 host-device- label-assign controller-0 0000:b2:00.0 subcloud1=29 :2]:5001/ v3 --os-region-name subcloud3 host-device- label-assign controller-0 0000:b4:00.0 subcloud3=29 1x2x25g_ 20ww2.3_ swap_ddr4_ 2xrefresh- signed- ssl-csk2. bin functional 8086 0b30 --bitstream-id 21 b97d-4af7- 9d20-e676bb873c 87 subcloud1=29 subcloud3=29 nonsubcloud=xyz
------------------
system --os-auth-url https://[fd01:12:
system --os-auth-url https://[fd01:303:
system --os-region-name SystemController device-image-upload 5gldpc_
system --os-region-name SystemController device-image-apply 78fdbeca-
dcmanager fw-update-strategy create
dcmanager fw-update-strategy apply
Expected Behavior
------------------
Update works on all subcloud.
(Not sure for label behavior)
Actual Behavior
----------------
Update works on all subcloud.
All these labels show in subclouds, which seems not friendly, especially when there are many labels.
Reproducibility
---------------
yes
System Configuration ------- ------
-------
Lab-name: DC-3
Branch/Pull Time/Commit ------- ------- --
-------
2020-08-07_20-00-00
Last Pass
---------
2020-07-31_20-00-00
Timestamp/Logs controller- 0 ~(keystone_admin)]$ system --os-region-name SystemController device-image-show 78fdbeca- b97d-4af7- 9d20-e676bb873c 87 ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ b97d-4af7- 9d20-e676bb873c 87 | ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+
--------------
[sysadmin@
+------
| Property | Value |
+------
| uuid | 78fdbeca-
| bitstream_type | functional |
| pci_vendor | 8086 |
| pci_device | 0b30 |
| bitstream_id | 21 |
| key_signature | None |
| revoke_key_id | None |
| name | None |
| description | None |
| image_version | None |
| applied | True |
| applied_labels | [{u'subcloud1': u'29'}, {u'subcloud3': u'29'}, {u'nonsubcloud': u'xyz'}] |
+------
[sysadmin@ controller- 0 ~(keystone_admin)]$ system --os-auth-url https://[fd01:12: :2]:5001/ v3 --os-region-name subcloud1 device-label-list ------- -+----- ------- ------+ ------- ------+ ------- ------+ ------- -+----- ------- ------+ ------- ------+ ------- ------+ ------- -+----- ------- ------+ ------- ------+ ------- ------+ controller- 0 ~(keystone_admin)]$ system --os-auth-url https://[fd01:12: :2]:5001/ v3 --os-region-name subcloud1 device-image-show 78fdbeca- b97d-4af7- 9d20-e676bb873c 87 ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ b97d-4af7- 9d20-e676bb873c 87 | ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+
+------
| hostname | PCI device name | label key | label value |
+------
| | | subcloud3 | 29 |
| | | nonsubcloud | xyz |
| controller-0 | pci_0000_b2_00_0 | subcloud1 | 29 |
+------
[sysadmin@
+------
| Property | Value |
+------
| uuid | 78fdbeca-
| bitstream_type | functional |
| pci_vendor | 8086 |
| pci_device | 0b30 |
| bitstream_id | 21 |
| key_signature | None |
| revoke_key_id | None |
| name | None |
| description | None |
| image_version | None |
| applied | True |
| applied_labels | [{u'subcloud1': u'29'}, {u'subcloud3': u'29'}, {u'nonsubcloud': u'xyz'}] |
+------
[sysadmin@ controller- 0 ~(keystone_admin)]$ system --os-auth-url https://[fd01:303: :2]:5001/ v3 --os-region-name subcloud3 device-label-list ------- -+----- ------- ------+ ------- ------+ ------- ------+ ------- -+----- ------- ------+ ------- ------+ ------- ------+ ------- -+----- ------- ------+ ------- ------+ ------- ------+ controller- 0 ~(keystone_admin)]$ system --os-auth-url https://[fd01:303: :2]:5001/ v3 --os-region-name subcloud3 device-image-show 78fdbeca- b97d-4af7- 9d20-e676bb873c 87 ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ b97d-4af7- 9d20-e676bb873c 87 | ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+
+------
| hostname | PCI device name | label key | label value |
+------
| | | subcloud1 | 29 |
| | | nonsubcloud | xyz |
| controller-0 | pci_0000_b4_00_0 | subcloud3 | 29 |
+------
[sysadmin@
+------
| Property | Value |
+------
| uuid | 78fdbeca-
| bitstream_type | functional |
| pci_vendor | 8086 |
| pci_device | 0b30 |
| bitstream_id | 21 |
| key_signature | None |
| revoke_key_id | None |
| name | None |
| description | None |
| image_version | None |
| applied | True |
| applied_labels | [{u'subcloud3': u'29'}, {u'subcloud1': u'29'}, {u'nonsubcloud': u'xyz'}] |
+------
Test Activity
-------------
Functional Testing