IP is not set after system host-addr-add
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
marvin Yu |
Bug Description
Brief Description
-----------------
After executing command "system host-addr-add controller-1 eth1002 192.168.100.40 24" and unlock the controller-1. The interface eth1002 is not up and thus the IP 192.168.100.40 doesn't exist.
Severity
--------
Major
Steps to Reproduce
------------------
- virtual environment with StarlingX AIO DUPLEX
- system datanetwork-add net_vxlan vxlan --multicast_group 224.0.0.1 --ttl 255 --port_num 4789
system host-if-list -a controller-1
system host-if-modify -m 1500 -n data2 -d net_vxlan -c data controller-1 ${DATA2IFUUID}
system host-if-modify --ipv4-mode static controller-1 ${DATA2IFUUID}
system host-addr-add controller-1 eth1002 192.168.100.40 24
system host-unlock controller-1
system host-list
After controller-1 unlocks successfully, check the interface eth1002
ifconfig eth1002
Expected Behavior
------------------
- eth1002: flags=4163<
inet 192.168.100.40 netmask 255.255.255.0 broadcast 192.168.100.255
inet6 fe80::a00:
ether 08:00:27:24:96:37 txqueuelen 1000 (Ethernet)
RX packets 13546 bytes 886709 (865.9 KiB)
RX errors 0 dropped 23 overruns 0 frame 0
TX packets 11856 bytes 594175 (580.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Actual Behavior
----------------
- eth1002: flags=4163<
ether 08:00:27:24:96:37 txqueuelen 1000 (Ethernet)
RX packets 13752 bytes 897241 (876.2 KiB)
RX errors 0 dropped 23 overruns 0 frame 0
TX packets 12059 bytes 603502 (589.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Reproducibility
---------------
100%
System Configuration
-------
Duplex system
Lab-name: WCP_113-121
Branch/Pull Time/Commit
-------
stx master as of 20190607T142331Z
Last Pass
---------
Unclear
Timestamp/Logs
--------------
eth1002: flags=4163<
ether 08:00:27:24:96:37 txqueuelen 1000 (Ethernet)
RX packets 13752 bytes 897241 (876.2 KiB)
RX errors 0 dropped 23 overruns 0 frame 0
TX packets 12059 bytes 603502 (589.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Test Activity
-------------
Developer Testing
Changed in starlingx: | |
assignee: | Forrest Zhao (forrest.zhao) → Le, Huifeng (hle2) |
Changed in starlingx: | |
assignee: | Le, Huifeng (hle2) → marvin Yu (marvin-yu) |
Marking as stx.2.0 gating; seems to be an issue with vxlan configuration