
--Apple-Mail=_EADA9659-F589-4A31-A283-D87398215C4D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Oct 3, 2012, at 12:55 AM, Itamar Heim wrote:
snip ... =20 So based upon what I see in this log file, it would seem that the connect API wants to make sure that I am an admin and not a regular = user. =20 Which gets me back to my original question: Do the REST API and the ovirt-shell require admin privileges or is there a separate uri namespace for regular users to make requests? Or perhaps more direct, should https://$ovirt-server/api/vms be accessible to non-admins or = is there a different url a non-admin should use? =20 Brian =20 =20 which version of the sdk are you using? michael - maybe user level api made it into upstream post ovirt 3.1 = feature freeze (brian, in that case, it will be in ovirt 3.2, slated for = freeze in novemeber/release in december) =20
oVirt Engine version is 3.1.0-2.fc17 oVirt API/shell/tool version from yum is 3.1.0.6-1.fc17 Results from 'info' command in ovirt-shell: [oVirt shell (connected)]# info backend version: 3.1 sdk version : 3.1.0.4 cli version : 3.1.0.6 python version : 2.7.3.final.0 If the user level api isn't in 3.1, then I presume it would be in the = nightly builds. Are there instructions for pulling the nightly builds = and/or upgrading them. I saw the build instructions, but was hoping to = save some time while evaluating things. Brian --Apple-Mail=_EADA9659-F589-4A31-A283-D87398215C4D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><div><div>On Oct 3, 2012, at 12:55 AM, Itamar Heim wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote = type=3D"cite"><div><blockquote type=3D"cite">snip = ...</blockquote><blockquote type=3D"cite"><br></blockquote><blockquote = type=3D"cite">So based upon what I see in this log file, it would seem = that the<br></blockquote><blockquote type=3D"cite">connect API wants to = make sure that I am an admin and not a regular = user.<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote type=3D"cite">Which gets me = back to my original question: Do the REST API and = the<br></blockquote><blockquote type=3D"cite">ovirt-shell require admin = privileges or is there a separate uri<br></blockquote><blockquote = type=3D"cite">namespace for regular users to make requests? Or perhaps = more direct,<br></blockquote><blockquote type=3D"cite">should <a = href=3D"https://$ovirt-server/api/vms">https://$ovirt-server/api/vms</a> = be accessible to non-admins or is<br></blockquote><blockquote = type=3D"cite">there a different url a non-admin should = use?<br></blockquote><blockquote = type=3D"cite"><br></blockquote><blockquote = type=3D"cite">Brian<br></blockquote><blockquote = type=3D"cite"><br></blockquote><br>which version of the sdk are you = using?<br>michael - maybe user level api made it into upstream post = ovirt 3.1 feature freeze (brian, in that case, it will be in ovirt 3.2, = slated for freeze in novemeber/release in = december)<br><br></div></blockquote></div><div><br></div>oVirt Engine = version is 3.1.0-2.fc17<br><div>oVirt API/shell/tool version from yum = is 3.1.0.6-1.fc17</div><div><br></div><div>Results from 'info' = command in ovirt-shell:</div><blockquote = class=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: = none; padding: 0px;"><div><div>[oVirt shell (connected)]# = info</div></div><div><div><br></div></div><div><div>backend version: = 3.1</div></div><div><div>sdk version : = 3.1.0.4</div></div><div><div>cli version : = 3.1.0.6</div></div><div><div>python version : = 2.7.3.final.0</div></div></blockquote><div><br></div><div>If the user = level api isn't in 3.1, then I presume it would be in the nightly = builds. Are there instructions for pulling the nightly builds and/or = upgrading them. I saw the build instructions, but was hoping to save = some time while evaluating = things.</div><div><br></div><div>Brian</div><div><br></div></body></html>= --Apple-Mail=_EADA9659-F589-4A31-A283-D87398215C4D--