----- Gianluca Cecchi <gianluca.cecchi(a)gmail.com> wrote:
On Sat, Jan 31, 2015 at 5:08 PM, Gianluca Cecchi
<gianluca.cecchi(a)gmail.com>
wrote:
>
> Il 30/Gen/2015 09:05 "Tomas Jelinek" <tjelinek(a)redhat.com> ha
scritto:
> >
> >
> >
> > ----- Original Message -----
> > > From: "Gianluca Cecchi" <gianluca.cecchi(a)gmail.com>
> > > To: "Tomas Jelinek" <tjelinek(a)redhat.com>
> > > Cc: "Karli Sjöberg" <karli.sjoberg(a)slu.se>, "Sphoorti
Joglekar" <
> sphoorti.joglekar(a)gmail.com>, "users"
> > > <users(a)ovirt.org>
> > > Sent: Thursday, January 29, 2015 7:29:53 PM
> > > Subject: Re: [ovirt-users] [Users] A mobile monitoring application for
> oVirt
> > >
> > > hello,
> > > using the ip address with "disable https" works to see events
and
> such, but
> > > if I click on vm line (both if VM is powered on or off) movirt
> terminates.
> >
> > this is strange - it seems we expect on a VM something what is not
> there... Could you please share the result of this?
> > curl -k -u 'admin@internal:<your password>' -H 'Filter:
false' -H
> 'Content-type: application/xml' -X GET https://<engine ip>:<engine
> port>/ovirt-engine/api/vms
> > if it is failing on all VMs. Or .../vms/<vm id> in case it fails on one
> particular only.
>
> So I connected to another test infra where I have 3.5.0 engine on a CentOS
> 6.5 system and a different system configured as host with centos 6.5 too.
> Here I have dns in place so I used https and hostname of engine to
> configure movirt.
> I have 3 vms: c7desktop with CentOS 7 configured with desktop packages;
> c7server with CentOS 7 configured as server and ubuntutrusty with Ubuntu
> 14.04 as desktop.
> I see all the three, but I can successfully connect only to c7desktop.
> With the other two movirt terminates as in the previous test, both from
> phone and tablet.
> Both c7 systems are configured as rhel7_64 as os and both have agents
> installed.
> Same behaviour if vms are up or down: c7desktop ok and the other 2 ko.
> I can succesfully run your curl command against the c7 server (that
> terminates movirt if I try to connect) and I get its long XML definition...
> It is a pain to copy and paste from android terminal... can I use a PC to
> run curl commands and send to you? Any log file generated by the app that I
> can send you?
> Gianluca
>
Just in case, you can find here below the link to a txt file containing
output for curl with /vms only and then curl with
/vms/b601debb-1636-4f99-aad3-59ad05dda744
Thank you! From the XML it seems that the size of the memory is bigger than the size of
integer - and we are trying to parse it to int and it fails.
@Sphoorti - could you please check if it is indeed this problem and provide a patch if
yes?
that is the id of c7server that causes movirt to terminate when trying to
connect to it
https://drive.google.com/file/d/0BwoPbcrMv8mvbmJsTFlrN2l5R00/view?usp=sha...
Gianluca