Skip to content

Commit 8396a7c

Browse files
committed
Adds KVM libvirt_type support
1 parent 3284983 commit 8396a7c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure-rdo.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ run_ssh_cmd_with_retry $RDO_ADMIN@$CONTROLLER_VM_IP "openstack-config --set /etc
217217
echo "Enabling Quantum firewall driver on controller"
218218
run_ssh_cmd_with_retry $RDO_ADMIN@$CONTROLLER_VM_IP "sed -i 's/^#\ firewall_driver/firewall_driver/g' /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini && service quantum-server restart"
219219

220+
echo "Set libvirt_type on QEMU/KVM compute node"
221+
run_ssh_cmd_with_retry $RDO_ADMIN@$QEMU_COMPUTE_VM_IP "grep vmx /proc/cpuinfo > /dev/null && openstack-config --set /etc/nova/nova.conf DEFAULT libvirt_type kvm || true"
222+
220223
echo "Applying additional OVS configuration on $NETWORK_VM_IP"
221224

222225
run_ssh_cmd_with_retry $RDO_ADMIN@$NETWORK_VM_IP "ovs-vsctl list-ports br-ex | grep eth2 || ovs-vsctl add-port br-ex eth2"

0 commit comments

Comments
 (0)