Re: [Users] Cannot set disk interface in user portal

2013-10-08 Thread Einav Cohen
it seems that the GetVirtioScsiControllers query should be marked as 
VdcQueryAuthType.User in the VdcQueryType enum, 
or user portal code has to change to not include a call to this query.
@Derez - thoughts?

- Original Message -
 From: Dead Horse deadhorseconsult...@gmail.com
 To: users@ovirt.org users@ovirt.org
 Sent: Tuesday, October 8, 2013 2:06:10 PM
 Subject: [Users] Cannot set disk interface in user portal
 
 The Add disk UI in the User Portal does not populate the interface pull-down.
 Nor will it allow the creation of a new virtual disk as a result. The error
 states insufficient permissions however the user is assigned PowerUserRole
 at the cluster level and on the associated storage domain(s).
 
 Engine built from commit: 31cd5339cfda6ad78f5d3a1ff08ad666f734f814
 
 2013-10-08 12:53:15,378 INFO
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (ajp--127.0.0.1-8702-10) Correlation ID: 567417ad, Job ID:
 6f774854-920b-4217-9906-a484841b843a, Call Stack: null, Custom Event ID: -1,
 Message: VM sdfa was created by ovirttest.
 2013-10-08 12:53:15,396 INFO
 [org.ovirt.engine.core.bll.AddVmFromScratchCommand] (ajp--127.0.0.1-8702-10)
 Lock freed to object EngineLock [exclusiveLocks= key: sdfa value: VM_NAME
 , sharedLocks= ]
 2013-10-08 12:53:15,433 INFO
 [org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
 MultipleActionsRunner of type AddVmInterface invoked with no actions
 2013-10-08 12:53:15,445 INFO
 [org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
 MultipleActionsRunner of type UpdateVmInterface invoked with no actions
 2013-10-08 12:53:15,459 INFO
 [org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
 MultipleActionsRunner of type RemoveVmInterface invoked with no actions
 2013-10-08 12:53:19,540 ERROR
 [org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
 (ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
 permissions.
 2013-10-08 12:54:29,015 WARN [org.ovirt.engine.core.bll.AddDiskCommand]
 (ajp--127.0.0.1-8702-10) CanDoAction of action AddDisk failed.
 Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,VALIDATION.DISK_INTERFACE.NOT_NULL
 2013-10-08 12:54:34,891 ERROR
 [org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
 (ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
 permissions.
 2013-10-08 12:56:14,937 ERROR
 [org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
 (ajp--127.0.0.1-8702-9) Query execution failed due to insufficient
 permissions.
 2013-10-08 12:56:27,095 WARN [org.ovirt.engine.core.bll.AddDiskCommand]
 (ajp--127.0.0.1-8702-4) CanDoAction of action AddDisk failed.
 Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,VALIDATION.DISK_INTERFACE.NOT_NULL
 
 - DHC
 
 ___
 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: [Users] Cannot set disk interface in user portal

2013-10-08 Thread Itamar Heim

On 10/08/2013 09:17 PM, Einav Cohen wrote:

it seems that the GetVirtioScsiControllers query should be marked as 
VdcQueryAuthType.User in the VdcQueryType enum,
or user portal code has to change to not include a call to this query.
@Derez - thoughts?


DHC - I think warrants a bug to track in any case, please open one.

thanks,
   Itamar



- Original Message -

From: Dead Horse deadhorseconsult...@gmail.com
To: users@ovirt.org users@ovirt.org
Sent: Tuesday, October 8, 2013 2:06:10 PM
Subject: [Users] Cannot set disk interface in user portal

The Add disk UI in the User Portal does not populate the interface pull-down.
Nor will it allow the creation of a new virtual disk as a result. The error
states insufficient permissions however the user is assigned PowerUserRole
at the cluster level and on the associated storage domain(s).

Engine built from commit: 31cd5339cfda6ad78f5d3a1ff08ad666f734f814

2013-10-08 12:53:15,378 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-10) Correlation ID: 567417ad, Job ID:
6f774854-920b-4217-9906-a484841b843a, Call Stack: null, Custom Event ID: -1,
Message: VM sdfa was created by ovirttest.
2013-10-08 12:53:15,396 INFO
[org.ovirt.engine.core.bll.AddVmFromScratchCommand] (ajp--127.0.0.1-8702-10)
Lock freed to object EngineLock [exclusiveLocks= key: sdfa value: VM_NAME
, sharedLocks= ]
2013-10-08 12:53:15,433 INFO
[org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
MultipleActionsRunner of type AddVmInterface invoked with no actions
2013-10-08 12:53:15,445 INFO
[org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
MultipleActionsRunner of type UpdateVmInterface invoked with no actions
2013-10-08 12:53:15,459 INFO
[org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
MultipleActionsRunner of type RemoveVmInterface invoked with no actions
2013-10-08 12:53:19,540 ERROR
[org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
(ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
permissions.
2013-10-08 12:54:29,015 WARN [org.ovirt.engine.core.bll.AddDiskCommand]
(ajp--127.0.0.1-8702-10) CanDoAction of action AddDisk failed.
Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,VALIDATION.DISK_INTERFACE.NOT_NULL
2013-10-08 12:54:34,891 ERROR
[org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
(ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
permissions.
2013-10-08 12:56:14,937 ERROR
[org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
(ajp--127.0.0.1-8702-9) Query execution failed due to insufficient
permissions.
2013-10-08 12:56:27,095 WARN [org.ovirt.engine.core.bll.AddDiskCommand]
(ajp--127.0.0.1-8702-4) CanDoAction of action AddDisk failed.
Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,VALIDATION.DISK_INTERFACE.NOT_NULL

- DHC

___
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 mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Cannot set disk interface in user portal

2013-10-08 Thread Dead Horse
The Add disk UI in the User Portal  does not populate the interface
pull-down. Nor will it allow the creation of a new virtual disk as a
result. The error states insufficient permissions however the user is
assigned PowerUserRole at the cluster level and on the associated storage
domain(s).

Engine built from commit: 31cd5339cfda6ad78f5d3a1ff08ad666f734f814

2013-10-08 12:53:15,378 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-10) Correlation ID: 567417ad, Job ID:
6f774854-920b-4217-9906-a484841b843a, Call Stack: null, Custom Event ID:
-1, Message: VM sdfa was created by ovirttest.
2013-10-08 12:53:15,396 INFO
[org.ovirt.engine.core.bll.AddVmFromScratchCommand]
(ajp--127.0.0.1-8702-10) Lock freed to object EngineLock [exclusiveLocks=
key: sdfa value: VM_NAME
, sharedLocks= ]
2013-10-08 12:53:15,433 INFO
[org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
MultipleActionsRunner of type AddVmInterface invoked with no actions
2013-10-08 12:53:15,445 INFO
[org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
MultipleActionsRunner of type UpdateVmInterface invoked with no actions
2013-10-08 12:53:15,459 INFO
[org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
MultipleActionsRunner of type RemoveVmInterface invoked with no actions
2013-10-08 12:53:19,540 ERROR
[org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
(ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
permissions.
2013-10-08 12:54:29,015 WARN  [org.ovirt.engine.core.bll.AddDiskCommand]
(ajp--127.0.0.1-8702-10) CanDoAction of action AddDisk failed.
Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,VALIDATION.DISK_INTERFACE.NOT_NULL
2013-10-08 12:54:34,891 ERROR
[org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
(ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
permissions.
2013-10-08 12:56:14,937 ERROR
[org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
(ajp--127.0.0.1-8702-9) Query execution failed due to insufficient
permissions.
2013-10-08 12:56:27,095 WARN  [org.ovirt.engine.core.bll.AddDiskCommand]
(ajp--127.0.0.1-8702-4) CanDoAction of action AddDisk failed.
Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,VALIDATION.DISK_INTERFACE.NOT_NULL

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


Re: [Users] Cannot set disk interface in user portal

2013-10-08 Thread Dead Horse
Done,
BZ1016826 https://bugzilla.redhat.com/show_bug.cgi?id=1016826 (
https://bugzilla.redhat.com/show_bug.cgi?id=1016826) opened.
- DHC


On Tue, Oct 8, 2013 at 1:36 PM, Itamar Heim ih...@redhat.com wrote:

 On 10/08/2013 09:17 PM, Einav Cohen wrote:

 it seems that the GetVirtioScsiControllers query should be marked as
 VdcQueryAuthType.User in the VdcQueryType enum,
 or user portal code has to change to not include a call to this query.
 @Derez - thoughts?


 DHC - I think warrants a bug to track in any case, please open one.

 thanks,
Itamar



 - Original Message -

 From: Dead Horse deadhorseconsult...@gmail.com**
 To: users@ovirt.org users@ovirt.org
 Sent: Tuesday, October 8, 2013 2:06:10 PM
 Subject: [Users] Cannot set disk interface in user portal

 The Add disk UI in the User Portal does not populate the interface
 pull-down.
 Nor will it allow the creation of a new virtual disk as a result. The
 error
 states insufficient permissions however the user is assigned
 PowerUserRole
 at the cluster level and on the associated storage domain(s).

 Engine built from commit: 31cd5339cfda6ad78f5d3a1ff08ad6**66f734f814

 2013-10-08 12:53:15,378 INFO
 [org.ovirt.engine.core.dal.**dbbroker.auditloghandling.**
 AuditLogDirector]
 (ajp--127.0.0.1-8702-10) Correlation ID: 567417ad, Job ID:
 6f774854-920b-4217-9906-**a484841b843a, Call Stack: null, Custom Event
 ID: -1,
 Message: VM sdfa was created by ovirttest.
 2013-10-08 12:53:15,396 INFO
 [org.ovirt.engine.core.bll.**AddVmFromScratchCommand]
 (ajp--127.0.0.1-8702-10)
 Lock freed to object EngineLock [exclusiveLocks= key: sdfa value: VM_NAME
 , sharedLocks= ]
 2013-10-08 12:53:15,433 INFO
 [org.ovirt.engine.core.bll.**MultipleActionsRunner]
 (ajp--127.0.0.1-8702-10)
 MultipleActionsRunner of type AddVmInterface invoked with no actions
 2013-10-08 12:53:15,445 INFO
 [org.ovirt.engine.core.bll.**MultipleActionsRunner]
 (ajp--127.0.0.1-8702-10)
 MultipleActionsRunner of type UpdateVmInterface invoked with no actions
 2013-10-08 12:53:15,459 INFO
 [org.ovirt.engine.core.bll.**MultipleActionsRunner]
 (ajp--127.0.0.1-8702-10)
 MultipleActionsRunner of type RemoveVmInterface invoked with no actions
 2013-10-08 12:53:19,540 ERROR
 [org.ovirt.engine.core.bll.**GetVirtioScsiControllersQuery]
 (ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
 permissions.
 2013-10-08 12:54:29,015 WARN [org.ovirt.engine.core.bll.**
 AddDiskCommand]
 (ajp--127.0.0.1-8702-10) CanDoAction of action AddDisk failed.
 Reasons:VAR__ACTION__ADD,VAR__**TYPE__VM_DISK,VALIDATION.DISK_**
 INTERFACE.NOT_NULL
 2013-10-08 12:54:34,891 ERROR
 [org.ovirt.engine.core.bll.**GetVirtioScsiControllersQuery]
 (ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
 permissions.
 2013-10-08 12:56:14,937 ERROR
 [org.ovirt.engine.core.bll.**GetVirtioScsiControllersQuery]
 (ajp--127.0.0.1-8702-9) Query execution failed due to insufficient
 permissions.
 2013-10-08 12:56:27,095 WARN [org.ovirt.engine.core.bll.**
 AddDiskCommand]
 (ajp--127.0.0.1-8702-4) CanDoAction of action AddDisk failed.
 Reasons:VAR__ACTION__ADD,VAR__**TYPE__VM_DISK,VALIDATION.DISK_**
 INTERFACE.NOT_NULL

 - DHC

 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users

  __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users



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


Re: [Users] Cannot set disk interface in user portal

2013-10-08 Thread Daniel Erez


- Original Message -
 From: Einav Cohen eco...@redhat.com
 To: Dead Horse deadhorseconsult...@gmail.com, Daniel Erez 
 de...@redhat.com
 Cc: users users@ovirt.org
 Sent: Tuesday, October 8, 2013 9:17:54 PM
 Subject: Re: [Users] Cannot set disk interface in user portal
 
 it seems that the GetVirtioScsiControllers query should be marked as
 VdcQueryAuthType.User in the VdcQueryType enum,
 or user portal code has to change to not include a call to this query.
 @Derez - thoughts?

Addressed the issue on: http://gerrit.ovirt.org/#/c/20003/
DHC and Einav - thanks a lot!

 
 - Original Message -
  From: Dead Horse deadhorseconsult...@gmail.com
  To: users@ovirt.org users@ovirt.org
  Sent: Tuesday, October 8, 2013 2:06:10 PM
  Subject: [Users] Cannot set disk interface in user portal
  
  The Add disk UI in the User Portal does not populate the interface
  pull-down.
  Nor will it allow the creation of a new virtual disk as a result. The error
  states insufficient permissions however the user is assigned PowerUserRole
  at the cluster level and on the associated storage domain(s).
  
  Engine built from commit: 31cd5339cfda6ad78f5d3a1ff08ad666f734f814
  
  2013-10-08 12:53:15,378 INFO
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
  (ajp--127.0.0.1-8702-10) Correlation ID: 567417ad, Job ID:
  6f774854-920b-4217-9906-a484841b843a, Call Stack: null, Custom Event ID:
  -1,
  Message: VM sdfa was created by ovirttest.
  2013-10-08 12:53:15,396 INFO
  [org.ovirt.engine.core.bll.AddVmFromScratchCommand]
  (ajp--127.0.0.1-8702-10)
  Lock freed to object EngineLock [exclusiveLocks= key: sdfa value: VM_NAME
  , sharedLocks= ]
  2013-10-08 12:53:15,433 INFO
  [org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
  MultipleActionsRunner of type AddVmInterface invoked with no actions
  2013-10-08 12:53:15,445 INFO
  [org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
  MultipleActionsRunner of type UpdateVmInterface invoked with no actions
  2013-10-08 12:53:15,459 INFO
  [org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--127.0.0.1-8702-10)
  MultipleActionsRunner of type RemoveVmInterface invoked with no actions
  2013-10-08 12:53:19,540 ERROR
  [org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
  (ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
  permissions.
  2013-10-08 12:54:29,015 WARN [org.ovirt.engine.core.bll.AddDiskCommand]
  (ajp--127.0.0.1-8702-10) CanDoAction of action AddDisk failed.
  Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,VALIDATION.DISK_INTERFACE.NOT_NULL
  2013-10-08 12:54:34,891 ERROR
  [org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
  (ajp--127.0.0.1-8702-10) Query execution failed due to insufficient
  permissions.
  2013-10-08 12:56:14,937 ERROR
  [org.ovirt.engine.core.bll.GetVirtioScsiControllersQuery]
  (ajp--127.0.0.1-8702-9) Query execution failed due to insufficient
  permissions.
  2013-10-08 12:56:27,095 WARN [org.ovirt.engine.core.bll.AddDiskCommand]
  (ajp--127.0.0.1-8702-4) CanDoAction of action AddDisk failed.
  Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,VALIDATION.DISK_INTERFACE.NOT_NULL
  
  - DHC
  
  ___
  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