Bug 949858 - Cannot add VM if custom VM properties are in invalid format.
Summary: Cannot add VM if custom VM properties are in invalid format.
Keywords:
Status: CLOSED DUPLICATE of bug 924201
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Martin Pavlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-09 07:48 UTC by Martin Pavlik
Modified: 2015-04-07 03:10 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-09 08:18:50 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)
engine.log (114.97 KB, application/x-compressed-tar)
2013-04-09 07:48 UTC, Martin Pavlik
no flags Details
screenshot 1 (182.25 KB, image/png)
2013-04-09 07:49 UTC, Martin Pavlik
no flags Details

Description Martin Pavlik 2013-04-09 07:48:59 UTC
Created attachment 733025 [details]
engine.log

Description of problem:
If user tries to add new VM it fails with following error message in UI.(screenshot 1)

Error while executing action:

VM2:

    Cannot add VM if custom VM properties are in invalid format. Please check the input.


Version-Release number of selected component (if applicable):
oVirt Engine Version: 3.3.0-0.2.master.20130408165931.giteca9964.fc18 

How reproducible:
100%

Steps to Reproduce:
1. Virtual Machines -> New Desktop -> Fill in Name -> click OK
  
Actual results:
error message appears, VM is not created

Expected results:
VM created with no error

Additional info:
it is possible to get past the problem following these steps:
1. Virtual Machines -> New Desktop -> Fill in Name
2. go to Custom Properties
   a) click on + button next to no available keys (second row appears)
   b) click on - button in second row
3. click OK in the dialog window (VM is created)


engine.log
2013-04-09 09:35:54,015 WARN  [org.ovirt.engine.core.bll.AddVmFromScratchCommand] (ajp--127.0.0.1-8702-8) [7d533f22] CanDoAction of action AddVmFromScratch failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__VM,ACTION_TYPE_FAILED_INVALID_CUSTOM_VM_PROPERTIES_INVALID_SYNTAX

Comment 1 Martin Pavlik 2013-04-09 07:49:58 UTC
Created attachment 733029 [details]
screenshot 1

Comment 2 Martin Pavlik 2013-04-09 08:18:50 UTC

*** This bug has been marked as a duplicate of bug 924201 ***


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