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

Karli Sjöberg Karli.Sjoberg at slu.se
Fri Jun 29 07:27:21 UTC 2012


28 jun 2012 kl. 22.11 skrev Doron Fediuck:

Please rm /tmp/*py* in your host.
Older scripts may be interrupting.

# rm -f /tmp/*py*
# rm -f /tmp/*log*
# rm -f /tmp/*tmp*


"Re-Install"


/var/log/ovirt-engine/engine.log:

2012-06-29 08:30:06,086 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (ajp--0.0.0.0-8009-4) [559d5743] START, SetVdsStatusVDSCommand(vdsId = 105460c0-c0ea-11e1-b737-9b694eb255f6, status=Installing, nonOperationalReason=NONE), log id: 319f47bf
2012-06-29 08:30:06,109 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (ajp--0.0.0.0-8009-4) [559d5743] FINISH, SetVdsStatusVDSCommand, log id: 319f47bf
2012-06-29 08:30:06,119 INFO  [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-3-thread-19) [25c5a6c9] Running command: InstallVdsCommand internal: true. Entities affected :  ID: 105460c0-c0ea-11e1-b737-9b694eb255f6 Type: VDS
2012-06-29 08:30:06,127 INFO  [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-3-thread-19) [25c5a6c9] Before Installation pool-3-thread-19
2012-06-29 08:30:06,130 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Starting Host installation)
2012-06-29 08:30:06,136 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Connecting to Host)
2012-06-29 08:30:06,172 INFO  [org.ovirt.engine.core.utils.hostinstall.HostKeyVerifier] (NioProcessor-29) 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-29 08:30:06,248 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:30:06,267 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Successfully connected to server ssh. (Stage: Connecting to Host)
2012-06-29 08:30:06,280 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Get the unique vds id)
2012-06-29 08:30:06,288 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) 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-29 08:30:06,350 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:30:06,368 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:30:06,372 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) RunSSHCommand returns true
2012-06-29 08:30:06,375 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Upload Installation script to Host)
2012-06-29 08:30:06,379 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Uploading file /usr/share/ovirt-engine/scripts/vds_installer.py to /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py on 172.22.8.14
2012-06-29 08:30:06,384 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Uploading file /usr/share/ovirt-engine/scripts/vds_installer.py to /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py on 172.22.8.14
2012-06-29 08:30:09,926 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. successfully done sftp operation ( Stage: Upload Installation script to Host)
2012-06-29 08:30:09,927 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) return true
2012-06-29 08:30:09,929 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Uploading file /tmp/firewall.conf8280102786114288737.tmp to /tmp/firewall.conf.d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 on 172.22.8.14
2012-06-29 08:30:09,930 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Uploading file /tmp/firewall.conf8280102786114288737.tmp to /tmp/firewall.conf.d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 on 172.22.8.14
2012-06-29 08:30:13,405 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. successfully done sftp operation ( Stage: Upload Installation script to Host)
2012-06-29 08:30:13,406 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) return true
2012-06-29 08:30:13,406 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Running first installation script on Host)
2012-06-29 08:30:13,407 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Sending SSH Command chmod +x /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py; /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py -c 'ssl=true;management_port=54321' -O 'slu' -t 2012-06-29T06:30:06 -f /tmp/firewall.conf.d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 -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 d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 False. (Stage: Running first installation script on Host)
2012-06-29 08:30:13,410 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Invoking chmod +x /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py; /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py -c 'ssl=true;management_port=54321' -O 'slu' -t 2012-06-29T06:30:06 -f /tmp/firewall.conf.d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 -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 d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 False on 172.22.8.14
2012-06-29 08:30:14,417 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Received message: <BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/>
<BSTRAP component='INSTALLER LIB' status='OK' message='deployUtil.py download succeeded'/>
<BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py download succeeded'/>
. FYI. (Stage: Running first installation script on Host)
2012-06-29 08:30:25,443 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Received message: <BSTRAP component='RHN_REGISTRATION' status='OK' message='Host properly registered with RHN/Satellite.'/>
. FYI. (Stage: Running first installation script on Host)
2012-06-29 08:30:26,469 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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='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 '/>
<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 '/>
<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-29 08:30:40,637 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:30:43,663 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:30:46,675 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:30:49,701 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:30:52,737 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:30:55,776 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:30:58,803 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:31:01,842 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:31:04,865 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:31:07,894 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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-29 08:31:08,919 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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='OK' message='Basic configuration found, skipping this step'/>
<BSTRAP component='CheckLocalHostname' status='OK' message='Local hostname is correct.'/>
<BSTRAP component='SetNetworking' status='OK' message='Bridge management already exists. Skipping bridge creation.'/>
<BSTRAP component='SetSSHAccess' status='OK' message='SUCCESS'/>
<BSTRAP component='Firewall' status='OK' message='overridden firewall successfully'/>
. FYI. (Stage: Running first installation script on Host)
2012-06-29 08:30:16,551 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Received message: <BSTRAP component='SET_SYSTEM_TIME' status='OK' message='setSystemTime ended successfully'/>
<BSTRAP component='VerifyServices' status='OK' message='Needed services set'/>
<BSTRAP component='Encryption setup' status='OK' message='Ended successfully'/>
<BSTRAP component='RHEV_INSTALL' status='OK'/>
. Stage completed. (Stage: Running first installation script on Host)
2012-06-29 08:30:16,571 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) RunSSHCommand returns true
2012-06-29 08:30:16,572 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9]  RunScript ended:true
2012-06-29 08:30:16,572 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Downloading certificate request from Host)
2012-06-29 08:30:16,574 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Downloading file /tmp/cert_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.req from 172.22.8.14 to /etc/pki/ovirt-engine/requests/cert_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.req
2012-06-29 08:30:20,308 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. successfully done sftp operation ( Stage: Downloading certificate request from Host)
2012-06-29 08:30:20,309 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) return true
2012-06-29 08:30:20,309 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9]  DownloadCertificateRequest ended:true
2012-06-29 08:30:20,311 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Sign certificate request and generate certificate)
2012-06-29 08:30:21,316 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9]  SignCertificateRequest ended:true
2012-06-29 08:30:21,317 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Upload signed sertificate to Host)
2012-06-29 08:30:21,318 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Uploading file /etc/pki/ovirt-engine/certs/172.22.8.14cert.pem to /tmp/cert_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.pem on 172.22.8.14
2012-06-29 08:30:21,323 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Uploading file /etc/pki/ovirt-engine/certs/172.22.8.14cert.pem to /tmp/cert_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.pem on 172.22.8.14
2012-06-29 08:30:25,056 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. successfully done sftp operation ( Stage: Upload signed sertificate to Host)
2012-06-29 08:30:25,057 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) return true
2012-06-29 08:30:25,058 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9]  UploadSignedCertificate ended:true
2012-06-29 08:30:25,058 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Upload Cerficate Autority to Host)
2012-06-29 08:30:25,059 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Uploading file /etc/pki/ovirt-engine/ca.pem to /tmp/CA_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.pem on 172.22.8.14
2012-06-29 08:30:25,060 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Uploading file /etc/pki/ovirt-engine/ca.pem to /tmp/CA_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.pem on 172.22.8.14
2012-06-29 08:30:28,774 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. successfully done sftp operation ( Stage: Upload Cerficate Autority to Host)
2012-06-29 08:30:28,775 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) return true
2012-06-29 08:30:28,776 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Executing installation stage. (Stage: Running second installation script on Host)
2012-06-29 08:30:28,777 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Sending SSH Command chmod +x /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py; /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py -c 'ssl=true;management_port=54321' -O 'slu' -t 2012-06-29T06:30:06 -f /tmp/firewall.conf.d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 -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 d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 True. (Stage: Running second installation script on Host)
2012-06-29 08:30:28,779 INFO  [org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper] (pool-3-thread-19) Invoking chmod +x /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py; /tmp/vds_installer_d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8.py -c 'ssl=true;management_port=54321' -O 'slu' -t 2012-06-29T06:30:06 -f /tmp/firewall.conf.d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 -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 d3fd4973-ac7b-4c8c-974a-12ccd70c0dd8 True on 172.22.8.14
2012-06-29 08:30:29,783 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] 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_complete.py download succeeded'/>
. FYI. (Stage: Running second installation script on Host)
2012-06-29 08:32:25,001 INFO  [org.ovirt.engine.core.bll.VdsInstaller] (pool-3-thread-19) [25c5a6c9] Installation of 172.22.8.14. Received message: <BSTRAP component='instCert' status='OK'/>
<BSTRAP component='CoreDump' status='OK'/>
<BSTRAP component='cleanAll' status='OK'/>
<BSTRAP component='VDS Configuration' status='OK'/>
<BSTRAP component='RHEV_INSTALL' status='OK'/>
. Stage completed. (Stage: Running second installation script on Host)

Reboot

2012-06-29 08:34:18,352 WARN  [org.ovirt.engine.core.dal.dbbroker.DbFacadeLocator] (MSC service thread 1-2) /etc/engine/engine.conf file is not found. Please check your engine installation. Default values will be used
2012-06-29 08:34:20,162 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) Start time: 6/29/12 8:34 AM
2012-06-29 08:34:20,363 WARN  [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: CbcCheckOnVdsChange
2012-06-29 08:34:20,368 WARN  [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: CAEngineKey
2012-06-29 08:34:20,375 WARN  [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: MinimalETLVersion
2012-06-29 08:34:20,380 WARN  [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: SQLServerI18NPrefix
2012-06-29 08:34:20,450 WARN  [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: ScriptsPath
2012-06-29 08:34:20,563 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service thread 1-2) Failed to decryptData must start with zero
2012-06-29 08:34:20,564 ERROR [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 1-2) Failed to decrypt value for property TruststorePass will be used encrypted value
2012-06-29 08:34:20,566 WARN  [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: ENGINEEARLib
2012-06-29 08:34:20,634 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) VDSBrokerFrontend: 6/29/12 8:34 AM
2012-06-29 08:34:20,639 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) CpuFlagsManager: 6/29/12 8:34 AM
2012-06-29 08:34:20,640 INFO  [org.ovirt.engine.core.bll.AuditLogCleanupManager] (MSC service thread 1-2) Setting audit clean up manager to run at: 35 35 3 * * ?
2012-06-29 08:34:20,669 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) AuditLogCleanupManager: 6/29/12 8:34 AM
2012-06-29 08:34:20,672 INFO  [org.ovirt.engine.core.bll.TagsDirector] (MSC service thread 1-2) TagsDirector initialization
2012-06-29 08:34:20,701 INFO  [org.ovirt.engine.core.bll.TagsDirector] (MSC service thread 1-2) Tag root added to tree
2012-06-29 08:34:20,722 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) TagsDirector: 6/29/12 8:34 AM
2012-06-29 08:34:20,730 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) IsoDomainListSyncronizer: 6/29/12 8:34 AM
2012-06-29 08:34:20,741 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) InitHandlers: 6/29/12 8:34 AM
2012-06-29 08:34:20,751 WARN  [org.ovirt.engine.core.utils.ErrorTranslatorImpl] (MSC service thread 1-2) Code VDS_FENCING_OPERATION_FAILED appears more then once in string table.
2012-06-29 08:34:20,752 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) ErrorTranslator: 6/29/12 8:34 AM
2012-06-29 08:34:20,753 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) VdsErrorTranslator: 6/29/12 8:34 AM
2012-06-29 08:34:20,754 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) Mark uncompleted jobs as UNKNOWN: 6/29/12 8:34 AM
2012-06-29 08:34:20,813 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) JobRepositoryCleanupManager: 6/29/12 8:34 AM
2012-06-29 08:34:20,817 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) AutoRecoveryManager: 6/29/12 8:34 AM
2012-06-29 08:34:20,820 INFO  [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) ExecutionMessageDirector: 6/29/12 8:34 AM
2012-06-29 08:34:20,833 INFO  [org.ovirt.engine.core.bll.adbroker.UsersDomainsCacheManagerService] (MSC service thread 1-4) UsersDomainsCacheManager: 6/29/12 8:34 AM
2012-06-29 08:34:20,832 INFO  [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC service thread 1-1) InitResourceManager: 6/29/12 8:34 AM
2012-06-29 08:34:20,850 INFO  [org.ovirt.engine.core.vdsbroker.ResourceManager] (MSC service thread 1-1) ResourceManager::ResourceManager::Entered
2012-06-29 08:34:20,934 INFO  [org.ovirt.engine.core.bll.adbroker.UsersDomainsCacheManagerService] (MSC service thread 1-4) DbUserCacheManager: 6/29/12 8:34 AM
2012-06-29 08:34:20,967 INFO  [org.ovirt.engine.core.bll.DbUserCacheManager] (QuartzScheduler_Worker-1) DbUserCacheManager::refreshAllUserData() - entered
2012-06-29 08:37:08,139 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-2) Checking autorecoverable hosts
2012-06-29 08:37:08,170 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-2) Autorecovering 0 hosts
2012-06-29 08:37:08,170 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-2) Checking autorecoverable hosts done
2012-06-29 08:37:08,172 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-2) Checking autorecoverable storage domains
2012-06-29 08:37:08,194 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-2) Autorecovering 0 storage domains
2012-06-29 08:37:08,194 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-2) Checking autorecoverable storage domains done
2012-06-29 08:37:09,021 INFO  [org.ovirt.engine.core.vdsbroker.VdsManager] (MSC service thread 1-1) Eneterd VdsManager:constructor
2012-06-29 08:37:09,023 INFO  [org.ovirt.engine.core.vdsbroker.VdsManager] (MSC service thread 1-1) vdsBroker(172.22.8.14,54,321)
2012-06-29 08:37:09,143 INFO  [org.ovirt.engine.core.vdsbroker.ResourceManager] (MSC service thread 1-1) ResourceManager::AddVds - VDS 105460c0-c0ea-11e1-b737-9b694eb255f6 was added to the Resource Manager
2012-06-29 08:37:09,181 INFO  [org.ovirt.engine.core.bll.AsyncTaskManager] (MSC service thread 1-1) AsyncTaskManager: Initialization of AsyncTaskManager completed successfully.
2012-06-29 08:37:09,181 INFO  [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC service thread 1-1) AsyncTaskManager: 6/29/12 8:37 AM
2012-06-29 08:37:09,183 INFO  [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC service thread 1-1) VdsLoadBalancer: 6/29/12 8:37 AM
2012-06-29 08:37:09,200 INFO  [org.ovirt.engine.core.bll.TimeLeasedVmPoolManager] (MSC service thread 1-1) TimeLeasedVmPoolManager constractor entered
2012-06-29 08:37:09,201 INFO  [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC service thread 1-1) TimeLeasedVmPoolManager: 6/29/12 8:37 AM
2012-06-29 08:37:09,215 INFO  [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC service thread 1-1) MacPoolManager: 6/29/12 8:37 AM
2012-06-29 08:37:11,266 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-6) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:13,290 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-10) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:15,310 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-14) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:17,330 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-15) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:19,349 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-21) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:21,366 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-25) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:23,385 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-26) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:25,404 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-30) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:27,422 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-34) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:29,443 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-37) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:31,462 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-41) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:33,480 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-45) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:35,675 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-46) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:37,694 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-50) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:39,717 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-57) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:41,737 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-58) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:43,754 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-62) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:45,772 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-66) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:47,789 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-67) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:49,814 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-73) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:51,831 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-77) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:53,849 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-78) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:55,865 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-82) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:57,881 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-86) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:37:59,898 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-89) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:38:01,922 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-93) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:38:03,938 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-97) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:38:05,954 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-98) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:38:07,971 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-2) ResourceManager::refreshVdsRunTimeInfo::Failed to refresh VDS , vds = 105460c0-c0ea-11e1-b737-9b694eb255f6 : test, VDS Network Error, continuing.
VDSNetworkException:
2012-06-29 08:38:09,986 ERROR [org.ovirt.engine.core.vdsbroker.VdsManager] (QuartzScheduler_Worker-10) VDS::handleNetworkException Server failed to respond,  vds_id = 105460c0-c0ea-11e1-b737-9b694eb255f6, vds_name = test, error = VDSNetworkException:
2012-06-29 08:38:10,015 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-10) AuditLogType: UNASSIGNED not exist in string table
2012-06-29 08:38:10,017 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-10) AuditLogType: STORAGE_ACTIVATE_ASYNC not exist in string table
2012-06-29 08:38:10,017 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-10) AuditLogType: DWH_STOPPED not exist in string table
2012-06-29 08:38:10,018 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-10) AuditLogType: DWH_STARTED not exist in string table
2012-06-29 08:38:10,019 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (QuartzScheduler_Worker-10) AuditLogType: DWH_ERROR not exist in string table
2012-06-29 08:38:10,137 INFO  [org.ovirt.engine.core.bll.VdsEventListener] (pool-3-thread-31) ResourceManager::vdsNotResponding entered for Host 105460c0-c0ea-11e1-b737-9b694eb255f6, 172.22.8.14
2012-06-29 08:38:10,298 ERROR [org.ovirt.engine.core.bll.VdsNotRespondingTreatmentCommand] (pool-3-thread-31) [25e9c476] Failed to run Fence script on vds:test, VMs moved to UnKnown instead.


OK, one step forward and one step back. It seems as if the host installation went through, but after reboot, I have no contact with the web user interface. It thinks it´s active:
# systemctl is-active ovirt-engine.service
active

But I don´t even get to the initial portal chooser-page.

/Karli


Sent from my Android phone. Please ignore typos.

-----Original Message-----
From: =?iso-8859-1?Q?Karli_Sj=F6berg?= [Karli.Sjoberg at slu.se]
Received: Thursday, 28 Jun 2012, 21:37
To: Itamar Heim [iheim at redhat.com]; Dan Kenigsberg [danken at redhat.com]
CC: users at oVirt.org<mailto:users at oVirt.org> [users at ovirt.org]
Subject: Re: [Users] BSTRAP component='CreateConf' status='FAIL' message='Basic configuration failed to import default values'

________________________________________
Från: Itamar Heim [iheim at redhat.com]
Skickat: den 28 juni 2012 18:35
Till: Dan Kenigsberg
Kopia: Karli Sjöberg; users at oVirt.org<mailto:users at 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.






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
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
Thu, 28 Jun 2012 12:25:53 ERROR    createConf failed
Thu, 28 Jun 2012 12:25:53 DEBUG
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-bootstrap-4.10.0-3.fc17.noarch.rpm


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-bootstrap-4.10.0-3.fc17.noarch.rpm

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
Thu, 28 Jun 2012 19:39:45 ERROR    checkRegistration test failed
Thu, 28 Jun 2012 19:39:45 DEBUG
Thu, 28 Jun 2012 19:39:45 DEBUG    **** End VDS Validation ****
_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

Sent from my Android phone. Please ignore typos.



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 at slu.se<mailto:karli.sjoberg at adm.slu.se>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120629/90ee6215/attachment-0001.html>


More information about the Users mailing list