[SOLVED] Re: Problems with adding a host in Ovirt (Hosted Engine) behind a proxy server. (The additional Host can't see the Storage Domain)

2015-04-14 9:21 GMT-05:00 Roy Golan <rgolan@redhat.com>:
On 04/14/2015 04:37 PM, Julián Tete wrote:
Hello Friends of oVirt, I'd setup a oVirt enviroment (hosted-engine) behind a proxy.
But I can't add any additional Host to my Cluster.
I'm phase of testing (SELinux Permissive, No firewall)
All the machines are CentOS 7.1
When I try to add a Host, the operation it's OK, but don't see the Data Master Storage and the operation at the ends fails, and the additional host it's Non Operational.
My
FQDN Engine: ovirt.udistritaloas.edu.co
FQDN Host with the Host-Engine and with the Data Master Storage: patascoy.udistritaloas.edu.co
FQDN Additional host: sotara.udistritaloas.edu.co
This is the problem's resume:
2015-Apr-13, 17:08 Failed to connect Host Sotara to Storage Pool OAS
2015-Apr-13, 17:08 Host Sotara cannot access the Storage Domain(s) <UNKNOWN> attached to the Data Center OAS. Setting Host state to Non-Operational.
2015-Apr-13, 17:08 Failed to connect Host Sotara to Storage Servers
2015-Apr-13, 17:08 The error message for connection patascoy.udistritaloas.edu.co:/oVirt/vms returned by VDSM was: Problem while trying to mount target
2015-Apr-13, 17:08 Failed to connect Host Sotara to the Storage Domains PatascoyVMS.
2015-Apr-13, 17:06 Host Sotara installed
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Termination.
2015-Apr-13, 17:06 Installing Host Sotara. Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-20150413170647-10.20.0.31-520f4408.log'.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Pre-termination.
2015-Apr-13, 17:06 Installing Host Sotara. Starting vdsm.
2015-Apr-13, 17:06 Installing Host Sotara. Stopping libvirtd.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Closing up.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Transaction commit.
2015-Apr-13, 17:06 Installing Host Sotara. Enrolling certificate.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Misc configuration.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Package installation.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Misc configuration.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Transaction setup.
2015-Apr-13, 17:06 Installing Host Sotara. Hardware supports virtualization.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Setup validation.
2015-Apr-13, 17:06 Installing Host Sotara. Disabling Kdump integration.
2015-Apr-13, 17:06 Installing Host Sotara. Logs at host located at: '/tmp/ovirt-host-deploy-20150413170601-bxfvlk.log'.
2015-Apr-13, 17:06 Installing Host Sotara. Kdump supported.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Environment customization.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Programs detection.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Environment packages setup.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Environment setup.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Initializing.
2015-Apr-13, 17:06 Installing Host Sotara. Connected to host 10.20.0.31 with SSH key fingerprint: 3c:82:f9:bd:5d:b5:dd:3b:be:6d:bd:a2:9a:28:88:b1.
2015-Apr-13, 17:06 Host Sotara was added by admin@internal.
Logs in Additional Host:
/var/log/vdsm/vdsm.log
Can you help me ?
Thanks in advance Hello Friends of oVirt, I'd setup a oVirt enviroment (hosted-engine) behind a proxy.
But I can't add any additional Host to my Cluster.
I'm phase of testing (SELinux Permissive, No firewall)
All the machines are CentOS 7.1
When I try to add a Host, the operation it's OK, but don't see the Data Master Storage and the operation at the ends fails, and the additional host it's Non Operational.
My
FQDN Engine: ovirt.udistritaloas.edu.co
FQDN Host with the Host-Engine and with the Data Master Storage: patascoy.udistritaloas.edu.co
FQDN Additional host: sotara.udistritaloas.edu.co
This is the problem's resume:
2015-Apr-13, 17:08 Failed to connect Host Sotara to Storage Pool OAS
2015-Apr-13, 17:08 Host Sotara cannot access the Storage Domain(s) <UNKNOWN> attached to the Data Center OAS. Setting Host state to Non-Operational.
2015-Apr-13, 17:08 Failed to connect Host Sotara to Storage Servers
2015-Apr-13, 17:08 The error message for connection patascoy.udistritaloas.edu.co:/oVirt/vms returned by VDSM was: Problem while trying to mount target
2015-Apr-13, 17:08 Failed to connect Host Sotara to the Storage Domains PatascoyVMS.
2015-Apr-13, 17:06 Host Sotara installed
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Termination.
2015-Apr-13, 17:06 Installing Host Sotara. Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-20150413170647-10.20.0.31-520f4408.log'.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Pre-termination.
2015-Apr-13, 17:06 Installing Host Sotara. Starting vdsm.
2015-Apr-13, 17:06 Installing Host Sotara. Stopping libvirtd.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Closing up.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Transaction commit.
2015-Apr-13, 17:06 Installing Host Sotara. Enrolling certificate.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Misc configuration.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Package installation.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Misc configuration.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Transaction setup.
2015-Apr-13, 17:06 Installing Host Sotara. Hardware supports virtualization.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Setup validation.
2015-Apr-13, 17:06 Installing Host Sotara. Disabling Kdump integration.
2015-Apr-13, 17:06 Installing Host Sotara. Logs at host located at: '/tmp/ovirt-host-deploy-20150413170601-bxfvlk.log'.
2015-Apr-13, 17:06 Installing Host Sotara. Kdump supported.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Environment customization.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Programs detection.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Environment packages setup.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Environment setup.
2015-Apr-13, 17:06 Installing Host Sotara. Stage: Initializing.
2015-Apr-13, 17:06 Installing Host Sotara. Connected to host 10.20.0.31 with SSH key fingerprint: 3c:82:f9:bd:5d:b5:dd:3b:be:6d:bd:a2:9a:28:88:b1.
2015-Apr-13, 17:06 Host Sotara was added by admin@internal.
Logs in Additional Host:
/var/log/vdsm/vdsm.log
Can you help me ?
the log says the mount command timed-out:
/usr/bin/sudo -n /usr/bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6,nfsvers=3 patascoy.udistritaloas.edu.co:/oVirt/vms /rhev/data-center/mnt/patascoy.udistritaloas.edu.co:_oVirt_vms Thread-21::ERROR::2015-04-13 18:04:29,443::storageServer::211::Storage.StorageServer.MountConnection::(connect) Mount failed: (32, ';mount.nfs: Connection timed out\n')
In the host with the NFS Data Storage add the following rules in Iptables: -A INPUT -p tcp --dport 2049 -j ACCEPT -A INPUT -p udp --dport 2049 -j ACCEPT -A INPUT -p tcp --dport 111 -j ACCEPT -A INPUT -p udp --dport 111 -j ACCEPT
Thanks in advance
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
participants (1)
-
Julián Tete