Bug 997412

Summary: Unable to create new vm when the storage pool is unitialized
Product: [Retired] oVirt Reporter: Nir Soffer <nsoffer>
Component: ovirt-engine-coreAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: bugs <bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.3CC: acathrow, fkobzik, iheim, michal.skrivanek, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-14 14:20:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Log while reproducing this bug none

Description Nir Soffer 2013-08-15 13:07:00 UTC
Created attachment 786932 [details]
Log while reproducing this bug

Description of problem:
Unable to create new vm when the storage pool is unitialized

Version-Release number of selected component (if applicable):
ovirt-engine commit 7af2eec6799e

How reproducible:
Always

Steps to Reproduce:
1. Build and install
2. Add a host
3. Add a vm

Actual results:
On the "New virtual machine" dialog, both "Cluster" and "Based on template" popup menus are empty, but required so the vm can't be created.

Expected results:
Both menus should show normal content.

Additional info:

Workaround:
Add a storage domain, then create the vm.

Comment 1 Itamar Heim 2013-08-17 22:14:28 UTC
this sounds like by design in current system to me

Comment 2 Frantisek Kobzik 2013-09-10 13:14:51 UTC
But there is an inconsistency between rest api and the ui. rest api does allow creating vm without active storage domain and it can be actually quite useful for some situations (running a diskless vm from the network). what do you think?

Comment 3 Itamar Heim 2013-09-10 17:15:46 UTC
(In reply to Frantisek Kobzik from comment #2)
> But there is an inconsistency between rest api and the ui. rest api does
> allow creating vm without active storage domain and it can be actually quite
> useful for some situations (running a diskless vm from the network). what do
> you think?

that i'm not sure how/when that's would be useful...

Comment 4 Itamar Heim 2014-01-12 08:41:25 UTC
setting target release to current version for consideration and review. please do not push non-RFE bugs to an undefined target release to make sure bugs are reviewed for relevancy, fix, closure, etc.

Comment 5 Michal Skrivanek 2014-02-14 14:20:22 UTC
it's fine to have some additional functionality via REST. In GUI the use case doesn't look interesting enough