Re: [ovirt-users] reverse lookup failure during overt engine configuration

2015-01-31 Thread Yedidyah Bar David
- Original Message -
> From: "Kriparam Faraday" 
> To: users@ovirt.org
> Sent: Saturday, January 31, 2015 12:52:17 AM
> Subject: [ovirt-users] reverse lookup failure during overt engine 
> configuration
> 
> Hi,
> I am trying to configure ovirt(ver 3.5). The fqdn I provide during the step
> "Host fully qualified DNS name of this server” is reverse resolvable. I am
> able to verify that with nslookup of the IP address.
> 
> But, I keep getting the following error:
> Host fully qualified DNS name of this server [localhost.localdomain]:
> xyz.xyz.xyz.com
> [ ERROR ] Host name is not valid: The following addresses: 10.xx.xx.xx did
> not reverseresolve into xyz.xyz.xyz.com

(
BTW, there is a bug here - missing space between 'reverse' and 'resolve'.
Now pushed [1] for this to master branch.

[1] http://gerrit.ovirt.org/37424
)

> 
> How is ovirt-engine trying to reverse lookup the domain? If I know that, I
> could probably fix the issue.

You can see the code doing this check in
/usr/share/ovirt-engine/setup/ovirt_engine_setup/hostname.py

You can check the log, mentioned by engine-setup, in 
/var/log/ovirt-engine/setup,
to try and see what failed.

Generally, by default, the check above is ran only when configuring all-in-one.

It looks up the input fqdn, and for each result address, looks up its reverse
mapping (the PTR record) using 'dig -x', and checks that the result is equal to
the input fqdn.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.5 -> 3.5.1 upgrade issue

2015-01-31 Thread Yedidyah Bar David
- Original Message -
> From: "Alan Murrell" 
> To: "users@ovirt.org >> users" 
> Sent: Friday, January 30, 2015 11:42:59 AM
> Subject: [ovirt-users] 3.5 -> 3.5.1 upgrade issue
> 
> I noticed I didn't have the reports installed, and thought in addition
> to installing thm I would upgrade my 3.5.0.1 installation to 3.5.1.
> 
> I did a 'yum install engine-setup-dwh engine-setup-reports' and when
> those installed, I ran 'yum upgrade engine-setup'.  This may have been
> my mistake.

Why do you think so? There is no such package. It should have simply
gave an error message. Did you mean 'yum upgrade ovirt-engine-setup'?
This is fine.

> 
> Anyway, once everything got downloaded and installed, I ran a screen
> session then ran 'engine-setup'.  I answered the questions (leaving
> mostly the defaults) and let it go.

Before starting such an upgrade, you should set hosted-engine maintenance
to global. Please see [1]. Otherwise, when engine-setup takes down the
engine, the ha daemons consider this a problem and after some time try
to migrate the machine. At this point, what do you get from:
hosted-engine --vm-status
on the hosts?

[1] http://www.ovirt.org/Hosted_Engine_Howto#Upgrade_Hosted_Engine

> 
> The process usually gets to '[ INFO ] Deploying Jasper' then I lose my
> SSH session.  No problem, I can just log right back in and connect to my
> screen session, right?  Unfortunately, whatever causes my SSH session to
> drop also seems to kill my screen session, as there are none to be found.

Even though you should have set global maint, not sure this is expected.
Was the engine VM rebooted (check uptime)?

> 
> I cannot see anything useful in the logs for why the sessions got
> killed, but even after I lose the session, I can connect tot he webGUI,
> though it is still on 3.5.0.1 and if I click on the "Reports" link, it
> says the Reports module is not installed.
> 
> I tried connecting to the console of the Engine (did I mention it is a
> self-hosted engine?), but the VNC connection cannot seem to connect, so
> I can't even run it from the console (even though the 'engine-setup'
> process shuts down the engine services, at least running it from the
> console should allow it to finish since it won't kill an SSH session)
> 
> Any ideas on either what could be going on here and/or how to
> successfully run 'engine-setup'?

If gloabl maint isn't enough, please post somewhere all relevant logs -

