This is a multi-part message in MIME format.
--------------030108040307050405030408
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Hi Greg,
El 18/02/16 a las 18:36, Greg Padgett escribió:
On 02/18/2016 02:49 AM, nicolas(a)devels.es wrote:
> El 2016-02-17 22:55, Greg Padgett escribió:
>> On 02/16/2016 07:56 AM, nicolas(a)devels.es wrote:
>>> Hi,
>>>
>>> We upgraded from oVirt 3.5 and 3.6 and deleted the Default cluster, so
>>> now we have the Blank template with no DC and no Cluster, thus our
>>> users
>>> can't use it.
>>>
>>> Is there a way to manually set these two parameters to the current DC
>>> and Cluster values for the Blank template? I tried editing it but see
>>> no
>>> option to set them.
>>>
>>> Thanks.
>>>
>>> Nicolás
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>> Hi Nicolás,
>>
>> Removing the default cluster should be ok, since the templates don't
>> bind VMs to a DC/Cluster--you should be able to specify the DC/Cluster
>> when creating a VM.
>>
>> HTH,
>> Greg
>
> Hi Greg,
>
> I'll elaborate a bit further on the issue. I'm attaching a screenshot of
> the 'Templates' tab on the webadmin pane - As you can see, all of them
> have a Data Center and a Cluster assigned (columns 4 and 5) but the
> Blank template (because we deleted the default DC). Even if this
> template has the 'Everyone' permission, as we're granting permissions to
> our users on the Data Center, they are not able to see the Blank
> template in the list when deploying new machines in the userportal view,
> so currently they necessarily need to choose a template from the list
> which is not Blank, and that's an issue to some of them.
>
> That's why I was wondering if there's a manual way to assign the DC and
> Cluster to the Blank template, even modifying it directly in the DB, so
> the users see it in the userportal.
>
> Any hint is very appreciated.
>
> Regards,
>
> Nicolás
>
The default template is unbound to a DC/Cluster by design, so while
forcing an assignment in the db could work (not sure), it's not
supported and likely to break at some point. See [1] for details on
that 3.6 change.
However, since the root issue seems to be users not being able to use
the template, you should be able to assign permissions that allow this
from the Templates > Permissions sub-tab. If this isn't working, it
could be a bug.
[1]
http://wiki.ovirt.org/develop/release-management/features/virt/blank-to-d...
Oh, now I see. Indeed, I was able to see the template in the side
'Template' tab, but unable to see it when deploying a machine. I
realized that for some reason the Blank template missed the
UserTemplateBasedVm permission (most probably someone accidentally
deleted it), so I added it back and now I can see it.
Thanks very much for the insight.
Regards,
Nicolás
--------------030108040307050405030408
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Greg,<br>
<br>
<div class="moz-cite-prefix">El 18/02/16 a las 18:36, Greg Padgett
escribió:<br>
</div>
<blockquote cite="mid:56C60F35.1060206@redhat.com"
type="cite">On
02/18/2016 02:49 AM, <a class="moz-txt-link-abbreviated"
href="mailto:nicolas@devels.es">nicolas@devels.es</a> wrote:
<br>
<blockquote type="cite">El 2016-02-17 22:55, Greg Padgett
escribió:
<br>
<blockquote type="cite">On 02/16/2016 07:56 AM,
<a class="moz-txt-link-abbreviated"
href="mailto:nicolas@devels.es">nicolas@devels.es</a> wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
We upgraded from oVirt 3.5 and 3.6 and deleted the Default
cluster, so
<br>
now we have the Blank template with no DC and no Cluster,
thus our
<br>
users
<br>
can't use it.
<br>
<br>
Is there a way to manually set these two parameters to the
current DC
<br>
and Cluster values for the Blank template? I tried editing
it but see
<br>
no
<br>
option to set them.
<br>
<br>
Thanks.
<br>
<br>
Nicolás
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated"
href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<br>
<a class="moz-txt-link-freetext"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
<br>
<br>
</blockquote>
<br>
Hi Nicolás,
<br>
<br>
Removing the default cluster should be ok, since the templates
don't
<br>
bind VMs to a DC/Cluster--you should be able to specify the
DC/Cluster
<br>
when creating a VM.
<br>
<br>
HTH,
<br>
Greg
<br>
</blockquote>
<br>
Hi Greg,
<br>
<br>
I'll elaborate a bit further on the issue. I'm attaching a
screenshot of
<br>
the 'Templates' tab on the webadmin pane - As you can see, all
of them
<br>
have a Data Center and a Cluster assigned (columns 4 and 5) but
the
<br>
Blank template (because we deleted the default DC). Even if this
<br>
template has the 'Everyone' permission, as we're granting
permissions to
<br>
our users on the Data Center, they are not able to see the Blank
<br>
template in the list when deploying new machines in the
userportal view,
<br>
so currently they necessarily need to choose a template from the
list
<br>
which is not Blank, and that's an issue to some of them.
<br>
<br>
That's why I was wondering if there's a manual way to assign the
DC and
<br>
Cluster to the Blank template, even modifying it directly in the
DB, so
<br>
the users see it in the userportal.
<br>
<br>
Any hint is very appreciated.
<br>
<br>
Regards,
<br>
<br>
Nicolás
<br>
<br>
</blockquote>
<br>
The default template is unbound to a DC/Cluster by design, so
while forcing an assignment in the db could work (not sure), it's
not supported and likely to break at some point. See [1] for
details on that 3.6 change.
<br>
<br>
However, since the root issue seems to be users not being able to
use the template, you should be able to assign permissions that
allow this from the Templates > Permissions sub-tab. If this
isn't working, it could be a bug.
<br>
<br>
[1]
<a class="moz-txt-link-freetext"
href="http://wiki.ovirt.org/develop/release-management/features/virt...
<br>
</blockquote>
Oh, now I see. Indeed, I was able to see the template in the side
'Template' tab, but unable to see it when deploying a machine. I
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
realized that for some reason the Blank template missed the
UserTemplateBasedVm permission (most probably someone accidentally
deleted it), so I added it back and now I can see it.<br>
<br>
Thanks very much for the insight.<br>
<br>
Regards,<br>
<br>
Nicolás<br>
</body>
</html>
--------------030108040307050405030408--