interface network assignments not associating static addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Allain Legacy |
Bug Description
Brief Description
-----------------
Attempting to move a network from one interface to another (e.g., from 'lo' to 'enp0s8') does not properly delete/re-create the static address assignments.
Severity
--------
Critical, this impacts final system configuration following initial configuration with the Ansible playbook.
Steps to Reproduce
------------------
Ideally, these are the steps required to move a network from one interface to another:
system host-if-modify controller-0 enp0s3 -c platform
system host-if-modify controller-0 enp0s8 -c platform
system interface-
system interface-
system interface-
system interface-
system interface-
system interface-
system host-addr-list controller-0
But, the network-
system host-if-modify controller-0 lo -c none
system host-if-modify controller-0 enp0s3 -c platform --networks oam
system host-if-modify controller-0 enp0s8 -c platform --networks mgmt
system host-if-modify controller-0 enp0s8 -c platform --networks cluster-host
Unfortunately, because of a couple of different issues in the sysinv-api those commands do not properly setup the static addresses on the right interface. Those issues will be addressed in this bug, but fixing the ideal network-
Expected Behavior
------------------
After running either set of commands on controller-0 the host-addr-list system command should reflect that the static addresses have been moved from the old interface to the new interface.
Actual Behavior
----------------
The static addresses are still listed against the old interface.
Reproducibility
---------------
100%
System Configuration
-------
Standard 2+2
Branch/Pull Time/Commit
-------
BUILD_ID=
Last Pass
---------
Unknown
Timestamp/Logs
--------------
2019-05-03 12:48:03.199 15509 ERROR sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.199 15509 TRACE sysinv.
2019-05-03 12:48:03.543 13086 WARNING sysinv.
Test Activity
-------------
Developer Testing
Changed in starlingx: | |
assignee: | nobody → Allain Legacy (alegacy) |
Marking as release gating / high priority as it affects deployments with Ansible