from engine:
/var/log/ovirt-engine (especially engine/server.log and setup/*)
/var/log/messages

from hosts:
/var/log/ovirt-hosted-engine-ha/*
/var/log/vdsm/vdsm.log

If the engine vm did stay up, but the screen session died, I can't think
of many reasons for that - perhaps OOM? How much ram does it have? Note
that engine+dwh+reports need considerably more ram than the engine alone.

Best,
-- 
Didi

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] reverse lookup failure during overt engine configuration

2015-01-31 Thread Cam Wright
Does 'dig fqdn'  from the oVirt engine server return the IP address your
expecting, and does 'dig -x ipaddress' from the oVirt engine server return
the fqdn you're expecting?

If not, then it's possibly not the oVirt system that's having the issue and
instead may be something in DNS land.

It might also be worth checking search domains and name servers in
/etc/resolv.conf for sanity.

-C

On Saturday, January 31, 2015, Faraday, Kriparam 
wrote:

>  Hi C,
> Thanks for the response.
> I did check the /etc/sysconfig/network file. In fact, in this server the
> 'hostname' and 'hostname -f' commands return the same fqdn as well.
>
>  There must be some other means by which ovirt-3.5 is trying to reverse
> resolve the IP. Still pondering what it is.
>
> -Kripa
>
> On Jan 31, 2015, at 3:25 AM, Cam Wright  > wrote:
>
>   Hi Kripa,
>
> When you set up the oVirt engine it looks like it tries to resolve the
> fqdn of the machine (which in this case looks like you either haven't
> updated /etc/sysconfig/network to match the fqdn you provided in the
> setup or you have and haven't rebooted / reset your network stack).
>
> I found the same thing after providing the fqdn it was intended to be in
> oVirt 3.4 setup (I haven't built a 3.5 engine from scratch, yet) but hadn't
> updated /etc/sysconfig/network so it tried to resolve
> against localhost.localdomain.
>
> Hope this helps.
>
> -C
>
> On Saturday, January 31, 2015, Faraday, Kriparam  > wrote:
>
> >
> > Hi,
> > I am trying to configure ovirt(ver 3.5). The fqdn I provide during the
> step "Host fully qualified DNS name of this server” is reverse resolvable.
> I am able to verify that with nslookup of the IP address.
> >
> > But, I keep getting the following error:
> > Host fully qualified DNS name of this server [localhost.localdomain]:
> xyz.xyz.xyz.com
> > [ ERROR ] Host name is not valid: The following addresses: 10.xx.xx.xx
> did not reverseresolve into xyz.xyz.xyz.com
> >
> > How is ovirt-engine trying to reverse lookup the domain? If I know that,
> I could probably fix the issue.
> >
> > Thanks,
> > Kripa
>
>

-- 

Cam Wright | IT Support Officer / SysAdmin / Trawler of Logs
*CUTTING**EDGE*
90 Victoria St, West End, Brisbane, QLD, 4101
T +61 7 3013 6434 | M +61 420 827 007
E cwri...@cuttingedge.com.au | W www.cuttingedge.com.au

*/SYD /BNE /MEL /TYO*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] Compiling ovirt-guest-agent on FreeBSD

2015-01-31 Thread Alexandr Krivulya
19.08.2013 13:21, Karli Sjöberg пишет:
> mån 2013-08-19 klockan 12:11 +0200 skrev Vinzenz Feenstra:
>> On 08/19/2013 10:01 AM, Karli Sjöberg wrote:
>>
>>> mån 2013-08-19 klockan 09:53 +0200 skrev Michal Skrivanek:
 On Aug 19, 2013, at 09:41 , Karli Sjöberg >>> > wrote:

 > Hi!
 > 
 > As part of a template I´m preparing, I´m wondering how to compile the 
 > agent with just the basics included. I´ve tried running like:
 > 
 > OPTIONS='
 > --without-gdm-plugin --without-gdm2-plugin  --without-kdm-plugin 
 > --without-pam-ovirt-cred
 > --with-gdm-plugin=no --with-gdm2-plugin=no --with-kdm-plugin=no 
 > --with-pam-ovirt-cred=no
 > --disable-gdm-plugin --disable-gdm2-plugin --disable-kdm-plugin 
 > --disable-pam-ovirt-cred
 > --enable-gdm-plugin=no --enable-gdm2-plugin=no --enable-kdm-plugin=no 
 > --enablepam-ovirt-cred-=no'
 > 
 > # ./configure ${OPTIONS}
 > 
 > Regardless of how I try, it just responds:
 > configure: WARNING: unrecognized options: ${OPTIONS}
 > 
 > I took the package from the "official" oVirt.org repo, src file:
 > ovirt-guest-agent-1.0.6.tar.bz2
 > 
 > What am I doing wrong?

 Hi
 the parameters are gdm, kdm and sso, set them to no
