Re: [ovirt-users] Permission Issues

2015-09-25 Thread Donny Davis
Are you trying to set this up so it appears as though each user is in their
own tenant?

Make sure you are assigning your create user permission set to the correct
objects, IE assign that permission to the storage, and cluster or
datacenter you want them to operate on.

On Fri, Sep 25, 2015 at 1:48 AM, Budur Nagaraju  wrote:

> I understood that ,but now facing different issue,without selecting the
> permission "attach disk profile" user won't be able to create instance,if I
> disable the option user can't create the instance.
>
> Now the issue is by selecting the permission, users will be able to add
> new additional HDD space from to the deployed instance which I do not
> want,is there any way to resolve this /
>
> On Fri, Sep 25, 2015 at 11:13 AM, Oved Ourfali 
> wrote:
>
>> You should put the user role on the relevant VM. Permissions in ovirt are
>> a combination of user, role and object.
>>
>> If you put the UserRole on the cluster, the user will see all VMs in the
>> cluster. If on a VM, he will only see this VM, if on the DC he will see all
>> VMs in this DC, and if on the entire system then he will see all VMs in the
>> system.
>>
>> Hope I helped,
>> Oved
>> On Sep 24, 2015 9:07 AM, "Budur Nagaraju"  wrote:
>>
>>> HI
>>>
>>> I have created a user with the "user role permissions" when logged in
>>> able to view all the vms ,by default this should not happen ,is there any
>>> solution to resolve this ?
>>>
>>> Thanks,
>>> Nagaraju
>>>
>>>
>>> ___
>>> 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
>
>


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


[ovirt-users] Permission Issues

2015-09-24 Thread Budur Nagaraju
HI

I have created a user with the "user role permissions" when logged in able
to view all the vms ,by default this should not happen ,is there any
solution to resolve this ?

Thanks,
Nagaraju
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Permission Issues

2015-09-24 Thread Budur Nagaraju
HI

I have created a new role and applied the below permission,when I create a
new instance from the chosen template I get the error "user is not
authorized to perform this action.


under system :enabled the checkbox Login permissions
under vm:basic operations and remote login.
Provisioning Operations:create and create instance.
Diskprofile:attach disk profile.

Thanks,
Nagaraju




On Fri, Sep 25, 2015 at 5:47 AM, Donny Davis  wrote:

> Sure is.
>
> Where are you setting the permissions at?
>
> Read this thread
>
> http://lists.ovirt.org/pipermail/users/2015-January/030981.html
> HI
>
> I have created a user with the "user role permissions" when logged in able
> to view all the vms ,by default this should not happen ,is there any
> solution to resolve this ?
>
> Thanks,
> Nagaraju
>
>
> ___
> 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


Re: [ovirt-users] Permission Issues

2015-09-24 Thread Oved Ourfali
You should put the user role on the relevant VM. Permissions in ovirt are a
combination of user, role and object.

If you put the UserRole on the cluster, the user will see all VMs in the
cluster. If on a VM, he will only see this VM, if on the DC he will see all
VMs in this DC, and if on the entire system then he will see all VMs in the
system.

Hope I helped,
Oved
On Sep 24, 2015 9:07 AM, "Budur Nagaraju"  wrote:

> HI
>
> I have created a user with the "user role permissions" when logged in able
> to view all the vms ,by default this should not happen ,is there any
> solution to resolve this ?
>
> Thanks,
> Nagaraju
>
>
> ___
> 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


Re: [ovirt-users] Permission Issues

2015-09-24 Thread Budur Nagaraju
I understood that ,but now facing different issue,without selecting the
permission "attach disk profile" user won't be able to create instance,if I
disable the option user can't create the instance.

Now the issue is by selecting the permission, users will be able to add new
additional HDD space from to the deployed instance which I do not want,is
there any way to resolve this /

On Fri, Sep 25, 2015 at 11:13 AM, Oved Ourfali  wrote:

> You should put the user role on the relevant VM. Permissions in ovirt are
> a combination of user, role and object.
>
> If you put the UserRole on the cluster, the user will see all VMs in the
> cluster. If on a VM, he will only see this VM, if on the DC he will see all
> VMs in this DC, and if on the entire system then he will see all VMs in the
> system.
>
> Hope I helped,
> Oved
> On Sep 24, 2015 9:07 AM, "Budur Nagaraju"  wrote:
>
>> HI
>>
>> I have created a user with the "user role permissions" when logged in
>> able to view all the vms ,by default this should not happen ,is there any
>> solution to resolve this ?
>>
>> Thanks,
>> Nagaraju
>>
>>
>> ___
>> 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


[Users] Permission issues

2013-02-20 Thread Jakub Bittner

