From e3a04dd857d8e6f8afc83a20673fedd79936d19b Mon Sep 17 00:00:00 2001 From: vsaienko Date: Tue, 26 Apr 2016 10:26:25 +0300 Subject: [PATCH] Fix ironic compute_driver name This commit fixes breaking change [0]. Long driver names like 'nova.virt.libvirt.libvirtDriver' are no longer available and 'libvirt.libvirtDriver' should be used instead. Reference: [0] https://review.openstack.org/309504 Change-Id: I27a1b75b921c7401bc8614caadfd1e09e7dd5d65 Closes-Bug: 1574990 --- lib/nova_plugins/hypervisor-ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nova_plugins/hypervisor-ironic b/lib/nova_plugins/hypervisor-ironic index 43e7797371..c40427c089 100644 --- a/lib/nova_plugins/hypervisor-ironic +++ b/lib/nova_plugins/hypervisor-ironic @@ -39,7 +39,7 @@ function configure_nova_hypervisor { configure_libvirt LIBVIRT_FIREWALL_DRIVER=${LIBVIRT_FIREWALL_DRIVER:-"nova.virt.firewall.NoopFirewallDriver"} - iniset $NOVA_CONF DEFAULT compute_driver nova.virt.ironic.IronicDriver + iniset $NOVA_CONF DEFAULT compute_driver ironic.IronicDriver iniset $NOVA_CONF DEFAULT firewall_driver $LIBVIRT_FIREWALL_DRIVER iniset $NOVA_CONF DEFAULT scheduler_host_manager ironic_host_manager iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0