--GZVR6ND4mMseVXL/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi everyone!
I'm having some issues when trying to run the ovirt system tests from ovirt
master branch, and I need some help from you guys.
The issue is that when trying to migrate a vm through the api, I get the er=
ror:
RequestError:=20
status: 400
reason: Bad Request
detail: User is not authorized to perform this action.
That does not happen when doing the same through the ui, the vm is migrated
correctly.
The engine logs don't add much more details:
2016-04-18 06:04:15,393 INFO [org.ovirt.engine.core.bll.MigrateVmToServerC=
ommand] (default task-15) [29237280] No permission found for user '0000001a=
-001a-001a-001a-0000000002dd' or one of the groups he is member of, when ru=
nning action 'MigrateVmToServer', Required permissions are: Action type: 'U=
SER' Action group: 'CREATE_VM' Object type: 'Cluster' Object ID:
'null'.
2016-04-18 06:04:15,393 WARN [org.ovirt.engine.core.bll.MigrateVmToServerC=
ommand] (default task-15) [29237280] Validation of action 'MigrateVmToServe=
r' failed for user admin@internal-authz. Reasons: VAR__ACTION__MIGRATE,VAR_=
_TYPE__VM,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
2016-04-18 06:04:15,413 ERROR [org.ovirt.engine.api.restapi.resource.Abstra=
ctBackendResource] (default task-15) [] Operation Failed: [User is not auth=
orized to perform this action.]
Something that looks odd to me too, is that in the roles, when you edit the
'SuperUser' role (the one the admin user belongs to) there there's one
permission missing, the 'VM->Provisioning Operations->Create Instance', and
can't be added (it's greyed out), not sure if it's related though, I can pa=
ss
you a screenshot if you want.
I can give you access to an environment where that happens and more
details/logs/etc if you want to look deeper into it.
Thanks!
--=20
David Caro
Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D
Tel.: +420 532 294 605
Email: dcaro(a)redhat.com
IRC: dcaro|dcaroest@{freenode|oftc|redhat}
Web:
www.redhat.com
RHT Global #: 82-62605
--GZVR6ND4mMseVXL/
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJXFLfJAAoJEEBxx+HSYmnDFA0H/Ar1wcZSNcu53zhrU74+7Eo7
wNUAJcP64yQxgT2Uda4MP4zD+ARsheOfA+MvPg7WuSQaXaoIyV1vkEFlfKb9UgZM
Pp5Lu8Rd/hSrzvJay/iB0JDmYkxgsHeRrwJRS0T9FKJ7R9WDxu77UzDTLj3Q3IpP
8IO8B4QrE/ujWp0sOK8fns6WgaOmfF7/BWtLzt2SbBIGGfMj6gdPKItTb5nW0M01
Q176SWqd3Xfdi5IDoknKSGoR2BrIu2Lkv9JvScPqEewJZdBJQNPc3FuZwSycRzm8
bKnmdSJrabSMcNl7UeVyn6lciGhYjMAsro7OLXtiVNWXDpvyEHuQhaU/rGTsg18=
=f6YE
-----END PGP SIGNATURE-----
--GZVR6ND4mMseVXL/--