[Users] Unable to install F18 on a VM from engine.

Yaniv Bronheim ybronhei at redhat.com
Tue Apr 30 06:30:03 UTC 2013


Hey Snmishra,

Your /var/log/vdsm/vdsm.log from the host also helps. please attach it too.

Try to run ping command during this process from the machine that runs the engine to the host and see if you don't get timeout from time to time,
this can ensure us that you don't have real network issues that you might do..

Add the logs and we will check if the request from the engine got to vdsm and what vdsm did with those requests.

Thanks,
Yaniv Bronhaim.

----- Original Message -----
> From: "Alon Bar-Lev" <alonbl at redhat.com>
> To: snmishra at linux.vnet.ibm.com
> Cc: users at ovirt.org
> Sent: Monday, April 29, 2013 11:34:31 PM
> Subject: Re: [Users] Unable to install F18 on a VM from engine.
> 
> I don't understand...
> How did you add the host to the engine? Using "Add Host" or hack?
> If "Add Host", can you please attach the relevant log from
> /var/log/ovirt-engine/host-deploy?
> Thanks!
> 
> ----- Original Message -----
> > From: snmishra at linux.vnet.ibm.com
> > To: users at ovirt.org
> > Sent: Monday, April 29, 2013 11:12:35 PM
> > Subject: [Users] Unable to install F18 on a VM from engine.
> > 
> > Hi,
> > 
> >     I have an F18 engine built from latest (April 28) source. Have
> > another F18 box running VDSM from RPMs. Added this VDSM host to the
> > engine. Also have F18 iso image on host for VM installs. Added a new
> > VM from engine, went to "run once" and attached the F18 image. Opened
> > console, started installing Fedora on hard drive, all the install
> > screens went okay and finally clicked on "Begin Install". It brings up
> > "Preparing to install" and then just hangs. The host status on engine
> > goes from "up" to "Non Operational". I have tried it a few times and
> > everytime, it either fails at "Preparing to install" or at about "15%"
> > complete.
> > 
> > engine.log -
> > 
> > 2013-04-29 12:55:03,932 ERROR
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStatusVDSCommand]
> > (DefaultQuartzScheduler_Worker-10) Command SpmStatusVDS execution
> > failed. Exception: VDSNetworkException: java.net.ConnectException:
> > Connection refused
> > 2013-04-29 12:55:03,935 INFO
> > [org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand]
> > (DefaultQuartzScheduler_Worker-10) [69ded27f] Running command:
> > SetStoragePoolStatusCommand internal: true. Entities affected :  ID:
> > 5849b030-626e-47cb-ad90-3ce782d831b3 Type: StoragePool
> > 2013-04-29 12:55:03,947 ERROR
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.ListVDSCommand]
> > (DefaultQuartzScheduler_Worker-5) Command ListVDS execution failed.
> > Exception: VDSNetworkException: java.net.ConnectException: Connection
> > refused
> > 2013-04-29 12:55:03,950 WARN
> > [org.ovirt.engine.core.vdsbroker.VdsManager]
> > (DefaultQuartzScheduler_Worker-5) Failed to refresh VDS , vds =
> > 1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,
> > continuing.
> > java.net.ConnectException: Connection refused
> > 2013-04-29 12:55:04,305 ERROR
> > [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
> > (DefaultQuartzScheduler_Worker-10) [69ded27f]
> > IrsBroker::Failed::GetStoragePoolInfoVDS due to: ConnectException:
> > Connection refused
> > 2013-04-29 12:55:07,305 ERROR
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
> > (DefaultQuartzScheduler_Worker-8) Command GetCapabilitiesVDS execution
> > failed. Exception: VDSNetworkException: java.net.ConnectException:
> > Connection refused
> > 2013-04-29 12:55:07,306 WARN
> > [org.ovirt.engine.core.vdsbroker.VdsManager]
> > (DefaultQuartzScheduler_Worker-8) Failed to refresh VDS , vds =
> > 1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,
> > continuing.
> > java.net.ConnectException: Connection refused
> > 2013-04-29 12:55:10,883 ERROR
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
> > (DefaultQuartzScheduler_Worker-7) Command GetCapabilitiesVDS execution
> > failed. Exception: VDSNetworkException: java.net.ConnectException:
> > Connection refused
> > 2013-04-29 12:55:10,885 WARN
> > [org.ovirt.engine.core.vdsbroker.VdsManager]
> > (DefaultQuartzScheduler_Worker-7) Failed to refresh VDS , vds =
> > 1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,
> > continuing.
> > java.net.ConnectException: Connection refused
> > 2013-04-29 12:55:14,330 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]
> > (DefaultQuartzScheduler_Worker-3) START,
> > GetHardwareInfoVDSCommand(HostName = host_1, HostId =
> > 1827db83-672c-41fe-bf4f-d29a5e25bf3f, vds=Host[host_1]), log id:
> > 523f572b
> > 2013-04-29 12:55:14,614 ERROR
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]
> > (DefaultQuartzScheduler_Worker-3) XML RPC error in command
> > GetHardwareInfoVDS ( HostName = host_1 ), the error was:
> > java.util.concurrent.ExecutionException:
> > java.lang.reflect.InvocationTargetException, <type
> > 'exceptions.TypeError'>:cannot marshal None unless allow_none is enabled
> > 2013-04-29 12:55:14,616 ERROR
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]
> > (DefaultQuartzScheduler_Worker-3) Command GetHardwareInfoVDS execution
> > failed. Exception: VDSNetworkException:
> > org.apache.xmlrpc.XmlRpcException: <type
> > 'exceptions.TypeError'>:cannot marshal None unless allow_none is enabled
> > 2013-04-29 12:55:14,618 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]
> > (DefaultQuartzScheduler_Worker-3) FINISH, GetHardwareInfoVDSCommand,
> > log id: 523f572b
> > 2013-04-29 12:55:14,827 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
> > (DefaultQuartzScheduler_Worker-3) START, FullListVdsCommand( HostId =
> > 1827db83-672c-41fe-bf4f-d29a5e25bf3f, vds=null,
> > vmIds=[8fc0ee12-5224-4348-8715-af285159af8e]), log id: 4312a5f
> > 2013-04-29 12:55:15,091 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
> > (DefaultQuartzScheduler_Worker-3) FINISH, FullListVdsCommand, return:
> > [Ljava.util.HashMap;@37d4c51f, log id: 4312a5f
> > 2013-04-29 12:55:15,095 INFO
> > [org.ovirt.engine.core.bll.InitVdsOnUpCommand]
> > (DefaultQuartzScheduler_Worker-3) [20ac2c95] Running command:
> > InitVdsOnUpCommand internal: true. Entities affected :  ID:
> > 5849b030-626e-47cb-ad90-3ce782d831b3 Type: StoragePool
> > 2013-04-29 12:55:15,102 INFO
> > [org.ovirt.engine.core.bll.storage.ConnectHostToStoragePoolServersCommand]
> > (DefaultQuartzScheduler_Worker-3) [20ac2c95] Running command:
> > ConnectHostToStoragePoolServersCommand internal: true. Entities
> > affected :  ID: 5849b030-626e-47cb-ad90-3ce782d831b3 Type: StoragePool
> > 2013-04-29 12:55:15,118 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
> > (DefaultQuartzScheduler_Worker-3) [20ac2c95] START,
> > ConnectStorageServerVDSCommand(HostName = host_1, HostId =
> > 1827db83-672c-41fe-bf4f-d29a5e25bf3f, storagePoolId =
> > 5849b030-626e-47cb-ad90-3ce782d831b3, storageType = NFS,
> > connectionList = [{ id: a088dc4e-16f7-4fd5-8a32-c9e9e2c4defc,
> > connection: 9.27.28.20:/home/data1, iqn: null, vfsType: null,
> > mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null
> > };{ id: d35713a1-e06a-4007-a7f7-7de0c41730f4, connection:
> > 9.27.28.20:/home/iso1, iqn: null, vfsType: null, mountOptions: null,
> > nfsVersion: null, nfsRetrans: null, nfsTimeo: null };]), log id:
> > 59e34dd9
> > 2013-04-29 12:55:15,363 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
> > (DefaultQuartzScheduler_Worker-3) [20ac2c95] FINISH,
> > ConnectStorageServerVDSCommand, return:
> > {a088dc4e-16f7-4fd5-8a32-c9e9e2c4defc=0,
> > d35713a1-e06a-4007-a7f7-7de0c41730f4=0}, log id: 59e34dd9
> > 2013-04-29 12:55:15,364 INFO
> > [org.ovirt.engine.core.bll.storage.ConnectHostToStoragePoolServersCommand]
> > (DefaultQuartzScheduler_Worker-3) [20ac2c95] Host host_1 storage
> > connection was succeeded
> > 2013-04-29 12:55:15,374 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
> > (pool-10-thread-50) START, ConnectStoragePoolVDSCommand(HostName =
> > host_1, HostId = 1827db83-672c-41fe-bf4f-d29a5e25bf3f, storagePoolId =
> > 5849b030-626e-47cb-ad90-3ce782d831b3, vds_spm_id = 1, masterDomainId =
> > c29526b6-116a-4580-851d-8a385a50fa18, masterVersion = 1), log id:
> > 15264dcb
> > :5100
> > 
> > 
> > seeing a bunch of connection exceptions.
> > Running libvirt 0.10.2.4-1 and vdsm 4.10.3-10.
> > 
> > Thanks
> > Sharad Mishra
> > 
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list