[Users] could not add local storage domain

Christian Lox lox at netzwerkplanet.com
Sat Nov 3 19:23:17 UTC 2012


P.P.S.
[root at x.y.z lox]# rpm -qa | grep virt
libvirt-daemon-0.9.11.6-1.fc17.x86_64
ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
ovirt-engine-dbscripts-3.1.0-2.fc17.noarch
ovirt-engine-3.1.0-2.fc17.noarch
libvirt-0.9.11.6-1.fc17.x86_64
libvirt-lock-sanlock-0.9.11.6-1.fc17.x86_64
ovirt-engine-notification-service-3.1.0-2.fc17.noarch
ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
ovirt-engine-backend-3.1.0-2.fc17.noarch
ovirt-engine-webadmin-portal-3.1.0-2.fc17.noarch
libvirt-daemon-config-network-0.9.11.6-1.fc17.x86_64
ovirt-engine-setup-3.1.0-2.fc17.noarch
ovirt-engine-userportal-3.1.0-2.fc17.noarch
ovirt-engine-setup-plugin-allinone-3.1.0-2.fc17.noarch
ovirt-release-fedora-4-2.noarch
ovirt-engine-tools-common-3.1.0-2.fc17.noarch
libvirt-client-0.9.11.6-1.fc17.x86_64
ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch
ovirt-engine-genericapi-3.1.0-2.fc17.noarch
ovirt-engine-restapi-3.1.0-2.fc17.noarch
libvirt-daemon-config-nwfilter-0.9.11.6-1.fc17.x86_64
libvirt-python-0.9.11.6-1.fc17.x86_64
ovirt-engine-config-3.1.0-2.fc17.noarch
ovirt-engine-sdk-3.1.0.4-1.fc17.noarch

Am 03.11.2012 um 19:29 schrieb Christian Lox <lox at netzwerkplanet.com>:

> Hi all.
> 
> Trying to set up ovirt on a fedora 17 host.
> engine-setup fails with:
> 
> Installing:
> AIO: Validating CPU Compatibility...                               [ DONE ]
> Configuring oVirt-engine...                                        [ DONE ]
> Creating CA...                                                     [ DONE ]
> Editing JBoss Configuration...                                     [ DONE ]
> Setting Database Configuration...                                  [ DONE ]
> Setting Database Security...                                       [ DONE ]
> Creating Database...                                               [ DONE ]
> Updating the Default Data Center Storage Type...                   [ DONE ]
> Editing oVirt Engine Configuration...                              [ DONE ]
> Editing Postgresql Configuration...                                [ DONE ]
> Configuring the Default ISO Domain...                              [ DONE ]
> Configuring Firewall (iptables)...                                 [ DONE ]
> Starting JBoss Service...                                          [ DONE ]
> Handling HTTPD...                                                  [ DONE ]
> AIO: Creating storage directory...                                 [ DONE ]
> AIO: Adding Local Datacenter and cluster...                        [ DONE ]
> AIO: Adding Local host (This may take several minutes)...          [ DONE ]
> AIO: Adding Local storage (This may take several minutes)...    [ ERROR ]
> Error: could not add local storage domain
> Please check log file /var/log/ovirt-engine/engine-setup_2012_11_03_19_15_53.log for more information
> 
> [root at x.y.zlox]# vim /var/log/ovirt-engine/engine-setup_2012_11_03_19_15_53.log 
> 
> 
> 2012-11-03 19:18:22::INFO::all_in_one_100::286::root:: Adding local storage domain
> 2012-11-03 19:19:22::ERROR::all_in_one_100::289::root:: Traceback (most recent call last):
>  File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 287, in addStorageDomain
>    controller.CONF["API_OBJECT"].storagedomains.add(sdParams)
>  File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py", line 3587, in add
>    body=ParseHelper.toXml(storagedomain))
>  File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 117, in add
>    return self.request('POST', url, body, headers)
>  File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 128, in request
>    last=last)
>  File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/errors.py", line 98, in __init__
>    f_detail = params.parseString(res)
>  File "/usr/lib/python2.7/site-packages/ovirtsdk/xml/params.py", line 19340, in parseString
>    doc = parsexml_(StringIO(inString))
>  File "/usr/lib/python2.7/site-packages/ovirtsdk/xml/params.py", line 73, in parsexml_
>    doc = etree_.parse(*args, **kwargs)
>  File "lxml.etree.pyx", line 2957, in lxml.etree.parse (src/lxml/lxml.etree.c:59972)
>  File "parser.pxi", line 1550, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:87477)
>  File "parser.pxi", line 1578, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:87759)
>  File "parser.pxi", line 1457, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:86558)
>  File "parser.pxi", line 965, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:83179)
>  File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:79352)
>  File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:80249)
>  File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:79576)
> XMLSyntaxError: Space required after the Public Identifier, line 1, column 47
> 
> 2012-11-03 19:19:22::DEBUG::setup_sequences::62::root:: Traceback (most recent call last):
>  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run
>    function()
>  File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 290, in addStorageDomain
>    raise Exception(ERROR_ADD_LOCAL_DOMAIN)
> Exception: Error: could not add local storage domain
> 
> 2012-11-03 19:19:22::DEBUG::engine-setup::1742::root:: *** The following params were used as user input:
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: override-httpd-config: yes
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: http-port: 80
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: https-port: 443
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: mac-range: 00:1A:4A:2E:F3:00-00:1A:4A:2E:F3:FF
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: host-fqdn: x.y.z
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: auth-pass: ********
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: org-name: Simon Byte
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: default-dc-type: NFS
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: db-remote-install: local
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: db-host: localhost
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: db-local-pass: ********
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: nfs-mp: /data/ovirt/iso
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: iso-domain-name: iso
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: config-nfs: yes
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: override-iptables: no
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: config-allinone: yes
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: storage-path: /data/ovirt/vdsm
> 2012-11-03 19:19:22::DEBUG::engine-setup::1747::root:: superuser-pass: ********
> 2012-11-03 19:19:22::ERROR::engine-setup::2376::root:: Traceback (most recent call last):
>  File "/bin/engine-setup", line 2370, in <module>
>    main(confFile)
>  File "/bin/engine-setup", line 2159, in main
>    runSequences()
>  File "/bin/engine-setup", line 2105, in runSequences
> controller.runAllSequences()
>  File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences
>    sequence.run()
>  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run
>    step.run()
>  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run
>    function()
>  File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 290, in addStorageDomain
>    raise Exception(ERROR_ADD_LOCAL_DOMAIN)
> Exception: Error: could not add local storage domain
> 
> XMLSyntaxError: Space required after the Public Identifier, line 1, column 47 looks somewhat strange to me.
> 
> Any hint what causes this error?
> 
> Thanks,
> 
> Christian
> 
> P.S.: The installation failed several times before that, until i figured out that the engine-setup needs to login in via ssh; we had configured sshd to allow only public key auth, and this raised an error.
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users




More information about the Users mailing list