<div dir="ltr"><br clear="all"><div>HI:All <br><br>I build source and rpm -Uvh ovirt-engine-setup-plugin-allinone-3.3.0-0.2.master.20130427145036.fc18.noarch.rpm</div><div><br></div><div>But I engine-setup have ERROR.</div>
<div>Error: could not create ovirtsdk API object<br></div><div style><br></div><div style>OS:F18 mini install.</div><div style><br></div><div><br></div><div>===================================</div><div><div>[root@localhost ~]# engine-setup </div>
<div>Welcome to oVirt Engine setup utility</div><div><br></div><div>WARNING: oVirt Engine setup has already been run on this host.</div><div>To remove all configuration and reset oVirt Engine please run engine-cleanup.</div>
<div>Please be advised that executing engine-setup without cleanup is not supported.</div><div>Would you like to proceed? (yes|no): yes</div><div><br></div><div>In order to proceed the installer must stop the ovirt-engine service</div>
<div>Would you like to stop the ovirt-engine service? (yes|no): yes</div><div> oVirt Engine uses httpd to proxy requests to the application server.</div><div>It looks like the httpd installed locally is being actively used.</div>
<div>The installer can override current configuration .</div><div>Alternatively you can use JBoss directly (on ports higher than 1024)</div><div>Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] : </div>
<div>HTTP Port [80] : </div><div>HTTPS Port [443] : </div><div>Setup can configure server default page to launch oVirt Engine. Do you wish to do so? ['yes'| 'no'] [yes] : </div><div>Host fully qualified domain name. Note: this name should be fully resolvable [localhost] : <a href="http://engine.startn.com">engine.startn.com</a></div>
<div>Enter a password for an internal oVirt Engine administrator user (admin@internal) :</div><div>Warning: Weak Password.</div><div>Confirm password :</div><div>Organization Name for the Certificate [localhost] : </div>
<div>The engine can be configured to present the UI in three different application modes. virt [Manage virtualization only], gluster [Manage gluster storage only], and both [Manage virtualization as well as gluster storage] ['virt'| 'gluster'| 'both'] [both] : </div>
<div>The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'| 'POSIXFS'] [NFS] : </div><div>Enter DB type for installation ['remote'| 'local'] [local] : </div><div>
Enter a password for a local oVirt Engine DB admin user (engine) :</div><div>Warning: Weak Password.</div><div>Confirm password :</div><div>Local ISO domain path [/var/lib/exports/iso_2013_04_28_15_18_22] : </div><div>Firewall ports need to be opened.</div>
<div>The installer can configure firewall automatically overriding the current configuration. The old configuration will be backed up.</div><div>Alternately you can configure the firewall later using an example file selecting None.</div>
<div>Which firewall manager do you wish to use? ['None'| 'Firewalld'| 'iptables']: Firewalld</div><div>Configure VDSM on this host? ['yes'| 'no'] [yes] : yes</div><div>Local storage domain path [/var/lib/images_2013_04_28_15_18_22] : </div>
<div>Confirm root password :</div><div><br></div><div>oVirt Engine will be installed using the following configuration:</div><div>=================================================================</div><div>override-httpd-config: yes</div>
<div>http-port: 80</div><div>https-port: 443</div><div>override-httpd-root: yes</div><div>host-fqdn: <a href="http://engine.startn.com">engine.startn.com</a></div>
<div>auth-pass: ********</div><div>org-name: localhost</div><div>application-mode: both</div><div>default-dc-type: NFS</div><div>db-remote-install: local</div>
<div>db-local-pass: ********</div><div>nfs-mp: /var/lib/exports/iso_2013_04_28_15_18_22</div><div>firewall-manager: Firewalld</div><div>config-allinone: yes</div>
<div>storage-path: /var/lib/images_2013_04_28_15_18_22</div><div>superuser-pass: ********</div><div>Proceed with the configuration listed above? (yes|no): yes</div><div><br></div><div>Installing:</div>
<div>AIO: Validating CPU Compatibility... [ DONE ]</div><div>AIO: Adding firewall rules... [ DONE ]</div><div>Configuring oVirt Engine... [ DONE ]</div>
<div>Configuring JVM... [ DONE ]</div><div>Creating CA... [ DONE ]</div><div>Updating ovirt-engine service... [ DONE ]</div>
<div>Setting Database Configuration... [ DONE ]</div><div>Setting Database Security... [ DONE ]</div><div>Upgrading Database Schema... [ DONE ]</div>
<div>Editing oVirt Engine Configuration... [ DONE ]</div><div>Editing Postgresql Configuration... [ DONE ]</div><div>Configuring the Default ISO Domain... [ DONE ]</div>
<div>Configuring Firewall... [ DONE ]</div><div>Starting ovirt-engine Service... [ DONE ]</div><div>Configuring HTTPD... [ DONE ]</div>
<div>AIO: Creating storage directory... [ DONE ]</div><div>AIO: Adding Local Datacenter and cluster... [ ERROR ]</div><div>Error: could not create ovirtsdk API object</div>
<div>Please check log file /var/log/ovirt-engine/engine-setup_2013_04_28_15_18_21.log for more information</div><div><br></div><div style>=LOG==========================================</div><div><div>FragmentPath=/usr/lib/systemd/system/firewalld.service</div>
<div>UnitFileState=enabled</div><div>InactiveExitTimestamp=Sun 2013-04-28 15:16:26 CST</div><div>InactiveExitTimestampMonotonic=2057927058</div><div>ActiveEnterTimestamp=Sun 2013-04-28 15:16:26 CST</div><div>ActiveEnterTimestampMonotonic=2058029155</div>
<div>ActiveExitTimestamp=Sun 2013-04-28 15:16:26 CST</div><div>ActiveExitTimestampMonotonic=2057262228</div><div>InactiveEnterTimestamp=Sun 2013-04-28 15:16:26 CST</div><div>InactiveEnterTimestampMonotonic=2057889979</div>
<div>"/var/log/ovirt-engine/engine-setup_2013_04_28_15_18_21.log" 2023L, 122617C</div><div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: db-remote-install: local</div><div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: db-host: localhost</div>
<div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: db-local-pass: ********</div><div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: nfs-mp: /var/lib/exports/iso_2013_04_28_15_18_22</div><div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: iso-domain-name: ISO_DOMAIN</div>
<div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: config-nfs: yes</div><div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: firewall-manager: Firewalld</div><div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: config-allinone: yes</div>
<div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: storage-path: /var/lib/images_2013_04_28_15_18_22</div><div>2013-04-28 15:19:34::DEBUG::engine-setup::2069::root:: superuser-pass: ********</div><div>2013-04-28 15:19:34::ERROR::engine-setup::2504::root:: Traceback (most recent call last):</div>
<div> File "/usr/bin/engine-setup", line 2498, in <module></div><div> main(confFile)</div><div> File "/usr/bin/engine-setup", line 2265, in main</div><div> runSequences()</div><div> File "/usr/bin/engine-setup", line 2184, in runSequences</div>
<div> controller.runAllSequences()</div><div> File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences</div><div> sequence.run()</div><div> File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run</div>
<div> step.run()</div><div> File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run</div><div> function()</div><div> File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI</div>
<div> raise Exception(ERROR_CREATE_API_OBJECT)</div><div>Exception: Error: could not create ovirtsdk API object</div></div><div><br></div><div><br></div>============================================</div><div><div>[root@localhost ~]# rpm -qa | grep ovirt</div>
<div>ovirt-engine-sdk-3.3.0.1-1.20130427.gitfc5985e.fc18.noarch</div><div>ovirt-engine-backend-3.3.0-0.2.master.20130427145036.fc18.noarch</div><div>ovirt-engine-setup-plugin-allinone-3.3.0-0.2.master.20130427145036.fc18.noarch</div>
<div>ovirt-host-deploy-1.0.1-1.fc18.noarch</div><div>ovirt-engine-setup-3.3.0-0.2.master.20130427145036.fc18.noarch</div><div>ovirt-engine-cli-3.2.0.11-1.fc18.noarch</div><div>ovirt-iso-uploader-3.3.0-0.0.master.20130318.gitec3e5e7.fc18.noarch</div>
<div>ovirt-engine-restapi-3.3.0-0.2.master.20130427145036.fc18.noarch</div><div>ovirt-engine-webadmin-portal-3.3.0-0.2.master.20130427145036.fc18.noarch</div><div>ovirt-host-deploy-offline-1.0.1-1.fc18.noarch</div><div>ovirt-image-uploader-3.3.0-0.0.master.20130423.git8dde3cc.fc18.noarch</div>
<div>ovirt-engine-dbscripts-3.3.0-0.2.master.20130427145036.fc18.noarch</div><div>ovirt-engine-userportal-3.3.0-0.2.master.20130427145036.fc18.noarch</div><div>ovirt-release-fedora-5-3.1.noarch</div><div>ovirt-host-deploy-java-1.0.1-1.fc18.noarch</div>
<div>ovirt-engine-tools-3.3.0-0.2.master.20130427145036.fc18.noarch</div><div>ovirt-log-collector-3.3.0-0.0.master.20130421.git1c4542d.fc18.noarch</div><div>ovirt-engine-3.3.0-0.2.master.20130427145036.fc18.noarch</div><div>
<br></div><div><div>[root@localhost ~]# rpm -qa | grep vdsm</div><div>vdsm-python-4.10.3-10.fc18.x86_64</div><div>vdsm-xmlrpc-4.10.3-10.fc18.noarch</div><div>vdsm-4.10.3-10.fc18.x86_64</div><div>vdsm-cli-4.10.3-10.fc18.noarch</div>
<div>vdsm-bootstrap-4.10.3-10.fc18.noarch</div></div><div><br></div><div><div>[root@localhost ~]# cat /etc/hosts</div><div>10.0.10.181 <a href="http://engine.startn.com">engine.startn.com</a></div></div><div><br></div><div>
<div>[root@localhost ~]# ifconfig </div><div>eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500</div><div> inet 192.168.11.4 netmask 255.255.255.0 broadcast 192.168.11.255</div><div> inet6 fe80::20c:29ff:feed:4f64 prefixlen 64 scopeid 0x20<link></div>
<div> ether 00:0c:29:ed:4f:64 txqueuelen 1000 (Ethernet)</div><div> RX packets 22780 bytes 31526531 (30.0 MiB)</div><div> RX errors 0 dropped 0 overruns 0 frame 0</div><div> TX packets 7612 bytes 547095 (534.2 KiB)</div>
<div> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</div><div><br></div><div>eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500</div><div> inet 10.0.10.181 netmask 255.255.255.0 broadcast 10.0.10.255</div>
<div> inet6 fe80::20c:29ff:feed:4f6e prefixlen 64 scopeid 0x20<link></div><div> ether 00:0c:29:ed:4f:6e txqueuelen 1000 (Ethernet)</div><div> RX packets 45792 bytes 58908887 (56.1 MiB)</div>
<div> RX errors 0 dropped 0 overruns 0 frame 0</div><div> TX packets 11143 bytes 2063171 (1.9 MiB)</div><div> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</div><div><br></div><div>lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536</div>
<div> inet 127.0.0.1 netmask 255.0.0.0</div><div> inet6 ::1 prefixlen 128 scopeid 0x10<host></div><div> loop txqueuelen 0 (Local Loopback)</div><div> RX packets 180949 bytes 62786059 (59.8 MiB)</div>
<div> RX errors 0 dropped 0 overruns 0 frame 0</div><div> TX packets 180949 bytes 62786059 (59.8 MiB)</div><div> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</div><div><br></div><div>
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500</div><div> inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255</div><div> ether 16:aa:69:7c:1e:3e txqueuelen 0 (Ethernet)</div><div>
RX packets 0 bytes 0 (0.0 B)</div><div> RX errors 0 dropped 0 overruns 0 frame 0</div><div> TX packets 0 bytes 0 (0.0 B)</div><div> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</div>
</div><div><br></div><div><div>[root@localhost ~]# dig -x 10.0.10.181</div><div><br></div><div>; <<>> DiG 9.9.2-rl.028.23-P2-RedHat-9.9.2-10.P2.fc18 <<>> -x 10.0.10.181</div><div>;; global options: +cmd</div>
<div>;; Got answer:</div><div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21966</div><div>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2</div><div><br></div><div>;; OPT PSEUDOSECTION:</div>
<div>; EDNS: version: 0, flags:; udp: 4096</div><div>;; QUESTION SECTION:</div><div>;181.10.0.10.in-addr.arpa. IN PTR</div><div><br></div><div>;; ANSWER SECTION:</div><div>181.10.0.10.in-addr.arpa. 1200 IN PTR <a href="http://engine.startn.com">engine.startn.com</a>.</div>
<div><br></div><div>;; AUTHORITY SECTION:</div><div>10.0.10.in-addr.arpa. 1200 IN NS <a href="http://engine.startn.com">engine.startn.com</a>.</div><div><br></div><div>;; ADDITIONAL SECTION:</div><div><a href="http://engine.startn.com">engine.startn.com</a>. 86400 IN A 10.0.10.181</div>
<div><br></div><div>;; Query time: 0 msec</div><div>;; SERVER: 10.0.10.181#53(10.0.10.181)</div><div>;; WHEN: Sun Apr 28 15:36:34 2013</div><div>;; MSG SIZE rcvd: 114</div><div><br></div><div>[root@localhost ~]# dig <a href="http://engine.startn.com">engine.startn.com</a></div>
<div><br></div><div>; <<>> DiG 9.9.2-rl.028.23-P2-RedHat-9.9.2-10.P2.fc18 <<>> <a href="http://engine.startn.com">engine.startn.com</a></div><div>;; global options: +cmd</div><div>;; Got answer:</div>
<div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36210</div><div>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1</div><div><br></div><div>;; OPT PSEUDOSECTION:</div><div>; EDNS: version: 0, flags:; udp: 4096</div>
<div>;; QUESTION SECTION:</div><div>;<a href="http://engine.startn.com">engine.startn.com</a>. IN A</div><div><br></div><div>;; ANSWER SECTION:</div><div><a href="http://engine.startn.com">engine.startn.com</a>. 86400 IN A 10.0.10.181</div>
<div><br></div><div>;; AUTHORITY SECTION:</div><div><a href="http://startn.com">startn.com</a>. 86400 IN NS <a href="http://engine.startn.com">engine.startn.com</a>.</div><div><br></div><div>;; Query time: 0 msec</div>
<div>;; SERVER: 10.0.10.181#53(10.0.10.181)</div><div>;; WHEN: Sun Apr 28 15:36:40 2013</div><div>;; MSG SIZE rcvd: 76</div></div><div>=============================================</div><div><br></div>---<br>有问题请通知我,谢谢,<br>
李强<br><br>------------------------------------------------------------------------------ <br> <br>+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +<br>------------------------------------------------------------------------------<br>
</div>
</div>