Hi,
I have permission issues with ovirt node and iSCSi.


2013-02-20 11:20:47.854+: 15899: error : 
virNetClientProgramDispatchError:174 : internal error process exited 
while connecting to monitor: qemu-kvm: -drive 
file=/rhev/data-center/20ca8725-0221-4227-b87a-5e6d71ab6fe3/ce0168c1-e69f-479e-a591-daca0a8ee7db/images/ebb3b49c-717d-4ae5-8ddb-4d25a367126c/60ddc3a1-7855-4c0a-a5a6-7169bc29db3a,if=none,id=drive-virtio-disk0,format=qcow2,serial=ebb3b49c-717d-4ae5-8ddb-4d25a367126c,cache=none,werror=stop,rerror=stop,aio=native: 
could not open disk image 
/rhev/data-center/20ca8725-0221-4227-b87a-5e6d71ab6fe3/ce0168c1-e69f-479e-a591-daca0a8ee7db/images/ebb3b49c-717d-4ae5-8ddb-4d25a367126c/60ddc3a1-7855-4c0a-a5a6-7169bc29db3a: 
Permission denied


I tried chown 36:36 
/rhev/data-center/20ca8725-0221-4227-b87a-5e6d71ab6fe3/ce0168c1-e69f-479e-a591-daca0a8ee7db/images/ebb3b49c-717d-4ae5-8ddb-4d25a367126c/60ddc3a1-7855-4c0a-a5a6-7169bc29db3a 



which leads to 
/dev/ce0168c1-e69f-479e-a591-daca0a8ee7db/60ddc3a1-7855-4c0a-a5a6-7169bc29db3a 
which leads to /dev/dm-13


I tried all of them to chmod 36:36, but this does not help. But if I 
change to vdsm user (su - vdsm -s /bin/bash I can read from it)


After chmoding this file it started to work (VM started)

/rhev/data-center/20ca8725-0221-4227-b87a-5e6d71ab6fe3/ce0168c1-e69f-479e-a591-daca0a8ee7db/images/ebb3b49c-717d-4ae5-8ddb-4d25a367126c/2ea15f6b-8029-474f-90c9-e693e4c10a67


Creating new hard drives still doesn work. I have node version 
2.6.0-20130212.fc18.

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


Re: [Users] Permission issues

2013-02-20 Thread Jeff Bailey

On 2/20/2013 5:50 AM, Jakub Bittner wrote:
 Hi,
 I have permission issues with ovirt node and iSCSi.


What version of systemd is on your node?


 2013-02-20 11:20:47.854+: 15899: error :
 virNetClientProgramDispatchError:174 : internal error process exited
 while connecting to monitor: qemu-kvm: -drive
 file=/rhev/data-center/20ca8725-0221-4227-b87a-5e6d71ab6fe3/ce0168c1-e69f-479e-a591-daca0a8ee7db/images/ebb3b49c-717d-4ae5-8ddb-4d25a367126c/60ddc3a1-7855-4c0a-a5a6-7169bc29db3a,if=none,id=drive-virtio-disk0,format=qcow2,serial=ebb3b49c-717d-4ae5-8ddb-4d25a367126c,cache=none,werror=stop,rerror=stop,aio=native:
 could not open disk image
 /rhev/data-center/20ca8725-0221-4227-b87a-5e6d71ab6fe3/ce0168c1-e69f-479e-a591-daca0a8ee7db/images/ebb3b49c-717d-4ae5-8ddb-4d25a367126c/60ddc3a1-7855-4c0a-a5a6-7169bc29db3a:
 Permission denied

 I tried chown 36:36
 /rhev/data-center/20ca8725-0221-4227-b87a-5e6d71ab6fe3/ce0168c1-e69f-479e-a591-daca0a8ee7db/images/ebb3b49c-717d-4ae5-8ddb-4d25a367126c/60ddc3a1-7855-4c0a-a5a6-7169bc29db3a


 which leads to
 /dev/ce0168c1-e69f-479e-a591-daca0a8ee7db/60ddc3a1-7855-4c0a-a5a6-7169bc29db3a
 which leads to /dev/dm-13

 I tried all of them to chmod 36:36, but this does not help. But if I
 change to vdsm user (su - vdsm -s /bin/bash I can read from it)

 After chmoding this file it started to work (VM started)

 /rhev/data-center/20ca8725-0221-4227-b87a-5e6d71ab6fe3/ce0168c1-e69f-479e-a591-daca0a8ee7db/images/ebb3b49c-717d-4ae5-8ddb-4d25a367126c/2ea15f6b-8029-474f-90c9-e693e4c10a67



 Creating new hard drives still doesn work. I have node version
 2.6.0-20130212.fc18.
 ___
 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