[Users] Can I use IP address for FQDN?

Maurice James midnightsteel at msn.com
Sat Jan 11 01:19:59 UTC 2014


By chance do you have a firewall enabled on your nfs host. If you do have a firewall enabled, do you have the following ports open?

 

TCP/UDP 111

TCP/UDP 2049

And the ports defined in /etc/sysconfig/nfs

 

From: David Li [mailto:david_li at sbcglobal.net] 
Sent: Friday, January 10, 2014 7:48 PM
To: Maurice James; 'Pat Pierson'
Cc: users at ovirt.org
Subject: Re: [Users] Can I use IP address for FQDN?

 

 

Here it is:

 

Dummy-36245::DEBUG::2014-01-10 18:10:37,189::storage_mailbox::733::Storage.Misc.excCmd::(_checkForMail) SUCCESS: <err> = '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied, 0.0336553 s, 30.4 MB/s\n'; <rc> = 0

Thread-83865::ERROR::2014-01-10 18:10:37,712::storageServer::209::StorageServer.MountConnection::(connect) Mount failed: (32, ';mount.nfs: Connection timed out\n')

Traceback (most recent call last):

  File "/usr/share/vdsm/storage/storageServer.py", line 207, in connect

    self._mount.mount(self.options, self._vfsType)

  File "/usr/share/vdsm/storage/mount.py", line 222, in mount

    return self._runcmd(cmd, timeout)

  File "/usr/share/vdsm/storage/mount.py", line 238, in _runcmd

    raise MountError(rc, ";".join((out, err)))

MountError: (32, ';mount.nfs: Connection timed out\n')

Thread-83865::ERROR::2014-01-10 18:10:37,713::hsm::2364::Storage.HSM::(connectStorageServer) Could not connect to storageServer

Traceback (most recent call last):

  File "/usr/share/vdsm/storage/hsm.py", line 2361, in connectStorageServer

    conObj.connect()

  File "/usr/share/vdsm/storage/storageServer.py", line 320, in connect

    return self._mountCon.connect()

  File "/usr/share/vdsm/storage/storageServer.py", line 215, in connect

    raise e

MountError: (32, ';mount.nfs: Connection timed out\n')

 


  _____  


From: Maurice James <midnightsteel at msn.com <mailto:midnightsteel at msn.com> >
To: 'David Li' <david_li at sbcglobal.net <mailto:david_li at sbcglobal.net> >; 'Pat Pierson' <ihasn2004 at gmail.com <mailto:ihasn2004 at gmail.com> > 
Cc: users at ovirt.org <mailto:users at ovirt.org>  
Sent: Friday, January 10, 2014 12:41 PM
Subject: RE: [Users] Can I use IP address for FQDN?

 

Can you upload the portion of your vdsm.log that show the failure?

 

From: David Li [mailto:david_li at sbcglobal.net] 
Sent: Friday, January 10, 2014 2:18 PM
To: Maurice James; 'Pat Pierson'
Cc: users at ovirt.org <mailto:users at ovirt.org> 
Subject: Re: [Users] Can I use IP address for FQDN?

 

Sorry hit the key too fast. Here it is again:

 

/var/lib/exports/iso               0.0.0.0/0.0.0.0

 

And cat /etc/exports:

 

/var/lib/exports/iso       0.0.0.0/0.0.0.0(rw)

 

 


  _____  


From: David Li <david_li at sbcglobal.net <mailto:david_li at sbcglobal.net> >
To: Maurice James <midnightsteel at msn.com <mailto:midnightsteel at msn.com> >; 'Pat Pierson' <ihasn2004 at gmail.com <mailto:ihasn2004 at gmail.com> > 
Cc: "users at ovirt.org <mailto:users at ovirt.org> " <users at ovirt.org <mailto:users at ovirt.org> > 
Sent: Friday, January 10, 2014 11:16 AM
Subject: Re: [Users] Can I use IP address for FQDN?

 

Maurice:

 

 

Here is my showmount output:

 

 

 


  _____  


From: Maurice James <midnightsteel at msn.com <mailto:midnightsteel at msn.com> >
To: 'David Li' <david_li at sbcglobal.net <mailto:david_li at sbcglobal.net> >; 'Pat Pierson' <ihasn2004 at gmail.com <mailto:ihasn2004 at gmail.com> > 
Cc: users at ovirt.org <mailto:users at ovirt.org>  
Sent: Friday, January 10, 2014 11:06 AM
Subject: RE: [Users] Can I use IP address for FQDN?

 

Run showmount –e <name of your nfs host> to see if the mounts are advertised properly

So your command should look something like

 

#showmount –e host.example.com <http://host.example.com/> 

 

 

From: users-bounces at ovirt.org <mailto:users-bounces at ovirt.org>  [mailto:users-bounces at ovirt.org] On Behalf Of David Li
Sent: Friday, January 10, 2014 1:47 PM
To: Pat Pierson
Cc: users at ovirt.org <mailto:users at ovirt.org> 
Subject: Re: [Users] Can I use IP address for FQDN?

 

 

I just added a line to both /etc/hosts file. This time when I tried to attach the NFS ISO domain, it showed up as "locked" but eventually disappeared again from the web portal. 

 

I looked at the vdsm.log and found it might be that the mount timed out for some reason. But not quite sure why. 

Anyone has any idea what exactly I should be searching for in vdsm.log? 

 

 

 


  _____  


From: Pat Pierson <ihasn2004 at gmail.com <mailto:ihasn2004 at gmail.com> >
To: David Li <david_li at sbcglobal.net <mailto:david_li at sbcglobal.net> > 
Cc: "users at ovirt.org <mailto:users at ovirt.org> " <users at ovirt.org <mailto:users at ovirt.org> > 
Sent: Friday, January 10, 2014 10:29 AM
Subject: Re: [Users] Can I use IP address for FQDN?

 

all machines.

 

On Fri, Jan 10, 2014 at 1:20 PM, David Li <david_li at sbcglobal.net <mailto:david_li at sbcglobal.net> > wrote:

Is this the /etc/hosts file on the engine machine or the node machine? 

 


  _____  


From: Pat Pierson <ihasn2004 at gmail.com <mailto:ihasn2004 at gmail.com> >
To: David Li <david_li at sbcglobal.net <mailto:david_li at sbcglobal.net> > 
Cc: "users at ovirt.org <mailto:users at ovirt.org> " <users at ovirt.org <mailto:users at ovirt.org> > 
Sent: Friday, January 10, 2014 10:08 AM
Subject: Re: [Users] Can I use IP address for FQDN?

 

you can set a static FQDN if you dont have a dns server in /etc/hosts, however if you do this, set the same FQDNs on all hosts for each hosts

192.168.0.1     node1.test.com <http://node1.test.com/>    node1

192.168.0.2     node2.test.com <http://node2.test.com/>    node2

192.168.0.3     node3.test.com <http://node3.test.com/>    node3

use that fqdn for your engine/node during the engine install.

 

On Fri, Jan 10, 2014 at 12:48 PM, David Li <david_li at sbcglobal.net <mailto:david_li at sbcglobal.net> > wrote:

Hi,

I have set up a default FQDN ( for the engine machine) at engine installation. But this is not resolvable by the node when it tries to mount the NFS ISO share from the engine. Is there anyway that I can update this name on the engine to using a IP address? 

_______________________________________________
Users mailing list
Users at ovirt.org <mailto:Users at ovirt.org> 
http://lists.ovirt.org/mailman/listinfo/users




-- 
Patrick Pierson 

 




-- 
Patrick Pierson 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140110/b18a9297/attachment-0001.html>


More information about the Users mailing list