<div dir="ltr"><div>Hi Shahar,<br><br>Okay.. Thanks..<br><br>When i type <a href="http://localhost:8000/" target="_blank">http://localhost:8000/</a>, i got the following error in the back end script<br><br><br> api = API(url=self.baseUrl, username=username, password=password,insecure=True,debug=True)<br>
File "build/bdist.linux-x86_64/egg/ovirtsdk/api.py", line 123, in __init__<br> debug=debug<br> File "build/bdist.linux-x86_64/egg/ovirtsdk/infrastructure/connectionspool.py", line 67, in __init__<br>
debug=debug))<br> File "build/bdist.linux-x86_64/egg/ovirtsdk/web/connection.py", line 47, in __init__<br> timeout=timeout)<br> File "build/bdist.linux-x86_64/egg/ovirtsdk/web/connection.py", line 225, in __createConnection<br>
raise NoCertificatesError<br>NoCertificatesError: [ERROR]::ca_file (CA certificate) must be specified for SSL connection.<br><br>-------------------------------------------------------------<br><br></div>I think this may be due to the ssl certificate error but i disabled it in the api connection like api = API(url=self.baseUrl, username=username, password=password,insecure=True,debug=True) but still its showing the ssl error. Is there any error which i given in the above ?<br>
<br><br><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span>-- <br></span>Regards
<br>Shanil
</div></div>
<br><br><div class="gmail_quote">On Thu, Jul 3, 2014 at 2:06 PM, Shahar Havivi <span dir="ltr"><<a href="mailto:shaharh@redhat.com" target="_blank">shaharh@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 03.07.14 13:58, Shanil S wrote:<br>
> Hi Shahar,<br>
><br>
</div><div class="">> Thanks for your reply.<br>
><br>
> Actually my doubt is that how can i run this on the browser and get the<br>
> attached image like interface and do the console option<br>
</div>The README file under the folder /python project should help,<br>
you need to set the right values in ovirt.conf, run the server ./Broker.py<br>
(which is a local web-server) open the browser and type <a href="http://localhost:8000/" target="_blank">http://localhost:8000/</a><br>
<div class="HOEnZb"><div class="h5">><br>
><br>
><br>
> --<br>
> Regards<br>
> Shanil<br>
><br>
><br>
> On Thu, Jul 3, 2014 at 1:45 PM, Shahar Havivi <<a href="mailto:shaharh@redhat.com">shaharh@redhat.com</a>> wrote:<br>
><br>
> > On 03.07.14 12:53, Shanil S wrote:<br>
> > > Hi Shahar,<br>
> > ><br>
> > > I have downloaded the sample python library from this<br>
> > > <a href="http://www.ovirt.org/Sample_user_portals" target="_blank">http://www.ovirt.org/Sample_user_portals</a>, how can i execute this script<br>
> > in<br>
> > > the browser and get the "Vm name Start Stop and Console " and how can i<br>
> > > make the script working ?<br>
> > If you don't see any VMs it mean that the user that you logged in with<br>
> > don't<br>
> > have permissions on this VM, got to a VM that you want to see and set<br>
> > UserRole<br>
> > in the Permission sub tab.<br>
> > ><br>
> > > --<br>
> > > Regards<br>
> > > Shanil<br>
> ><br>
<br>
<br>
</div></div></blockquote></div><br></div>