<div dir="ltr"><br><div class="gmail_extra">On Tue, Dec 8, 2015 at 2:27 AM, Shahar Havivi <span dir="ltr"><<a href="mailto:shaharh@redhat.com" target="_blank">shaharh@redhat.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Adding Adam and Martin,<br>
Can you please look why mom fails?<br>
<span class="HOEnZb"><font color="#888888"><br>
Shahar.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 07.12.15 14:10, CLSA Mcmaster wrote:<br>
> On Mon, Dec 7, 2015 at 1:37 PM, Shahar Havivi <<a href="mailto:shaharh@redhat.com">shaharh@redhat.com</a>> wrote:<br>
><br>
> > On 07.12.15 13:34, CLSA Mcmaster wrote:<br>
> > > On Mon, Dec 7, 2015 at 1:26 PM, Shahar Havivi <<a href="mailto:shaharh@redhat.com">shaharh@redhat.com</a>><br>
> > wrote:<br>
> > ><br>
> > > > On 07.12.15 13:15, CLSA Mcmaster wrote:<br>
> > > > > On Mon, Dec 7, 2015 at 1:03 PM, Shahar Havivi <<a href="mailto:shaharh@redhat.com">shaharh@redhat.com</a>><br>
> > > > wrote:<br>
> > > > ><br>
> > > > > > On 07.12.15 11:19, CLSA Mcmaster wrote:<br>
> > > > > > > Greetings<br>
> > > > > > ><br>
> > > > > > > I am new to both CentOS and oVirt. I have been hoping to migrate<br>
> > some<br>
> > > > > > > virtual machines from VMware to oVirt and I have hit a wall.<br>
> > > > > > ><br>
> > > > > > > CentOS 7.1 does not include the tool virt-v2v with the<br>
> > > > libguestfs-tools<br>
> > > > > > > package. I have enabled the CR repository and upgraded but no<br>
> > luck. I<br>
> > > > > > have<br>
> > > > > > > attempted to compile but the dependency whack-a-mole process<br>
> > wore me<br>
> > > > down<br>
> > > > > > > and I eventually hot another wall with supermin not being "new<br>
> > > > enough". I<br>
> > > > > > > tried to compile that and ran into more dependency issues.<br>
> > > > > > Hi Sean,<br>
> > > > > > For virt-v2v compilation issue you can ask at<br>
> > <a href="mailto:libguestfs@redhat.com">libguestfs@redhat.com</a><br>
> > > > > > mailing<br>
> > > > > > list.<br>
> > > > > > ><br>
> > > > > > > Frankly, I am at the point of throwing in the towel but I'm<br>
> > hoping<br>
> > > > > > someone<br>
> > > > > > > can offer advise or insight on obtaining the tool through other<br>
> > > > means. I<br>
> > > > > > > would also be open to importing guests through another method.<br>
> > For<br>
> > > > > > example,<br>
> > > > > > > the oVirt interface has a utility to import OVA files. Is that<br>
> > VMware<br>
> > > > > > > created OVA files? The dialogue has host and path. Is the path<br>
> > to be<br>
> > > > on<br>
> > > > > > the<br>
> > > > > > > host or the engine? Can it be any path?<br>
> > > > > > Upstream ovirt git://<a href="http://gerrit.ovirt.org/ovirt-engine" rel="noreferrer" target="_blank">gerrit.ovirt.org/ovirt-engine</a> have support<br>
> > for<br>
> > > > > > importing<br>
> > > > > > OVA files that was exported from vShpere 5.5 and 6.0 as well as<br>
> > > > connecting<br>
> > > > > > to<br>
> > > > > > a running esxi listing and importing the VMs that are in down<br>
> > state.<br>
> > > > > ><br>
> > > > > > The OVA file must be accessed by the importing host with<br>
> > permissions<br>
> > > > > > 36:36(NFS<br>
> > > > > > mount will work as well).<br>
> > > > > ><br>
> > > > > > To access the import VMs feature simply go to the VMs tab and<br>
> > click on<br>
> > > > the<br>
> > > > > > import button there you will be able to select the import source<br>
> > > > > > (VMware/OVA<br>
> > > > > > etc).<br>
> > > > > ><br>
> > > > > > More information about virt-v2v integration with oVirt can be<br>
> > found in<br>
> > > > its<br>
> > > > > > feature page: <a href="http://www.ovirt.org/Features/virt-v2v_Integration" rel="noreferrer" target="_blank">http://www.ovirt.org/Features/virt-v2v_Integration</a><br>
> > > > > ><br>
> > > > > > Shahar.<br>
> > > > > > ><br>
> > > > > > > Thank you in advance for any support offered.<br>
> > > > > > ><br>
> > > > > > > Sean.<br>
> > > > > ><br>
> > > > > > > _______________________________________________<br>
> > > > > > > Users mailing list<br>
> > > > > > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > > > > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> > > > > ><br>
> > > > > ><br>
> > > > > Thank you. Shahar.<br>
> > > > ><br>
> > > > > I did get an OVA imported. Unfortunately, immediately upon doing so<br>
> > I got<br>
> > > > > this error: "Unit mom-vdsm.service has failed".<br>
> > > > Can you add the vdsm log, its in /var/log/vdsm/vdsm.log<br>
> > > > ><br>
> > > > > Sean.<br>
> > > ><br>
> > > > > _______________________________________________<br>
> > > > > Users mailing list<br>
> > > > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> > > ><br>
> > > ><br>
> > > I shut down the host. I will restart it. But on the engine side in<br>
> > > engine.log I see:<br>
> > Ok,<br>
> > try to see if you can update the mom* packages on the host and also what<br>
> > version of vdsm and mom are you using?<br>
> > vdsm log can be helpful.<br>
> ><br>
> > Shahar.<br>
> > ><br>
> > > Caused by: org.postgresql.util.PSQLException: ERROR: integer out of range<br>
> > > Where: PL/pgSQL function fn_get_disk_commited_value_by_storage(uuid)<br>
> > line<br>
> > > 20 at assignment<br>
> > > PL/pgSQL function getstorage_domains_by_storagepoolid(uuid,uuid,boolean)<br>
> > > line 3 at RETURN QUERY<br>
> > > at<br>
> > ><br>
> > org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)<br>
> > > at<br>
> > ><br>
> > org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)<br>
> > > at<br>
> > ><br>
> > org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)<br>
> > > at<br>
> > ><br>
> > org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)<br>
> > > at<br>
> > ><br>
> > org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)<br>
> > > at<br>
> > ><br>
> > org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)<br>
> > > at<br>
> > ><br>
> > org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatement.java:111)<br>
> > > at<br>
> > ><br>
> > org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:462)<br>
> > > at<br>
> > ><br>
> > org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:644)<br>
> > > [spring-jdbc.jar:3.1.1.RELEASE]<br>
> > > at<br>
> > > org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:587)<br>
> > > [spring-jdbc.jar:3.1.1.RELEASE]<br>
> > > ... 153 more<br>
> ><br>
> > > _______________________________________________<br>
> > > Users mailing list<br>
> > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > > <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> ><br>
> > On the host.<br>
><br>
> mom.log<br>
><br>
> mom - INFO - MOM starting<br>
> 2015-12-07 18:59:15,242 - mom.HostMonitor - INFO - Host Monitor starting<br>
> 2015-12-07 18:59:15,242 - mom - INFO - hypervisor interface vdsmxmlrpc<br>
> 2015-12-07 18:59:16,965 - mom.vdsmInterface - ERROR - Cannot connect to<br>
> VDSM! [Errno 111] Connection refused<br>
> 2015-12-07 18:59:16,966 - mom.GuestManager - INFO - Guest Manager starting:<br>
> multi-thread<br>
> 2015-12-07 18:59:16,970 - mom.vdsmInterface - ERROR - Cannot connect to<br>
> VDSM! [Errno 111] Connection refused<br>
> 2015-12-07 18:59:16,976 - mom.Policy - INFO - Loaded policy '00-defines'<br>
> 2015-12-07 18:59:17,018 - mom.Policy - INFO - Loaded policy '02-balloon'<br>
> 2015-12-07 18:59:17,079 - mom.Policy - INFO - Loaded policy '03-ksm'<br>
> 2015-12-07 18:59:17,079 - mom.HostMonitor - INFO - HostMonitor is ready<br>
> 2015-12-07 18:59:17,155 - mom.Policy - INFO - Loaded policy '04-cputune'<br>
> 2015-12-07 18:59:17,156 - mom.PolicyEngine - INFO - Policy Engine starting<br>
> 2015-12-07 18:59:17,157 - mom.RPCServer - INFO - Using unix socket<br>
> /var/run/vdsm/mom-vdsm.sock<br>
> 2015-12-07 18:59:17,161 - mom.RPCServer - INFO - RPC Server starting<br>
> 2015-12-07 18:59:32,232 - mom.Controllers.KSM - INFO - Updating KSM<br>
> configuration: pages_to_scan:0 merge_across_nodes:1 run:0 sleep_millisecs:<br>
><br>
> vdsm.log<br>
><br>
> BindingXMLRPC::INFO::2015-12-07<br>
> 19:01:47,298::xmlrpc::73::vds.XMLRPCServer::(handle_request) Starting<br>
> request handler for <a href="http://127.0.0.1:44559" rel="noreferrer" target="_blank">127.0.0.1:44559</a><br>
> Thread-23::INFO::2015-12-07<br>
> 19:01:47,298::xmlrpc::84::vds.XMLRPCServer::(_process_requests) Request<br>
> handler for <a href="http://127.0.0.1:44559" rel="noreferrer" target="_blank">127.0.0.1:44559</a> started<br>
> Thread-23::INFO::2015-12-07<br>
> 19:01:47,300::xmlrpc::92::vds.XMLRPCServer::(_process_requests) Request<br>
> handler for <a href="http://127.0.0.1:44559" rel="noreferrer" target="_blank">127.0.0.1:44559</a> stopped<br>
> Reactor thread::INFO::2015-12-07<br>
> 19:02:02,317::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept)<br>
> Accepting connection from <a href="http://127.0.0.1:44560" rel="noreferrer" target="_blank">127.0.0.1:44560</a><br>
> Reactor thread::DEBUG::2015-12-07<br>
> 19:02:02,329::protocoldetector::82::ProtocolDetector.Detector::(__init__)<br>
> Using required_size=11<br>
> Reactor thread::INFO::2015-12-07<br>
> 19:02:02,330::protocoldetector::118::ProtocolDetector.Detector::(handle_read)<br>
> Detected protocol xml from <a href="http://127.0.0.1:44560" rel="noreferrer" target="_blank">127.0.0.1:44560</a><br>
> Reactor thread::DEBUG::2015-12-07<br>
> 19:02:02,330::bindingxmlrpc::1297::XmlDetector::(handle_socket) xml over<br>
> http detected from ('127.0.0.1', 44560)<br>
> BindingXMLRPC::INFO::2015-12-07<br>
> 19:02:02,330::xmlrpc::73::vds.XMLRPCServer::(handle_request) Starting<br>
> request handler for <a href="http://127.0.0.1:44560" rel="noreferrer" target="_blank">127.0.0.1:44560</a><br>
> Thread-24::INFO::2015-12-07<br>
> 19:02:02,331::xmlrpc::84::vds.XMLRPCServer::(_process_requests) Request<br>
> handler for <a href="http://127.0.0.1:44560" rel="noreferrer" target="_blank">127.0.0.1:44560</a> started<br>
> Thread-24::INFO::2015-12-07<br>
> 19:02:02,333::xmlrpc::92::vds.XMLRPCServer::(_process_requests) Request<br>
> handler for <a href="http://127.0.0.1:44560" rel="noreferrer" target="_blank">127.0.0.1:44560</a> stopped<br>
><br>
><br>
> mom is 0.5.1 on both engine and node.<br>
> vdsm 4.17.11 on node and 4.17.10 on engine.<br>
><br>
> Thank you for your help.<br>
<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br>
</div></div></blockquote></div><br></div><div class="gmail_extra">As a note this occurred only after importing an OVA.<br><br></div><div class="gmail_extra">Thanks.<br></div></div>