Bug 692450 - GUI: [Guide me] when creating a new VM with two disks creating the second disk will result in ERROR that VM is not down
Summary: GUI: [Guide me] when creating a new VM with two disks creating the second dis...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.3.4
Assignee: Einav Cohen
QA Contact:
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-31 11:52 UTC by Dafna Ron
Modified: 2016-02-10 17:01 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-12 07:35:57 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
screen shot and log (47.29 KB, application/x-gzip)
2011-03-31 11:52 UTC, Dafna Ron
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 572213 0 high CLOSED RHEVM GUI: Data-center "Guide Me" => select host => activate the selected host 2021-02-22 00:41:40 UTC

Internal Links: 572213

Description Dafna Ron 2011-03-31 11:52:34 UTC
Created attachment 489048 [details]
screen shot and log

Description of problem:

when creating a new VM with 2 disks, and creating both disks with guide me, if the second disk is created while first disk is till created it will result in error message that Disk cannot be created because the VM is not down (see screen shot)


Version-Release number of selected component (if applicable):

ic107

How reproducible:
100%

Steps to Reproduce:
1. create VM
2. create disk using the guide me
3. create a second disk using the guide me
  
Actual results:

Error message will appear on the second disk that disk cannot be created because the VM is not down

Expected results:

- use async tasks if possible
- allow the creating only when first disk is finished
- error message should also be changed since VM is down 

Additional info:screen shot + backend log

Comment 1 Einav Cohen 2011-03-31 12:08:39 UTC
- changed the subject (the message is not "VM is running" but "VM is not down")
- the VM *is* not down - it is in "Image Locked" state because it is in the middle of the creation of the first disk.

This is a problematic situation, since the VM can change its status while the guide-me is open, and currently the guide-me dialog is not "sensitive" for status changes.

I am marking this as rhevm_future - we need to re-think about all guide-me's, not only the VM one, and possibly other dialogs as well.

Comment 2 Einav Cohen 2011-07-20 07:25:32 UTC
From Bug 722931, comment #1 (by me), regarding Data-Center Guide Me dialog:

There are a few issues here; the most painful one is the "Configure Storage"
button that remains grayed out; 
I assume that it remains grayed out since the "Guide me" dialog is not
"sensitive" for status changes: after finishing adding a new Host to the
data-center, the Host probably hasn't reached the "Up" status yet, which causes
the "Configure Storage" button to remain in a gray-out mode. 
After a few seconds, the Host probably moves to "Up" state, and you would
expect the "Configure Storage" button to become enabled, only (as I stated
earlier) the dialog is currently not "sensitive" to status changes.

Comment 3 Einav Cohen 2011-07-20 12:59:00 UTC
Removing "Regression" keyword (behavior is the same since 2.2)

Comment 4 Rami Vaknin 2012-04-04 11:50:16 UTC
Why not to disable the create disk button while the vm is not down?

Comment 5 Itamar Heim 2012-04-05 04:51:30 UTC
wouldn't this be allowed for hot plugging a disk?

Comment 6 Itamar Heim 2012-12-12 07:35:57 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


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