Bug 1180105 - Instance type: missing VM fields while using InstanceCreator user role.
Summary: Instance type: missing VM fields while using InstanceCreator user role.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Tomas Jelinek
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks: 1196099
TreeView+ depends on / blocked
 
Reported: 2015-01-08 11:29 UTC by Nisim Simsolo
Modified: 2016-04-20 01:34 UTC (History)
8 users (show)

Fixed In Version: ovirt-engine-backend-3.6.0-0.0.master.20150412172306.git55ba764
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1196099 (view as bug list)
Environment:
Last Closed: 2016-04-20 01:34:32 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
missing OS field (178.34 KB, image/png)
2015-01-08 11:31 UTC, Nisim Simsolo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 36827 0 master MERGED userportal: Removed "os type" from list of basic user fields Never
oVirt gerrit 36830 0 ovirt-engine-3.5 MERGED userportal: Removed "os type" from list of basic user fields Never

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


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