Bug 1283151 - external VMs are not added when storage is not configured
Summary: external VMs are not added when storage is not configured
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.0.0-alpha
: 4.0.0
Assignee: Marek Libra
QA Contact: eberman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-18 11:50 UTC by Michal Skrivanek
Modified: 2016-07-05 07:39 UTC (History)
2 users (show)

Fixed In Version: ovirt 4.0.0 alpha1
Clone Of:
Environment:
Last Closed: 2016-07-05 07:39:33 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 49010 0 master MERGED core: external VM can be added without storage Never

Description Michal Skrivanek 2015-11-18 11:50:23 UTC
candoaction in AddVmCommand insists on StoragePoolStatus.Up...throwing ACTION_TYPE_FAILED_IMAGE_REPOSITORY_NOT_FOUND when it's not ready. Sicne the storage is not required for external VMs we should skip over this check. There might be more irrelevant checks...so worth a check:)

Comment 1 eberman 2016-06-14 13:37:00 UTC
tested on :
oVirt Engine Version: 4.1.0-0.0.master.20160613231338.git6e72c0b.el7.centos

libvirt version is:

libvirt-client-1.2.17-13.el7_2.4.x86_64


verification steps:
1.attached NFS storage 
2.ran this command:(while storage is up and running)

vdsClient 0 create /dev/null vmId=485c87ea-2875-11e5-b7ea-28d244694832 memSize=256  display=vnc kvmEnable=true  vmName=myVmName1

3.put storage into maintenance mode to simulate storage connection lost
4.ran same command again:

vdsClient 0 create /dev/null vmId=485c87ea-2875-11e5-b7ea-28d244694832 memSize=256  display=vnc kvmEnable=true  vmName=myVmName1


in both cases i was able to see the VM created on the host from the admin portal

Comment 2 Sandro Bonazzola 2016-07-05 07:39:33 UTC
oVirt 4.0.0 has been released, closing current release.


Note You need to log in before you can comment on or make changes to this bug.