--_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...
/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...
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=
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=
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=
. 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 =
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_--