>>>
>>> I don´t get it, it doesn´t seem to care:
>>>
>>> # ./configure --without-gdm
>>> # ./configure --with-gdm=no
>>> # ./configure --enable-gdm=no
>>> # ./configure --disable-gdm
>>> # ./configure --without-gdm --with-gdm=no --enable-gdm=no --disable-gdm
>>> configure: WARNING: unrecognized options: --without-gdm, --with-gdm,
>>> --enable-gdm, --disable-gdm
>> this feature of disabling it was introduced to ovirt-guest-agent in 1.0.8
>>
>> Try this one:
>> http://evilissimo.fedorapeople.org/releases/ovirt-guest-agent/1.0.8/ovirt-guest-agent-1.0.8.1.tar.bz2
>>
>> ./configure --without-sso --prefix=/usr
>
> You know what, sorry about the noise, because it seems as if
> virtio-serial isn´t even available on FreeBSD, so it´s moot anyway...
> Should probably have looked that up before even getting started;)
>
> But besides the fact that it won´t work until that´s sorted, I can at
> least say that it configured, compiled and installed OK using René´s
> suggestion, cloning from git and building from there.

Hello!
Now when virtio_console(4) driver available in CURRENT does anyone works
on porting ovirt-guest-agent to FreeBSD?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-01-31 Thread Gianluca Cecchi
On Sat, Jan 31, 2015 at 5:08 PM, Gianluca Cecchi 
wrote:

>
> Il 30/Gen/2015 09:05 "Tomas Jelinek"  ha scritto:
> >
> >
> >
> > - Original Message -
> > > From: "Gianluca Cecchi" 
> > > To: "Tomas Jelinek" 
> > > Cc: "Karli Sjöberg" , "Sphoorti Joglekar" <
> sphoorti.jogle...@gmail.com>, "users"
> > > 
> > > 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:' -H 'Filter: false' -H
> 'Content-type: application/xml' -X GET https://: port>/ovirt-engine/api/vms
> > if it is failing on all VMs. Or .../vms/ 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

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=sharing

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-01-31 Thread Gianluca Cecchi
Il 30/Gen/2015 09:05 "Tomas Jelinek"  ha scritto:
>
>
>
> - Original Message -
> > From: "Gianluca Cecchi" 
> > To: "Tomas Jelinek" 
> > Cc: "Karli Sjöberg" , "Sphoorti Joglekar" <
sphoorti.jogle...@gmail.com>, "users"
> > 
> > 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:' -H 'Filter: false' -H
'Content-type: application/xml' -X GET https://:/ovirt-engine/api/vms
> if it is failing on all VMs. Or .../vms/ 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] No utilization data collected Ovirt reports 3.5.1

2015-01-31 Thread Punit Dambiwal
Hi,

I have updated Ovirt 3.5 to  Ovirt 3.5.1...engine,dwh and reports on the
same server...and added 5 hostnode...i have created some vm's but no
utilization data collected by reports server

i haven't seen any error in the reports and dwh logs

Thanks,
Punit
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] reverse lookup failure during overt engine configuration

2015-01-31 Thread Cam Wright
Hi Kripa,

When you set up the oVirt engine it looks like it tries to resolve the fqdn
of the machine (which in this case looks like you either haven't updated
/etc/sysconfig/network to match the fqdn you provided in the setup or you
have and haven't rebooted / reset your network stack).

I found the same thing after providing the fqdn the engine was intended to
be in oVirt 3.4 setup (I haven't built a 3.5 engine from scratch, yet) but
hadn't updated /etc/sysconfig/network so it tried to resolve
against localhost.localdomain.

Hope this helps.

-C

On Saturday, January 31, 2015, Faraday, Kriparam 
wrote:

>  Hi,
> I am trying to configure ovirt(ver 3.5). The fqdn I provide during the
> step "Host fully qualified DNS name of this server” is reverse resolvable.
> I am able to verify that with nslookup of the IP address.
>
>  But, I keep getting the following error:
> Host fully qualified DNS name of this server [localhost.localdomain]:
> xyz.xyz.xyz.com
> [ ERROR ] Host name is not valid: The following addresses: 10.xx.xx.xx did
> not reverseresolve into xyz.xyz.xyz.com
>
>  How is ovirt-engine trying to reverse lookup the domain? If I know that,
> I could probably fix the issue.
>
>  Thanks,
> Kripa
> “This message (including any attachments) is intended only for the use of
> the individual or entity to which it is addressed, and may contain
> information that is non-public, proprietary, privileged, confidential and
> exempt from disclosure under applicable law or may be constituted as
> attorney work product. If you are not the intended recipient, you are
> hereby notified that any use, dissemination, distribution, or copying of
> this communication is strictly prohibited. If you have received this
> message in error, notify sender immediately and delete this message
> immediately.”
>


-- 

Cam Wright | IT Support Officer / SysAdmin / Trawler of Logs
*CUTTING**EDGE*
90 Victoria St, West End, Brisbane, QLD, 4101
T +61 7 3013 6434 | M +61 420 827 007
E cwri...@cuttingedge.com.au | W www.cuttingedge.com.au

*/SYD /BNE /MEL /TYO*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] reverse lookup failure during overt engine configuration

2015-01-31 Thread Faraday, Kriparam
Hi C,
Thanks for the response.
I did check the /etc/sysconfig/network file. In fact, in this server the 
'hostname' and 'hostname -f' commands return the same fqdn as well.

There must be some other means by which ovirt-3.5 is trying to reverse resolve 
the IP. Still pondering what it is.

-Kripa

On Jan 31, 2015, at 3:25 AM, Cam Wright 
mailto:cwri...@cuttingedge.com.au>> wrote:


Hi Kripa,

When you set up the oVirt engine it looks like it tries to resolve the fqdn of 
the machine (which in this case looks like you either haven't updated 
/etc/sysconfig/network to match the fqdn you provided in the setup or you have 
and haven't rebooted / reset your network stack).

I found the same thing after providing the fqdn it was intended to be in oVirt 
3.4 setup (I haven't built a 3.5 engine from scratch, yet) but hadn't updated 
/etc/sysconfig/network so it tried to resolve against localhost.localdomain.

Hope this helps.

-C

On Saturday, January 31, 2015, Faraday, Kriparam 
mailto:kfara...@verisign.com>> wrote:

>
> Hi,
> I am trying to configure ovirt(ver 3.5). The fqdn I provide during the step 
> "Host fully qualified DNS name of this server” is reverse resolvable. I am 
> able to verify that with nslookup of the IP address.
>
> But, I keep getting the following error:
> Host fully qualified DNS name of this server [localhost.localdomain]: 
> xyz.xyz.xyz.com
> [ ERROR ] Host name is not valid: The following addresses: 10.xx.xx.xx did 
> not reverseresolve into xyz.xyz.xyz.com
>
> How is ovirt-engine trying to reverse lookup the domain? If I know that, I 
> could probably fix the issue.
>
> Thanks,
> Kripa
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] importing iscsi storage domain

2015-01-31 Thread Steven M. Bellistri
I am trying to test failing over to a DR site using the storage domain import.  
The DR site shows that it imported the iscsi storage domain, and activates it 
in the datacenter, but none of the vm's or anything shows up.  What am I 
missing.

thanks

Steven Bellistri


This email and its attachments may contain privileged and confidential 
information and/or protected health information (PHI) intended solely for the 
use of LDI Integrated Pharmacy Services and the recipient(s) named above. If 
you are not the recipient, or the employee or agent responsible for delivering 
this message to the intended recipient, you are hereby notified that any 
review, dissemination, distribution, printing or copying of this email message 
and/or any attachments is strictly prohibited. If you have received this 
transmission in error, please notify the sender immediately at 1-866-516-3121 
and permanently delete this email and any attachments.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] reverse lookup failure during overt engine configuration

2015-01-31 Thread Cam Wright
Hi Kripa,

When you set up the oVirt engine it looks like it tries to resolve the fqdn
of the machine (which in this case looks like you either haven't updated
/etc/sysconfig/network to match the fqdn you provided in the setup or you
have and haven't rebooted / reset your network stack).

I found the same thing after providing the fqdn it was intended to be in
oVirt 3.4 setup (I haven't built a 3.5 engine from scratch, yet) but hadn't
updated /etc/sysconfig/network so it tried to resolve
against localhost.localdomain.

Hope this helps.

-C

On Saturday, January 31, 2015, Faraday, Kriparam 
wrote:

>
> Hi,
> I am trying to configure ovirt(ver 3.5). The fqdn I provide during the
step "Host fully qualified DNS name of this server” is reverse resolvable.
I am able to verify that with nslookup of the IP address.
>
> But, I keep getting the following error:
> Host fully qualified DNS name of this server [localhost.localdomain]:
xyz.xyz.xyz.com
> [ ERROR ] Host name is not valid: The following addresses: 10.xx.xx.xx
did not reverseresolve into xyz.xyz.xyz.com
>
> How is ovirt-engine trying to reverse lookup the domain? If I know that,
I could probably fix the issue.
>
> Thanks,
> Kripa
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users