Unable to modify interface to use static IP

Bug #1855191 reported by David Sullivan on 2019-12-04
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Medium
Thomas Gao

Bug Description

Brief Description
-----------------
Interfaces that do not have a network assigned can not use ipv4/6 mode of static. Address can not be assigned to such interfaces.

Severity
--------
Major. Configuration of such interfaces is not possible.

Steps to Reproduce
------------------
Setup a system including a host with a spare interface.
Attempt to modify that IF to use IPv4 mode static
eg
system host-if-add worker-0 vlanip vlan eth1001 -V 10 -c platform --ipv4-mode static

Expected Behavior
------------------
The command should be accepted and the IF updated

Actual Behavior
----------------
The command is rejected with the following error:
Address mode attributes only supported on 'mgmt, oam, cluster-host, data, ironic' interfaces

Reproducibility
---------------
Reproducible

System Configuration
--------------------
All configurations

Branch/Pull Time/Commit
-----------------------
20191121T023000Z

Last Pass
---------
Unknown

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Developer Testing

Ghada Khalil (gkhalil) on 2019-12-05
Changed in starlingx:
assignee: nobody → Andrew Troake (atroake)
tags: added: stx.config stx.networking
Ghada Khalil (gkhalil) wrote :

stx.4.0 / medium priority - issue specific to a particular i/f config

tags: added: stx.4.0
Changed in starlingx:
importance: Undecided → Medium
status: New → Triaged
Ghada Khalil (gkhalil) on 2020-01-06
Changed in starlingx:
assignee: Andrew Troake (atroake) → Ghada Khalil (gkhalil)
Ghada Khalil (gkhalil) on 2020-01-15
Changed in starlingx:
assignee: Ghada Khalil (gkhalil) → Thomas Gao (tgao)

Fix proposed to branch: master
Review: https://review.opendev.org/703708

Changed in starlingx:
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers