<div dir="ltr"><div><div><div><div><div><div>I&#39;m tying to install $STABLE (3.2.2) on CentOS 6.4 . I have the repo for the el6 from ovirt.<br><br></div>Before the engine-setup --with-allinone=yes can complete it errors out with the following in the setup log:<br>
<br>2013-07-17 15:52:47::DEBUG::all_in_one_100::451::root:: Checking JBoss status.<br>2013-07-17 15:52:47::INFO::all_in_one_100::454::root:: JBoss is up and running.<br>2013-07-17 15:52:47::DEBUG::setup_sequences::59::root:: running initAPI<br>
2013-07-17 15:52:47::DEBUG::all_in_one_100::240::root:: Initiating the API object<br>2013-07-17 15:52:47::ERROR::all_in_one_100::251::root:: Traceback (most recent call last):<br>  File &quot;/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py&quot;, line 248, in initAPI<br>
    ca_file=basedefs.FILE_CA_CRT_SRC,<br>  File &quot;/usr/lib/python2.6/site-packages/ovirtsdk/api.py&quot;, line 119, in __init__<br>    url=&#39;/api&#39;<br>  File &quot;/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py&quot;, line 112, in request<br>
    persistent_auth=self._persistent_auth)<br>  File &quot;/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py&quot;, line 134, in __doRequest<br>    persistent_auth=persistent_auth<br>  File &quot;/usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py&quot;, line 148, in doRequest<br>
    raise ConnectionError, str(e)<br>ConnectionError: [ERROR]::oVirt API connection failure, [Errno 111] Connection refused<br><br>2013-07-17 15:52:47::DEBUG::setup_sequences::62::root:: Traceback (most recent call last):<br>
  File &quot;/usr/share/ovirt-engine/scripts/setup_sequences.py&quot;, line 60, in run<br>    function()<br>  File &quot;/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py&quot;, line 252, in initAPI<br>    raise Exception(ERROR_CREATE_API_OBJECT)<br>
Exception: Error: could not create ovirtsdk API object<br><br>2013-07-17 15:52:47::DEBUG::engine-setup::1972::root:: *** The following params were used as user input:<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: override-httpd-config: no<br>
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: http-port: 8700<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: https-port: 8701<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: random-passwords: no<br>
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: mac-range: 00:1A:4A:8C:8A:00-00:1A:4A:8C:8A:FF<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: host-fqdn: <a href="http://storage01.mydomain.me">storage01.mydomain.me</a><br>
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: auth-pass: ********<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: org-name: <a href="http://mydomain.me">mydomain.me</a><br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: application-mode: virt<br>
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: default-dc-type: POSIXFS<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: db-remote-install: local<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: db-host: localhost<br>
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: db-local-pass: ********<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: nfs-mp: /var/lib/exports/iso<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: iso-domain-name: ISO_DOMAIN<br>
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: config-nfs: yes<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: override-firewall: None<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: config-allinone: yes<br>
2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: storage-path: /var/lib/images<br>2013-07-17 15:52:47::DEBUG::engine-setup::1977::root:: superuser-pass: ********<br>2013-07-17 15:52:47::ERROR::engine-setup::2392::root:: Traceback (most recent call last):<br>
  File &quot;/usr/bin/engine-setup&quot;, line 2386, in &lt;module&gt;<br>    main(confFile)<br>  File &quot;/usr/bin/engine-setup&quot;, line 2169, in main<br>    runSequences()<br>  File &quot;/usr/bin/engine-setup&quot;, line 2092, in runSequences<br>
    controller.runAllSequences()<br>  File &quot;/usr/share/ovirt-engine/scripts/setup_controller.py&quot;, line 54, in runAllSequences<br>    sequence.run()<br>  File &quot;/usr/share/ovirt-engine/scripts/setup_sequences.py&quot;, line 154, in run<br>
    step.run()<br>  File &quot;/usr/share/ovirt-engine/scripts/setup_sequences.py&quot;, line 60, in run<br>    function()<br>  File &quot;/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py&quot;, line 252, in initAPI<br>
    raise Exception(ERROR_CREATE_API_OBJECT)<br>Exception: Error: could not create ovirtsdk API object<br><br></div><div> <br></div><div><br></div>After much digging, it seems like the issue is in the certs but it&#39;s not making sense to me why it fails. From the server.log:<br>
