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

Itamar Heim iheim at redhat.com
Thu Jun 28 13:52:36 UTC 2012


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 at slu.se
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users




More information about the Users mailing list