Description of problem:
Currently the hosted-engine command can already detect this if "--vm-status" is run on a system where the engine has not been deployed.
However, there's currently no way to simply check whether it's been deployed or not. hosted-engine checks a configuration file, and spits out a warning if it has not been, but there is no way for users to tell whether it's been deployed other than trying a command and getting this error.
This could be --check-deployed, or some other flag.
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
Is there any ETA for this fix?
The Cockpit implementation is depending on this feature
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.
The flag exists as appears bellow:
man hosted-engine --check-deployed
Checks whether the hosted engine has been deployed.
In case of HE is deployed, the command returns nothing to customer, otherwise returns:
The hosted engine has not been deployed
Linux version 3.10.0-327.18.2.el7.x86_64 (email@example.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu May 12 11:03:55 UTC 2016
Linux 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.2.1511 (Core)
*** Bug 1203117 has been marked as a duplicate of this bug. ***
oVirt 4.0.0 has been released, closing current release.