I have opened two BZs around these two case scenarios:
BZ 1059952 - hosted-engine --deploy (additional host) will fail if the
engine is not using the default self-signed CA
BZ 1059950 - If cluster=Default does not exist in hosted-engine it will
fail and timeout
Thanks,
Andrew
On Fri, Jan 31, 2014 at 9:58 AM, Andrew Lau <andrew(a)andrewklau.com> wrote:
I managed to resolve this, don't know why I was not paying
attention to
the first error.
The engine needs to have a cluster called Default or the host won't get
added to the engine, this was causing that constant spam of "still waiting
for host to become operational".
The host would however still get added to the ha-services just not the
engine and the install terminates.
On Jan 29, 2014 10:15 PM, "Andrew Lau" <andrew(a)andrewklau.com> wrote:
> On Wed, Jan 29, 2014 at 9:50 PM, Yedidyah Bar David <didi(a)redhat.com>wrote:
>
>> *From: *"Andrew Lau" <andrew(a)andrewklau.com>
>> *To: *"Yedidyah Bar David" <didi(a)redhat.com>
>> *Cc: *"users" <users(a)ovirt.org>
>> *Sent: *Wednesday, January 29, 2014 12:19:56 PM
>>
>> *Subject: *Re: [Users] Hosted Engine adding host SSL Failure (w/ engine
>> custom cert)
>>
>>
>> On Wed, Jan 29, 2014 at 8:57 PM, Yedidyah Bar David
<didi(a)redhat.com>wrote:
>>
>>> *From: *"Andrew Lau" <andrew(a)andrewklau.com>
>>> *To: *"Yedidyah Bar David" <didi(a)redhat.com>
>>> *Cc: *"users" <users(a)ovirt.org>
>>> *Sent: *Wednesday, January 29, 2014 10:17:21 AM
>>>
>>> *Subject: *Re: [Users] Hosted Engine adding host SSL Failure (w/
>>> engine custom cert)
>>>
>>> Shame about the way the CA works, may be worth putting a reverse proxy
>>> in front as unsigned SSL can be a deal breaker.
>>>
>>>
>>> Perhaps. Would you like to open a bug?
>>>
>>>
>>> Anyway, my vdsm.log is here
http://www.fpaste.org/72643/98338713/
>>>
>>> When it's "Still waiting for VDSM host to become operational.."
there
>>> is no output in vdsm.log
>>>
>>>
>>> Sorry, didn't follow. What this refers to? The ssl issue or something
>>> else?
>>>
>>>
>> So the output of the install process is like this:
>>
>> [ INFO ] Engine replied: DB Up!Welcome to Health Status!
>> [ ERROR ] Cannot automatically add the host to the Default cluster:
>> Entity not found: Cluster: name=Default
>> [ INFO ] Waiting for the host to become operational in the engine. This
>> may take several minutes...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ INFO ] Still waiting for VDSM host to become operational...
>> [ ERROR ] Timed out while waiting for host to start. Please check the
>> logs.
>> [ ERROR ] Unable to add HV02 to the manager
>> [ INFO ] Enabling and starting HA services
>> Hosted Engine successfully set up
>> [ INFO ] Stage: Clean up
>> [ INFO ] Stage: Pre-termination
>> [ INFO ] Stage: Termination
>>
>>
>> During that whole "Still waiting for VDSM host to become
operational..."
>> The vdsm.log doesn't report anything at all not until the timeout
>>
>>
>> Can you please post full logs of hosted-engine-setup, vdsm, and
>> hosted-engine-ha?
>>
>> I looked at previous posts and only found setup logs with the external
>> ca cert. Your
>>
http://www.fpaste.org/72643/98338713/ starts at 19:03:31 where the
>> problem might
>> be much earlier.
>>
>>
> Sorry about that.
>
> ovirt-hosted-engine-setup:
http://www.fpaste.org/72679/13909935/
> fpaste doesn't seem to like the long vdsm log so I have attached it
> instead.
>
>