Openstack APPLICATION UPLOAD GETTING FAILED - with LAG Data Interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Brief Description
-----------------
We are trying to setup dedicated Storage setup using StarlingX 4.0 over which we have certain observations/Error during the time of worker Node Configuration for the LAG type Data interfaces. Though we have tweaked the procedure a bit and successfully unlocked the Worker Nodes, but we are facing the error in upload the STX Application packages
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.
STEP 3:
Using the change, we were able to successfully unlock the worker Nodes.
[sysadmin at controller-0 ~(keystone_admin)]$ system host-list
+----+-
| id | hostname | personality | administrative | operational | availability |
+----+-
| 1 | controller-0 | controller | unlocked | enabled | available |
| 2 | controller-1 | controller | unlocked | enabled | available |
| 3 | storage-0 | storage | unlocked | enabled | available |
| 4 | storage-1 | storage | unlocked | enabled | available |
| 5 | worker-0 | worker | unlocked | enabled | available |
| 6 | worker-1 | worker | unlocked | enabled | available |
+----+-
STEP 4:
Then Further while running the application-upload:
Expected Behavior
------------------
Openstack Application Tar should get Uploaded Successfully.
Actual Behavior
----------------
Error is being observed while uploading the Openstack Application Tar
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
2021-02-05 07:46:40.318 113059 ERROR sysinv.
Reproducibility
---------------
100% reproducible
Complete SYSINV Log file is attached in the mail.
Changed in starlingx: | |
importance: | Undecided → Low |
screening: issue reported on stx.4.0; further investigation is required by the distro.openstack team