<br>2013-07-17 16:37:28,873 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory /var/lib/ovirt-engine/deployments<br>2013-07-17 16:37:28,877 ERROR [org.apache.tomcat.util.net.jsse.JSSESocketFactory] (MSC service thread 1-4) Failed to load keystore type PKCS12 with path /etc/pki/ovirt-engine/keys/apache.p12 due to /etc/pki/ovirt-engine/keys/apache.p12 (Permission denied): java.io.FileNotFoundException: /etc/pki/ovirt-engine/keys/apache.p12 (Permission denied)<br>
    at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_25]<br>    at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:138) [rt.jar:1.7.0_25]<br>    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:374) [jbossweb-7.0.13.Final.jar:]<br>
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:299) [jbossweb-7.0.13.Final.jar:]<br>    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:515) [jbossweb-7.0.13.Final.jar:]<br>
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:452) [jbossweb-7.0.13.Final.jar:]<br>    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:168) [jbossweb-7.0.13.Final.jar:]<br>
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:977) [jbossweb-7.0.13.Final.jar:]<br>    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:190) [jbossweb-7.0.13.Final.jar:]<br>    at org.apache.catalina.connector.Connector.init(Connector.java:983) [jbossweb-7.0.13.Final.jar:]<br>
    at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:267) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]<br>    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA">1.0.2.GA</a>]<br>
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA">1.0.2.GA</a>]<br>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]<br>
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]<br>    at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]<br><br>2013-07-17 16:37:28,883 ERROR [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Error initializing endpoint: java.io.FileNotFoundException: /etc/pki/ovirt-engine/keys/apache.p12 (Permission denied)<br>
    at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_25]<br>    at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:138) [rt.jar:1.7.0_25]<br>    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:374) [jbossweb-7.0.13.Final.jar:]<br>
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:299) [jbossweb-7.0.13.Final.jar:]<br>    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:515) [jbossweb-7.0.13.Final.jar:]<br>
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:452) [jbossweb-7.0.13.Final.jar:]<br>    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:168) [jbossweb-7.0.13.Final.jar:]<br>
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:977) [jbossweb-7.0.13.Final.jar:]<br>    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:190) [jbossweb-7.0.13.Final.jar:]<br>    at org.apache.catalina.connector.Connector.init(Connector.java:983) [jbossweb-7.0.13.Final.jar:]<br>
    at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:267) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]<br>    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA">1.0.2.GA</a>]<br>
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA">1.0.2.GA</a>]<br>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]<br>
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]<br>    at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]<br><br>2013-07-17 16:37:28,892 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.web.connector.https: org.jboss.msc.service.StartException in service jboss.web.connector.https: JBAS018007: Error starting web connector<br>
    at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:271)<br>    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA">1.0.2.GA</a>]<br>
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA">1.0.2.GA</a>]<br>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]<br>
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]<br>    at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]<br>Caused by: LifecycleException:  Protocol handler initialization failed: java.io.FileNotFoundException: /etc/pki/ovirt-engine/keys/apache.p12 (Permission denied)<br>
    at org.apache.catalina.connector.Connector.init(Connector.java:985)<br>    at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:267)<br>    ... 5 more<br><br>2013-07-17 16:37:28,904 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found engine.ear in deployment directory. To trigger deployment create a file called engine.ear.dodeploy<br>
2013-07-17 16:37:28,957 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-11) JBAS010400: Bound data source [java:/ENGINEDataSource]<br>2013-07-17 16:37:28,966 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report<br>
JBAS014777:   Services which failed to start:      service jboss.web.connector.https: org.jboss.msc.service.StartException in service jboss.web.connector.https: JBAS018007: Error starting web connector<br><br><br></div>the /etc/pki/ovirt-engine/keys:<br>
<br>ls -la /etc/pki/ovirt-engine/keys/<br>total 24<br>drwxr-xr-x. 2 ovirt  ovirt  4096 Jul 17 15:51 .<br>drwxr-xr-x. 6 ovirt  ovirt  4096 Jul 17 15:51 ..<br>-rw-r-----. 1 apache apache 1828 Jul 17 15:51 apache.key.nopass<br>
-rw-r-----. 1 apache apache 2685 Jul 17 15:51 apache.p12<br>-rw-------. 1 root   root   1832 Jul 17 15:51 engine_id_rsa<br>-rw-r-----. 1 ovirt  ovirt  2685 Jul 17 15:51 engine.p12<br><br><br></div>I&#39;ve tried with setenforce 0 and no change. <br>
<br></div>I&#39;ve downgraded to earlier 3.2.0 versions, earlier jboss-as, beta allinone plugin for 3.2, no changes. At one point I added some additional debuggingto the allinone script to make sure that reasonable variables were being passed around (they are).<br>
<br></div>I&#39;m stumped. <br><div><div><div><div><div><div><div><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you 
        gain at one end you lose at the other. It&#39;s like feeding a dog on his 
        own tail. It won&#39;t fatten the dog.<br>

        - Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div></div></div></div></div></div></div></div>