provisioning fails due to undefined SRIOV_INTERFACES var @ compute-server-setup.sh
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Undecided
|
Senthilnathan Murugappan |
Bug Description
2016-02-01 16:25:14:010547: [root@10.84.21.6] out: /usr/bin/
root@a2s42:
diff --git a/contrail_
index 1ce4f38..5c9753b 100755
--- a/contrail_
+++ b/contrail_
@@ -192,7 +192,7 @@ if [ $VMWARE_IP ]; then
fi
openstack-config --del /etc/nova/nova.conf DEFAULT pci_passthrough
-if [ $SRIOV_INTERFACES != "" ]; then
+if [ ! -z $SRIOV_INTERFACES ] ; then
OLD_IFS=$IFS
IFS=','
intf_
The above patch would check for defined as well as empty string or not.
Review in progress for https:/ /review. opencontrail. org/16767
Submitter: Senthilnathan Murugappan (<email address hidden>)