Bug 1180105

Summary: Instance type: missing VM fields while using InstanceCreator user role.
Product: Red Hat Enterprise Virtualization Manager Reporter: Nisim Simsolo <nsimsolo>
Component: ovirt-engineAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: gklein, istein, lsurette, michal.skrivanek, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rc   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-backend-3.6.0-0.0.master.20150412172306.git55ba764 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1196099 (view as bug list) Environment:
Last Closed: 2016-04-20 01:34:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1196099    
Attachments:
Description Flags
missing OS field none

Description Nisim Simsolo 2015-01-08 11:29:01 UTC
Description of problem:
According to instance types design table (http://www.ovirt.org/index.php?title=Features/Instance_Types#Design), fields marked with "Y" under basic user column, should be present for creating/editing when login to user portal using user with InstanceCreator role.
the missing fields are OS dropbox and cloud-init/Sysprep.

Version-Release number of selected component (if applicable):
rhevm-3.5.0-0.27.el6ev.noarch
libvirt-1.1.1-29.el7_0.3.x86_64
sanlock-3.1.0-2.el7.x86_64
vdsm-4.16.8.1-4.el7ev.x86_64
qemu-kvm-rhev-1.5.3-60.el7_0.11.x86_64


How reproducible:
Consistently

Steps to Reproduce:
1. Create new user with InstanceCreator user role.
2. Login to user portal using the new user created.
3. Edit/create VM and verify fields marked with "Y" according to instance type design table (http://www.ovirt.org/index.php?title=Features/Instance_Types#Design) are present.

Actual results:
There are two missing fields: OS and Cloud-Init/Sysprep.

Expected results:
OS and Cloud-Init/Sysprep should be present in edit/create VM options.

Additional info:
Snapshot attached.

Comment 1 Nisim Simsolo 2015-01-08 11:31:19 UTC
Created attachment 977733 [details]
missing OS field

Comment 2 Michal Skrivanek 2015-01-10 12:03:51 UTC
OS comes from the image, not instance type.
cloud-init/sysprep should be excluded, so I guess just update the wiki

Comment 3 Tomas Jelinek 2015-01-12 08:37:37 UTC
OS does come from the image, but we do not provide images so far, so currently it comes from the template. But since the user is not forced to pick a non-blank template, this field should be shown and editable for the user.

@Michal - considering this, do you think we can fix the OS in 3.5 (.1)?

Comment 4 Michal Skrivanek 2015-01-12 15:26:48 UTC
sure

Comment 5 Eyal Edri 2015-02-25 08:45:24 UTC
3.5.1 is already full with bugs (over 80), and since none of these bugs were added as urgent for 3.5.1 release in the tracker bug, moving to 3.5.2

Comment 6 Michal Skrivanek 2015-03-09 08:36:14 UTC
the bug has been cloned to z-stream bug 1196099

Comment 7 Nisim Simsolo 2015-05-20 12:59:29 UTC
OS dropbox available when using instancecreator user role.
cloud-init/sysprep basic user changed to N in wiki.
oVirt Engine Version verified: 3.6.0-0.0.master.20150412172306.git55ba764.el6