[ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

Simone Tiraboschi stirabos at redhat.com
Wed May 18 09:38:14 UTC 2016


The issue is here:
2016-05-18 00:16:17 DEBUG otopi.context context.dumpEnvironment:510 ENV
OVEHOSTED_ENGINE/appHostName=str:''hosted_engine_1''
You are quoting it twice and so it will try to use the string with the
inner quote which is not a valid name.

Does it come from your custom '/root/engine_answers.conf'? if so please fix
it there and try again.


On Wed, May 18, 2016 at 11:22 AM, Ralf Schenk <rs at databay.de> wrote:

> Hello,
>
> of course. See attached File.
>
> Bye
>
> Am 18.05.2016 um 11:13 schrieb Simone Tiraboschi:
>
> It looks, correct.
>
> Can you please share the whole log file?
>
> On Wed, May 18, 2016 at 11:03 AM, Ralf Schenk <rs at databay.de> wrote:
>
>> Hello,
>>
>> from the last setup Log:
>>
>> 2016-05-11 18:19:31 DEBUG otopi.context context.dumpEnvironment:510 ENV
>> OVEHOSTED_ENGINE/appHostName=str:'hosted_engine_1'
>>
>> Am 18.05.2016 um 10:59 schrieb Simone Tiraboschi:
>>
>>
>>
>> On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk < <rs at databay.de>
>> rs at databay.de> wrote:
>>
>>> Dear list,
>>>
>>> i'm working for days on a hosted-engine setup on glusterfs and 'm stuck
>>> in the last phase of hosted-engine --deploy see Text output (for two days
>>> now :-( ). I've only ovirtmgmt Bridge up and running and all DNS-Names seen
>>> in the screenshot are resolvable. It shouldn't be related to your problem
>>> regarding multiple nic's in the engine-vm. As seen the hosted-engine setup
>>> is already succsessfull, engine-vm running, but the setup fails in
>>> registering the host (microcloud21...) in the engine.
>>>
>>>
>>> [...]
>>>
>>>           |- [ INFO  ] Starting engine service
>>>           |- [ INFO  ] Restarting httpd
>>>           |- [ INFO  ] Restarting ovirt-vmconsole proxy service
>>>           |- [ INFO  ] Stage: Clean up
>>>           |-           Log file is located at
>>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20160517222119-ndcyxn.log
>>>           |- [ INFO  ] Generating answer file
>>> '/var/lib/ovirt-engine/setup/answers/20160517223055-setup.conf'
>>>           |- [ INFO  ] Stage: Pre-termination
>>>           |- [ INFO  ] Stage: Termination
>>>           |- [ INFO  ] Execution of setup completed successfully
>>>           |- HE_APPLIANCE_ENGINE_SETUP_SUCCESS
>>> [ INFO  ] Engine-setup successfully completed
>>> [ INFO  ] Engine is still unreachable
>>> [ INFO  ] Engine is still not reachable, waiting...
>>> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
>>> [ INFO  ] Acquiring internal CA cert from the engine
>>> [ INFO  ] The following CA certificate is going to be used, please
>>> immediately interrupt if not correct:
>>> [ INFO  ] Issuer: C=US, O=rxmgmt.databay.de,
>>> CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US, O=
>>> rxmgmt.databay.de, CN=engine-mcIII.rxmgmt.databay.de.77792, Fingerprint
>>> (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
>>> [ INFO  ] Connecting to the Engine
>>> [ ERROR ] Cannot automatically add the host to cluster Default: Host
>>> name must be formed of alphanumeric characters, numbers or "-_."
>>>
>>>
>>>           Please check Engine VM configuration.
>>>
>>>           Make a selection from the options below:
>>>           (1) Continue setup - Engine VM configuration has been fixed
>>>           (2) Abort setup
>>>
>>>           (1, 2)[1]: 1
>>>
>>>           Checking for oVirt-Engine status at
>>> engine-mcIII.rxmgmt.databay.de...
>>> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
>>> [ ERROR ] Cannot automatically add the host to cluster Default: Host
>>> name must be formed of alphanumeric characters, numbers or "-_."
>>>
>>>
>>>           Please check Engine VM configuration.
>>>
>>>           Make a selection from the options below:
>>>           (1) Continue setup - Engine VM configuration has been fixed
>>>           (2) Abort setup
>>>
>>>           (1, 2)[1]:
>>>
>>> Additionally I can see the error in the eninge-vm in
>>> /var/log/ovirt-engine/engine.log:
>>>
>>> 2016-05-17 14:08:15,296 WARN
>>> [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-13)
>>> [9277b0a] CanDoAction of action 'AddVds' failed for user admin at internal.
>>> Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
>>> microcloud21.rxmgmt.databay.de,VALIDATION_VDS_NAME_INVALID
>>> 2016-05-17 14:08:15,360 ERROR
>>> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default
>>> task-13) [] Operation Failed: [Host name must be formed of alphanumeric
>>> characters, numbers or "-_."]
>>>
>>
>> 'microcloud21.rxmgmt.databay.de' is the host address, in oVirt the host
>> has also a name.
>> Can you please look for OVEHOSTED_ENGINE/appHostName in your
>> hosted-engine-setup logs?
>>
>>>
>>>
>>> The hostname that should be registered is the correct fqdn for the
>>> virtualization host that runs the engine-vm, points to the ip of the
>>> ovirtmgmt-Bridge and also the IP is reverse-resolvable to the hostname.
>>> I checked /etc/hostname of the host for non-printable characters and as
>>> you can see that is a valid hostname.
>>>
>>> All is running on Centos 7 Versions:
>>> ovirt-engine-appliance.noarch         3.6-20160420.1.el7.centos
>>> @ovirt-3.6
>>> ovirt-engine-sdk-python.noarch        3.6.5.0-1.el7.centos
>>> @ovirt-3.6
>>> ovirt-host-deploy.noarch              1.4.1-1.el7.centos
>>> @ovirt-3.6
>>> ovirt-hosted-engine-ha.noarch         1.3.5.3-1.1.el7
>>> @centos-ovirt36
>>> ovirt-hosted-engine-setup.noarch      1.3.5.0-1.1.el7
>>> @centos-ovirt36
>>> ovirt-setup-lib.noarch                1.0.1-1.el7.centos
>>> @ovirt-3.6
>>> ovirt-vmconsole.noarch                1.0.0-1.el7.centos
>>> @ovirt-3.6
>>> ovirt-vmconsole-host.noarch           1.0.0-1.el7.centos
>>> @ovirt-3.6
>>>
>>> Since I already repeated the setup for many times now, I need your help.
>>> --
>>>
>>>
>>> *Ralf Schenk*
>>> fon +49 (0) 24 05 / 40 83 70
>>> <%2B49%20%280%29%2024%2005%20%2F%2040%2083%2070>
>>> fax +49 (0) 24 05 / 40 83 759
>>> <%2B49%20%280%29%2024%2005%20%2F%2040%2083%20759>
>>> mail <rs at databay.de>*rs at databay.de <rs at databay.de>*
>>>
>>> *Databay AG*
>>> Jens-Otto-Krag-Straße 11
>>> D-52146 Würselen
>>> *www.databay.de* <http://www.databay.de>
>>>
>>> Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
>>> Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm.
>>> Philipp Hermanns
>>> Aufsichtsratsvorsitzender: Klaus Scholzen (RA)
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>> --
>>
>>
>> *Ralf Schenk*
>> fon +49 (0) 24 05 / 40 83 70
>> <%2B49%20%280%29%2024%2005%20%2F%2040%2083%2070>
>> fax +49 (0) 24 05 / 40 83 759
>> <%2B49%20%280%29%2024%2005%20%2F%2040%2083%20759>
>> mail *rs at databay.de* <rs at databay.de>
>>
>> *Databay AG*
>> Jens-Otto-Krag-Straße 11
>> D-52146 Würselen
>> *www.databay.de* <http://www.databay.de>
>>
>> Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
>> Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm.
>> Philipp Hermanns
>> Aufsichtsratsvorsitzender: Klaus Scholzen (RA)
>> ------------------------------
>>
>
>
> --
>
>
> *Ralf Schenk*
> fon +49 (0) 24 05 / 40 83 70
> fax +49 (0) 24 05 / 40 83 759
> mail *rs at databay.de* <rs at databay.de>
>
> *Databay AG*
> Jens-Otto-Krag-Straße 11
> D-52146 Würselen
> *www.databay.de* <http://www.databay.de>
>
> Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
> Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm.
> Philipp Hermanns
> Aufsichtsratsvorsitzender: Klaus Scholzen (RA)
> ------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160518/00b226c5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1250 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160518/00b226c5/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1250 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160518/00b226c5/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_databay_email.gif
Type: image/gif
Size: 1250 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160518/00b226c5/attachment-0005.gif>


More information about the Users mailing list