<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 22, 2012 at 10:25 PM, Alon Bar-Lev <span dir="ltr"><<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
----- Original Message -----<br>
> From: "Cristian Falcas" <<a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a>><br>
> To: "Alon Bar-Lev" <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a>, "Juan Hernandez" <<a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a>><br>
</div><div class="im">> Sent: Thursday, November 22, 2012 10:23:32 PM<br>
> Subject: Re: [Users] missing dirs, other problems with latest nightly<br>
><br>
><br>
><br>
><br>
><br>
><br>
</div><div class="im">> On Thu, Nov 22, 2012 at 2:03 AM, Cristian Falcas <<br>
> <a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a> > wrote:<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Thu, Nov 22, 2012 at 2:01 AM, Cristian Falcas <<br>
> <a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a> > wrote:<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Thu, Nov 22, 2012 at 1:56 AM, Cristian Falcas <<br>
> <a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a> > wrote:<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Thu, Nov 22, 2012 at 1:24 AM, Alon Bar-Lev < <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> ><br>
> wrote:<br>
><br>
><br>
><br>
><br>
><br>
> ----- Original Message -----<br>
> > From: "Cristian Falcas" < <a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a> ><br>
> > To: "Alon Bar-Lev" < <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> ><br>
</div><div><div class="h5">> > Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a> , "Juan Hernandez" < <a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a> ><br>
><br>
> > Sent: Thursday, November 22, 2012 1:22:26 AM<br>
> > Subject: Re: [Users] missing dirs, other problems with latest<br>
> > nightly<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
><br>
> > On Thu, Nov 22, 2012 at 1:11 AM, Alon Bar-Lev < <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> ><br>
> > wrote:<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Cristian Falcas" < <a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a> ><br>
> > > To: "Alon Bar-Lev" < <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> ><br>
><br>
><br>
> > > Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a> , "Juan Hernandez" < <a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a> ><br>
> ><br>
> > > Sent: Thursday, November 22, 2012 1:01:41 AM<br>
> > > Subject: Re: [Users] missing dirs, other problems with latest<br>
> > > nightly<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> ><br>
> > > On Thu, Nov 22, 2012 at 12:56 AM, Alon Bar-Lev <<br>
> > > <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a><br>
> > > ><br>
> > > wrote:<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > ----- Original Message -----<br>
> > > > From: "Cristian Falcas" < <a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a> ><br>
> > > > To: "Alon Bar-Lev" < <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> ><br>
> ><br>
> ><br>
> > > > Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a> , "Juan Hernandez" < <a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a> ><br>
> > ><br>
> > > > Sent: Thursday, November 22, 2012 12:52:19 AM<br>
> > > > Subject: Re: [Users] missing dirs, other problems with latest<br>
> > > > nightly<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > ><br>
> > > > On Thu, Nov 22, 2012 at 12:49 AM, Alon Bar-Lev <<br>
> > > > <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a><br>
> > > > ><br>
> > > > wrote:<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > ----- Original Message -----<br>
> > > > > From: "Cristian Falcas" < <a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a> ><br>
> > > ><br>
> > > ><br>
> > > > > To: "Alon Bar-Lev" < <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> ><br>
> > > > > Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a> , "Juan Hernandez" < <a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a><br>
> > > > > ><br>
> > ><br>
> > ><br>
> > > > > Sent: Thursday, November 22, 2012 12:45:32 AM<br>
> > > > > Subject: Re: [Users] missing dirs, other problems with latest<br>
> > > > > nightly<br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > On Thu, Nov 22, 2012 at 12:20 AM, Alon Bar-Lev <<br>
> > > > > <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a><br>
> > > > > ><br>
> > > > > wrote:<br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > ----- Original Message -----<br>
> > > > > > From: "Cristian Falcas" < <a href="mailto:cristi.falcas@gmail.com">cristi.falcas@gmail.com</a> ><br>
> > > > > > To: "Juan Hernandez" < <a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a> ><br>
> > > > > > Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> > > > > > Sent: Thursday, November 22, 2012 12:17:31 AM<br>
> > > > > > Subject: Re: [Users] missing dirs, other problems with<br>
> > > > > > latest<br>
> > > > > > nightly<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On Wed, Nov 21, 2012 at 11:53 PM, Juan Hernandez <<br>
> > > > > > <a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a> > wrote:<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On 11/21/2012 10:50 PM, Cristian Falcas wrote:<br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > > On Wed, Nov 21, 2012 at 11:26 PM, Juan Hernandez <<br>
> > > > > > > <a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > > <mailto: <a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a> >> wrote:<br>
> > > > > > ><br>
> > > > > > > On 11/21/2012 09:37 PM, Cristian Falcas wrote:<br>
> > > > > > > > Hi,<br>
> > > > > > > ><br>
> > > > > > > > After a fresh install, those folders are missing:<br>
> > > > > > > ><br>
> > > > > > > > /var/lib/ovirt-engine/content<br>
> > > > > > > > /var/lib/ovirt-engine/deployments<br>
> > > > > > ><br>
> > > > > > > Yes Cristian, that is a problem we are aware of. We<br>
> > > > > > > introduced<br>
> > > > > > > that<br>
> > > > > > > error in a attempt to fix bug 876164. The fix will be<br>
> > > > > > > merged<br>
> > > > > > > soon:<br>
> > > > > > ><br>
> > > > > > > <a href="http://gerrit.ovirt.org/9369" target="_blank">http://gerrit.ovirt.org/9369</a><br>
> > > > > > ><br>
> > > > > > > Meanwhile the workaround is to manually create those<br>
> > > > > > > directories<br>
> > > > > > > and<br>
> > > > > > > make sure they are owned by the ovirt user and the ovirt<br>
> > > > > > > group:<br>
> > > > > > ><br>
> > > > > > > mkdir -p /var/lib/ovirt-engine/content<br>
> > > > > > > chown ovirt:ovirt /var/lib/ovirt-engine/content<br>
> > > > > > > mkdir -p /var/lib/ovirt-engine/deployments<br>
> > > > > > > chown ovirt:ovirt /var/lib/ovirt-engine/deployments<br>
> > > > > > ><br>
> > > > > > > The other error messages that you see are not relevant, I<br>
> > > > > > > think<br>
> > > > > > > you<br>
> > > > > > > can<br>
> > > > > > > ignore them.<br>
> > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > After that the engine starts, but can't go to the https<br>
> > > > > > > > page<br>
> > > > > > > > of<br>
> > > > > > > > administrator or user portal. Relevant errors in log:<br>
> > > > > > > ><br>
> > > > > > > > 2012-11-21 22:29:52,448 ERROR<br>
> > > > > > > > [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]<br>
> > > > > > > > (MSC<br>
> > > > > > > service<br>
> > > > > > > > thread 1-3) Failed to decrypt Data must start with zero<br>
> > > > > > > > 2012-11-21 22:29:52,576 ERROR<br>
> > > > > > > > [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils]<br>
> > > > > > > > (MSC<br>
> > > > > > > service<br>
> > > > > > > > thread 1-3) Failed to decrypt value for property<br>
> > > > > > > > TruststorePass<br>
> > > > > > > will be<br>
> > > > > > > > used encrypted value<br>
> > > > > > > > 2012-11-21 22:29:52,640 ERROR<br>
> > > > > > > > [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils]<br>
> > > > > > > > (MSC<br>
> > > > > > > service<br>
> > > > > > > > thread 1-3) Could not parse option<br>
> > > > > > > > AutoRecoveryAllowedTypes<br>
> > > > > > > > value.<br>
> > > > > > > ><br>
> > > > > > > > Can someone help me with those errors? I tried using<br>
> > > > > > > > the<br>
> > > > > > > > ovirt-engine-setup from the last 3 days, but the result<br>
> > > > > > > > is<br>
> > > > > > > > the<br>
> > > > > > > same each<br>
> > > > > > > > time.<br>
> > > > > > > ><br>
> > > > > > > > Other warnings:<br>
> > > > > > > ><br>
> > > > > > > > 2012-11-21 22:29:46,375 WARN<br>
> > > > > > > > [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC<br>
> > > > > > > > service<br>
> > > > > > > > thread<br>
> > > > > > > > 1-3)<br>
> > > > > > > > Could not find enum value for option:<br>
> > > > > > > > CbcCheckOnVdsChange<br>
> > > > > > > > 2012-11-21 22:29:46,411 WARN<br>
> > > > > > > > [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC<br>
> > > > > > > > service<br>
> > > > > > > > thread<br>
> > > > > > > > 1-3)<br>
> > > > > > > > Could not find enum value for option: CAEngineKey<br>
> > > > > > > > 2012-11-21 22:29:46,444 WARN<br>
> > > > > > > > [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC<br>
> > > > > > > > service<br>
> > > > > > > > thread<br>
> > > > > > > > 1-3)<br>
> > > > > > > > Could not find enum value for option: MinimalETLVersion<br>
> > > > > > > > 2012-11-21 22:29:49,287 WARN<br>
> > > > > > > > [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC<br>
> > > > > > > > service<br>
> > > > > > > > thread<br>
> > > > > > > > 1-3)<br>
> > > > > > > > Could not find enum value for option: ScriptsPath<br>
> > > > > > > > 2012-11-21 22:29:49,292 WARN<br>
> > > > > > > > [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC<br>
> > > > > > > > service<br>
> > > > > > > > thread<br>
> > > > > > > > 1-3)<br>
> > > > > > > > Could not find enum value for option:<br>
> > > > > > > > SQLServerI18NPrefix<br>
> > > > > > > > 2012-11-21 22:29:52,650 WARN<br>
> > > > > > > > [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC<br>
> > > > > > > > service<br>
> > > > > > > > thread<br>
> > > > > > > > 1-3)<br>
> > > > > > > > Could not find enum value for option: ENGINEEARLib<br>
> > > > > > > ><br>
> > > > > > > > Attached the engine-setup.log<br>
> > > > > > > ><br>
> > > > > > > > Best regards,<br>
> > > > > > > > Cristian falcas<br>
> > > > > > ><br>
> > > > > ><br>
> > > > > > > Unfortunately, the all https pages are not responding and<br>
> > > > > > > I<br>
> > > > > > > thought<br>
> > > > > > > that<br>
> > > > > > > the cause is from the ERRORs from the logs.<br>
> > > > > > ><br>
> > > > > > > Doing a netstat only shows the http port (8700) being<br>
> > > > > > > opened.<br>
> > > > > > ><br>
> > > > > ><br>
> > > > > > Is that after the workaround that I suggested and<br>
> > > > > > restarting<br>
> > > > > > the<br>
> > > > > > engine?<br>
> > > > > > Remember to create both directories and change the<br>
> > > > > > ownership<br>
> > > > > > to<br>
> > > > > > ovirt:ovirt.<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > --<br>
> > > > > > Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea<br>
> > > > > > 3,<br>
> > > > > > planta<br>
> > > > > > 3ºD, 28016 Madrid, Spain<br>
> > > > > > Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941<br>
> > > > > > -<br>
> > > > > > Red<br>
> > > > > > Hat<br>
> > > > > > S.L.<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > I created the directories and did a<br>
> > > > > > engine-cleanup/engine-setup.<br>
> > > > > ><br>
> > > > > > engine-setup finished successfully, but there is still<br>
> > > > > > nobody<br>
> > > > > > listening on the hrttps port<br>
> > > > ><br>
> > > > > Please check out if there is a java process, if there is kill<br>
> > > > > it.<br>
> > > > > Then remove /var/run/ovirt-engine.pid if exists.<br>
> > > > > Then try service ovirt-engine start.<br>
> > > > ><br>
> > > > ><br>
> > > > > same<br>
> > > > ><br>
> > > > > Error from browsers:<br>
> > > > > Firefox:<br>
> > > > > The connection was reset<br>
> > > > > The connection to the server was reset while the page was<br>
> > > > > loading.<br>
> > > > ><br>
> > > > > Chrome:<br>
> > > > > SSL connection error<br>
> > > > ><br>
> > > > > Unable to make a secure connection to the server. This may be<br>
> > > > > a<br>
> > > > > problem with the server, or it may be requiring a client<br>
> > > > > authentication certificate that you don't have.<br>
> > > > > Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.<br>
> > > > ><br>
> > > > > I tried to make the certificates using localhost.localdomain<br>
> > > > > and<br>
> > > > > also<br>
> > > > > the fqdn of the machine.<br>
> > > > ><br>
> > > > ><br>
> > > ><br>
> > > > What do you get when you try to access using HTTP not HTTPS to:<br>
> > > ><br>
> > > > <a href="http://host/ca.crt" target="_blank">http://host/ca.crt</a><br>
> > > ><br>
> > > > Alon<br>
> > > ><br>
> > > > I got the certificate and firefox asked me to import it. I did,<br>
> > > > but<br>
> > > > it's the same thing.<br>
> > > ><br>
> > ><br>
> > > OK... so http is ok, application is working, problem with ssl.<br>
> > > are you sure you marked the certificate as trusted for web server<br>
> > > identify?<br>
> > > Maybe delete all certificates that of the same name already<br>
> > > trusted?<br>
> > ><br>
> > ><br>
> > > already did.<br>
> > ><br>
> > > The CN I see is CA-site.company.com.85892<br>
> > ><br>
> > > Is this correct? I thought that t6he CN should be the site name?<br>
> > ><br>
> > ><br>
> ><br>
> > This what firefox is showing... it adds the number.<br>
> > You can check details by:<br>
> ><br>
> > # openssl x509 -in /etc/pki/ovirt-engine/certs/engine.cer -text<br>
> ><br>
> > You can also try using curl or wget and see what error you get,<br>
> > maybe<br>
> > we understand better what happening.<br>
> ><br>
> > Alon<br>
> ><br>
> ><br>
> > root@wikitiki ~]# wget <a href="https://site.company.com:8443/UserPortal/" target="_blank">https://site.company.com:8443/UserPortal/</a><br>
> > --2012-11-22 01:20:17-- <a href="https://site.company.com:8443/UserPortal/" target="_blank">https://site.company.com:8443/UserPortal/</a><br>
> > Resolving <a href="http://site.company.com" target="_blank">site.company.com</a> ( <a href="http://site.company.com" target="_blank">site.company.com</a> )... 10.0.0.xx<br>
> > Connecting to <a href="http://site.company.com" target="_blank">site.company.com</a> ( <a href="http://site.company.com" target="_blank">site.company.com</a><br>
> > )|10.0.0.xx|:8443... failed: Connection refused.<br>
> ><br>
> ><br>
> ><br>
> > root@wikitiki ~]# curl <a href="https://site.company.com:8443/UserPortal/" target="_blank">https://site.company.com:8443/UserPortal/</a> -v<br>
> > * About to connect() to <a href="http://site.company.com" target="_blank">site.company.com</a> port 8443 (#0)<br>
> > * Trying 10.0.0.xx...<br>
> > * Connection refused<br>
> > * couldn't connect to host<br>
> > * Closing connection #0<br>
> > curl: (7) couldn't connect to host<br>
> ><br>
> ><br>
> ><br>
><br>
> Maybe I missed the beginning of this thread, but what version of<br>
> ovirt-engine do you use? Why don't you use port 443? Why don't you<br>
> have apache at front end?<br>
><br>
> Alon<br>
><br>
><br>
> looks like if I let it overwrite the httpd, it works. I could only<br>
> test it with lynx.<br>
><br>
> Unfortunately this test rendered my other sites offline. How can I<br>
> revert back, so http takes the sites from /var/www/html?<br>
><br>
><br>
> I missed the ovirt-engine.conf file. Please ignore my latest<br>
> question.<br>
><br>
><br>
> I will check this tomorrow and let you know the results<br>
><br>
> Thank you for all your help<br>
><br>
><br>
> Hi,<br>
><br>
><br>
> It's working if I let it "overwrite" the http config. But until<br>
> recently it was working also without any modifications on apache.<br>
<br>
</div></div>Using the apache as front-end is the recommended configuration. Next version it will be the only supported configuration as far as I know.<br>
<span class="HOEnZb"><font color="#888888"><br>
Alon<br>
</font></span></blockquote></div><br><br>In this case, I think that the "overwrite http" should not be asked during engine-setup, maybe just inform the user about the changes that will be done. i mean that it should write the configuration without user approval.<br>
<br></div>