[Engine-devel] Root password to add Host

Alon Bar-Lev alonbl at redhat.com
Tue Apr 30 21:49:04 UTC 2013


Which version do you use?

this should not happen...

what is the output of:

$ openssl x509 -in /etc/pki/ovirt-engine/certs/engine.cer -text

----- Original Message -----
> From: "Florian BRUSCHET" <florian.bruschet at gmail.com>
> To: "Alon Bar-Lev" <alonbl at redhat.com>
> Cc: "engine-devel" <engine-devel at ovirt.org>
> Sent: Wednesday, May 1, 2013 12:47:13 AM
> Subject: Re: [Engine-devel] Root password to add Host
> 
> Sure,
> 
> 2013-04-30 23:44:35,984 ERROR
> [org.ovirt.engine.core.pki.PKIResourceServlet] (ajp--127.0.0.1-8702-4)
> Cannot send public key resource '/etc/pki/ovirt-engine/certs/engine.cer'
> format 'SSH': java.security.cert.CertificateParsingException: invalid
> DER-encoded certificate data
>         at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1723)
> [rt.jar:1.6.0_24]
>         at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:320)
> [rt.jar:1.6.0_24]
>         at
> sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:121)
> [rt.jar:1.6.0_24]
>         at
> java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:322)
> [rt.jar:1.6.0_24]
>         at
> org.ovirt.engine.core.pki.PKIResourceServlet.doGet(PKIResourceServlet.java:83)
> [classes:]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [jbossweb-7.0.13.Final.jar:]
>         at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
> [jbossweb-7.0.13.Final.jar:]
>         at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
> [jbossweb-7.0.13.Final.jar:]
>         at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]
> 
> 
> 
> 2013/4/30 Alon Bar-Lev <alonbl at redhat.com>
> 
> >
> > Can you please attach /var/log/ovirt-engine/engine.log?
> >
> > ----- Original Message -----
> > > From: "Florian BRUSCHET" <florian.bruschet at gmail.com>
> > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > Cc: "engine-devel" <engine-devel at ovirt.org>
> > > Sent: Wednesday, May 1, 2013 12:33:38 AM
> > > Subject: Re: [Engine-devel] Root password to add Host
> > >
> > > Ok this what I have done, I see it, I specify the engine address, then he
> > > ask me to "Retrieve Certificate" i do it, it works. After I choose "Save
> > &
> > > Register", i can see "Activating VDMS", and "All changes were applied
> > > successfully". But nothing in the engine ...
> > > I tryed the other way but don't work too ... for this solution i'm nearly
> > > sure that it's cause the password is wrong, it isn't the one which i
> > > specified in ovirt-node.
> > >
> > >
> > > 2013/4/30 Alon Bar-Lev <alonbl at redhat.com>
> > >
> > > >
> > > > Please reply to 'all'.
> > > >
> > > > When you login as admin you should be presented with Text User
> > Interface.
> > > > Within this interface there should be options on the left and a dialog
> > on
> > > > the right.
> > > > At the left you should see 'ovirt-engine' or similar option, when
> > > > selecting it, you should see on the right an input field of address of
> > the
> > > > ovirt-engine server, specifying the engine address and selecting apply
> > will
> > > > initiate registration into the engine.
> > > >
> > > > Once registered, you should see the host in the engine, select it and
> > > > click on "Approve".
> > > >
> > > > Another option is to specify password at the same dialog without
> > filling
> > > > the engine address. This password may be used as the password withi the
> > > > 'Add Host' dialog.
> > > >
> > > > Alon
> > > >
> > > > ----- Original Message -----
> > > > > From: "Florian BRUSCHET" <florian.bruschet at gmail.com>
> > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > Sent: Wednesday, May 1, 2013 12:00:01 AM
> > > > > Subject: Re: [Engine-devel] Root password to add Host
> > > > >
> > > > > I think I don't really understand what you call TUI?
> > > > > Yes I'm log as admin on ovirt-node to use Hypervisor
> > > > >
> > > > > (And sorry if I make some language faults English isn't my native
> > > > language
> > > > > ^^)
> > > > >
> > > > >
> > > > > 2013/4/30 Alon Bar-Lev <alonbl at redhat.com>
> > > > >
> > > > > >
> > > > > > You cannot do this via agent by via the TUI of the ovirt-node.
> > > > > >
> > > > > > Just to make sure, you are using ovirt-node as hypervisor, right?
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > > From: "Florian BRUSCHET" <florian.bruschet at gmail.com>
> > > > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > Sent: Tuesday, April 30, 2013 11:47:53 PM
> > > > > > > Subject: Re: [Engine-devel] Root password to add Host
> > > > > > >
> > > > > > > Oh ok, i didn't know ...
> > > > > > >
> > > > > > > I was looking my oVirt Engine and i don't understand how i can
> > add an
> > > > > > Host
> > > > > > > without this password ...
> > > > > > > For me i have to right click on the Hosts panel, select "new"
> > and it
> > > > asks
> > > > > > > me to give name, address and Root password.
> > > > > > > I have already register this Host from oVirt Node Hypervisor, i
> > add
> > > > my
> > > > > > > Management Server and there is no problem i can see "Certificate
> > > > Status :
> > > > > > > Verified" but this Host don't appears in the Web page ...
> > > > > > >
> > > > > > >
> > > > > > > 2013/4/30 Alon Bar-Lev <alonbl at redhat.com>
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > ----- Original Message -----
> > > > > > > > > From: "Florian BRUSCHET" <florian.bruschet at gmail.com>
> > > > > > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > > Sent: Tuesday, April 30, 2013 11:06:14 PM
> > > > > > > > > Subject: Re: [Engine-devel] Root password to add Host
> > > > > > > > >
> > > > > > > > > For me single mode it's when you add "single" at the end of
> > the
> > > > > > kernel
> > > > > > > > > commande line like that you boot on shell commande as
> > > > > > > > > root at localhostand
> > > > > > > > > you can do what you want.
> > > > > > > >
> > > > > > > > Oh... this is "single user mode"... :)
> > > > > > > >
> > > > > > > > >
> > > > > > > > > I will try it soon!
> > > > > > > > >
> > > > > > > > > Thank you
> > > > > > > > >
> > > > > > > > > Florian
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/4/30 Alon Bar-Lev <alonbl at redhat.com>
> > > > > > > > >
> > > > > > > > > > What is 'single mode'?
> > > > > > > > > >
> > > > > > > > > > You should be able to set root password via node TUI, at
> > ovirt
> > > > tab.
> > > > > > > > > > Or... you can simply perform registration via the node
> > TUI, so
> > > > you
> > > > > > > > don't
> > > > > > > > > > need to specify password at all.
> > > > > > > > > >
> > > > > > > > > > ----- Original Message -----
> > > > > > > > > > > From: "Florian BRUSCHET" <florian.bruschet at gmail.com>
> > > > > > > > > > > To: engine-devel at ovirt.org
> > > > > > > > > > > Sent: Tuesday, April 30, 2013 7:28:12 PM
> > > > > > > > > > > Subject: [Engine-devel] Root password to add Host
> > > > > > > > > > >
> > > > > > > > > > > Hi,
> > > > > > > > > > >
> > > > > > > > > > > I try to add Host from oVirt Engine Web Administration,
> > but
> > > > it
> > > > > > asks
> > > > > > > > me to
> > > > > > > > > > > give a Root Password (It's not the same that i used to
> > log in
> > > > > > admin
> > > > > > > > on
> > > > > > > > > > the
> > > > > > > > > > > Node).
> > > > > > > > > > > Do i really need this Root Password? Because i can't
> > have it
> > > > and
> > > > > > i
> > > > > > > > don't
> > > > > > > > > > want
> > > > > > > > > > > to change it by using single mode...
> > > > > > > > > > > There is an other solution to add Hosts?
> > > > > > > > > > >
> > > > > > > > > > > Thank you,
> > > > > > > > > > >
> > > > > > > > > > > Florian BRUSCHET
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > _______________________________________________
> > > > > > > > > > > Engine-devel mailing list
> > > > > > > > > > > Engine-devel at ovirt.org
> > > > > > > > > > > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> 



More information about the Engine-devel mailing list