[Users] BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'

2012-06-28 12:25:06,048 INFO [org.ovirt.engine.core.bll.VdsInstaller= ] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing insta= llation stage. (Stage: Get the unique vds id)</div><div>2012-06-28 12:25:06= ,052 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper= ] (pool-3-thread-7) Invoking /bin/echo -e `/bin/bash -c /usr/sbin/dmi= decode|/bin/awk ' /UUID/{ print $2; } ' | /usr/bin/tr '</div><div>' '_' &am=
. FYI. (Stage: Running first installation script on Host)</div><div>2012-0= 6-28 12:25:52,898 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool= -3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <= BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'libselinux-python= ' message=3D'libselinux-python-2.1.10-3.fc17.x86_64 '/></div><div>. FYI.= (Stage: Running first installation script on Host)</div><div>2012-06-28 12= :25:53,223 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7)= [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP compo= nent=3D'VDS PACKAGES' status=3D'OK' result=3D'libjpeg' message=3D'package l= ibjpeg is not installed '/></div><div><BSTRAP component=3D'CreateConf= ' status=3D'FAIL' message=3D'Basic configuration failed to import default v= alues'/></div><div><BSTRAP component=3D'RHEV_INSTALL' status=3D'FAIL'= /></div><div>. Error occured. (Stage: Running first installation script = on Host)</div><div>2012-06-28 12:25:53,236 INFO [org.ovirt.engine.cor= e.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) RunSSHCommand ret= urns true</div><div>2012-06-28 12:25:53,236 INFO [org.ovirt.engine.co= re.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] RunScript ended:tru= e</div><div>2012-06-28 12:25:53,237 ERROR [org.ovirt.engine.core.bll.VdsIns= taller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Operation= failure. (Stage: Running first installation script on Host)</div><div>2012= -06-28 12:25:53,246 INFO [org.ovirt.engine.core.bll.InstallVdsCommand= ] (pool-3-thread-7) [3a635c45] After Installation pool-3-thread-7</div><div= 2012-06-28 12:25:53,248 INFO [org.ovirt.engine.core.vdsbroker.SetVds= StatusVDSCommand] (pool-3-thread-7) [3a635c45] START, SetVdsStatusVDSComman= d(vdsId =3D 105460c0-c0ea-11e1-b737-9b694eb255f6, status=3DInstallFailed, n= onOperationalReason=3DNONE), log id: 3cf757b4</div><div>2012-06-28 12:25:53= ,264 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (p= ool-3-thread-7) [3a635c45] FINISH, SetVdsStatusVDSCommand, log id: 3cf757b4= </div></div><div><br></div><div><br></div><div>The action in question "Crea= teConf" looks like:</div><div><br></div><div>/usr/share/vdsm-bootstrap/vds_= bootstrap.py</div><div><br></div><div><div> def _makeConfig(se= lf):</div><div> import datetime</div><div> = from config import config</div><div><br></div><div>&n= bsp; if not os.path.exists(VDSM_CONF):</div><div> = ; logging.debug("makeConfig: generating = conf.")</div><div> lines =3D []</d= iv><div> lines.append ("# Auto-gen= erated by vds_bootstrap at:" + str(datetime.datetime.now()) + "\n")</div><d= iv> lines.append ("\n")</div><div>= <br></div><div> lines.append ("[va= rs]\n") #Adding ts for the coming scirpts.</div><div> &= nbsp; lines.append ("trust_store_path =3D " + config.get('var= s', 'trust_store_path') + "\n")</div><div>  = ; lines.append ("ssl =3D " + config.get('vars', 'ssl') + "\n")</div>= <div> lines.append ("\n")</div><di= v><br></div><div> lines.append ("[= addresses]\n") #Adding mgt port for the coming scirpts.</div><div> &n= bsp; lines.append ("management_port =3D " + con= fig.get('addresses', 'management_port') + "\n")</div><div><br></div><div>&n= bsp; logging.debug("makeConfig: writing =
--_000_A973225C083E47A1A05CBFC2393B24E6sluse_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am running Fedora 17 and added the ovirt beta repository to have access t= o webadmin addition, since F17 only comes with CLI by default. # wget http://ovirt.org/releases/beta/ovirt-engine.repo -O /etc/yum.repos.d= /ovirt- engine_beta.repo # sed -i -- 's/fedora\/16/fedora\/17/' /etc/yum.repos.d/ovirt-engine_beta.r= epo # yum install -y ovirt-engine # rpm -qa | grep ovirt ovirt-engine-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-genericapi-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-webadmin-portal-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch ovirt-engine-sdk-3.1.0.2-gita89f4e.fc17.noarch ovirt-engine-restapi-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-userportal-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-tools-common-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-log-collector-3.1.0-0.fc17.noarch ovirt-engine-dbscripts-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-setup-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-notification-service-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch ovirt-engine-config-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-backend-3.1.0-0.1.20120620git6ef9f8.fc17.noarch I need to get oVirt-engine- and host up and running on the machine because = I want it to be able to configure and execute power management on the rest = of the hosts in the cluster. Source: http://lists.ovirt.org/pipermail/users/2012-February/000361.html "Yes, the ovirt backend does not shut down or power up any hosts directly, = it can work only through vdsm. Therefore you need one running host per data= center to be able to manage the rest of the hosts." I am then following this article: http://blog.jebpages.com/archives/how-to-get-up-and-running-with-ovirt/ Where I get to adding itself as a host in it=B4s own cluster and then: (This is a "Re-Install" from the WUI) 2012-06-28 12:25:00,000 INFO [org.ovirt.engine.core.bll.AutoRecoveryManage= r] (QuartzScheduler_Worker-70) Checking autorecoverable hosts 2012-06-28 12:25:00,004 INFO [org.ovirt.engine.core.bll.AutoRecoveryManage= r] (QuartzScheduler_Worker-70) Autorecovering 0 hosts 2012-06-28 12:25:00,005 INFO [org.ovirt.engine.core.bll.AutoRecoveryManage= r] (QuartzScheduler_Worker-70) Checking autorecoverable hosts done 2012-06-28 12:25:00,006 INFO [org.ovirt.engine.core.bll.AutoRecoveryManage= r] (QuartzScheduler_Worker-70) Checking autorecoverable storage domains 2012-06-28 12:25:00,009 INFO [org.ovirt.engine.core.bll.AutoRecoveryManage= r] (QuartzScheduler_Worker-70) Autorecovering 0 storage domains 2012-06-28 12:25:00,009 INFO [org.ovirt.engine.core.bll.AutoRecoveryManage= r] (QuartzScheduler_Worker-70) Checking autorecoverable storage domains don= e 2012-06-28 12:25:05,875 INFO [org.ovirt.engine.core.bll.UpdateVdsCommand] = (ajp--0.0.0.0-8009-2) [13427c0] Running command: UpdateVdsCommand internal:= false. Entities affected : ID: 105460c0-c0ea-11e1-b737-9b694eb255f6 Type:= VDS 2012-06-28 12:25:05,889 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatus= VDSCommand] (ajp--0.0.0.0-8009-2) [13427c0] START, SetVdsStatusVDSCommand(v= dsId =3D 105460c0-c0ea-11e1-b737-9b694eb255f6, status=3DInstalling, nonOper= ationalReason=3DNONE), log id: 5ef5ea33 2012-06-28 12:25:05,895 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatus= VDSCommand] (ajp--0.0.0.0-8009-2) [13427c0] FINISH, SetVdsStatusVDSCommand,= log id: 5ef5ea33 2012-06-28 12:25:05,910 INFO [org.ovirt.engine.core.bll.InstallVdsCommand]= (pool-3-thread-7) [3a635c45] Running command: InstallVdsCommand internal: = true. Entities affected : ID: 105460c0-c0ea-11e1-b737-9b694eb255f6 Type: V= DS 2012-06-28 12:25:05,914 INFO [org.ovirt.engine.core.bll.InstallVdsCommand]= (pool-3-thread-7) [3a635c45] Before Installation pool-3-thread-7 2012-06-28 12:25:05,915 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installatio= n stage. (Stage: Starting Host installation) 2012-06-28 12:25:05,916 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installatio= n stage. (Stage: Connecting to Host) 2012-06-28 12:25:05,959 INFO [org.ovirt.engine.core.utils.hostinstall.Host= KeyVerifier] (NioProcessor-15) SSH key fingerprint f6:4d:81:ba:a0:f6:c4:09:= 85:18:10:5f:6f:47:09:58 for host njord.sto.slu.se<http://njord.sto.slu.se> = (172.22.8.14) has been successfully verified. 2012-06-28 12:25:06,032 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'RHEV_INSTALL' status=3D'OK' message=3D'Connected to Host = 172.22.8.14 with SSH key fingerprint: f6:4d:81:ba:a0:f6:c4:09:85:18:10:5f:6= f:47:09:58'/>. FYI. (Stage: Connecting to Host) 2012-06-28 12:25:06,044 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Successfully connecte= d to server ssh. (Stage: Connecting to Host) 2012-06-28 12:25:06,048 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installatio= n stage. (Stage: Get the unique vds id) 2012-06-28 12:25:06,052 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) Invoking /bin/echo -e `/bin/bash -c /usr= /sbin/dmidecode|/bin/awk ' /UUID/{ print $2; } ' | /usr/bin/tr ' ' '_' && cat /sys/class/net/*/address | /bin/grep -v '00:00:00:00' | /bin/s= ort -u | /usr/bin/head --lines=3D1` on 172.22.8.14 2012-06-28 12:25:06,145 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: 444= 54C4C-3200-1052-8050-B7C04F354431_00:15:17:36:60:4c . FYI. (Stage: Get the unique vds id) 2012-06-28 12:25:06,149 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Assigning unique id 4= 4454C4C-3200-1052-8050-B7C04F354431_00:15:17:36:60:4c to Host. (Stage: Get = the unique vds id) 2012-06-28 12:25:06,162 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) RunSSHCommand returns true 2012-06-28 12:25:06,164 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installatio= n stage. (Stage: Upload Installation script to Host) 2012-06-28 12:25:06,166 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) Uploading file /usr/share/ovirt-engine/sc= ripts/vds_installer.py to /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654= 586da5.py on 172.22.8.14 2012-06-28 12:25:06,170 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) Uploading file /usr/share/ovirt-engine/sc= ripts/vds_installer.py to /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654= 586da5.py on 172.22.8.14 2012-06-28 12:25:09,363 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. successfully done sft= p operation ( Stage: Upload Installation script to Host) 2012-06-28 12:25:09,364 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) return true 2012-06-28 12:25:09,365 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) Uploading file /tmp/firewall.conf52725617= 99347733512.tmp to /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 = on 172.22.8.14 2012-06-28 12:25:09,366 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) Uploading file /tmp/firewall.conf52725617= 99347733512.tmp to /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 = on 172.22.8.14 2012-06-28 12:25:12,504 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. successfully done sft= p operation ( Stage: Upload Installation script to Host) 2012-06-28 12:25:12,509 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) return true 2012-06-28 12:25:12,512 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installatio= n stage. (Stage: Running first installation script on Host) 2012-06-28 12:25:12,516 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Sending SSH Command c= hmod +x /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py; /tmp/vd= s_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py -c 'ssl=3Dtrue;manageme= nt_port=3D54321' -O 'slu' -t 2012-06-28T10:25:05 -f /tmp/firewall.conf.ca67= f0a5-115c-4943-a9ef-157654586da5 -p 80 -b http://xcp-cms.data.slu.se:80/C= omponents/vds/ http://xcp-cms.data.slu.se:80/Components/vds/ 172.22.8.14 ca= 67f0a5-115c-4943-a9ef-157654586da5 False. (Stage: Running first installatio= n script on Host) 2012-06-28 12:25:12,530 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) Invoking chmod +x /tmp/vds_installer_ca67= f0a5-115c-4943-a9ef-157654586da5.py; /tmp/vds_installer_ca67f0a5-115c-4943-= a9ef-157654586da5.py -c 'ssl=3Dtrue;management_port=3D54321' -O 'slu' -t 20= 12-06-28T10:25:05 -f /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da= 5 -p 80 -b http://xcp-cms.data.slu.se:80/Components/vds/ http://xcp-cms.d= ata.slu.se:80/Components/vds/ 172.22.8.14 ca67f0a5-115c-4943-a9ef-157654586= da5 False on 172.22.8.14 2012-06-28 12:25:13,545 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'INSTALLER' status=3D'OK' message=3D'Test platform succeed= ed'/> <BSTRAP component=3D'INSTALLER LIB' status=3D'OK' message=3D'Install librar= y already exists'/> <BSTRAP component=3D'INSTALLER' status=3D'OK' message=3D'vds_bootstrap.py d= ownload succeeded'/> <BSTRAP component=3D'RHN_REGISTRATION' status=3D'OK' message=3D'Host proper= ly registered with RHN/Satellite.'/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:14,615 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDSM_MAJOR_VER' status=3D'OK' message=3D'Available VDSM m= atches requirements'/> <BSTRAP component=3D'VT_SVM' status=3D'OK' processor=3D'Intel' message=3D'S= erver supports virtualization'/> <BSTRAP component=3D'OS' status=3D'OK' type=3D'FEDORA' message=3D'Supported= platform version'/> <BSTRAP component=3D'KERNEL' status=3D'OK' version=3D'0' message=3D'Skipped= kernel version check'/> <BSTRAP component=3D'CONFLICTING PACKAGES' status=3D'OK' result=3D'cman.x86= _64' message=3D'package cman.x86_64 is not installed '/> <BSTRAP component=3D'REQ PACKAGES' status=3D'OK' result=3D'SDL.x86_64' mess= age=3D'SDL-1.2.14-16.fc17.x86_64 '/> <BSTRAP component=3D'REQ PACKAGES' status=3D'OK' result=3D'bridge-utils.x86= _64' message=3D'bridge-utils-1.5-3.fc17.x86_64 '/> <BSTRAP component=3D'REQ PACKAGES' status=3D'OK' result=3D'mesa-libGLU.x86_= 64' message=3D'mesa-libGLU-8.0.3-1.fc17.x86_64 '/> <BSTRAP component=3D'REQ PACKAGES' status=3D'OK' result=3D'openssl.x86_64' = message=3D'openssl-1.0.0j-1.fc17.x86_64 '/> <BSTRAP component=3D'REQ PACKAGES' status=3D'OK' result=3D'm2crypto.x86_64'= message=3D'm2crypto-0.21.1-8.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:15,705 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'REQ PACKAGES' status=3D'OK' result=3D'rsync.x86_64' messa= ge=3D'rsync-3.0.9-2.fc17.x86_64 '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'qemu-kvm' messag= e=3D'qemu-kvm-1.0-17.fc17.x86_64 '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'qemu-kvm-tools' = message=3D'qemu-kvm-tools-1.0-17.fc17.x86_64 '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'vdsm' message=3D= 'vdsm-4.10.0-2.fc17.x86_64 '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'vdsm-cli' messag= e=3D'vdsm-cli-4.10.0-2.fc17.noarch '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'WARN' result=3D'libjpeg' messa= ge=3D'package libjpeg is not installed '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'spice-server' me= ssage=3D'spice-server-0.10.1-2.fc17.x86_64 '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'pixman' message= =3D'pixman-0.24.4-2.fc17.x86_64 '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'seabios' message= =3D'seabios-1.7.0-1.fc17.x86_64 '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'qemu-img' messag= e=3D'qemu-img-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:16,751 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'fence-agents' messa= ge=3D'fence-agents-3.1.8-1.fc17.x86_64 '/> <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'libselinux-pytho= n' message=3D'libselinux-python-2.1.10-3.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:27,770 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'qemu-kvm' message= =3D'qemu-kvm-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:29,778 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'qemu-kvm-tools' mes= sage=3D'qemu-kvm-tools-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:32,785 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'vdsm' message=3D'vd= sm-4.10.0-2.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:35,794 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'vdsm-cli' message= =3D'vdsm-cli-4.10.0-2.fc17.noarch '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:38,805 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'spice-server' messa= ge=3D'spice-server-0.10.1-2.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:40,819 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'pixman' message=3D'= pixman-0.24.4-2.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:43,826 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'seabios' message=3D= 'seabios-1.7.0-1.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:46,833 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'qemu-img' message= =3D'qemu-img-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:49,856 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'fence-agents' messa= ge=3D'fence-agents-3.1.8-1.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:52,898 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'libselinux-python' = message=3D'libselinux-python-2.1.10-3.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:53,223 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'libjpeg' message=3D= 'package libjpeg is not installed '/> <BSTRAP component=3D'CreateConf' status=3D'FAIL' message=3D'Basic configura= tion failed to import default values'/> <BSTRAP component=3D'RHEV_INSTALL' status=3D'FAIL'/> . Error occured. (Stage: Running first installation script on Host) 2012-06-28 12:25:53,236 INFO [org.ovirt.engine.core.utils.hostinstall.Mina= InstallWrapper] (pool-3-thread-7) RunSSHCommand returns true 2012-06-28 12:25:53,236 INFO [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] RunScript ended:true 2012-06-28 12:25:53,237 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (poo= l-3-thread-7) [3a635c45] Installation of 172.22.8.14. Operation failure. (S= tage: Running first installation script on Host) 2012-06-28 12:25:53,246 INFO [org.ovirt.engine.core.bll.InstallVdsCommand]= (pool-3-thread-7) [3a635c45] After Installation pool-3-thread-7 2012-06-28 12:25:53,248 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatus= VDSCommand] (pool-3-thread-7) [3a635c45] START, SetVdsStatusVDSCommand(vdsI= d =3D 105460c0-c0ea-11e1-b737-9b694eb255f6, status=3DInstallFailed, nonOper= ationalReason=3DNONE), log id: 3cf757b4 2012-06-28 12:25:53,264 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatus= VDSCommand] (pool-3-thread-7) [3a635c45] FINISH, SetVdsStatusVDSCommand, lo= g id: 3cf757b4 The action in question "CreateConf" looks like: /usr/share/vdsm-bootstrap/vds_bootstrap.py def _makeConfig(self): import datetime from config import config if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines =3D [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(dat= etime.datetime.now()) + "\n") lines.append ("\n") lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path =3D " + config.get('vars', 'tru= st_store_path') + "\n") lines.append ("ssl =3D " + config.get('vars', 'ssl') + "\n") lines.append ("\n") lines.append ("[addresses]\n") #Adding mgt port for the coming = scirpts. lines.append ("management_port =3D " + config.get('addresses', = 'management_port') + "\n") logging.debug("makeConfig: writing the following to " + VDSM_CO= NF) logging.debug(lines) fd, tmpName =3D tempfile.mkstemp() f =3D os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message =3D 'Basic configuration found, skipping this step= ' logging.debug(self.message) def createConf(self): """ Generate initial configuration file for VDSM. Must run after pa= ckage installation! """ self.message =3D 'Basic configuration set' self.rc =3D True self.status =3D 'OK' try: self._makeConfig() except Exception, e: logging.error('', exc_info=3DTrue) self.message =3D 'Basic configuration failed' if isinstance(e, ImportError): self.message =3D self.message + ' to import default values' self.rc =3D False self.status =3D 'FAIL' self._xmlOutput('CreateConf', self.status, None, None, self.message= ) return self.rc What now? Can anyone tell me why it fails? Besides the obvious "it=B4s beta= " of course:) Med V=E4nliga H=E4lsningar ---------------------------------------------------------------------------= ---- Karli Sj=F6berg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kron=E5sv=E4gen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se<mailto:karli.sjoberg@adm.slu.se> --_000_A973225C083E47A1A05CBFC2393B24E6sluse_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:= space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I a= m running Fedora 17 and added the ovirt beta repository to have access to w= ebadmin addition, since F17 only comes with CLI by default.</div><div><br><= /div><div># wget <a href=3D"http://ovirt.org/releases/beta/ovirt-engin= e.repo">http://ovirt.org/releases/beta/ovirt-engine.repo</a> -O /etc/yum.re= pos.d/ovirt- engine_beta.repo</div><div># sed -i -- 's/fedora\/16/fedora\/1= 7/' /etc/yum.repos.d/ovirt-engine_beta.repo</div><div># yum install -y ovir= t-engine</div><div><div># rpm -qa | grep ovirt</div><div>ovirt-engine-3.1.0= -0.1.20120620git6ef9f8.fc17.noarch</div><div>ovirt-engine-genericapi-3.1.0-= 0.1.20120620git6ef9f8.fc17.noarch</div><div>ovirt-engine-webadmin-portal-3.= 1.0-0.1.20120620git6ef9f8.fc17.noarch</div><div>ovirt-iso-uploader-3.1.0-0.= git1841d9.fc17.noarch</div><div>ovirt-engine-sdk-3.1.0.2-gita89f4e.fc17.noa= rch</div><div>ovirt-engine-restapi-3.1.0-0.1.20120620git6ef9f8.fc17.noarch<= /div><div>ovirt-engine-userportal-3.1.0-0.1.20120620git6ef9f8.fc17.noarch</= div><div>ovirt-engine-tools-common-3.1.0-0.1.20120620git6ef9f8.fc17.noarch<= /div><div>ovirt-log-collector-3.1.0-0.fc17.noarch</div><div>ovirt-engine-db= scripts-3.1.0-0.1.20120620git6ef9f8.fc17.noarch</div><div>ovirt-engine-setu= p-3.1.0-0.1.20120620git6ef9f8.fc17.noarch</div><div>ovirt-engine-notificati= on-service-3.1.0-0.1.20120620git6ef9f8.fc17.noarch</div><div>ovirt-image-up= loader-3.1.0-0.git9c42c8.fc17.noarch</div><div>ovirt-engine-config-3.1.0-0.= 1.20120620git6ef9f8.fc17.noarch</div><div>ovirt-engine-backend-3.1.0-0.1.20= 120620git6ef9f8.fc17.noarch</div></div><div><br></div><div><div>I need to g= et oVirt-engine- and host up and running on the machine because I want it t= o be able to configure and execute power management on the rest of the host= s in the cluster.</div><div>Source: <a href=3D"http://lists.ovirt.org/= pipermail/users/2012-February/000361.html">http://lists.ovirt.org/pipermail= /users/2012-February/000361.html</a></div><div>"<span class=3D"Apple-style-= span" style=3D"white-space: pre; ">Yes, the ovirt backend does not shut dow= n or power up any hosts directly, it can work only through vdsm. Therefore = you need one running host per datacenter to be able to manage the rest of t= he hosts."</span></div></div><div><span class=3D"Apple-style-span" style=3D= "white-space: pre; "><br></span></div><div>I am then following this article= :</div><div><a href=3D"http://blog.jebpages.com/archives/how-to-get-up-and-= running-with-ovirt/">http://blog.jebpages.com/archives/how-to-get-up-and-ru= nning-with-ovirt/</a></div><div><br></div><div>Where I get to adding itself= as a host in it=B4s own cluster and then:</div><div>(This is a "Re-Install= " from the WUI)</div><div><div>2012-06-28 12:25:00,000 INFO [org.ovir= t.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking= autorecoverable hosts</div><div>2012-06-28 12:25:00,004 INFO [org.ov= irt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Autore= covering 0 hosts</div><div>2012-06-28 12:25:00,005 INFO [org.ovirt.en= gine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking aut= orecoverable hosts done</div><div>2012-06-28 12:25:00,006 INFO [org.o= virt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Check= ing autorecoverable storage domains</div><div>2012-06-28 12:25:00,009 INFO = [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Work= er-70) Autorecovering 0 storage domains</div><div>2012-06-28 12:25:00,009 I= NFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_= Worker-70) Checking autorecoverable storage domains done</div><div>2012-06-= 28 12:25:05,875 INFO [org.ovirt.engine.core.bll.UpdateVdsCommand] (aj= p--0.0.0.0-8009-2) [13427c0] Running command: UpdateVdsCommand internal: fa= lse. Entities affected : ID: 105460c0-c0ea-11e1-b737-9b694eb255f6 Typ= e: VDS</div><div>2012-06-28 12:25:05,889 INFO [org.ovirt.engine.core.= vdsbroker.SetVdsStatusVDSCommand] (ajp--0.0.0.0-8009-2) [13427c0] START, Se= tVdsStatusVDSCommand(vdsId =3D 105460c0-c0ea-11e1-b737-9b694eb255f6, status= =3DInstalling, nonOperationalReason=3DNONE), log id: 5ef5ea33</div><div>201= 2-06-28 12:25:05,895 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStat= usVDSCommand] (ajp--0.0.0.0-8009-2) [13427c0] FINISH, SetVdsStatusVDSComman= d, log id: 5ef5ea33</div><div>2012-06-28 12:25:05,910 INFO [org.ovirt= .engine.core.bll.InstallVdsCommand] (pool-3-thread-7) [3a635c45] Running co= mmand: InstallVdsCommand internal: true. Entities affected : ID: 1054= 60c0-c0ea-11e1-b737-9b694eb255f6 Type: VDS</div><div>2012-06-28 12:25:05,91= 4 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-3-thread-7= ) [3a635c45] Before Installation pool-3-thread-7</div><div>2012-06-28 12:25= :05,915 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-= 7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (S= tage: Starting Host installation)</div><div>2012-06-28 12:25:05,916 INFO &n= bsp;[org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] I= nstallation of 172.22.8.14. Executing installation stage. (Stage: Connectin= g to Host)</div><div>2012-06-28 12:25:05,959 INFO [org.ovirt.engine.c= ore.utils.hostinstall.HostKeyVerifier] (NioProcessor-15) SSH key fingerprin= t f6:4d:81:ba:a0:f6:c4:09:85:18:10:5f:6f:47:09:58 for host <a href=3D"http:= //njord.sto.slu.se">njord.sto.slu.se</a> (172.22.8.14) has been successfull= y verified.</div><div>2012-06-28 12:25:06,032 INFO [org.ovirt.engine.= core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.= 8.14. Received message: <BSTRAP component=3D'RHEV_INSTALL' status=3D'OK'= message=3D'Connected to Host 172.22.8.14 with SSH key fingerprint: f6:4d:8= 1:ba:a0:f6:c4:09:85:18:10:5f:6f:47:09:58'/>. FYI. (Stage: Connecting to = Host)</div><div>2012-06-28 12:25:06,044 INFO [org.ovirt.engine.core.b= ll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. = Successfully connected to server ssh. (Stage: Connecting to Host)</div><div= p;& cat /sys/class/net/*/address | /bin/grep -v '00:00:00:00' | /bin/so= rt -u | /usr/bin/head --lines=3D1` on 172.22.8.14</div><div>2012-06-28 12:2= 5:06,145 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread= -7) [3a635c45] Installation of 172.22.8.14. Received message: 44454C4C-3200= -1052-8050-B7C04F354431_00:15:17:36:60:4c</div><div>. FYI. (Stage: Get the = unique vds id)</div><div>2012-06-28 12:25:06,149 INFO [org.ovirt.engi= ne.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.= 22.8.14. Assigning unique id 44454C4C-3200-1052-8050-B7C04F354431_00:15:17:= 36:60:4c to Host. (Stage: Get the unique vds id)</div><div>2012-06-28 12:25= :06,162 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrap= per] (pool-3-thread-7) RunSSHCommand returns true</div><div>2012-06-28 12:2= 5:06,164 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread= -7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (= Stage: Upload Installation script to Host)</div><div>2012-06-28 12:25:06,16= 6 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (= pool-3-thread-7) Uploading file /usr/share/ovirt-engine/scripts/vds_install= er.py to /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py on 172.= 22.8.14</div><div>2012-06-28 12:25:06,170 INFO [org.ovirt.engine.core= .utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Uploading file /us= r/share/ovirt-engine/scripts/vds_installer.py to /tmp/vds_installer_ca67f0a= 5-115c-4943-a9ef-157654586da5.py on 172.22.8.14</div><div>2012-06-28 12:25:= 09,363 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7= ) [3a635c45] Installation of 172.22.8.14. successfully done sftp operation = ( Stage: Upload Installation script to Host)</div><div>2012-06-28 12:25:09,= 364 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper]= (pool-3-thread-7) return true</div><div>2012-06-28 12:25:09,365 INFO  = ;[org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-threa= d-7) Uploading file /tmp/firewall.conf5272561799347733512.tmp to /tmp/firew= all.conf.ca67f0a5-115c-4943-a9ef-157654586da5 on 172.22.8.14</div><div>2012= -06-28 12:25:09,366 INFO [org.ovirt.engine.core.utils.hostinstall.Min= aInstallWrapper] (pool-3-thread-7) Uploading file /tmp/firewall.conf5272561= 799347733512.tmp to /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5= on 172.22.8.14</div><div>2012-06-28 12:25:12,504 INFO [org.ovirt.eng= ine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172= .22.8.14. successfully done sftp operation ( Stage: Upload Installation scr= ipt to Host)</div><div>2012-06-28 12:25:12,509 INFO [org.ovirt.engine= .core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) return true</= div><div>2012-06-28 12:25:12,512 INFO [org.ovirt.engine.core.bll.VdsI= nstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executi= ng installation stage. (Stage: Running first installation script on Host)</= div><div>2012-06-28 12:25:12,516 INFO [org.ovirt.engine.core.bll.VdsI= nstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Sending= SSH Command chmod +x /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586d= a5.py; /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py -c 'ssl= =3Dtrue;management_port=3D54321' -O 'slu' -t 2012-06-28T10:25:05 -f /tmp/fi= rewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 -p 80 -b <a href=3D= "http://xcp-cms.data.slu.se:80/Components/vds/">http://xcp-cms.data.slu.se:= 80/Components/vds/</a> <a href=3D"http://xcp-cms.data.slu.se:80/Components/= vds/">http://xcp-cms.data.slu.se:80/Components/vds/</a> 172.22.8.14 ca67f0a= 5-115c-4943-a9ef-157654586da5 False. (Stage: Running first installation scr= ipt on Host)</div><div>2012-06-28 12:25:12,530 INFO [org.ovirt.engine= .core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Invoking chmo= d +x /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py; /tmp/vds_i= nstaller_ca67f0a5-115c-4943-a9ef-157654586da5.py -c 'ssl=3Dtrue;management_= port=3D54321' -O 'slu' -t 2012-06-28T10:25:05 -f /tmp/firewall.conf.ca67f0a= 5-115c-4943-a9ef-157654586da5 -p 80 -b <a href=3D"http://xcp-cms.dat= a.slu.se:80/Components/vds/">http://xcp-cms.data.slu.se:80/Components/vds/<= /a> <a href=3D"http://xcp-cms.data.slu.se:80/Components/vds/">http://xcp-cm= s.data.slu.se:80/Components/vds/</a> 172.22.8.14 ca67f0a5-115c-4943-a9ef-15= 7654586da5 False on 172.22.8.14</div><div>2012-06-28 12:25:13,545 INFO &nbs= p;[org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Ins= tallation of 172.22.8.14. Received message: <BSTRAP component=3D'INSTALL= ER' status=3D'OK' message=3D'Test platform succeeded'/></div><div><BS= TRAP component=3D'INSTALLER LIB' status=3D'OK' message=3D'Install library a= lready exists'/></div><div><BSTRAP component=3D'INSTALLER' status=3D'= OK' message=3D'vds_bootstrap.py download succeeded'/></div><div><BSTR= AP component=3D'RHN_REGISTRATION' status=3D'OK' message=3D'Host properly re= gistered with RHN/Satellite.'/></div><div>. FYI. (Stage: Running first i= nstallation script on Host)</div><div>2012-06-28 12:25:14,615 INFO [o= rg.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Install= ation of 172.22.8.14. Received message: <BSTRAP component=3D'VDSM_MAJOR_= VER' status=3D'OK' message=3D'Available VDSM matches requirements'/></di= v><div><BSTRAP component=3D'VT_SVM' status=3D'OK' processor=3D'Intel' me= ssage=3D'Server supports virtualization'/></div><div><BSTRAP componen= t=3D'OS' status=3D'OK' type=3D'FEDORA' message=3D'Supported platform versio= n'/></div><div><BSTRAP component=3D'KERNEL' status=3D'OK' version=3D'= 0' message=3D'Skipped kernel version check'/></div><div><BSTRAP compo= nent=3D'CONFLICTING PACKAGES' status=3D'OK' result=3D'cman.x86_64' message= =3D'package cman.x86_64 is not installed '/></div><div><BSTRAP compon= ent=3D'REQ PACKAGES' status=3D'OK' result=3D'SDL.x86_64' message=3D'SDL-1.2= .14-16.fc17.x86_64 '/></div><div><BSTRAP component=3D'REQ PACKAGES' s= tatus=3D'OK' result=3D'bridge-utils.x86_64' message=3D'bridge-utils-1.5-3.f= c17.x86_64 '/></div><div><BSTRAP component=3D'REQ PACKAGES' status=3D= 'OK' result=3D'mesa-libGLU.x86_64' message=3D'mesa-libGLU-8.0.3-1.fc17.x86_= 64 '/></div><div><BSTRAP component=3D'REQ PACKAGES' status=3D'OK' res= ult=3D'openssl.x86_64' message=3D'openssl-1.0.0j-1.fc17.x86_64 '/></div>= <div><BSTRAP component=3D'REQ PACKAGES' status=3D'OK' result=3D'm2crypto= .x86_64' message=3D'm2crypto-0.21.1-8.fc17.x86_64 '/></div><div>. FYI. (= Stage: Running first installation script on Host)</div><div>2012-06-28 12:2= 5:15,705 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread= -7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP co= mponent=3D'REQ PACKAGES' status=3D'OK' result=3D'rsync.x86_64' message=3D'r= sync-3.0.9-2.fc17.x86_64 '/></div><div><BSTRAP component=3D'VDS PACKA= GES' status=3D'OK' result=3D'qemu-kvm' message=3D'qemu-kvm-1.0-17.fc17.x86_= 64 '/></div><div><BSTRAP component=3D'VDS PACKAGES' status=3D'OK' res= ult=3D'qemu-kvm-tools' message=3D'qemu-kvm-tools-1.0-17.fc17.x86_64 '/><= /div><div><BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'vds= m' message=3D'vdsm-4.10.0-2.fc17.x86_64 '/></div><div><BSTRAP compone= nt=3D'VDS PACKAGES' status=3D'OK' result=3D'vdsm-cli' message=3D'vdsm-cli-4= .10.0-2.fc17.noarch '/></div><div><BSTRAP component=3D'VDS PACKAGES' = status=3D'WARN' result=3D'libjpeg' message=3D'package libjpeg is not instal= led '/></div><div><BSTRAP component=3D'VDS PACKAGES' status=3D'OK' re= sult=3D'spice-server' message=3D'spice-server-0.10.1-2.fc17.x86_64 '/></= div><div><BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'pixm= an' message=3D'pixman-0.24.4-2.fc17.x86_64 '/></div><div><BSTRAP comp= onent=3D'VDS PACKAGES' status=3D'OK' result=3D'seabios' message=3D'seabios-= 1.7.0-1.fc17.x86_64 '/></div><div><BSTRAP component=3D'VDS PACKAGES' = status=3D'OK' result=3D'qemu-img' message=3D'qemu-img-1.0-17.fc17.x86_64 '/= ></div><div>. FYI. (Stage: Running first installation script on Host)</d= iv><div>2012-06-28 12:25:16,751 INFO [org.ovirt.engine.core.bll.VdsIn= staller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received= message: <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'fen= ce-agents' message=3D'fence-agents-3.1.8-1.fc17.x86_64 '/></div><div><= ;BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'libselinux-pytho= n' message=3D'libselinux-python-2.1.10-3.fc17.x86_64 '/></div><div>. FYI= . (Stage: Running first installation script on Host)</div><div>2012-06-28 1= 2:25:27,770 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thr= ead-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP= component=3D'VDS PACKAGES' status=3D'OK' result=3D'qemu-kvm' message=3D'qe= mu-kvm-1.0-17.fc17.x86_64 '/></div><div>. FYI. (Stage: Running first ins= tallation script on Host)</div><div>2012-06-28 12:25:29,778 INFO [org= .ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installat= ion of 172.22.8.14. Received message: <BSTRAP component=3D'VDS PACKAGES'= status=3D'OK' result=3D'qemu-kvm-tools' message=3D'qemu-kvm-tools-1.0-17.f= c17.x86_64 '/></div><div>. FYI. (Stage: Running first installation scrip= t on Host)</div><div>2012-06-28 12:25:32,785 INFO [org.ovirt.engine.c= ore.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8= .14. Received message: <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' = result=3D'vdsm' message=3D'vdsm-4.10.0-2.fc17.x86_64 '/></div><div>. FYI= . (Stage: Running first installation script on Host)</div><div>2012-06-28 1= 2:25:35,794 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thr= ead-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP= component=3D'VDS PACKAGES' status=3D'OK' result=3D'vdsm-cli' message=3D'vd= sm-cli-4.10.0-2.fc17.noarch '/></div><div>. FYI. (Stage: Running first i= nstallation script on Host)</div><div>2012-06-28 12:25:38,805 INFO [o= rg.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Install= ation of 172.22.8.14. Received message: <BSTRAP component=3D'VDS PACKAGE= S' status=3D'OK' result=3D'spice-server' message=3D'spice-server-0.10.1-2.f= c17.x86_64 '/></div><div>. FYI. (Stage: Running first installation scrip= t on Host)</div><div>2012-06-28 12:25:40,819 INFO [org.ovirt.engine.c= ore.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8= .14. Received message: <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' = result=3D'pixman' message=3D'pixman-0.24.4-2.fc17.x86_64 '/></div><div>.= FYI. (Stage: Running first installation script on Host)</div><div>2012-06-= 28 12:25:43,826 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3= -thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BS= TRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D'seabios' message=3D= 'seabios-1.7.0-1.fc17.x86_64 '/></div><div>. FYI. (Stage: Running first = installation script on Host)</div><div>2012-06-28 12:25:46,833 INFO [= org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Instal= lation of 172.22.8.14. Received message: <BSTRAP component=3D'VDS PACKAG= ES' status=3D'OK' result=3D'qemu-img' message=3D'qemu-img-1.0-17.fc17.x86_6= 4 '/></div><div>. FYI. (Stage: Running first installation script on Host= )</div><div>2012-06-28 12:25:49,856 INFO [org.ovirt.engine.core.bll.V= dsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Rece= ived message: <BSTRAP component=3D'VDS PACKAGES' status=3D'OK' result=3D= 'fence-agents' message=3D'fence-agents-3.1.8-1.fc17.x86_64 '/></div><div= the following to " + VDSM_CONF)</div><div>  = ; logging.debug(lines)</div><div> = fd, tmpName =3D tempfile.mkstemp()</div><div> &n= bsp; f =3D os.fdopen(fd, 'w')</div><div> = f.writelines(lines)</div><div> &nb= sp; f.close()</div><div> &n= bsp; os.chmod(tmpName, 0644)</div><div> &= nbsp; shutil.move(tmpName, VDSM_CONF)</div><div> = else:</div><div> self.message =3D= 'Basic configuration found, skipping this step'</div><div> &n= bsp; logging.debug(self.message)</div><div><br></div><= div> def createConf(self):</div><div> &nbs= p; """</div><div> Generate initial= configuration file for VDSM. Must run after package installation!</div><di= v> """</div><div> sel= f.message =3D 'Basic configuration set'</div><div> &nbs= p; self.rc =3D True</div><div> self.status =3D '= OK'</div><div><br></div><div> try:</div><div>&nb= sp; self._makeConfig()</div><div> = except Exception, e:</div><div> &n= bsp; logging.error('', exc_info=3DTrue)</div><div> &nbs= p; self.message =3D 'Basic configuration failed= '</div><div> if isinstance(e, Impo= rtError):</div><div> = self.message =3D self.message + ' to import default values'</div><div>&nbs= p; self.rc =3D False</div><div> &n= bsp; self.status =3D 'FAIL'</div><div><br></div=
<div> self._xmlOutput('CreateConf', self.status= , None, None, self.message)</div><div> return se= lf.rc</div><div><br></div><div><br></div><div>What now? Can anyone tell me = why it fails? Besides the obvious "it=B4s beta" of course:)</div><div> <div><br class=3D"Apple-interchange-newline"><br></div><div>Med V=E4nliga H= =E4lsningar<br>------------------------------------------------------------= -------------------<br>Karli Sj=F6berg<br>Swedish University of Agricultura= l Sciences<br>Box 7079 (Visiting Address Kron=E5sv=E4gen 8)<br>S-750 07 Upp= sala, Sweden<br>Phone: +46-(0)18-67 15 66</div><div><a href=3D"mailto= :karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a></div> </div> <br></div></body></html>=
--_000_A973225C083E47A1A05CBFC2393B24E6sluse_--

Hi, well, I'd check whatever the error is saying…i.e. do you have libjpeg installed? 2012-06-28 12:25:53,223 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='package libjpeg is not installed '/> Thanks, michal On Jun 28, 2012, at 12:32 , Karli Sjöberg wrote:
Hi,
I am running Fedora 17 and added the ovirt beta repository to have access to webadmin addition, since F17 only comes with CLI by default.
# wget http://ovirt.org/releases/beta/ovirt-engine.repo -O /etc/yum.repos.d/ovirt- engine_beta.repo # sed -i -- 's/fedora\/16/fedora\/17/' /etc/yum.repos.d/ovirt-engine_beta.repo # yum install -y ovirt-engine # rpm -qa | grep ovirt ovirt-engine-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-genericapi-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-webadmin-portal-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch ovirt-engine-sdk-3.1.0.2-gita89f4e.fc17.noarch ovirt-engine-restapi-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-userportal-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-tools-common-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-log-collector-3.1.0-0.fc17.noarch ovirt-engine-dbscripts-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-setup-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-notification-service-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch ovirt-engine-config-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-backend-3.1.0-0.1.20120620git6ef9f8.fc17.noarch
I need to get oVirt-engine- and host up and running on the machine because I want it to be able to configure and execute power management on the rest of the hosts in the cluster. Source: http://lists.ovirt.org/pipermail/users/2012-February/000361.html "Yes, the ovirt backend does not shut down or power up any hosts directly, it can work only through vdsm. Therefore you need one running host per datacenter to be able to manage the rest of the hosts."
I am then following this article: http://blog.jebpages.com/archives/how-to-get-up-and-running-with-ovirt/
Where I get to adding itself as a host in it´s own cluster and then: (This is a "Re-Install" from the WUI) 2012-06-28 12:25:00,000 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking autorecoverable hosts 2012-06-28 12:25:00,004 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Autorecovering 0 hosts 2012-06-28 12:25:00,005 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking autorecoverable hosts done 2012-06-28 12:25:00,006 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking autorecoverable storage domains 2012-06-28 12:25:00,009 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Autorecovering 0 storage domains 2012-06-28 12:25:00,009 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking autorecoverable storage domains done 2012-06-28 12:25:05,875 INFO [org.ovirt.engine.core.bll.UpdateVdsCommand] (ajp--0.0.0.0-8009-2) [13427c0] Running command: UpdateVdsCommand internal: false. Entities affected : ID: 105460c0-c0ea-11e1-b737-9b694eb255f6 Type: VDS 2012-06-28 12:25:05,889 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (ajp--0.0.0.0-8009-2) [13427c0] START, SetVdsStatusVDSCommand(vdsId = 105460c0-c0ea-11e1-b737-9b694eb255f6, status=Installing, nonOperationalReason=NONE), log id: 5ef5ea33 2012-06-28 12:25:05,895 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (ajp--0.0.0.0-8009-2) [13427c0] FINISH, SetVdsStatusVDSCommand, log id: 5ef5ea33 2012-06-28 12:25:05,910 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-3-thread-7) [3a635c45] Running command: InstallVdsCommand internal: true. Entities affected : ID: 105460c0-c0ea-11e1-b737-9b694eb255f6 Type: VDS 2012-06-28 12:25:05,914 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-3-thread-7) [3a635c45] Before Installation pool-3-thread-7 2012-06-28 12:25:05,915 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Starting Host installation) 2012-06-28 12:25:05,916 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Connecting to Host) 2012-06-28 12:25:05,959 INFO [org.ovirt.engine.core.utils.hostinstall.HostKeyVerifier] (NioProcessor-15) SSH key fingerprint f6:4d:81:ba:a0:f6:c4:09:85:18:10:5f:6f:47:09:58 for host njord.sto.slu.se (172.22.8.14) has been successfully verified. 2012-06-28 12:25:06,032 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='RHEV_INSTALL' status='OK' message='Connected to Host 172.22.8.14 with SSH key fingerprint: f6:4d:81:ba:a0:f6:c4:09:85:18:10:5f:6f:47:09:58'/>. FYI. (Stage: Connecting to Host) 2012-06-28 12:25:06,044 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Successfully connected to server ssh. (Stage: Connecting to Host) 2012-06-28 12:25:06,048 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Get the unique vds id) 2012-06-28 12:25:06,052 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Invoking /bin/echo -e `/bin/bash -c /usr/sbin/dmidecode|/bin/awk ' /UUID/{ print $2; } ' | /usr/bin/tr ' ' '_' && cat /sys/class/net/*/address | /bin/grep -v '00:00:00:00' | /bin/sort -u | /usr/bin/head --lines=1` on 172.22.8.14 2012-06-28 12:25:06,145 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: 44454C4C-3200-1052-8050-B7C04F354431_00:15:17:36:60:4c . FYI. (Stage: Get the unique vds id) 2012-06-28 12:25:06,149 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Assigning unique id 44454C4C-3200-1052-8050-B7C04F354431_00:15:17:36:60:4c to Host. (Stage: Get the unique vds id) 2012-06-28 12:25:06,162 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) RunSSHCommand returns true 2012-06-28 12:25:06,164 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Upload Installation script to Host) 2012-06-28 12:25:06,166 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Uploading file /usr/share/ovirt-engine/scripts/vds_installer.py to /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py on 172.22.8.14 2012-06-28 12:25:06,170 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Uploading file /usr/share/ovirt-engine/scripts/vds_installer.py to /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py on 172.22.8.14 2012-06-28 12:25:09,363 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. successfully done sftp operation ( Stage: Upload Installation script to Host) 2012-06-28 12:25:09,364 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) return true 2012-06-28 12:25:09,365 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Uploading file /tmp/firewall.conf5272561799347733512.tmp to /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 on 172.22.8.14 2012-06-28 12:25:09,366 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Uploading file /tmp/firewall.conf5272561799347733512.tmp to /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 on 172.22.8.14 2012-06-28 12:25:12,504 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. successfully done sftp operation ( Stage: Upload Installation script to Host) 2012-06-28 12:25:12,509 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) return true 2012-06-28 12:25:12,512 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Running first installation script on Host) 2012-06-28 12:25:12,516 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Sending SSH Command chmod +x /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py; /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py -c 'ssl=true;management_port=54321' -O 'slu' -t 2012-06-28T10:25:05 -f /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 -p 80 -b http://xcp-cms.data.slu.se:80/Components/vds/ http://xcp-cms.data.slu.se:80/Components/vds/ 172.22.8.14 ca67f0a5-115c-4943-a9ef-157654586da5 False. (Stage: Running first installation script on Host) 2012-06-28 12:25:12,530 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Invoking chmod +x /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py; /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py -c 'ssl=true;management_port=54321' -O 'slu' -t 2012-06-28T10:25:05 -f /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 -p 80 -b http://xcp-cms.data.slu.se:80/Components/vds/ http://xcp-cms.data.slu.se:80/Components/vds/ 172.22.8.14 ca67f0a5-115c-4943-a9ef-157654586da5 False on 172.22.8.14 2012-06-28 12:25:13,545 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/> <BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/> <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py download succeeded'/> <BSTRAP component='RHN_REGISTRATION' status='OK' message='Host properly registered with RHN/Satellite.'/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:14,615 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDSM_MAJOR_VER' status='OK' message='Available VDSM matches requirements'/> <BSTRAP component='VT_SVM' status='OK' processor='Intel' message='Server supports virtualization'/> <BSTRAP component='OS' status='OK' type='FEDORA' message='Supported platform version'/> <BSTRAP component='KERNEL' status='OK' version='0' message='Skipped kernel version check'/> <BSTRAP component='CONFLICTING PACKAGES' status='OK' result='cman.x86_64' message='package cman.x86_64 is not installed '/> <BSTRAP component='REQ PACKAGES' status='OK' result='SDL.x86_64' message='SDL-1.2.14-16.fc17.x86_64 '/> <BSTRAP component='REQ PACKAGES' status='OK' result='bridge-utils.x86_64' message='bridge-utils-1.5-3.fc17.x86_64 '/> <BSTRAP component='REQ PACKAGES' status='OK' result='mesa-libGLU.x86_64' message='mesa-libGLU-8.0.3-1.fc17.x86_64 '/> <BSTRAP component='REQ PACKAGES' status='OK' result='openssl.x86_64' message='openssl-1.0.0j-1.fc17.x86_64 '/> <BSTRAP component='REQ PACKAGES' status='OK' result='m2crypto.x86_64' message='m2crypto-0.21.1-8.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:15,705 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='REQ PACKAGES' status='OK' result='rsync.x86_64' message='rsync-3.0.9-2.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='qemu-kvm' message='qemu-kvm-1.0-17.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='qemu-kvm-tools' message='qemu-kvm-tools-1.0-17.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='vdsm' message='vdsm-4.10.0-2.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='vdsm-cli' message='vdsm-cli-4.10.0-2.fc17.noarch '/> <BSTRAP component='VDS PACKAGES' status='WARN' result='libjpeg' message='package libjpeg is not installed '/> <BSTRAP component='VDS PACKAGES' status='OK' result='spice-server' message='spice-server-0.10.1-2.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='pixman' message='pixman-0.24.4-2.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='seabios' message='seabios-1.7.0-1.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='qemu-img' message='qemu-img-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:16,751 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='fence-agents' message='fence-agents-3.1.8-1.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='libselinux-python' message='libselinux-python-2.1.10-3.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:27,770 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='qemu-kvm' message='qemu-kvm-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:29,778 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='qemu-kvm-tools' message='qemu-kvm-tools-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:32,785 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='vdsm' message='vdsm-4.10.0-2.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:35,794 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='vdsm-cli' message='vdsm-cli-4.10.0-2.fc17.noarch '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:38,805 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='spice-server' message='spice-server-0.10.1-2.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:40,819 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='pixman' message='pixman-0.24.4-2.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:43,826 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='seabios' message='seabios-1.7.0-1.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:46,833 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='qemu-img' message='qemu-img-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:49,856 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='fence-agents' message='fence-agents-3.1.8-1.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:52,898 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='libselinux-python' message='libselinux-python-2.1.10-3.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:53,223 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: <BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='package libjpeg is not installed '/> <BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/> <BSTRAP component='RHEV_INSTALL' status='FAIL'/> . Error occured. (Stage: Running first installation script on Host) 2012-06-28 12:25:53,236 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) RunSSHCommand returns true 2012-06-28 12:25:53,236 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] RunScript ended:true 2012-06-28 12:25:53,237 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Operation failure. (Stage: Running first installation script on Host) 2012-06-28 12:25:53,246 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-3-thread-7) [3a635c45] After Installation pool-3-thread-7 2012-06-28 12:25:53,248 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-3-thread-7) [3a635c45] START, SetVdsStatusVDSCommand(vdsId = 105460c0-c0ea-11e1-b737-9b694eb255f6, status=InstallFailed, nonOperationalReason=NONE), log id: 3cf757b4 2012-06-28 12:25:53,264 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-3-thread-7) [3a635c45] FINISH, SetVdsStatusVDSCommand, log id: 3cf757b4
The action in question "CreateConf" looks like:
/usr/share/vdsm-bootstrap/vds_bootstrap.py
def _makeConfig(self): import datetime from config import config
if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines = [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(datetime.datetime.now()) + "\n") lines.append ("\n")
lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path = " + config.get('vars', 'trust_store_path') + "\n") lines.append ("ssl = " + config.get('vars', 'ssl') + "\n") lines.append ("\n")
lines.append ("[addresses]\n") #Adding mgt port for the coming scirpts. lines.append ("management_port = " + config.get('addresses', 'management_port') + "\n")
logging.debug("makeConfig: writing the following to " + VDSM_CONF) logging.debug(lines) fd, tmpName = tempfile.mkstemp() f = os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message = 'Basic configuration found, skipping this step' logging.debug(self.message)
def createConf(self): """ Generate initial configuration file for VDSM. Must run after package installation! """ self.message = 'Basic configuration set' self.rc = True self.status = 'OK'
try: self._makeConfig() except Exception, e: logging.error('', exc_info=True) self.message = 'Basic configuration failed' if isinstance(e, ImportError): self.message = self.message + ' to import default values' self.rc = False self.status = 'FAIL'
self._xmlOutput('CreateConf', self.status, None, None, self.message) return self.rc
What now? Can anyone tell me why it fails? Besides the obvious "it´s beta" of course:)
Med Vänliga Hälsningar ------------------------------------------------------------------------------- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 06/28/2012 09:45 AM, Michal Skrivanek wrote:
Hi, well, I'd check whatever the error is saying…i.e. do you have libjpeg installed?
2012-06-28 12:25:53,223 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='package libjpeg is not installed '/>
indeed - this means bootstrap is trying to install libjpeg but yum failed locating it (from default fedora repo, not ovirt one).
Thanks, michal
On Jun 28, 2012, at 12:32 , Karli Sjöberg wrote:
Hi,
I am running Fedora 17 and added the ovirt beta repository to have access to webadmin addition, since F17 only comes with CLI by default.
# wget http://ovirt.org/releases/beta/ovirt-engine.repo -O /etc/yum.repos.d/ovirt- engine_beta.repo # sed -i -- 's/fedora\/16/fedora\/17/' /etc/yum.repos.d/ovirt-engine_beta.repo # yum install -y ovirt-engine # rpm -qa | grep ovirt ovirt-engine-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-genericapi-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-webadmin-portal-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch ovirt-engine-sdk-3.1.0.2-gita89f4e.fc17.noarch ovirt-engine-restapi-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-userportal-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-tools-common-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-log-collector-3.1.0-0.fc17.noarch ovirt-engine-dbscripts-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-setup-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-notification-service-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch ovirt-engine-config-3.1.0-0.1.20120620git6ef9f8.fc17.noarch ovirt-engine-backend-3.1.0-0.1.20120620git6ef9f8.fc17.noarch
I need to get oVirt-engine- and host up and running on the machine because I want it to be able to configure and execute power management on the rest of the hosts in the cluster. Source: http://lists.ovirt.org/pipermail/users/2012-February/000361.html "Yes, the ovirt backend does not shut down or power up any hosts directly, it can work only through vdsm. Therefore you need one running host per datacenter to be able to manage the rest of the hosts."
I am then following this article: http://blog.jebpages.com/archives/how-to-get-up-and-running-with-ovirt/
Where I get to adding itself as a host in it´s own cluster and then: (This is a "Re-Install" from the WUI) 2012-06-28 12:25:00,000 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking autorecoverable hosts 2012-06-28 12:25:00,004 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Autorecovering 0 hosts 2012-06-28 12:25:00,005 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking autorecoverable hosts done 2012-06-28 12:25:00,006 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking autorecoverable storage domains 2012-06-28 12:25:00,009 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Autorecovering 0 storage domains 2012-06-28 12:25:00,009 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-70) Checking autorecoverable storage domains done 2012-06-28 12:25:05,875 INFO [org.ovirt.engine.core.bll.UpdateVdsCommand] (ajp--0.0.0.0-8009-2) [13427c0] Running command: UpdateVdsCommand internal: false. Entities affected : ID: 105460c0-c0ea-11e1-b737-9b694eb255f6 Type: VDS 2012-06-28 12:25:05,889 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (ajp--0.0.0.0-8009-2) [13427c0] START, SetVdsStatusVDSCommand(vdsId = 105460c0-c0ea-11e1-b737-9b694eb255f6, status=Installing, nonOperationalReason=NONE), log id: 5ef5ea33 2012-06-28 12:25:05,895 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (ajp--0.0.0.0-8009-2) [13427c0] FINISH, SetVdsStatusVDSCommand, log id: 5ef5ea33 2012-06-28 12:25:05,910 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-3-thread-7) [3a635c45] Running command: InstallVdsCommand internal: true. Entities affected : ID: 105460c0-c0ea-11e1-b737-9b694eb255f6 Type: VDS 2012-06-28 12:25:05,914 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-3-thread-7) [3a635c45] Before Installation pool-3-thread-7 2012-06-28 12:25:05,915 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Starting Host installation) 2012-06-28 12:25:05,916 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Connecting to Host) 2012-06-28 12:25:05,959 INFO [org.ovirt.engine.core.utils.hostinstall.HostKeyVerifier] (NioProcessor-15) SSH key fingerprint f6:4d:81:ba:a0:f6:c4:09:85:18:10:5f:6f:47:09:58 for host njord.sto.slu.se (172.22.8.14) has been successfully verified. 2012-06-28 12:25:06,032 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='RHEV_INSTALL' status='OK' message='Connected to Host 172.22.8.14 with SSH key fingerprint: f6:4d:81:ba:a0:f6:c4:09:85:18:10:5f:6f:47:09:58'/>. FYI. (Stage: Connecting to Host) 2012-06-28 12:25:06,044 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Successfully connected to server ssh. (Stage: Connecting to Host) 2012-06-28 12:25:06,048 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Get the unique vds id) 2012-06-28 12:25:06,052 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Invoking /bin/echo -e `/bin/bash -c /usr/sbin/dmidecode|/bin/awk ' /UUID/{ print $2; } ' | /usr/bin/tr ' ' '_'&& cat /sys/class/net/*/address | /bin/grep -v '00:00:00:00' | /bin/sort -u | /usr/bin/head --lines=1` on 172.22.8.14 2012-06-28 12:25:06,145 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message: 44454C4C-3200-1052-8050-B7C04F354431_00:15:17:36:60:4c . FYI. (Stage: Get the unique vds id) 2012-06-28 12:25:06,149 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Assigning unique id 44454C4C-3200-1052-8050-B7C04F354431_00:15:17:36:60:4c to Host. (Stage: Get the unique vds id) 2012-06-28 12:25:06,162 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) RunSSHCommand returns true 2012-06-28 12:25:06,164 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Upload Installation script to Host) 2012-06-28 12:25:06,166 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Uploading file /usr/share/ovirt-engine/scripts/vds_installer.py to /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py on 172.22.8.14 2012-06-28 12:25:06,170 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Uploading file /usr/share/ovirt-engine/scripts/vds_installer.py to /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py on 172.22.8.14 2012-06-28 12:25:09,363 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. successfully done sftp operation ( Stage: Upload Installation script to Host) 2012-06-28 12:25:09,364 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) return true 2012-06-28 12:25:09,365 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Uploading file /tmp/firewall.conf5272561799347733512.tmp to /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 on 172.22.8.14 2012-06-28 12:25:09,366 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Uploading file /tmp/firewall.conf5272561799347733512.tmp to /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 on 172.22.8.14 2012-06-28 12:25:12,504 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. successfully done sftp operation ( Stage: Upload Installation script to Host) 2012-06-28 12:25:12,509 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) return true 2012-06-28 12:25:12,512 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Executing installation stage. (Stage: Running first installation script on Host) 2012-06-28 12:25:12,516 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Sending SSH Command chmod +x /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py; /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py -c 'ssl=true;management_port=54321' -O 'slu' -t 2012-06-28T10:25:05 -f /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 -p 80 -b http://xcp-cms.data.slu.se:80/Components/vds/ http://xcp-cms.data.slu.se:80/Components/vds/ 172.22.8.14 ca67f0a5-115c-4943-a9ef-157654586da5 False. (Stage: Running first installation script on Host) 2012-06-28 12:25:12,530 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) Invoking chmod +x /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py; /tmp/vds_installer_ca67f0a5-115c-4943-a9ef-157654586da5.py -c 'ssl=true;management_port=54321' -O 'slu' -t 2012-06-28T10:25:05 -f /tmp/firewall.conf.ca67f0a5-115c-4943-a9ef-157654586da5 -p 80 -b http://xcp-cms.data.slu.se:80/Components/vds/ http://xcp-cms.data.slu.se:80/Components/vds/ 172.22.8.14 ca67f0a5-115c-4943-a9ef-157654586da5 False on 172.22.8.14 2012-06-28 12:25:13,545 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/> <BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/> <BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py download succeeded'/> <BSTRAP component='RHN_REGISTRATION' status='OK' message='Host properly registered with RHN/Satellite.'/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:14,615 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDSM_MAJOR_VER' status='OK' message='Available VDSM matches requirements'/> <BSTRAP component='VT_SVM' status='OK' processor='Intel' message='Server supports virtualization'/> <BSTRAP component='OS' status='OK' type='FEDORA' message='Supported platform version'/> <BSTRAP component='KERNEL' status='OK' version='0' message='Skipped kernel version check'/> <BSTRAP component='CONFLICTING PACKAGES' status='OK' result='cman.x86_64' message='package cman.x86_64 is not installed '/> <BSTRAP component='REQ PACKAGES' status='OK' result='SDL.x86_64' message='SDL-1.2.14-16.fc17.x86_64 '/> <BSTRAP component='REQ PACKAGES' status='OK' result='bridge-utils.x86_64' message='bridge-utils-1.5-3.fc17.x86_64 '/> <BSTRAP component='REQ PACKAGES' status='OK' result='mesa-libGLU.x86_64' message='mesa-libGLU-8.0.3-1.fc17.x86_64 '/> <BSTRAP component='REQ PACKAGES' status='OK' result='openssl.x86_64' message='openssl-1.0.0j-1.fc17.x86_64 '/> <BSTRAP component='REQ PACKAGES' status='OK' result='m2crypto.x86_64' message='m2crypto-0.21.1-8.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:15,705 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='REQ PACKAGES' status='OK' result='rsync.x86_64' message='rsync-3.0.9-2.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='qemu-kvm' message='qemu-kvm-1.0-17.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='qemu-kvm-tools' message='qemu-kvm-tools-1.0-17.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='vdsm' message='vdsm-4.10.0-2.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='vdsm-cli' message='vdsm-cli-4.10.0-2.fc17.noarch '/> <BSTRAP component='VDS PACKAGES' status='WARN' result='libjpeg' message='package libjpeg is not installed '/> <BSTRAP component='VDS PACKAGES' status='OK' result='spice-server' message='spice-server-0.10.1-2.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='pixman' message='pixman-0.24.4-2.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='seabios' message='seabios-1.7.0-1.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='qemu-img' message='qemu-img-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:16,751 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='fence-agents' message='fence-agents-3.1.8-1.fc17.x86_64 '/> <BSTRAP component='VDS PACKAGES' status='OK' result='libselinux-python' message='libselinux-python-2.1.10-3.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:27,770 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='qemu-kvm' message='qemu-kvm-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:29,778 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='qemu-kvm-tools' message='qemu-kvm-tools-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:32,785 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='vdsm' message='vdsm-4.10.0-2.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:35,794 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='vdsm-cli' message='vdsm-cli-4.10.0-2.fc17.noarch '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:38,805 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='spice-server' message='spice-server-0.10.1-2.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:40,819 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='pixman' message='pixman-0.24.4-2.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:43,826 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='seabios' message='seabios-1.7.0-1.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:46,833 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='qemu-img' message='qemu-img-1.0-17.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:49,856 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='fence-agents' message='fence-agents-3.1.8-1.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:52,898 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='libselinux-python' message='libselinux-python-2.1.10-3.fc17.x86_64 '/> . FYI. (Stage: Running first installation script on Host) 2012-06-28 12:25:53,223 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Received message:<BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='package libjpeg is not installed '/> <BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/> <BSTRAP component='RHEV_INSTALL' status='FAIL'/> . Error occured. (Stage: Running first installation script on Host) 2012-06-28 12:25:53,236 INFO [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-7) RunSSHCommand returns true 2012-06-28 12:25:53,236 INFO [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] RunScript ended:true 2012-06-28 12:25:53,237 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-7) [3a635c45] Installation of 172.22.8.14. Operation failure. (Stage: Running first installation script on Host) 2012-06-28 12:25:53,246 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-3-thread-7) [3a635c45] After Installation pool-3-thread-7 2012-06-28 12:25:53,248 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-3-thread-7) [3a635c45] START, SetVdsStatusVDSCommand(vdsId = 105460c0-c0ea-11e1-b737-9b694eb255f6, status=InstallFailed, nonOperationalReason=NONE), log id: 3cf757b4 2012-06-28 12:25:53,264 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-3-thread-7) [3a635c45] FINISH, SetVdsStatusVDSCommand, log id: 3cf757b4
The action in question "CreateConf" looks like:
/usr/share/vdsm-bootstrap/vds_bootstrap.py
def _makeConfig(self): import datetime from config import config
if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines = [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(datetime.datetime.now()) + "\n") lines.append ("\n")
lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path = " + config.get('vars', 'trust_store_path') + "\n") lines.append ("ssl = " + config.get('vars', 'ssl') + "\n") lines.append ("\n")
lines.append ("[addresses]\n") #Adding mgt port for the coming scirpts. lines.append ("management_port = " + config.get('addresses', 'management_port') + "\n")
logging.debug("makeConfig: writing the following to " + VDSM_CONF) logging.debug(lines) fd, tmpName = tempfile.mkstemp() f = os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message = 'Basic configuration found, skipping this step' logging.debug(self.message)
def createConf(self): """ Generate initial configuration file for VDSM. Must run after package installation! """ self.message = 'Basic configuration set' self.rc = True self.status = 'OK'
try: self._makeConfig() except Exception, e: logging.error('', exc_info=True) self.message = 'Basic configuration failed' if isinstance(e, ImportError): self.message = self.message + ' to import default values' self.rc = False self.status = 'FAIL'
self._xmlOutput('CreateConf', self.status, None, None, self.message) return self.rc
What now? Can anyone tell me why it fails? Besides the obvious "it´s beta" of course:)
Med Vänliga Hälsningar ------------------------------------------------------------------------------- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thu, Jun 28, 2012 at 12:32:27PM +0200, Karli Sjöberg wrote:
Hi,
I am running Fedora 17 and added the ovirt beta repository to have access to webadmin addition, since F17 only comes with CLI by default.
<snip>
The action in question "CreateConf" looks like:
/usr/share/vdsm-bootstrap/vds_bootstrap.py
def _makeConfig(self): import datetime from config import config
if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines = [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(datetime.datetime.now()) + "\n") lines.append ("\n")
lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path = " + config.get('vars', 'trust_store_path') + "\n") lines.append ("ssl = " + config.get('vars', 'ssl') + "\n") lines.append ("\n")
lines.append ("[addresses]\n") #Adding mgt port for the coming scirpts. lines.append ("management_port = " + config.get('addresses', 'management_port') + "\n")
logging.debug("makeConfig: writing the following to " + VDSM_CONF) logging.debug(lines) fd, tmpName = tempfile.mkstemp() f = os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message = 'Basic configuration found, skipping this step' logging.debug(self.message)
def createConf(self): """ Generate initial configuration file for VDSM. Must run after package installation! """ self.message = 'Basic configuration set' self.rc = True self.status = 'OK'
try: self._makeConfig() except Exception, e: logging.error('', exc_info=True)
^^^^ the interesting stuff is written to a log file, sitting in your /tmp or a directory below it. Which module fails to be imported? Which version of vdsm-bootstrap do you have installed? if it is not a 4.10.something, I suggest you upgrade.
self.message = 'Basic configuration failed' if isinstance(e, ImportError): self.message = self.message + ' to import default values' self.rc = False self.status = 'FAIL'
self._xmlOutput('CreateConf', self.status, None, None, self.message) return self.rc
What now? Can anyone tell me why it fails? Besides the obvious "it´s beta" of course:)

<br></blockquote><blockquote type=3D"cite"> = lines.append ("[vars]\n") #Adding ts fo= r the coming scirpts.<br></blockquote><blockquote type=3D"cite"> &nbs=
logging= .debug(lines)<br></blockquote><blockquote type=3D"cite"> = fd, tmpName =3D tempfile.mk= stemp()<br></blockquote><blockquote type=3D"cite"> = f =3D os.fdopen(fd, 'w')<br></blo= ckquote><blockquote type=3D"cite"> &nbs=
</blockquote><blockquote type=3D"cite"> &nbs=
<div>Thu, 28 Jun 2012 12:25:53 DEBUG package libjpeg is not i= nstalled</div><div><br></div><div>Thu, 28 Jun 2012 12:25:53 DEBUG &n= bsp;</div><div>Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP comp= onent=3D'VDS PACKAGES' status=3D'OK' result=3D'libjpeg' message=3D'package =
self.rc= =3D False<br></blockquote><blockquote type=3D"cite"> &nb= sp; self.status =3D 'FAIL'<br></bl= ockquote><blockquote type=3D"cite"><br></blockquote><blockquote type=3D"cit= e"> self._xmlOutput('CreateConf',= self.status, None, None, self.message)<br></blockquote><blockquote type=3D= "cite"> return self.rc<br></block= quote><blockquote type=3D"cite"><br></blockquote><blockquote type=3D"cite">= <br></blockquote><blockquote type=3D"cite">What now? Can anyone tell me why= it fails? Besides the obvious "it=B4s beta" of course:)<br></blockquote></=
--_000_054D6781E5554794B89EA8AD20EF9D80sluse_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 28 jun 2012 kl. 15.55 skrev Dan Kenigsberg: On Thu, Jun 28, 2012 at 12:32:27PM +0200, Karli Sj=F6berg wrote: Hi, I am running Fedora 17 and added the ovirt beta repository to have access t= o webadmin addition, since F17 only comes with CLI by default. <snip> The action in question "CreateConf" looks like: /usr/share/vdsm-bootstrap/vds_bootstrap.py def _makeConfig(self): import datetime from config import config if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines =3D [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(date= time.datetime.now()) + "\n") lines.append ("\n") lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path =3D " + config.get('vars', 'trus= t_store_path') + "\n") lines.append ("ssl =3D " + config.get('vars', 'ssl') + "\n") lines.append ("\n") lines.append ("[addresses]\n") #Adding mgt port for the coming s= cirpts. lines.append ("management_port =3D " + config.get('addresses', '= management_port') + "\n") logging.debug("makeConfig: writing the following to " + VDSM_CON= F) logging.debug(lines) fd, tmpName =3D tempfile.mkstemp() f =3D os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message =3D 'Basic configuration found, skipping this step' logging.debug(self.message) def createConf(self): """ Generate initial configuration file for VDSM. Must run after pac= kage installation! """ self.message =3D 'Basic configuration set' self.rc =3D True self.status =3D 'OK' try: self._makeConfig() except Exception, e: logging.error('', exc_info=3DTrue) ^^^^ the interesting stuff is written to a log file, sitting in your /tmp or a directory below it. Which module fails to be imported? /tmp/vds_bootstrap.210442.log: Thu, 28 Jun 2012 12:25:51 DEBUG Installing libjpeg 0 Thu, 28 Jun 2012 12:25:51 DEBUG ['/usr/bin/yum', '-y', 'install', 'libjp= eg'] Thu, 28 Jun 2012 12:25:53 DEBUG Loaded plugins: langpacks, presto, refre= sh-packagekit, versionlock Package libjpeg-turbo-1.2.0-1.fc17.x86_64 already installed and latest vers= ion Nothing to do Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG ['/bin/rpm', '-q', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG package libjpeg is not installed Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component=3D'VDS PACKAGES' statu= s=3D'OK' result=3D'libjpeg' message=3D'package libjpeg is not installed '/> Thu, 28 Jun 2012 12:25:53 ERROR Traceback (most recent call last): File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 5= 94, in createConf self._makeConfig() File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 5= 57, in _makeConfig from config import config ImportError: No module named config Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component=3D'CreateConf' status= =3D'FAIL' message=3D'Basic configuration failed to import default values'/> Thu, 28 Jun 2012 12:25:53 ERROR createConf failed Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component=3D'RHEV_INSTALL' statu= s=3D'FAIL'/> Thu, 28 Jun 2012 12:25:53 DEBUG **** End VDS Validation **** Which version of vdsm-bootstrap do you have installed? if it is not a 4.10.something, I suggest you upgrade. # rpm -qa | grep vdsm-bootstrap vdsm-bootstrap-4.9.3.2-0.fc17.noarch self.message =3D 'Basic configuration failed' if isinstance(e, ImportError): self.message =3D self.message + ' to import default values' self.rc =3D False self.status =3D 'FAIL' self._xmlOutput('CreateConf', self.status, None, None, self.message) return self.rc What now? Can anyone tell me why it fails? Besides the obvious "it=B4s beta= " of course:) Med V=E4nliga H=E4lsningar ---------------------------------------------------------------------------= ---- Karli Sj=F6berg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kron=E5sv=E4gen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se<mailto:karli.sjoberg@adm.slu.se> --_000_054D6781E5554794B89EA8AD20EF9D80sluse_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:= space; -webkit-line-break: after-white-space; "><br><div><div>28 jun 2012 = kl. 15.55 skrev Dan Kenigsberg:</div><br class=3D"Apple-interchange-newline= "><blockquote type=3D"cite"><div>On Thu, Jun 28, 2012 at 12:32:27PM +0200, = Karli Sj=F6berg wrote:<br><blockquote type=3D"cite">Hi,<br></blockquote><bl= ockquote type=3D"cite"><br></blockquote><blockquote type=3D"cite">I am runn= ing Fedora 17 and added the ovirt beta repository to have access to webadmi= n addition, since F17 only comes with CLI by default.<br></blockquote><bloc= kquote type=3D"cite"><br></blockquote><br><snip><br><br><blockquote t= ype=3D"cite"><br></blockquote><blockquote type=3D"cite"><br></blockquote><b= lockquote type=3D"cite">The action in question "CreateConf" looks like:<br>= </blockquote><blockquote type=3D"cite"><br></blockquote><blockquote type=3D= "cite">/usr/share/vdsm-bootstrap/vds_bootstrap.py<br></blockquote><blockquo= te type=3D"cite"><br></blockquote><blockquote type=3D"cite"> &n= bsp;def _makeConfig(self):<br></blockquote><blockquote type=3D"cite">  = ; import datetime<br></blockquote><block= quote type=3D"cite"> from config = import config<br></blockquote><blockquote type=3D"cite"><br></blockquote><b= lockquote type=3D"cite"> if not o= s.path.exists(VDSM_CONF):<br></blockquote><blockquote type=3D"cite"> = logging.debug("= makeConfig: generating conf.")<br></blockquote><blockquote type=3D"cite"> &= nbsp; lines =3D = []<br></blockquote><blockquote type=3D"cite">  = ; lines.append ("# Auto-generated by vds= _bootstrap at:" + str(datetime.datetime.now()) + "\n")<br></blockquote><blo= ckquote type=3D"cite"> &nbs= p; lines.append ("\n")<br></blockquote><blockquote type=3D"cite"= p; lines.append ("trus= t_store_path =3D " + config.get('vars', 'trust_store_path') + "\n")<br></bl= ockquote><blockquote type=3D"cite"> &nb= sp; lines.append ("ssl =3D " + config.get('vars', 's= sl') + "\n")<br></blockquote><blockquote type=3D"cite"> &= nbsp; lines.append ("\n")<br></blo= ckquote><blockquote type=3D"cite"><br></blockquote><blockquote type=3D"cite= "> lines.= append ("[addresses]\n") #Adding mgt port for the coming scirpts.<br></bloc= kquote><blockquote type=3D"cite">  = ; lines.append ("management_port =3D " + config.get(= 'addresses', 'management_port') + "\n")<br></blockquote><blockquote type=3D= "cite"><br></blockquote><blockquote type=3D"cite"> = logging.debug("makeConfig: writin= g the following to " + VDSM_CONF)<br></blockquote><blockquote type=3D"cite"= p; f.writelines(lines)<br></blockquote><blockquote t= ype=3D"cite"> &= nbsp;f.close()<br></blockquote><blockquote type=3D"cite">  = ; os.chmod(tmpName, 0644)<br= p; shutil.move(tmpName, VDSM_CONF)<br></blockq= uote><blockquote type=3D"cite"> e= lse:<br></blockquote><blockquote type=3D"cite"> &nb= sp; self.message =3D 'Basic configuratio= n found, skipping this step'<br></blockquote><blockquote type=3D"cite"> &nb= sp; logging.debu= g(self.message)<br></blockquote><blockquote type=3D"cite"><br></blockquote>= <blockquote type=3D"cite"> def createConf(self):<br></blo= ckquote><blockquote type=3D"cite"> &nbs= p;"""<br></blockquote><blockquote type=3D"cite"> &n= bsp; Generate initial configuration file= for VDSM. Must run after package installation!<br></blockquote><blockquote= type=3D"cite"> """<br></blockquo= te><blockquote type=3D"cite"> sel= f.message =3D 'Basic configuration set'<br></blockquote><blockquote type=3D= "cite"> self.rc =3D True<br></blo= ckquote><blockquote type=3D"cite"> &nbs= p;self.status =3D 'OK'<br></blockquote><blockquote type=3D"cite"><br></bloc= kquote><blockquote type=3D"cite">  = ;try:<br></blockquote><blockquote type=3D"cite"> &n= bsp; self._makeConfig()<br></blockquote>= <blockquote type=3D"cite"> except= Exception, e:<br></blockquote><blockquote type=3D"cite">  = ; logging.error('', exc_info= =3DTrue)<br></blockquote><br>^^^^ the interesting stuff is written to a log= file, sitting in your<br>/tmp or a directory below it. Which module fails = to be imported?<br></div></blockquote><div><br></div><div>/tmp/vds_bootstra= p.210442.log:</div><div><br></div><div>Thu, 28 Jun 2012 12:25:51 DEBUG &nbs= p; Installing libjpeg 0</div><div>Thu, 28 Jun 2012 12:25:51 DEBUG &nb= sp; ['/usr/bin/yum', '-y', 'install', 'libjpeg']</div><div>Thu, 28 Ju= n 2012 12:25:53 DEBUG Loaded plugins: langpacks, presto, refre= sh-packagekit, versionlock</div><div>Package libjpeg-turbo-1.2.0-1.fc17.x86= _64 already installed and latest version</div><div>Nothing to do</div><div>= <br></div><div>Thu, 28 Jun 2012 12:25:53 DEBUG </div><div>Thu,= 28 Jun 2012 12:25:53 DEBUG ['/bin/rpm', '-q', 'libjpeg']</div= libjpeg is not installed '/></div><div>Thu, 28 Jun 2012 12:25:53 ERROR &= nbsp; </div><div>Traceback (most recent call last):</div><div> = File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594= , in createConf</div><div> self._makeConfig()</div><div> = File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 55= 7, in _makeConfig</div><div> from config import config</div><d= iv>ImportError: No module named config</div><div>Thu, 28 Jun 2012 12:25:53 = DEBUG <BSTRAP component=3D'CreateConf' status=3D'FAIL' mess= age=3D'Basic configuration failed to import default values'/></div><div>= Thu, 28 Jun 2012 12:25:53 ERROR createConf failed</div><div>Th= u, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component=3D'RHEV_INS= TALL' status=3D'FAIL'/></div><div>Thu, 28 Jun 2012 12:25:53 DEBUG = **** End VDS Validation ****</div><div><br></div><blockquote type=3D= "cite"><div><br>Which version of vdsm-bootstrap do you have installed? if i= t is not a<br>4.10.something, I suggest you upgrade.<br></div></blockquote>= <div><br></div><div># rpm -qa | grep vdsm-bootstrap</div><div>vdsm-bootstra= p-4.9.3.2-0.fc17.noarch</div><div><br></div><blockquote type=3D"cite"><div>= <br><br><br><blockquote type=3D"cite"> = self.message =3D 'Basic configuration failed'= <br></blockquote><blockquote type=3D"cite"> &= nbsp; if isinstance(e, ImportError):<br></bloc= kquote><blockquote type=3D"cite">  = ; self.message =3D self.mess= age + ' to import default values'<br></blockquote><blockquote type=3D"cite"= div></blockquote></div><br><div> <div><br class=3D"Apple-interchange-newline"><br></div><div>Med V=E4nliga H= =E4lsningar<br>------------------------------------------------------------= -------------------<br>Karli Sj=F6berg<br>Swedish University of Agricultura= l Sciences<br>Box 7079 (Visiting Address Kron=E5sv=E4gen 8)<br>S-750 07 Upp= sala, Sweden<br>Phone: +46-(0)18-67 15 66</div><div><a href=3D"mailto= :karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a></div> </div> <br></body></html>= --_000_054D6781E5554794B89EA8AD20EF9D80sluse_--

On Jun 28, 2012, at 16:12 , Karli Sjöberg wrote:
28 jun 2012 kl. 15.55 skrev Dan Kenigsberg:
On Thu, Jun 28, 2012 at 12:32:27PM +0200, Karli Sjöberg wrote:
Hi,
I am running Fedora 17 and added the ovirt beta repository to have access to webadmin addition, since F17 only comes with CLI by default.
<snip>
The action in question "CreateConf" looks like:
/usr/share/vdsm-bootstrap/vds_bootstrap.py
def _makeConfig(self): import datetime from config import config
if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines = [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(datetime.datetime.now()) + "\n") lines.append ("\n")
lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path = " + config.get('vars', 'trust_store_path') + "\n") lines.append ("ssl = " + config.get('vars', 'ssl') + "\n") lines.append ("\n")
lines.append ("[addresses]\n") #Adding mgt port for the coming scirpts. lines.append ("management_port = " + config.get('addresses', 'management_port') + "\n")
logging.debug("makeConfig: writing the following to " + VDSM_CONF) logging.debug(lines) fd, tmpName = tempfile.mkstemp() f = os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message = 'Basic configuration found, skipping this step' logging.debug(self.message)
def createConf(self): """ Generate initial configuration file for VDSM. Must run after package installation! """ self.message = 'Basic configuration set' self.rc = True self.status = 'OK'
try: self._makeConfig() except Exception, e: logging.error('', exc_info=True)
^^^^ the interesting stuff is written to a log file, sitting in your /tmp or a directory below it. Which module fails to be imported?
/tmp/vds_bootstrap.210442.log:
Thu, 28 Jun 2012 12:25:51 DEBUG Installing libjpeg 0 Thu, 28 Jun 2012 12:25:51 DEBUG ['/usr/bin/yum', '-y', 'install', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG Loaded plugins: langpacks, presto, refresh-packagekit, versionlock Package libjpeg-turbo-1.2.0-1.fc17.x86_64 already installed and latest version Nothing to do
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG ['/bin/rpm', '-q', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG package libjpeg is not installed
yeah - exactly. A thing to be fixed in oVirt, please go ahead and open a bug:). I guess for now you can change the library name in vds_bootstrap.py to libjpeg-turbo and it should work. It provides the same library at the end so it should not matter later
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='package libjpeg is not installed '/> Thu, 28 Jun 2012 12:25:53 ERROR Traceback (most recent call last): File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594, in createConf self._makeConfig() File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 557, in _makeConfig from config import config ImportError: No module named config Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/> Thu, 28 Jun 2012 12:25:53 ERROR createConf failed Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component='RHEV_INSTALL' status='FAIL'/> Thu, 28 Jun 2012 12:25:53 DEBUG **** End VDS Validation ****
Which version of vdsm-bootstrap do you have installed? if it is not a 4.10.something, I suggest you upgrade.
# rpm -qa | grep vdsm-bootstrap vdsm-bootstrap-4.9.3.2-0.fc17.noarch
self.message = 'Basic configuration failed' if isinstance(e, ImportError): self.message = self.message + ' to import default values' self.rc = False self.status = 'FAIL'
self._xmlOutput('CreateConf', self.status, None, None, self.message) return self.rc
What now? Can anyone tell me why it fails? Besides the obvious "it´s beta" of course:)
Med Vänliga Hälsningar ------------------------------------------------------------------------------- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thu, Jun 28, 2012 at 04:12:15PM +0200, Karli Sjöberg wrote:
28 jun 2012 kl. 15.55 skrev Dan Kenigsberg:
On Thu, Jun 28, 2012 at 12:32:27PM +0200, Karli Sjöberg wrote: Hi,
I am running Fedora 17 and added the ovirt beta repository to have access to webadmin addition, since F17 only comes with CLI by default.
<snip>
The action in question "CreateConf" looks like:
/usr/share/vdsm-bootstrap/vds_bootstrap.py
def _makeConfig(self): import datetime from config import config
if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines = [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(datetime.datetime.now()) + "\n") lines.append ("\n")
lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path = " + config.get('vars', 'trust_store_path') + "\n") lines.append ("ssl = " + config.get('vars', 'ssl') + "\n") lines.append ("\n")
lines.append ("[addresses]\n") #Adding mgt port for the coming scirpts. lines.append ("management_port = " + config.get('addresses', 'management_port') + "\n")
logging.debug("makeConfig: writing the following to " + VDSM_CONF) logging.debug(lines) fd, tmpName = tempfile.mkstemp() f = os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message = 'Basic configuration found, skipping this step' logging.debug(self.message)
def createConf(self): """ Generate initial configuration file for VDSM. Must run after package installation! """ self.message = 'Basic configuration set' self.rc = True self.status = 'OK'
try: self._makeConfig() except Exception, e: logging.error('', exc_info=True)
^^^^ the interesting stuff is written to a log file, sitting in your /tmp or a directory below it. Which module fails to be imported?
/tmp/vds_bootstrap.210442.log:
Thu, 28 Jun 2012 12:25:51 DEBUG Installing libjpeg 0 Thu, 28 Jun 2012 12:25:51 DEBUG ['/usr/bin/yum', '-y', 'install', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG Loaded plugins: langpacks, presto, refresh-packagekit, versionlock Package libjpeg-turbo-1.2.0-1.fc17.x86_64 already installed and latest version Nothing to do
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG ['/bin/rpm', '-q', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG package libjpeg is not installed
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='package libjpeg is not installed '/> Thu, 28 Jun 2012 12:25:53 ERROR Traceback (most recent call last): File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594, in createConf self._makeConfig() File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 557, in _makeConfig from config import config ImportError: No module named config Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/> Thu, 28 Jun 2012 12:25:53 ERROR createConf failed Thu, 28 Jun 2012 12:25:53 DEBUG <BSTRAP component='RHEV_INSTALL' status='FAIL'/> Thu, 28 Jun 2012 12:25:53 DEBUG **** End VDS Validation ****
Which version of vdsm-bootstrap do you have installed? if it is not a 4.10.something, I suggest you upgrade.
# rpm -qa | grep vdsm-bootstrap vdsm-bootstrap-4.9.3.2-0.fc17.noarch
That's too old to install ovirt-3.1. Please retry with the one on the beta repo http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-b...

On 06/28/2012 10:41 AM, Dan Kenigsberg wrote:
On Thu, Jun 28, 2012 at 04:12:15PM +0200, Karli Sjöberg wrote:
28 jun 2012 kl. 15.55 skrev Dan Kenigsberg:
On Thu, Jun 28, 2012 at 12:32:27PM +0200, Karli Sjöberg wrote: Hi,
I am running Fedora 17 and added the ovirt beta repository to have access to webadmin addition, since F17 only comes with CLI by default.
<snip>
The action in question "CreateConf" looks like:
/usr/share/vdsm-bootstrap/vds_bootstrap.py
def _makeConfig(self): import datetime from config import config
if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines = [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(datetime.datetime.now()) + "\n") lines.append ("\n")
lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path = " + config.get('vars', 'trust_store_path') + "\n") lines.append ("ssl = " + config.get('vars', 'ssl') + "\n") lines.append ("\n")
lines.append ("[addresses]\n") #Adding mgt port for the coming scirpts. lines.append ("management_port = " + config.get('addresses', 'management_port') + "\n")
logging.debug("makeConfig: writing the following to " + VDSM_CONF) logging.debug(lines) fd, tmpName = tempfile.mkstemp() f = os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message = 'Basic configuration found, skipping this step' logging.debug(self.message)
def createConf(self): """ Generate initial configuration file for VDSM. Must run after package installation! """ self.message = 'Basic configuration set' self.rc = True self.status = 'OK'
try: self._makeConfig() except Exception, e: logging.error('', exc_info=True)
^^^^ the interesting stuff is written to a log file, sitting in your /tmp or a directory below it. Which module fails to be imported?
/tmp/vds_bootstrap.210442.log:
Thu, 28 Jun 2012 12:25:51 DEBUG Installing libjpeg 0 Thu, 28 Jun 2012 12:25:51 DEBUG ['/usr/bin/yum', '-y', 'install', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG Loaded plugins: langpacks, presto, refresh-packagekit, versionlock Package libjpeg-turbo-1.2.0-1.fc17.x86_64 already installed and latest version Nothing to do
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG ['/bin/rpm', '-q', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG package libjpeg is not installed
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG<BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='package libjpeg is not installed '/> Thu, 28 Jun 2012 12:25:53 ERROR Traceback (most recent call last): File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594, in createConf self._makeConfig() File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 557, in _makeConfig from config import config ImportError: No module named config Thu, 28 Jun 2012 12:25:53 DEBUG<BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/> Thu, 28 Jun 2012 12:25:53 ERROR createConf failed Thu, 28 Jun 2012 12:25:53 DEBUG<BSTRAP component='RHEV_INSTALL' status='FAIL'/> Thu, 28 Jun 2012 12:25:53 DEBUG **** End VDS Validation ****
Which version of vdsm-bootstrap do you have installed? if it is not a 4.10.something, I suggest you upgrade.
# rpm -qa | grep vdsm-bootstrap vdsm-bootstrap-4.9.3.2-0.fc17.noarch
That's too old to install ovirt-3.1. Please retry with the one on the beta repo http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-b...
indeed. i think the error is not about libjpeg at all, which is probably provided by libjpeg-turbo as yum install for it suggest. so just a too old bootstrap file as danken suggests, causing this which is the actual error:
Traceback (most recent call last): File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594, in createConf self._makeConfig() File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 557, in _makeConfig from config import config ImportError: No module named config

________________________________________ Från: Itamar Heim [iheim@redhat.com] Skickat: den 28 juni 2012 18:35 Till: Dan Kenigsberg Kopia: Karli Sjöberg; users@oVirt.org Ämne: Re: [Users] BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values' On 06/28/2012 10:41 AM, Dan Kenigsberg wrote:
On Thu, Jun 28, 2012 at 04:12:15PM +0200, Karli Sjöberg wrote:
28 jun 2012 kl. 15.55 skrev Dan Kenigsberg:
On Thu, Jun 28, 2012 at 12:32:27PM +0200, Karli Sjöberg wrote: Hi,
I am running Fedora 17 and added the ovirt beta repository to have access to webadmin addition, since F17 only comes with CLI by default.
<snip>
The action in question "CreateConf" looks like:
/usr/share/vdsm-bootstrap/vds_bootstrap.py
def _makeConfig(self): import datetime from config import config
if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines = [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(datetime.datetime.now()) + "\n") lines.append ("\n")
lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path = " + config.get('vars', 'trust_store_path') + "\n") lines.append ("ssl = " + config.get('vars', 'ssl') + "\n") lines.append ("\n")
lines.append ("[addresses]\n") #Adding mgt port for the coming scirpts. lines.append ("management_port = " + config.get('addresses', 'management_port') + "\n")
logging.debug("makeConfig: writing the following to " + VDSM_CONF) logging.debug(lines) fd, tmpName = tempfile.mkstemp() f = os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message = 'Basic configuration found, skipping this step' logging.debug(self.message)
def createConf(self): """ Generate initial configuration file for VDSM. Must run after package installation! """ self.message = 'Basic configuration set' self.rc = True self.status = 'OK'
try: self._makeConfig() except Exception, e: logging.error('', exc_info=True)
^^^^ the interesting stuff is written to a log file, sitting in your /tmp or a directory below it. Which module fails to be imported?
/tmp/vds_bootstrap.210442.log:
Thu, 28 Jun 2012 12:25:51 DEBUG Installing libjpeg 0 Thu, 28 Jun 2012 12:25:51 DEBUG ['/usr/bin/yum', '-y', 'install', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG Loaded plugins: langpacks, presto, refresh-packagekit, versionlock Package libjpeg-turbo-1.2.0-1.fc17.x86_64 already installed and latest version Nothing to do
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG ['/bin/rpm', '-q', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG package libjpeg is not installed
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG<BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='package libjpeg is not installed '/> Thu, 28 Jun 2012 12:25:53 ERROR Traceback (most recent call last): File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594, in createConf self._makeConfig() File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 557, in _makeConfig from config import config ImportError: No module named config Thu, 28 Jun 2012 12:25:53 DEBUG<BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/> Thu, 28 Jun 2012 12:25:53 ERROR createConf failed Thu, 28 Jun 2012 12:25:53 DEBUG<BSTRAP component='RHEV_INSTALL' status='FAIL'/> Thu, 28 Jun 2012 12:25:53 DEBUG **** End VDS Validation ****
Which version of vdsm-bootstrap do you have installed? if it is not a 4.10.something, I suggest you upgrade.
# rpm -qa | grep vdsm-bootstrap vdsm-bootstrap-4.9.3.2-0.fc17.noarch
That's too old to install ovirt-3.1. Please retry with the one on the beta repo http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-b...
indeed. i think the error is not about libjpeg at all, which is probably provided by libjpeg-turbo as yum install for it suggest. so just a too old bootstrap file as danken suggests, causing this which is the actual error:
Traceback (most recent call last): File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594, in createConf self._makeConfig() File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 557, in _makeConfig from config import config ImportError: No module named config
rpm -U http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-b... Then, after next "Re-Install" more /tmp/vds_bootstrap.470161.log Thu, 28 Jun 2012 19:39:45 DEBUG **** Start VDS Validation **** Thu, 28 Jun 2012 19:39:45 DEBUG Entered VdsValidation(subject = '172.22.8.14', random_num = 'e27aad2f-4bb2-42f1-930e-6c7bab54fb1c', rev_num = 'None', installVirtualizationService = 'True',installGlusterService = 'False') Thu, 28 Jun 2012 19:39:45 ERROR checkRegistration: Error searching for VDSM package! Traceback (most recent call last): File "/tmp/vds_bootstrap_e27aad2f-4bb2-42f1-930e-6c7bab54fb1c.py", line 228, in checkRegistration rc = bool(deployUtil.yumListPackages(VDSM_NAME)) AttributeError: 'module' object has no attribute 'yumListPackages' Thu, 28 Jun 2012 19:39:45 ERROR Unable to fetch vdsm package. Please check if host is registered to RHN, Satellite or other yum repository Thu, 28 Jun 2012 19:39:45 DEBUG <BSTRAP component='RHN_REGISTRATION' status='FAIL' message='Unable to fetch vdsm package. Please check if host is registered to RHN, Satellite or other yum repository'/> Thu, 28 Jun 2012 19:39:45 ERROR checkRegistration test failed Thu, 28 Jun 2012 19:39:45 DEBUG <BSTRAP component='RHEV_INSTALL' status='FAIL'/> Thu, 28 Jun 2012 19:39:45 DEBUG **** End VDS Validation ****

On Thu, Jun 28, 2012 at 08:36:14PM +0200, Karli Sjöberg wrote:
________________________________________ Från: Itamar Heim [iheim@redhat.com] Skickat: den 28 juni 2012 18:35 Till: Dan Kenigsberg Kopia: Karli Sjöberg; users@oVirt.org Ämne: Re: [Users] BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'
On 06/28/2012 10:41 AM, Dan Kenigsberg wrote:
On Thu, Jun 28, 2012 at 04:12:15PM +0200, Karli Sjöberg wrote:
28 jun 2012 kl. 15.55 skrev Dan Kenigsberg:
On Thu, Jun 28, 2012 at 12:32:27PM +0200, Karli Sjöberg wrote: Hi,
I am running Fedora 17 and added the ovirt beta repository to have access to webadmin addition, since F17 only comes with CLI by default.
<snip>
The action in question "CreateConf" looks like:
/usr/share/vdsm-bootstrap/vds_bootstrap.py
def _makeConfig(self): import datetime from config import config
if not os.path.exists(VDSM_CONF): logging.debug("makeConfig: generating conf.") lines = [] lines.append ("# Auto-generated by vds_bootstrap at:" + str(datetime.datetime.now()) + "\n") lines.append ("\n")
lines.append ("[vars]\n") #Adding ts for the coming scirpts. lines.append ("trust_store_path = " + config.get('vars', 'trust_store_path') + "\n") lines.append ("ssl = " + config.get('vars', 'ssl') + "\n") lines.append ("\n")
lines.append ("[addresses]\n") #Adding mgt port for the coming scirpts. lines.append ("management_port = " + config.get('addresses', 'management_port') + "\n")
logging.debug("makeConfig: writing the following to " + VDSM_CONF) logging.debug(lines) fd, tmpName = tempfile.mkstemp() f = os.fdopen(fd, 'w') f.writelines(lines) f.close() os.chmod(tmpName, 0644) shutil.move(tmpName, VDSM_CONF) else: self.message = 'Basic configuration found, skipping this step' logging.debug(self.message)
def createConf(self): """ Generate initial configuration file for VDSM. Must run after package installation! """ self.message = 'Basic configuration set' self.rc = True self.status = 'OK'
try: self._makeConfig() except Exception, e: logging.error('', exc_info=True)
^^^^ the interesting stuff is written to a log file, sitting in your /tmp or a directory below it. Which module fails to be imported?
/tmp/vds_bootstrap.210442.log:
Thu, 28 Jun 2012 12:25:51 DEBUG Installing libjpeg 0 Thu, 28 Jun 2012 12:25:51 DEBUG ['/usr/bin/yum', '-y', 'install', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG Loaded plugins: langpacks, presto, refresh-packagekit, versionlock Package libjpeg-turbo-1.2.0-1.fc17.x86_64 already installed and latest version Nothing to do
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG ['/bin/rpm', '-q', 'libjpeg'] Thu, 28 Jun 2012 12:25:53 DEBUG package libjpeg is not installed
Thu, 28 Jun 2012 12:25:53 DEBUG Thu, 28 Jun 2012 12:25:53 DEBUG<BSTRAP component='VDS PACKAGES' status='OK' result='libjpeg' message='package libjpeg is not installed '/> Thu, 28 Jun 2012 12:25:53 ERROR Traceback (most recent call last): File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594, in createConf self._makeConfig() File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 557, in _makeConfig from config import config ImportError: No module named config Thu, 28 Jun 2012 12:25:53 DEBUG<BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'/> Thu, 28 Jun 2012 12:25:53 ERROR createConf failed Thu, 28 Jun 2012 12:25:53 DEBUG<BSTRAP component='RHEV_INSTALL' status='FAIL'/> Thu, 28 Jun 2012 12:25:53 DEBUG **** End VDS Validation ****
Which version of vdsm-bootstrap do you have installed? if it is not a 4.10.something, I suggest you upgrade.
# rpm -qa | grep vdsm-bootstrap vdsm-bootstrap-4.9.3.2-0.fc17.noarch
That's too old to install ovirt-3.1. Please retry with the one on the beta repo http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-b...
indeed. i think the error is not about libjpeg at all, which is probably provided by libjpeg-turbo as yum install for it suggest. so just a too old bootstrap file as danken suggests, causing this which is the actual error:
Traceback (most recent call last): File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594, in createConf self._makeConfig() File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 557, in _makeConfig from config import config ImportError: No module named config
rpm -U http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-b...
Then, after next "Re-Install"
more /tmp/vds_bootstrap.470161.log Thu, 28 Jun 2012 19:39:45 DEBUG **** Start VDS Validation **** Thu, 28 Jun 2012 19:39:45 DEBUG Entered VdsValidation(subject = '172.22.8.14', random_num = 'e27aad2f-4bb2-42f1-930e-6c7bab54fb1c', rev_num = 'None', installVirtualizationService = 'True',installGlusterService = 'False') Thu, 28 Jun 2012 19:39:45 ERROR checkRegistration: Error searching for VDSM package! Traceback (most recent call last): File "/tmp/vds_bootstrap_e27aad2f-4bb2-42f1-930e-6c7bab54fb1c.py", line 228, in checkRegistration rc = bool(deployUtil.yumListPackages(VDSM_NAME)) AttributeError: 'module' object has no attribute 'yumListPackages'
Which version of vdsm-bootstrap do you have installed on your Engine machine? deployUtil.yumListPackages exists since 4.10.0-3. If you try again, please use the latest offering http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/4.fc17/noarch/vdsm-b... For some reason, your deployUtil.py is an older one, without yumListPackages. Please make sure (grep) that the copy being used by Engine has this function. Dan.
participants (4)
-
Dan Kenigsberg
-
Itamar Heim
-
Karli Sjöberg
-
Michal Skrivanek