Switch the default NIC driver to e1000
The version if qemu-ipxe on bionic doesn't attempt to network boot when using virtio-net. Change-Id: I335a2a0a8a82bb43a06202f96e629aa72d10cfac Story: #2004604 Task: #28498
This commit is contained in:
parent
c5a4ad8006
commit
053965c6db
@ -1616,6 +1616,9 @@ function create_bridge_and_vms {
|
|||||||
|
|
||||||
if [[ -n "$LIBVIRT_NIC_DRIVER" ]]; then
|
if [[ -n "$LIBVIRT_NIC_DRIVER" ]]; then
|
||||||
vm_opts+=" -D $LIBVIRT_NIC_DRIVER"
|
vm_opts+=" -D $LIBVIRT_NIC_DRIVER"
|
||||||
|
elif [[ "$IRONIC_BOOT_MODE" == "uefi" || "$IRONIC_STORAGE_INTERFACE" == "cinder" ]]; then
|
||||||
|
# Note(derekh) Both UEFI and BVF for the moment don't work with the e1000 net driver
|
||||||
|
vm_opts+=" -D virtio"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local bridge_mac
|
local bridge_mac
|
||||||
@ -1629,7 +1632,7 @@ function create_bridge_and_vms {
|
|||||||
sudo -E su -p $STACK_USER -c "PATH=$PATH $IRONIC_SCRIPTS_DIR/create-node.sh -n $vm_name \
|
sudo -E su -p $STACK_USER -c "PATH=$PATH $IRONIC_SCRIPTS_DIR/create-node.sh -n $vm_name \
|
||||||
-c $IRONIC_VM_SPECS_CPU -m $IRONIC_VM_SPECS_RAM -d $IRONIC_VM_SPECS_DISK \
|
-c $IRONIC_VM_SPECS_CPU -m $IRONIC_VM_SPECS_RAM -d $IRONIC_VM_SPECS_DISK \
|
||||||
-a $IRONIC_VM_SPECS_CPU_ARCH -b $IRONIC_VM_NETWORK_BRIDGE $vm_opts -p $vbmc_port -o $pdu_outlet \
|
-a $IRONIC_VM_SPECS_CPU_ARCH -b $IRONIC_VM_NETWORK_BRIDGE $vm_opts -p $vbmc_port -o $pdu_outlet \
|
||||||
-i $IRONIC_VM_INTERFACE_COUNT -f $IRONIC_VM_SPECS_DISK_FORMAT -M $PUBLIC_BRIDGE_MTU $log_arg" >> $IRONIC_VM_MACS_CSV_FILE
|
-i $IRONIC_VM_INTERFACE_COUNT -f $IRONIC_VM_SPECS_DISK_FORMAT -M $PUBLIC_BRIDGE_MTU $log_arg" >> $IRONIC_VM_MACS_CSV_FILE
|
||||||
echo " ${bridge_mac} $IRONIC_VM_NETWORK_BRIDGE" >> $IRONIC_VM_MACS_CSV_FILE
|
echo " ${bridge_mac} $IRONIC_VM_NETWORK_BRIDGE" >> $IRONIC_VM_MACS_CSV_FILE
|
||||||
|
|
||||||
vbmc_port=$((vbmc_port+1))
|
vbmc_port=$((vbmc_port+1))
|
||||||
|
@ -44,7 +44,7 @@ if [ -z "$UEFI_LOADER" ] && [ ! -z "$UEFI_NVRAM" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LIBVIRT_NIC_DRIVER=${NIC_DRIVER:-"virtio"}
|
LIBVIRT_NIC_DRIVER=${NIC_DRIVER:-"e1000"}
|
||||||
LIBVIRT_STORAGE_POOL=${LIBVIRT_STORAGE_POOL:-"default"}
|
LIBVIRT_STORAGE_POOL=${LIBVIRT_STORAGE_POOL:-"default"}
|
||||||
LIBVIRT_CONNECT_URI=${LIBVIRT_CONNECT_URI:-"qemu:///system"}
|
LIBVIRT_CONNECT_URI=${LIBVIRT_CONNECT_URI:-"qemu:///system"}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
name: ironic-base
|
name: ironic-base
|
||||||
description: Base job for devstack/tempest based ironic jobs.
|
description: Base job for devstack/tempest based ironic jobs.
|
||||||
parent: devstack-tempest
|
parent: devstack-tempest
|
||||||
nodeset: openstack-single-node-xenial
|
nodeset: openstack-single-node-bionic
|
||||||
timeout: 10800
|
timeout: 10800
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/ironic
|
- openstack/ironic
|
||||||
@ -144,6 +144,7 @@
|
|||||||
name: ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
|
name: ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
|
||||||
description: ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
|
description: ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
|
||||||
parent: ironic-base
|
parent: ironic-base
|
||||||
|
nodeset: openstack-single-node-xenial
|
||||||
timeout: 5400
|
timeout: 5400
|
||||||
vars:
|
vars:
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
@ -194,6 +195,7 @@
|
|||||||
name: ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
|
name: ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
|
||||||
description: ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
|
description: ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
|
||||||
parent: ironic-base
|
parent: ironic-base
|
||||||
|
nodeset: openstack-single-node-xenial
|
||||||
timeout: 5400
|
timeout: 5400
|
||||||
vars:
|
vars:
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
@ -205,6 +207,7 @@
|
|||||||
name: ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
|
name: ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
|
||||||
description: ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
|
description: ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
|
||||||
parent: ironic-base
|
parent: ironic-base
|
||||||
|
nodeset: openstack-single-node-xenial
|
||||||
timeout: 5400
|
timeout: 5400
|
||||||
vars:
|
vars:
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
@ -214,6 +217,7 @@
|
|||||||
name: ironic-tempest-dsvm-bfv
|
name: ironic-tempest-dsvm-bfv
|
||||||
description: ironic-tempest-dsvm-bfv
|
description: ironic-tempest-dsvm-bfv
|
||||||
parent: ironic-base
|
parent: ironic-base
|
||||||
|
nodeset: openstack-single-node-xenial
|
||||||
timeout: 9600
|
timeout: 9600
|
||||||
vars:
|
vars:
|
||||||
tempest_test_regex: baremetal_boot_from_volume
|
tempest_test_regex: baremetal_boot_from_volume
|
||||||
@ -325,7 +329,6 @@
|
|||||||
name: ironic-tempest-dsvm-ipa-wholedisk-direct-tinyipa-multinode
|
name: ironic-tempest-dsvm-ipa-wholedisk-direct-tinyipa-multinode
|
||||||
description: ironic-tempest-dsvm-ipa-wholedisk-direct-tinyipa-multinode
|
description: ironic-tempest-dsvm-ipa-wholedisk-direct-tinyipa-multinode
|
||||||
parent: tempest-multinode-full
|
parent: tempest-multinode-full
|
||||||
nodeset: openstack-two-node-xenial
|
|
||||||
pre-run: playbooks/ci-workarounds/set-stack-key.yaml
|
pre-run: playbooks/ci-workarounds/set-stack-key.yaml
|
||||||
timeout: 10800
|
timeout: 10800
|
||||||
required-projects:
|
required-projects:
|
||||||
|
Loading…
Reference in New Issue
Block a user