DescriptionAntoni Segura Puimedon
2014-02-14 12:51:45 UTC
Description of problem:
When migrating to hosted-engine, it is likely that one of the hosts that was being used in the engine will be part of the hostend engine datacenter.
Currently, the hosted-engine --deploy will be able to detect it and will show:
[ INFO ] Engine replied: DB Up!Welcome to Health Status!
[ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same UUID already exists.
[ 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...
The problem is that after the error it should stop. Prompt the user to remove
the host from any other datacenter, then have options:
1) Retry
2) Abort
Otherwise it will just keep printing until timeout:
[ 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...
Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-1.1.0-0.5.beta2.fc19.noarch
How reproducible: 100%
Steps to Reproduce:
1. Migrate an engine database to a hosted engine VM running on a host that was
already in a datacenter according to the engine
2. Continue with the host deploy.
Actual results:
This will happen:
[ INFO ] Engine replied: DB Up!Welcome to Health Status!
[ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same UUID already exists.
[ 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 hosted_engine_1 to the manager
Please shutdown the VM allowing the system to launch it as a monitored service.
The system will wait until the VM is down.
[ INFO ] Enabling and starting HA services
Hosted Engine successfully set up
[ INFO ] Stage: Clean up
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
Expected results:
After the first error, prompts the user to remove the host from the engine and
press option "continue" when ready.
Additional info:
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.
Simone, can you assist Artyom getting this bug fixed?
Comment 4Simone Tiraboschi
2015-10-01 14:58:25 UTC
Sure, Artyom feel free to contact me.
Comment 5Red Hat Bugzilla Rules Engine
2015-10-19 10:57:08 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
In oVirt testing is done on single stream by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone.
Description of problem: When migrating to hosted-engine, it is likely that one of the hosts that was being used in the engine will be part of the hostend engine datacenter. Currently, the hosted-engine --deploy will be able to detect it and will show: [ INFO ] Engine replied: DB Up!Welcome to Health Status! [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same UUID already exists. [ 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... The problem is that after the error it should stop. Prompt the user to remove the host from any other datacenter, then have options: 1) Retry 2) Abort Otherwise it will just keep printing until timeout: [ 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... Version-Release number of selected component (if applicable): ovirt-hosted-engine-setup-1.1.0-0.5.beta2.fc19.noarch How reproducible: 100% Steps to Reproduce: 1. Migrate an engine database to a hosted engine VM running on a host that was already in a datacenter according to the engine 2. Continue with the host deploy. Actual results: This will happen: [ INFO ] Engine replied: DB Up!Welcome to Health Status! [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same UUID already exists. [ 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 hosted_engine_1 to the manager Please shutdown the VM allowing the system to launch it as a monitored service. The system will wait until the VM is down. [ INFO ] Enabling and starting HA services Hosted Engine successfully set up [ INFO ] Stage: Clean up [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination Expected results: After the first error, prompts the user to remove the host from the engine and press option "continue" when ready. Additional info: