[StarlingX 4.0] - Documentation needs to be updated for LAG and VLAN type interfaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
M Camp |
Bug Description
Brief Description
-----------------
We are trying to install StarlingX 4.0 in a dedicated storage Model and facing issue in Configuring Worker Nodes in case we need to go with LAG type Data Interface.
Severity
--------
Critical
Steps to Reproduce
------------------
STEP 1:
We have created bonds for Data Network on Worker Node(reference document: https:/
* system host-if-add worker-1 -m 1500 -a active_standby data1bond ae eth1 eth2
* system host-if-add worker-1 -m 1500 -a active_standby data2bond ae eth3 eth4
STEP 2:
Then further as per the main documents when Configuring data interfaces for worker nodes ( reference document: https:/
* SPL=/tmp/
* SPIL=/tmp/
Above files does not have the information of the created Bond interfaces for data Nodes,
Further in order to get the the value of ${DATA0IFUUID} and ${DATA1IFUUID} below mentioned commands are executed:
DATA0IF=
DATA1IF=
PHYSNET0='physnet0'
PHYSNET1='physnet1'
SPL=/tmp/
SPIL=/tmp/
# configure the datanetworks in sysinv, prior to referencing it
# in the ``system host-if-modify`` command'.
system datanetwork-add ${PHYSNET0} vlan
system datanetwork-add ${PHYSNET1} vlan
for NODE in worker-0 worker-1; do
echo "Configuring interface for: $NODE"
set -ex
system host-port-list ${NODE} --nowrap > ${SPL}
system host-if-list -a ${NODE} --nowrap > ${SPIL}
DATA0PCIADDR=
DATA1PCIADDR=
DATA0PORTUUID
DATA1PORTUUID
DATA0PORTNAME
DATA1PORTNAME
DATA0IFUUID=$(cat $SPIL | awk -v DATA0PORTNAME=
DATA1IFUUID=$(cat $SPIL | awk -v DATA1PORTNAME=
system host-if-modify -m 1500 -n data0 -c data ${NODE} ${DATA0IFUUID}
system host-if-modify -m 1500 -n data1 -c data ${NODE} ${DATA1IFUUID}
system interface-
system interface-
set +ex
done
But in our case these values in the variable(
We observed that UUID of any ethernet interface mentioned in the file (SPIL=/
) matches with the UUID obtained by running the above command(System host-if-list worker-0 ) , so as we did not get the UUID from the file in case LAG Bonds we passed the Values of UUID directly.
Expected Behavior
------------------
Documentation should include the use of LAG and VLAN type data Interfaces
Actual Behavior
----------------
SPL=/tmp/
SPIL=/tmp/
There is no entry of LAG and VLAN interfaces in the above files.
Reproducibility
100%
Changed in starlingx: | |
assignee: | nobody → M Camp (mcamp859) |
importance: | Undecided → Low |
status: | New → Triaged |
tags: | added: stx.docs |
In the time that has passed since this LP was opened, the StarlingX documentation has been significantly updated with info about VLAN and LAG interfaces.
Please refer to these guides for details: /docs.starlingx .io/node_ management/ kubernetes/ index.html# node-interfaces -index /docs.starlingx .io/deploy_ install_ guides/ r5_release/ bare_metal/ dedicated_ storage_ install_ kubernetes. html
https:/
https:/
Changing status to Fixed.