After mgmt network reconfig, old mgmt is still used by "sw-patch query-hosts"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Fabiano Correa Mercer |
Bug Description
Brief Description
-----------------
After mgmt network reconfig, the command "sudo sw-patch query-hosts" still reports the old mgmt network IP.
```
[sysadmin@
Hostname IP Address Patch Current Reboot Required Release State
============ =======
controller-0 fdff:719a:
```
Where "fdff:719a:
In one reproduction of the issue, both old and new mgmt IPs were displayed at the same time:
```
[sysadmin@
Patch ID RR Release Patch State
======== == ======= ===========
[sysadmin@
Hostname IP Address Patch Current Reboot Required Release State
============ =======
controller-0 fdff:719a:
controller-0 fdff:10:10:22::3 Yes No 23.09 idle
```
Patching.log reports several errors:
```
2023-12-
2023-12-
Traceback (most recent call last):
File "/usr/lib/
sock_in = self.setup_
File "/usr/lib/
self.
OSError: [Errno 99] Cannot assign requested address
2023-12-
2023-12-
Traceback (most recent call last):
File "/usr/lib/
sock_in = self.setup_
File "/usr/lib/
self.
OSError: [Errno 99] Cannot assign requested address
```
Severity
--------
<Major: System/Feature is usable but degraded>
Steps to Reproduce
------------------
1 - Install AIO-SX IPv4
2 - Reconfig the mgmt network
3 - Verify patching logs and "sudo sw-patch query-hosts"
Expected Behavior
------------------
"sw-patch query-hosts" shows the new mgmt network IP and patching.log does not contain errors
Actual Behavior
----------------
Old mgmt IP is used and some errors are seen in patching.log
Reproducibility
---------------
Reproducible
System Configuration
-------
AIO-SX IPv4
Branch/Pull Time/Commit
-------
Any load after: 2023-12-13_19-00-28
Last Pass
---------
First time testing
Timestamp/Logs
--------------
See Description
Test Activity
-------------
Feature Testing
Workaround
-------------
Restart sw-patch services
Changed in starlingx: | |
assignee: | nobody → Fabiano Correa Mercer (fcorream) |
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Medium |
Changed in starlingx: | |
status: | In Progress → Fix Released |
Related to storyboard: https:/ /storyboard. openstack. org/#!/ story/2010722 which is an stx.10.0 feature