Re: [ovirt-users] Permissions to Import VMs

2017-05-19 Thread Peter Wood
I did create a bug report and it was closed with the explanation that
UserVmManager role is not assigned because I'm using the Administration
portal... (???). What other portal do I use? Import/Export is Admin type
operation.

See here:
https://bugzilla.redhat.com/show_bug.cgi?id=1451501


Very simple steps to test it:

- Create a local user called LocalUserA

- Grant permissions to create VMs in DEV1 cluster and Import/Export VMs:

LocalUserA -> [PowerUserRole] -> DEV1 (Cluster)
LocalUserA -> [PowerUserRole] -> SAN (Storage Data Master)
LocalUserA -> [VmImporterExporter] -> DEV1 (Cluster)
LocalUserA -> [VmImporterExporter] -> SAN (Storage Data Master)
LocalUserA -> [VmImporterExporter] -> SD-Export (Storage Export type)

- Login to the Administration Portal as LocalUserA@internal

- Create a VM, Export the VM, Import the VM

  Role UserVmManager is not set for the imported VM.
  User LocalUserA can not even boot up the VM due to insufficient
permissions.

How do I setup LocalUserA so it can import VMs and work with them?

Thank you,

-- Peter


On Tue, May 16, 2017 at 4:11 AM, Arik Hadas <aha...@redhat.com> wrote:

>
>
> On Mon, May 15, 2017 at 11:36 PM, Peter Wood <peterwood...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I have a group of local users with permissions to create VMs, templates,
>> and VMs from templates. They are allowed to work only in one of the
>> clusters in the datacenter.
>>
>> Now I want one of the local users to be able to import VMs and convert
>> them into templates and I just can't find the recipe for that.
>>
>> The group has these permissions:
>>
>> LocalUsersGroup -> [PowerUserRole] -> DEV1 (Cluster)
>> LocalUsersGroup -> [PowerUserRole] -> SAN (Storage)
>> LocalUsersGroup -> [TemplateCreator] -> OFFICE (Datacenter)
>>
>> LocalUserA is part of LocalUsersGroup and should be able to:
>>   - Import a VM
>>   - Convert the VM to a template for everyone to use
>>   - Delete the VM
>>
>> I tried this: LocalUserA -> [VmImporterExporter] -> System
>>
>> LocalUserA can now import VMs and convert them to templates but it can't
>> delete the imported VMs. For some reason [UserVmManager] role is not
>> assigned to LocalUserA on the VMs that were imported.
>>
>
> Right, that seems to be a bug. The import operation should set the user
> that executes it with UserVmManager role on the imported VM, just like add
> VM does for regular VM creation.
> Could you please file a bug?
>
>
>>
>> Before I start messing around I'd appreciate somebody's else opinion on
>> how this should be done.
>>
>>
> Thank you for your time,
>>
>> -- Peter
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Permissions to Import VMs

2017-05-15 Thread Peter Wood
Hi,

I have a group of local users with permissions to create VMs, templates,
and VMs from templates. They are allowed to work only in one of the
clusters in the datacenter.

Now I want one of the local users to be able to import VMs and convert them
into templates and I just can't find the recipe for that.

The group has these permissions:

LocalUsersGroup -> [PowerUserRole] -> DEV1 (Cluster)
LocalUsersGroup -> [PowerUserRole] -> SAN (Storage)
LocalUsersGroup -> [TemplateCreator] -> OFFICE (Datacenter)

LocalUserA is part of LocalUsersGroup and should be able to:
  - Import a VM
  - Convert the VM to a template for everyone to use
  - Delete the VM

I tried this: LocalUserA -> [VmImporterExporter] -> System

LocalUserA can now import VMs and convert them to templates but it can't
delete the imported VMs. For some reason [UserVmManager] role is not
assigned to LocalUserA on the VMs that were imported.

Before I start messing around I'd appreciate somebody's else opinion on how
this should be done.

Thank you for your time,

-- Peter
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt + Citrix Xenserver support?

2017-05-12 Thread Peter Wood
Thank you for replying. I must've hit Reply instead of Reply All.

I copied the ML to this email. Your answer may be helpful to other people
too.

Thanks,

-- Peter

On Thu, May 11, 2017 at 10:37 PM, Sandro Bonazzola <sbona...@redhat.com>
wrote:

>
>
> On Thu, May 11, 2017 at 11:33 PM, Peter Wood <peterwood...@gmail.com>
> wrote:
>
>> I believe the question was about Citrix Xen. The URL that was pointed out
>> talks about Xen on RHEL.
>>
>> Are you saying that Citrix Xen VMs conversion to oVirt is also supported?
>>
>
> I would suggest to keep users@ovirt.org in CC next time :-)
> I'm not sure about direct conversion from Citrix Xen, according to
> http://libguestfs.org/virt-v2v.1.html it has not been recently tested but
> it's supposed to work.
> In the past there were issues but according to https://access.redhat.com/
> solutions/54076 a workaround is to use p2v instead of v2v.
>
>
>
>
>>
>> On Thu, May 11, 2017 at 8:14 AM, Sandro Bonazzola <sbona...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Tue, May 9, 2017 at 12:29 PM, santosh bhabal <sdbha...@gmail.com>
>>> wrote:
>>>
>>>> Hello Experts,
>>>>
>>>> I am new to Ovirt community.
>>>>
>>>
>>> Hi, welcome to the oVirt community!
>>>
>>>
>>>
>>>> Apology if this question has asked earlier.
>>>> I just wanted to know that does Ovirt support Citrix Xenserver or not?
>>>>
>>>
>>> Sadly oVirt doesn't support Xen. There was an attempt in the past to
>>> support it, see http://www.ovirt.org/documentation/how-to/xen/ but it
>>> has been abanoned.
>>>
>>> However, we support conversion of VMs from Xen to oVirt (see
>>> http://www.ovirt.org/develop/release-management/features/vir
>>> t/virt-v2v-integration/ )  so you can setup an oVirt datacenter next to
>>> the Xen one and move VMs to oVirt / KVM.
>>>
>>>
>>>
>>>>
>>>> Reagrds
>>>> Santosh.
>>>>
>>>> ___
>>>> Users mailing list
>>>> Users@ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> SANDRO BONAZZOLA
>>>
>>> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>>>
>>> Red Hat EMEA <https://www.redhat.com/>
>>> <https://red.ht/sig>
>>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
>
> --
>
> SANDRO BONAZZOLA
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>
> Red Hat EMEA <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to re-initialize storage?

2017-03-27 Thread Peter Wood
Hi,

I inherited a small oVirt cluster with 3 nodes using iSCSI storage.

The LUNs used by the oVirt nodes were also accessible by some VMware nodes.

By mistake an action was started on VMware to initialize and start using
the same LUNs, which it happily did. This rendered the storage no longer
usable by oVirt nodes. All VMs went down, their image files no longer
accessible, the whole cluster became unusable without access to the shared
storage.

We have recovered from backups and moved the VMs to another cluster and now
I want to get this oVirt cluster back up and running.

I'm not an oVirt expert so everything I tried was through the web interface
and everything failed because storage is not accessible. I can't remove
VMs, I can't remove nodes, I can't remove the storage domain.

What is the right approach to destroy the cluster and rebuild it and
re-initialize the storage?

Even better if I can just remove all VMs from the inventory and somehow
tell it to make the storage LUNs usable again?

Any help is highly appreciated?

Thank you,

-- Peter
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users