After "dcmanager fw-update-strategy apply", labels applied to one image show on all related subclouds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Triaged
|
Low
|
Unassigned |
Bug Description
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:
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 if 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
--------------
[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@
+------
| 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@
+------
| 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
tags: | added: stx.distcloud |
log /files. starlingx. kube.cengn. ca/launchpad/ 1890918
https:/