[ovirt-devel] User is not authorized to perform this action. - trying to add SSH Public Key for a user
Yaniv Kaul
ykaul at redhat.com
Thu Dec 28 12:49:43 UTC 2017
I'm following the example[1] and getting an error:
User is not authorized to perform this action.
What permission do I need (I'm using admin at internal) in order to do this?
Engine.log:
2017-12-28 07:25:35,571-05 WARN
[org.ovirt.engine.core.bll.AddUserProfileCommand] (default task-13)
[5af96d04-f81d-4c76-9f06-ee03a12e2f71] Validation of action
'AddUserProfile' failed for user admin at internal-authz. Reasons:
VAR__ACTION__ADD,VAR__TYPE__USER_PROFILE,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
2017-12-28 07:25:35,572-05 DEBUG
[org.ovirt.engine.core.common.di.interceptor.DebugLoggingInterceptor]
(default task-13) [5af96d04-f81d-4c76-9f06-ee03a12e2f71] method: runAction,
params: [AddUserProfile,
UserProfileParameters:{commandId='a57680f0-3926-4808-8452-ea8d67b076a3',
user='null', commandType='Unknown'}], timeElapsed: 41ms
2017-12-28 07:25:35,577-05 ERROR
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default
task-13) [] Operation Failed: [User is not authorized to perform this
action.]
TIA,
Y.
[1]
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add_user_ssh_public_key.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20171228/e4f9a200/attachment.html>
More information about the Devel
mailing list