<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Doron,<br>
      <br>
      Do you get any idea about it?<br>
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:startup_002@sina.cn">startup_002@sina.cn</a>:<br>
    </div>
    <blockquote
      cite="mid:20130306013738.EEDC056056E@webmail.sinamail.sina.com.cn"
      type="cite">
      <div>&nbsp;Hi,<br>
        <br>
        I built the oVirt engine RPM packages from the latest oVirt
        engine source code and setup a yum installation server with
        these packages.&nbsp; I can successfully install the RPM packages on
        my oVirt engine test server.&nbsp; But when the "engine-setup"
        command was used to setup the engine sever, the following errors
        were encountered from engine-setup log.&nbsp; It seems that
        inst_add_iso_storage_domain was not created properly for psql.&nbsp;
        Any clue to this problem?<br>
        <br>
        2013-03-05 20:02:19::DEBUG::nfsutils::192::root:: Generating
        unique uuid<br>
        2013-03-05 20:02:19::DEBUG::common_utils::501::root:: running
        sql query 'select inst_add_iso_storage_domain
        ('ab22b419-6381-4f0a-8b46-aa72c81edbb5', 'ISO_DOMAIN',
        'ead292ee-14dd-40f9-b06b-f2250f7594a9',
        'localhost.localdomain:/ISO', 0, 0)' on db server: 'localhost'.<br>
        2013-03-05 20:02:19::DEBUG::common_utils::454::root:: Executing
        command --&gt; '/usr/bin/psql -h localhost -p 5432 -U engine -d
        engine -c select inst_add_iso_storage_domain
        ('ab22b419-6381-4f0a-8b46-aa72c81edbb5', 'ISO_DOMAIN',
        'ead292ee-14dd-40f9-b06b-f2250f7594a9',
        'localhost.localdomain:/ISO', 0, 0)' in working directory
        '/root'<br>
        2013-03-05 20:02:19::DEBUG::common_utils::492::root:: output = <br>
        2013-03-05 20:02:19::DEBUG::common_utils::493::root:: stderr =
        ERROR:&nbsp; NUM:42883, DETAILS:function
        insertstorage_domain_static(uuid, character varying, character
        varying, integer, integer, unknown, integer) does not exist<br>
        <br>
        2013-03-05 20:02:19::DEBUG::common_utils::494::root:: retcode =
        1<br>
        2013-03-05 20:02:19::ERROR::engine-setup::1809::root:: Traceback
        (most recent call last):<br>
        &nbsp; File "/bin/engine-setup", line 1804, in _configNfsShare<br>
        &nbsp;&nbsp;&nbsp; _addIsoDomaintoDB(controller.CONF["sd_uuid"],
        controller.CONF["ISO_DOMAIN_NAME"])<br>
        &nbsp; File "/bin/engine-setup", line 1860, in _addIsoDomaintoDB<br>
        &nbsp;&nbsp;&nbsp; utils.execRemoteSqlCommand(getDbUser(), getDbHostName(),
        getDbPort(), basedefs.DB_NAME, sqlQuery, True,
        output_messages.ERR_FAILED_INSERT_ISO_DOMAIN%(basedefs.DB_NAME))<br>
        &nbsp; File "/usr/share/ovirt-engine/scripts/common_utils.py", line
        510, in execRemoteSqlCommand<br>
        &nbsp;&nbsp;&nbsp; return execCmd(cmdList=cmd, failOnError=failOnError,
        msg=errMsg, envDict=getPgEnv())<br>
        &nbsp; File "/usr/share/ovirt-engine/scripts/common_utils.py", line
        497, in execCmd<br>
        &nbsp;&nbsp;&nbsp; raise Exception(msg)<br>
        Exception: Failed inserting ISO domain into engine db<br>
        <br>
        2013-03-05 20:02:19::DEBUG::setup_sequences::62::root::
        Traceback (most recent call last):<br>
        &nbsp; File "/usr/share/ovirt-engine/scripts/setup_sequences.py",
        line 60, in run<br>
        &nbsp;&nbsp;&nbsp; function()<br>
        &nbsp; File "/bin/engine-setup", line 1810, in _configNfsShare<br>
        &nbsp;&nbsp;&nbsp; raise Exception(output_messages.ERR_FAILED_CFG_NFS_SHARE)<br>
        Exception: Failed to configure NFS share on this host<br>
        <br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1992::root:: *** The
        following params were used as user input:<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        override-httpd-config: yes<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        http-port: 80<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        https-port: 443<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        random-passwords: no<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        mac-range: 00:1A:4A:A8:01:00-00:1A:4A:A8:01:FF<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        host-fqdn: localhost.localdomain<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        auth-pass: ********<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root:: org-name:
        localdomain<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        application-mode: virt<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        default-dc-type: NFS<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        db-remote-install: local<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root:: db-host:
        localhost<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        db-local-pass: ********<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root:: nfs-mp:
        /ISO<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        iso-domain-name: ISO_DOMAIN<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        config-nfs: yes<br>
        2013-03-05 20:02:19::DEBUG::engine-setup::1997::root::
        firewall-manager: iptables<br>
        2013-03-05 20:02:19::ERROR::engine-setup::2413::root:: Traceback
        (most recent call last):<br>
        &nbsp; File "/bin/engine-setup", line 2407, in &lt;module&gt;<br>
        &nbsp;&nbsp;&nbsp; main(confFile)<br>
        &nbsp; File "/bin/engine-setup", line 2190, in main<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Engine-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
---
&#33298;&#26126; Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: <a class="moz-txt-link-abbreviated" href="mailto:shuming@cn.ibm.com">shuming@cn.ibm.com</a> or <a class="moz-txt-link-abbreviated" href="mailto:shuming@linux.vnet.ibm.com">shuming@linux.vnet.ibm.com</a>
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC</pre>
  </body>
</html>