Re: [ovirt-users] hosted engine setup on second host fails
Hi, it's getting a little too long, so please forgive the top post. The engine emits the message Host with the same address already exists. only if you trying to add host with the same hostname it doesn't have any connection to it's ID, so please check if your hosts have unique hostnames (e.g. I ran into this when I didn't get hostname from dhcp and both of my hosts were localhost.localdomain). Regards, Jirka On 09/24/2014 07:59 AM, Yedidyah Bar David wrote: - Original Message - From: Yedidyah Bar David d...@redhat.com To: Itamar Heim ih...@redhat.com Cc: Stefan Wendler stefan.wend...@tngtech.com, users@ovirt.org Sent: Wednesday, September 24, 2014 8:40:58 AM Subject: Re: [ovirt-users] hosted engine setup on second host fails - Original Message - From: Itamar Heim ih...@redhat.com To: Stefan Wendler stefan.wend...@tngtech.com Cc: Yedidyah Bar David ybard...@redhat.com, users@ovirt.org Sent: Tuesday, September 23, 2014 7:07:12 PM Subject: Re: [ovirt-users] hosted engine setup on second host fails On Sep 23, 2014 7:03 PM, Stefan Wendler stefan.wend...@tngtech.com wrote: On 09/23/2014 17:01, Itamar Heim wrote: On 09/23/2014 05:17 PM, Stefan Wendler wrote: On 09/22/2014 10:52, Stefan Wendler wrote: On 09/19/2014 15:58, Itamar Heim wrote: On 09/19/2014 03:32 PM, Stefan Wendler wrote: Hi there. I'm trying to install a hosted-engine on our second node (fist engine runs on node1). But I always get the message: [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same address already exists. I'm not entirely sure what I have to do when this message comes, so I just press ENTER: ### To continue make a selection from the options below: (1) Continue setup - engine installation is complete (2) Power off and restart the VM (3) Abort setup (1, 2, 3)[1]: Is there any other interaction required prior to selecting 1? In the Web Gui I get the following message: X Adding new Host hosted_engine_2 to Cluster Default Here is the console output: # 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-20140919141012-k2lag6.log Version: otopi-1.2.3 (otopi-1.2.3-1.el6) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ 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): some address:/volume1 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]: The Host ID is already known. Is this a re-deployment on an additional host that was previously set up (Yes, No)[Yes]? I admit I never tried that. Not sure how exactly it's supposed to work. A bit more details: Normally, a host is registered only in the engine's database. A hosted engine is additionally registered in a special hosted-engine metadata file managed by the ha daemon [1]. The question above appears if the host id is found in this metadata file. It seems we never check if it's already in the engine database - the assumption is that if an existing host is re-purposed as a hosted-engine, it should first be uninstalled - at least not be in use (no VMs) and removed from its cluster/dc/the engine. [1] http://www.ovirt.org/images/d/d5/Fosdem-hosted-engine.pdf pages 17-18 --== 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: node1.domain Enter 'root' user password for host node1.domain: [ INFO ] Answer file successfully downloaded --== NETWORK CONFIGURATION ==-- The following CPU types
Re: [ovirt-users] hosted engine setup on second host fails
Oh well. I think this is fixed. I upgraded to 3.4.4 and the message seems to be gone. the agents are running :) Thank you very much !!! :) On 09/24/2014 15:23, Stefan Wendler wrote: Okay, I'm truncating the previous mails here Davids hint was the solution. I had the ovirt hosts already added to the cluster and tried to do the hosted-engine-ha setup on them. After removing the hosts from the cluster and putting the data domain to maintenance mode I was able to deploy an all other nodes. I now have a HA'd hosted engine. Which can also be migrated \o/ Maybe that is something that could be stated in the documentation more clearly? Unfortunately now I have a new problem. The agents crash rapidly after startup. The error is the following: (/var/log/ovirt-hosted-engine-ha/agent.log) AttributeError: 'NoneType' object has no attribute 'iteritems' And the whole output here - The agents have been started and I tried a migration of the hosted engine from ovirt host 1 to host 2 which succeeded. But the agents crashed afterwards: MainThread::INFO::2014-09-24 15:09:24,839::agent::52::ovirt_hosted_engine_ha.agent.agent.Agent::(run) ovirt-hosted-engine-ha agent 1.1.5 started MainThread::INFO::2014-09-24 15:09:24,871::hosted_engine::223::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname) Found certificate common name: 10.8.2.101 MainThread::INFO::2014-09-24 15:09:25,081::hosted_engine::367::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Initializing ha-broker connection MainThread::INFO::2014-09-24 15:09:25,082::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor ping, options {'addr': '10.8.2.1'} MainThread::INFO::2014-09-24 15:09:25,083::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25293072 MainThread::INFO::2014-09-24 15:09:25,083::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor mgmt-bridge, options {'use_ssl': 'true', 'bridge_name': 'ovirtmgmt', 'address': '0'} MainThread::INFO::2014-09-24 15:09:25,086::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25294160 MainThread::INFO::2014-09-24 15:09:25,086::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor mem-free, options {'use_ssl': 'true', 'address': '0'} MainThread::INFO::2014-09-24 15:09:25,088::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25293968 MainThread::INFO::2014-09-24 15:09:25,088::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor cpu-load-no-engine, options {'use_ssl': 'true', 'vm_uuid': 'e1ca293f-09e0-4d2e-8915-221839af1489', 'address': '0'} MainThread::INFO::2014-09-24 15:09:25,089::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25360400 MainThread::INFO::2014-09-24 15:09:25,089::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor engine-health, options {'use_ssl': 'true', 'vm_uuid': 'e1ca293f-09e0-4d2e-8915-221839af1489', 'address': '0'} MainThread::INFO::2014-09-24 15:09:25,091::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25509776 MainThread::INFO::2014-09-24 15:09:25,091::hosted_engine::391::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Broker initialized, all submonitors started MainThread::INFO::2014-09-24 15:09:25,125::hosted_engine::476::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_sanlock) Ensuring lease for lockspace hosted-engine, host id 2 is acquired (file: /rhev/data-center/mnt/10.8.2.12:_volume1_engine-store/e313da39-594c-46b5-95c9-c445889c745c/ha_agent/hosted-engine.lockspace) MainThread::INFO::2014-09-24 15:09:25,134::state_machine::153::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Global metadata: {'maintenance': False} MainThread::INFO::2014-09-24 15:09:25,134::state_machine::158::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Host 10.8.2.100 (id 1): {'live-data': True, 'extra': 'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=1411564164 (Wed Sep 24 15:09:24 2014)\nhost-id=1\nscore=2400\nmaintenance=False\nstate=EngineUp\n', 'hostname': '10.8.2.100', 'host-id': 1, 'engine-status': {'health': 'good', 'vm': 'up', 'detail': 'up'}, 'score': 2400, 'maintenance': False, 'host-ts': 1411564164} MainThread::INFO::2014-09-24 15:09:25,134::state_machine::158::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Host 10.8.2.102 (id 3): {'live-data': False, 'extra': 'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=1411562496 (Wed Sep 24 14:41:36
Re: [ovirt-users] hosted engine setup on second host fails
Seems we should consider not adding the host if already there. Please open a bug. Though I really hope in 3.6 to see this done from the gui On Sep 24, 2014 4:23 PM, Stefan Wendler stefan.wend...@tngtech.com wrote: Okay, I'm truncating the previous mails here Davids hiOkay, I'm truncating the previous mails here Davids hint was the solution. I had the ovirt hosts already added to the cluster and tried to do the hosted-engine-ha setup on them. After removing the hosts from the cluster and putting the data domain to maintenance mode I was able to deploy an all other nodes. I now have a HA'd hosted engine. Which can also be migrated \o/ Maybe that is something that could be stated in the documentation more clearly? Unfortunately now I have a new problem. The agents crash rapidly after startup. The error is the following: (/var/log/ovirt-hosted-engine-ha/agent.log) AttributeError: 'NoneType' object has no attribute 'iteritems' And the whole output here - The agents have been started and I tried a migration of the hosted engine from ovirt host 1 to host 2 which succeeded. But the agents crashed afterwards: MainThread::INFO::2014-09-24 15:09:24,839::agent::52::ovirt_hosted_engine_ha.agent.agent.Agent::(run) ovirt-hosted-engine-ha agent 1.1.5 started MainThread::INFO::2014-09-24 15:09:24,871::hosted_engine::223::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname) Found certificate common name: 10.8.2.101 MainThread::INFO::2014-09-24 15:09:25,081::hosted_engine::367::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Initializing ha-broker connection MainThread::INFO::2014-09-24 15:09:25,082::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor ping, options {'addr': '10.8.2.1'} MainThread::INFO::2014-09-24 15:09:25,083::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25293072 MainThread::INFO::2014-09-24 15:09:25,083::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor mgmt-bridge, options {'use_ssl': 'true', 'bridge_name': 'ovirtmgmt', 'address': '0'} MainThread::INFO::2014-09-24 15:09:25,086::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25294160 MainThread::INFO::2014-09-24 15:09:25,086::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor mem-free, options {'use_ssl': 'true', 'address': '0'} MainThread::INFO::2014-09-24 15:09:25,088::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25293968 MainThread::INFO::2014-09-24 15:09:25,088::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor cpu-load-no-engine, options {'use_ssl': 'true', 'vm_uuid': 'e1ca293f-09e0-4d2e-8915-221839af1489', 'address': '0'} MainThread::INFO::2014-09-24 15:09:25,089::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25360400 MainThread::INFO::2014-09-24 15:09:25,089::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor engine-health, options {'use_ssl': 'true', 'vm_uuid': 'e1ca293f-09e0-4d2e-8915-221839af1489', 'address': '0'} MainThread::INFO::2014-09-24 15:09:25,091::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Success, id 25509776 MainThread::INFO::2014-09-24 15:09:25,091::hosted_engine::391::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Broker initialized, all submonitors started MainThread::INFO::2014-09-24 15:09:25,125::hosted_engine::476::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_sanlock) Ensuring lease for lockspace hosted-engine, host id 2 is acquired (file: /rhev/data-center/mnt/10.8.2.12:_volume1_engine-store/e313da39-594c-46b5-95c9-c445889c745c/ha_agent/hosted-engine.lockspace) MainThread::INFO::2014-09-24 15:09:25,134::state_machine::153::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Global metadata: {'maintenance': False} MainThread::INFO::2014-09-24 15:09:25,134::state_machine::158::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Host 10.8.2.100 (id 1): {'live-data': True, 'extra': 'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=1411564164 (Wed Sep 24 15:09:24 2014)\nhost-id=1\nscore=2400\nmaintenance=False\nstate=EngineUp\n', 'hostname': '10.8.2.100', 'host-id': 1, 'engine-status': {'health': 'good', 'vm': 'up', 'detail': 'up'}, 'score': 2400, 'maintenance': False, 'host-ts': 1411564164} MainThread::INFO::2014-09-24 15:09:25,134::state_machine::158::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Host 10.8.2.102 (id 3): {'live-data': False, 'extra': 'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=1411562496 (Wed Sep 24 14:41:36
Re: [ovirt-users] hosted engine setup on second host fails
On 09/22/2014 10:52, Stefan Wendler wrote: On 09/19/2014 15:58, Itamar Heim wrote: On 09/19/2014 03:32 PM, Stefan Wendler wrote: Hi there. I'm trying to install a hosted-engine on our second node (fist engine runs on node1). But I always get the message: [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same address already exists. I'm not entirely sure what I have to do when this message comes, so I just press ENTER: ### To continue make a selection from the options below: (1) Continue setup - engine installation is complete (2) Power off and restart the VM (3) Abort setup (1, 2, 3)[1]: Is there any other interaction required prior to selecting 1? In the Web Gui I get the following message: X Adding new Host hosted_engine_2 to Cluster Default Here is the console output: # 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-20140919141012-k2lag6.log Version: otopi-1.2.3 (otopi-1.2.3-1.el6) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ 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): some address:/volume1 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]: The Host ID is already known. Is this a re-deployment on an additional host that was previously set up (Yes, No)[Yes]? --== 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: node1.domain Enter 'root' user password for host node1.domain: [ INFO ] Answer file successfully downloaded --== NETWORK CONFIGURATION ==-- The following CPU types are supported by this host: - model_Westmere: Intel Westmere Family - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family --== HOSTED ENGINE CONFIGURATION ==-- Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]: Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Engine FQDN: engine.domain Bridge name: ovirtmgmt SSH daemon port: 22 Gateway address: some address Host name for web application : hosted_engine_2 Host ID: 2 Image size GB : 25 Storage connection : some address:/volume1 Console type : vnc Memory size MB : 8192 MAC address: 00:16:3e:3b:8d:66 Boot type : disk Number of CPUs : 2 CPU Type : model_Westmere Please confirm installation settings (Yes, No)[No]: yes [ ERROR ] Invalid value Please confirm installation settings (Yes, No)[No]: Yes [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware
Re: [ovirt-users] hosted engine setup on second host fails
On 09/23/2014 05:17 PM, Stefan Wendler wrote: On 09/22/2014 10:52, Stefan Wendler wrote: On 09/19/2014 15:58, Itamar Heim wrote: On 09/19/2014 03:32 PM, Stefan Wendler wrote: Hi there. I'm trying to install a hosted-engine on our second node (fist engine runs on node1). But I always get the message: [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same address already exists. I'm not entirely sure what I have to do when this message comes, so I just press ENTER: ### To continue make a selection from the options below: (1) Continue setup - engine installation is complete (2) Power off and restart the VM (3) Abort setup (1, 2, 3)[1]: Is there any other interaction required prior to selecting 1? In the Web Gui I get the following message: X Adding new Host hosted_engine_2 to Cluster Default Here is the console output: # 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-20140919141012-k2lag6.log Version: otopi-1.2.3 (otopi-1.2.3-1.el6) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ 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): some address:/volume1 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]: The Host ID is already known. Is this a re-deployment on an additional host that was previously set up (Yes, No)[Yes]? --== 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: node1.domain Enter 'root' user password for host node1.domain: [ INFO ] Answer file successfully downloaded --== NETWORK CONFIGURATION ==-- The following CPU types are supported by this host: - model_Westmere: Intel Westmere Family - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family --== HOSTED ENGINE CONFIGURATION ==-- Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]: Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Engine FQDN: engine.domain Bridge name: ovirtmgmt SSH daemon port: 22 Gateway address: some address Host name for web application : hosted_engine_2 Host ID: 2 Image size GB : 25 Storage connection : some address:/volume1 Console type : vnc Memory size MB : 8192 MAC address: 00:16:3e:3b:8d:66 Boot type : disk Number of CPUs : 2 CPU Type : model_Westmere Please confirm installation settings (Yes, No)[No]: yes [ ERROR ] Invalid value Please confirm installation settings (Yes, No)[No]: Yes [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware
Re: [ovirt-users] hosted engine setup on second host fails
On 09/23/2014 17:01, Itamar Heim wrote: On 09/23/2014 05:17 PM, Stefan Wendler wrote: On 09/22/2014 10:52, Stefan Wendler wrote: On 09/19/2014 15:58, Itamar Heim wrote: On 09/19/2014 03:32 PM, Stefan Wendler wrote: Hi there. I'm trying to install a hosted-engine on our second node (fist engine runs on node1). But I always get the message: [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same address already exists. I'm not entirely sure what I have to do when this message comes, so I just press ENTER: ### To continue make a selection from the options below: (1) Continue setup - engine installation is complete (2) Power off and restart the VM (3) Abort setup (1, 2, 3)[1]: Is there any other interaction required prior to selecting 1? In the Web Gui I get the following message: X Adding new Host hosted_engine_2 to Cluster Default Here is the console output: # 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-20140919141012-k2lag6.log Version: otopi-1.2.3 (otopi-1.2.3-1.el6) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ 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): some address:/volume1 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]: The Host ID is already known. Is this a re-deployment on an additional host that was previously set up (Yes, No)[Yes]? --== 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: node1.domain Enter 'root' user password for host node1.domain: [ INFO ] Answer file successfully downloaded --== NETWORK CONFIGURATION ==-- The following CPU types are supported by this host: - model_Westmere: Intel Westmere Family - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family --== HOSTED ENGINE CONFIGURATION ==-- Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]: Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Engine FQDN: engine.domain Bridge name: ovirtmgmt SSH daemon port: 22 Gateway address: some address Host name for web application : hosted_engine_2 Host ID: 2 Image size GB : 25 Storage connection : some address:/volume1 Console type : vnc Memory size MB : 8192 MAC address: 00:16:3e:3b:8d:66 Boot type : disk Number of CPUs : 2 CPU Type : model_Westmere Please confirm installation settings (Yes, No)[No]: yes [ ERROR ] Invalid value Please confirm installation settings (Yes, No)[No]: Yes [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO
Re: [ovirt-users] hosted engine setup on second host fails
On Sep 23, 2014 7:03 PM, Stefan Wendler stefan.wend...@tngtech.com wrote: On 09/23/2014 17:01, Itamar Heim wrote: On 09/23/2014 05:17 PM, Stefan Wendler wrote: On 09/22/2014 10:52, Stefan Wendler wrote: On 09/19/2014 15:58, Itamar Heim wrote: On 09/19/2014 03:32 PM, Stefan Wendler wrote: Hi there. I'm trying to install a hosted-engine on our second node (fist engine runs on node1). But I always get the message: [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same address already exists. I'm not entirely sure what I have to do when this message comes, so I just press ENTER: ### To continue make a selection from the options below: (1) Continue setup - engine installation is complete (2) Power off and restart the VM (3) Abort setup (1, 2, 3)[1]: Is there any other interaction required prior to selecting 1? In the Web Gui I get the following message: X Adding new Host hosted_engine_2 to Cluster Default Here is the console output: # 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-20140919141012-k2lag6.log Version: otopi-1.2.3 (otopi-1.2.3-1.el6) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ 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): some address:/volume1 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]: The Host ID is already known. Is this a re-deployment on an additional host that was previously set up (Yes, No)[Yes]? --== 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: node1.domain Enter 'root' user password for host node1.domain: [ INFO ] Answer file successfully downloaded --== NETWORK CONFIGURATION ==-- The following CPU types are supported by this host: - model_Westmere: Intel Westmere Family - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family --== HOSTED ENGINE CONFIGURATION ==-- Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]: Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Engine FQDN : engine.domain Bridge name : ovirtmgmt SSH daemon port : 22 Gateway address : some address Host name for web application : hosted_engine_2 Host ID : 2 Image size GB : 25 Storage connection : some address:/volume1 Console type : vnc Memory size MB : 8192 MAC address : 00:16:3e:3b:8d:66 Boot type : disk Number of CPUs : 2 CPU Type
Re: [ovirt-users] hosted engine setup on second host fails
On 09/19/2014 15:58, Itamar Heim wrote: On 09/19/2014 03:32 PM, Stefan Wendler wrote: Hi there. I'm trying to install a hosted-engine on our second node (fist engine runs on node1). But I always get the message: [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same address already exists. I'm not entirely sure what I have to do when this message comes, so I just press ENTER: ### To continue make a selection from the options below: (1) Continue setup - engine installation is complete (2) Power off and restart the VM (3) Abort setup (1, 2, 3)[1]: Is there any other interaction required prior to selecting 1? In the Web Gui I get the following message: X Adding new Host hosted_engine_2 to Cluster Default Here is the console output: # 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-20140919141012-k2lag6.log Version: otopi-1.2.3 (otopi-1.2.3-1.el6) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ 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): some address:/volume1 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]: The Host ID is already known. Is this a re-deployment on an additional host that was previously set up (Yes, No)[Yes]? --== 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: node1.domain Enter 'root' user password for host node1.domain: [ INFO ] Answer file successfully downloaded --== NETWORK CONFIGURATION ==-- The following CPU types are supported by this host: - model_Westmere: Intel Westmere Family - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family --== HOSTED ENGINE CONFIGURATION ==-- Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]: Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Engine FQDN: engine.domain Bridge name: ovirtmgmt SSH daemon port: 22 Gateway address: some address Host name for web application : hosted_engine_2 Host ID: 2 Image size GB : 25 Storage connection : some address:/volume1 Console type : vnc Memory size MB : 8192 MAC address: 00:16:3e:3b:8d:66 Boot type : disk Number of CPUs : 2 CPU Type : model_Westmere Please confirm installation settings (Yes, No)[No]: yes [ ERROR ] Invalid value Please confirm installation settings (Yes, No)[No]: Yes [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware
[ovirt-users] hosted engine setup on second host fails
Hi there. I'm trying to install a hosted-engine on our second node (fist engine runs on node1). But I always get the message: [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same address already exists. I'm not entirely sure what I have to do when this message comes, so I just press ENTER: ### To continue make a selection from the options below: (1) Continue setup - engine installation is complete (2) Power off and restart the VM (3) Abort setup (1, 2, 3)[1]: Is there any other interaction required prior to selecting 1? In the Web Gui I get the following message: X Adding new Host hosted_engine_2 to Cluster Default Here is the console output: # 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-20140919141012-k2lag6.log Version: otopi-1.2.3 (otopi-1.2.3-1.el6) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ 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): some address:/volume1 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]: The Host ID is already known. Is this a re-deployment on an additional host that was previously set up (Yes, No)[Yes]? --== 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: node1.domain Enter 'root' user password for host node1.domain: [ INFO ] Answer file successfully downloaded --== NETWORK CONFIGURATION ==-- The following CPU types are supported by this host: - model_Westmere: Intel Westmere Family - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family --== HOSTED ENGINE CONFIGURATION ==-- Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]: Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Engine FQDN: engine.domain Bridge name: ovirtmgmt SSH daemon port: 22 Gateway address: some address Host name for web application : hosted_engine_2 Host ID: 2 Image size GB : 25 Storage connection : some address:/volume1 Console type : vnc Memory size MB : 8192 MAC address: 00:16:3e:3b:8d:66 Boot type : disk Number of CPUs : 2 CPU Type : model_Westmere Please confirm installation settings (Yes, No)[No]: yes [ ERROR ] Invalid value Please confirm installation settings (Yes, No)[No]: Yes [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Connecting Storage Domain [ INFO ] Configuring VM [ INFO ] Updating hosted-engine configuration [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up To continue make a selection from the options below:
Re: [ovirt-users] hosted engine setup on second host fails
On 09/19/2014 03:32 PM, Stefan Wendler wrote: Hi there. I'm trying to install a hosted-engine on our second node (fist engine runs on node1). But I always get the message: [ ERROR ] Cannot automatically add the host to the Default cluster: Cannot add Host. Host with the same address already exists. I'm not entirely sure what I have to do when this message comes, so I just press ENTER: ### To continue make a selection from the options below: (1) Continue setup - engine installation is complete (2) Power off and restart the VM (3) Abort setup (1, 2, 3)[1]: Is there any other interaction required prior to selecting 1? In the Web Gui I get the following message: X Adding new Host hosted_engine_2 to Cluster Default Here is the console output: # 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-20140919141012-k2lag6.log Version: otopi-1.2.3 (otopi-1.2.3-1.el6) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ 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): some address:/volume1 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]: The Host ID is already known. Is this a re-deployment on an additional host that was previously set up (Yes, No)[Yes]? --== 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: node1.domain Enter 'root' user password for host node1.domain: [ INFO ] Answer file successfully downloaded --== NETWORK CONFIGURATION ==-- The following CPU types are supported by this host: - model_Westmere: Intel Westmere Family - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family --== HOSTED ENGINE CONFIGURATION ==-- Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_2]: Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Engine FQDN: engine.domain Bridge name: ovirtmgmt SSH daemon port: 22 Gateway address: some address Host name for web application : hosted_engine_2 Host ID: 2 Image size GB : 25 Storage connection : some address:/volume1 Console type : vnc Memory size MB : 8192 MAC address: 00:16:3e:3b:8d:66 Boot type : disk Number of CPUs : 2 CPU Type : model_Westmere Please confirm installation settings (Yes, No)[No]: yes [ ERROR ] Invalid value Please confirm installation settings (Yes, No)[No]: Yes [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Connecting Storage Domain [ INFO ] Configuring VM [ INFO ] Updating hosted-engine configuration [ INFO ] Stage: Transaction