cert-mon: urlparse error results in stuck 'unknown' dc-cert_sync_status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Sabeel Ansari |
Bug Description
Brief Description
-----------------
After performing a DistributedCloud subclouds manage, the subcloud dc_cert_sync_status remains stuck in "unknown" status.
Appears to be introduced by the change to urlparse in https:/
Severity
--------
Major: unknown sync status and dc cert does not sync.
Steps to Reproduce
------------------
dcmanager subcloud add <subcloud>
dcmanager subcloud manage <subcloud>
dcmanager subcloud show <subcloud>
The 'dcmanager subcloud show <>' shows the dc_cert_
Expected Behavior
------------------
dc_cert_sync_status should become in-sync on the manage.
Actual Behavior
----------------
Stuck in unknown and the following AttributeError in /var/log/
2021-01-
Reproducibility
---------------
Reproducible 100%
System Configuration
-------
Distributed Cloud
Branch/Pull Time/Commit
-------
Branch and the time when code was pulled or git commit or cengn load info
"2021-01-
Last Pass
---------
Did this test scenario pass previously?
Yes. Appears to be introduced by the change to urlparse in https:/
Timestamp/Logs
--------------
2021-01-
2021-01-11 20:00:36.691 620502 ERROR sysinv.
2021-01-11 20:00:36.691 620502 ERROR sysinv.
2021-01-11 20:00:36.691 620502 ERROR sysinv.
2021-01-11 20:00:36.691 620502 ERROR sysinv.
2021-01-11 20:00:36.691 620502 ERROR sysinv.
2021-01-11 20:00:36.691 620502 ERROR sysinv.
Test Activity
-------------
Developer Testing
Workaround
----------
1. Update sysinv/
diff ./sysinv/
496c496
< url = urlparse.
---
> url = urlparse(endpoint)
2. sm-restart service cert-mon
Changed in starlingx: | |
assignee: | nobody → Sabeel Ansari (sansariwr) |
tags: | added: stx.5.0 stx.apps |
Changed in starlingx: | |
importance: | Undecided → High |
status: | New → Triaged |
stx.5.0 / high - issue introduced by recent code change and results in failures related to DC.