
On 07/18/2014 02:05 AM, Andrew Lau wrote:
I think you should be able specify this within the ovirt-engine, just modify the cluster's cpu compatibility. I hit this too, but i think I just ended up provisioning the older machine first then the newer ones joined with the older model
1. first the host needs to have a compatible cpu model. what does 'vdsClient -s 0 getVdsCaps | grep -i flag' returns 2. cluster cpu level is easy, but hosted engine vm config resides on the disk, and needs to be manually edited in this case iirc.
On Thu, Jul 17, 2014 at 11:05 PM, George Machitidze <gmachitidze@greennet.ge> wrote:
Hello,
I am deploying hosted engine (HA) on hosts with different CPU models on one of my oVirt labs.
Host have different CPU's or there is also the problem: virtualization platform cannot detect CPU at all, "The following CPU types are supported by this host:" is empty:
2014-07-17 16:51:42 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vdsmd.cpu cpu._customization:124 Compatible CPU models are: []
Is there any way to override this setting and use CPU of old machine for both hosts?
ex. host1:
cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz stepping : 11
host2:
cpu family : 6 model : 42 model name : Intel(R) Xeon(R) CPU E31220 @ 3.10GHz stepping : 7
[root@ovirt2 ~]# hosted-engine --deploy [ INFO ] Stage: Initializing Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140717165111-7tg2g7.log Version: otopi-1.2.1 (otopi-1.2.1-1.el6) [ INFO ] Hardware supports virtualization [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization
--== STORAGE CONFIGURATION ==--
During customization use CTRL-D to abort. Please specify the storage you would like to use (nfs3, nfs4)[nfs3]: Please specify the full shared storage connection path to use (example: host:/path): ovirt-hosted:/engine The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]? [ INFO ] Installing on additional host Please specify the Host ID [Must be integer, default: 2]:
--== SYSTEM CONFIGURATION ==--
[WARNING] A configuration file must be supplied to deploy Hosted Engine on an additional host. The answer file may be fetched from the first host using scp. If you do not want to download it automatically you can abort the setup answering no to the following question. Do you want to scp the answer file from the first host? (Yes, No)[Yes]: Please provide the FQDN or IP of the first host: ovirt1.test.ge Enter 'root' user password for host ovirt1.test.ge: [ INFO ] Answer file successfully downloaded
--== NETWORK CONFIGURATION ==--
The following CPU types are supported by this host: [ ERROR ] Failed to execute stage 'Environment customization': Invalid CPU type specified: model_Conroe [ INFO ] Stage: Clean up [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination
-- BR
George Machitidze
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users