diff --git a/app/models/manageiq/providers/openstack/cloud_manager/vm.rb b/app/models/manageiq/providers/openstack/cloud_manager/vm.rb index ff2d39e1e..04b037a93 100644 --- a/app/models/manageiq/providers/openstack/cloud_manager/vm.rb +++ b/app/models/manageiq/providers/openstack/cloud_manager/vm.rb @@ -15,6 +15,7 @@ class ManageIQ::Providers::Openstack::CloudManager::Vm < ManageIQ::Providers::Cl end supports :snapshots + supports :conversion_host POWER_STATES = { "ACTIVE" => "on", diff --git a/spec/models/manageiq/providers/openstack/cloud_manager/vm_spec.rb b/spec/models/manageiq/providers/openstack/cloud_manager/vm_spec.rb index 38716d667..21e30b831 100644 --- a/spec/models/manageiq/providers/openstack/cloud_manager/vm_spec.rb +++ b/spec/models/manageiq/providers/openstack/cloud_manager/vm_spec.rb @@ -156,6 +156,12 @@ expect(vm.supports_revert_to_snapshot?).to eq false end end + + context "v2v actions" do + it "supports conversion_host" do + expect(vm.supports_conversion_host?).to eq true + end + end end context "#is_available?" do