[Users] What parameters to use in automated node install to enable engine CLI register?

David Li david_li at sbcglobal.net
Fri Dec 20 01:10:49 UTC 2013


Hi Itamar,

Yes, I see what you mean. What I can do is like this on three different machines:


Browser (M1) ------------- Ovirt-engine (M2) ---------------- Ovirt-node stateless (M3)

I can see the ovirt-engine GUI in the Browser on M1.  But I can't login either the User Portal or Admin Portal.  This is my first time to use the GUI. My basic engine-setup on M2 is like this:

         --== CONFIGURATION PREVIEW ==--
         
          Database name                      : engine
          Database secured connection        : False
          Database host                      : localhost
          Database user name                 : engine
          Database host name validation      : False
          Datbase port                       : 5432
          NFS setup                          : True
          NFS mount point                    : /var/lib/exports/iso
          Configure WebSocket Proxy          : True
          Host FQDN                          : vm3
          Set application as default page    : True
          Configure Apache SSL               : True


Did I miss setting a user and an admin login name/pwd?  

David



>________________________________
> From: Itamar Heim <iheim at redhat.com>
>To: David Li <david_li at sbcglobal.net>; "users at ovirt.org" <users at ovirt.org> 
>Sent: Thursday, December 19, 2013 1:32 PM
>Subject: Re: [Users] What parameters to use in automated node install to enable engine CLI register?
> 
>
>On 12/19/2013 01:32 PM, David Li wrote:
>> Hi Itamar,
>>
>>
>> Unfortunately I am restricted to using CLI on the machine running the
>> engine.  Is there any way to use ovirt CLI to do this?
>
>you can't browse the engine from another machine to use its gui?
>
>yes, you can do everything from the cli, to begin with, try to connect 
>with it to the engine and get the list of hosts.
>
>>
>> David
>>
>>     ------------------------------------------------------------------------
>>     *From:* Itamar Heim <iheim at redhat.com>
>>     *To:* David Li <david_li at sbcglobal.net>; "users at ovirt.org"
>>     <users at ovirt.org>
>>     *Sent:* Wednesday, December 18, 2013 5:31 PM
>>     *Subject:* Re: [Users] What parameters to use in automated node
>>     install to enable engine CLI register?
>>
>>     On 12/18/2013 04:33 PM, David Li wrote:
>>      > I am still confused. My ovirt shell cli is in "disconnected" mode
>>     like this:
>>      >
>>      > [oVirt shell (disconnected)]#
>>      > [oVirt shell (disconnected)]#
>>      > [oVirt shell (disconnected)]#
>>      >
>>      >
>>      > The only commands I can use are connect, exit and help. How do I
>>     see my
>>      > node?  Or maybe the question is if the parameters I provided to the
>>      > kernel boot options have indeed enabled the node to register with the
>>      > engine. But again I have no way to know this. Is there a log on
>>     the node
>>      > side that might give me some clues?
>>
>>     well, to begin with, do you see the node in the engine via the
>>     webadmin gui?
>>
>>      >
>>      > David
>>      >
>>      >
>>     ------------------------------------------------------------------------
>>      >    *From:* Itamar Heim <iheim at redhat.com <mailto:iheim at redhat.com>>
>>      >    *To:* David Li <david_li at sbcglobal.net
>>     <mailto:david_li at sbcglobal.net>>; "users at ovirt.org
>>     <mailto:users at ovirt.org>"
>>      >    <users at ovirt.org <mailto:users at ovirt.org>>
>>      >    *Sent:* Wednesday, December 18, 2013 12:04 PM
>>      >    *Subject:* Re: [Users] What parameters to use in automated node
>>      >    install to enable engine CLI register?
>>      >
>>      >    On 12/18/2013 10:39 AM, David Li wrote:
>>      >      > Hi Itamar,
>>      >      >
>>      >      > I am not sure I understand the question.
>>      >      > How can I see the node from over-shell CLI if it's not
>>     connected
>>      > to it?
>>      >      >  Are you refering to some CLI cmd that allows me to do this?
>>      >
>>      >
>>      >    if you PXE boot the node to register to the engine, it will
>>     register
>>      >    itself in the engine, so the ovirt-shell can "see it" and
>>     approve it.
>>      >
>>      >    note you can also just add the ovirt-node directly from the
>>     engine (via
>>      >    the gui/cli/api/sdk without the node registering (you would
>>     need to
>>      >    know
>>      >    set in the node the root password (for ssh) or the engine ssh
>>     key for
>>      >    this to be able to add the node without registering it first.
>>      >    if you register it, it will also get the engine ssh key as part of
>>      >    registration)
>>      >
>>      >      >
>>      >      > David
>>      >      >
>>      > >
>>      >
>>     ------------------------------------------------------------------------
>>      >      >    *From:* Itamar Heim <iheim at redhat.com
>>     <mailto:iheim at redhat.com> <mailto:iheim at redhat.com
>>     <mailto:iheim at redhat.com>>>
>>      >      >    *To:* David Li <david_li at sbcglobal.net
>>     <mailto:david_li at sbcglobal.net>
>>      >    <mailto:david_li at sbcglobal.net
>>     <mailto:david_li at sbcglobal.net>>>; "users at ovirt.org
>>     <mailto:users at ovirt.org>
>>      >    <mailto:users at ovirt.org <mailto:users at ovirt.org>>"
>>      >      >    <users at ovirt.org <mailto:users at ovirt.org>
>>     <mailto:users at ovirt.org <mailto:users at ovirt.org>>>
>>      >      >    *Sent:* Wednesday, December 18, 2013 1:17 AM
>>      >      >    *Subject:* Re: [Users] What parameters to use in
>>     automated node
>>      >      >    install to enable engine CLI register?
>>      >      >
>>      >      >    On 12/17/2013 05:59 PM, David Li wrote:
>>      >      >      > Hi,
>>      >      >      >
>>      >      >      >
>>      >      >      > My node install followed the automatic install
>>     instructions in
>>      >      >    >
>>      >   >      >
>>      >      >
>>      >
>>    https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation.html
>>      >      >      >
>>      >      >      >
>>      >      >      > For the kernel boot parameters, I used
>>      >      >      >
>>      >      >     > management_server=<my machine IP running ovirt-shell
>>     CLI>
>>      >      >      > rhevm_admin_password=xyz
>>      >      >      >
>>      >      >
>>      >      >    do you see the node in pending approval state in the
>>     engine?'
>>      >      >
>>      >      >
>>      >      >      > However I see a few problems when I tried to use
>>      >    ovirt-shell CLI to
>>      >      >      > connect to the engine.
>>      >      >      >
>>      >      >      > [oVirt shell (disconnected)]# connect --url
>>      >      >    "http://<node-IP>:8080/api"
>>      >      >      > --username "admin" --password "xyz"
>>      >      >
>>      >      >    ovirt-shell is to engine to approve the node, not to node
>>      >    directly.
>>      >      >
>>      >      >      >
>>      >      >      >
>>      >      >      > 1. Though I can ping the node, but this cmd gave
>>     errors:
>>      >    error:
>>      >      >    [Errno
>>      >      >      > 113] No route to host
>>      >      >      > 2. What should I use for "--username" argument?
>>     What is
>>      >    "@domain"?
>>      >      >      >
>>      >      >      > David
>>      >      > >
>>      >      >      >
>>      >      >      >
>>      >      >      >
>>      >      >      > _______________________________________________
>>      >      >      > Users mailing list
>>      >      >      > Users at ovirt.org <mailto:Users at ovirt.org>
>>     <mailto:Users at ovirt.org <mailto:Users at ovirt.org>>
>>      >    <mailto:Users at ovirt.org <mailto:Users at ovirt.org>
>>     <mailto:Users at ovirt.org <mailto:Users at ovirt.org>>>
>>      >      >      > http://lists.ovirt.org/mailman/listinfo/users
>>      >      >      >
>>      >      >
>>      >      >
>>      >      >
>>      >
>>      >
>>      >
>>
>>
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131219/7e799f90/attachment-0001.html>


More information about the Users mailing list