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

snmishra at linux.vnet.ibm.com snmishra at linux.vnet.ibm.com
Tue Apr 30 22:02:27 UTC 2013


Quoting Alon Bar-Lev <alonbl at redhat.com>:

> ----- Original Message -----
>> From: snmishra at linux.vnet.ibm.com
>> To: "Alon Bar-Lev" <alonbl at redhat.com>
>> Cc: users at ovirt.org
>> Sent: Tuesday, April 30, 2013 4:50:19 PM
>> Subject: Re: [Users] Unable to install F18 on a VM from engine.
>>
>>
>> Quoting Alon Bar-Lev <alonbl at redhat.com>:
>>
>> > 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!
>>
>> I did not install engine from RPM, it was built from source. I do not
>> see any host-deploy log file on engine.
>>
>> I did use "add host" capability of webadmin to add the host.
>
> This is unsupported in current master development mode. If you like  
> you can try upcoming new packaging[1][2] and provide some feedback.
>

Alon,

    I appreciate your quick responses. Thank you.

    So far I have been using wiki page -  
http://www.ovirt.org/Building_oVirt_engine
    and for eclipse - http://www.ovirt.org/Building_oVirt_Engine/IDE
    for engine development and its worked well, except I never  
actually installed OS on my VMs. This is the first time doing it and  
its failing.

    Are you suggesting that I stop using above wiki and instead use  
otopi [1][2]?

    My main struggle right now is to add another fedora machine as  
host and create VMs and run those VMs. There are various wikis/web  
pages that are out there to get one up and running with VDSM, but its  
always been touch and go. Can you suggest one that works for F18 host?


Thanks
Sharad Mishra

> [1] https://github.com/alonbl/ovirt-engine/tree/otopi
> [2] https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer
>
>>
>> I have since reinstalled F18 on the host and installed VDSM using
>> latest RPMs. But ran into same situation. Install failed at "Preparing
>> to install".
>>
>> -Sharad
>> >
>> > ----- 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
>> >>
>>
>>
>>
>>






More information about the Users mailing list