[Users] Attach nfs domain to gluster dc

Juan Pablo Lorier jplorier at gmail.com
Thu Dec 12 16:01:35 UTC 2013


Hi Dan,

After reading other posts on this matter in the list these days, I've
manually corrected the firewall configuration to allow v3 to work (don't
know if everyone is needed):

# nfs
-A INPUT -p tcp -m tcp --dport 111   -j ACCEPT
-A INPUT -p tcp -m tcp --dport 38467 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 2049  -j ACCEPT
-A INPUT -p udp -m udp --dport 2049  -j ACCEPT
-A INPUT -p udp -m udp --dport 41729  -j ACCEPT
-A INPUT -p tcp -m tcp --dport 48491  -j ACCEPT
-A INPUT -p udp -m udp --dport 43828  -j ACCEPT
-A INPUT -p tcp -m tcp --dport 48491  -j ACCEPT
-A INPUT -p udp -m udp --dport 47492  -j ACCEPT
-A INPUT -p tcp -m tcp --dport 58837  -j ACCEPT

Now I'm changing the settings by overriding the defaults in the domain
and auto negotiating the protocol. This firewall correction may be a
good thing to add in the deploy.
Regards,


On 11/12/13 10:08, Dan Kenigsberg wrote:
> On Tue, Dec 10, 2013 at 05:10:55PM -0200, Juan Pablo Lorier wrote:
>> Hi,
>>
>> I've created a new DC in order of been able to create vms on a glusterfs
>> data domain. As ovirt does not allow to share export and iso domains
>> between DCs (nice RFE) I detach those from the actual DC and when I try
>> to attach them to the new DC, I get an error:
>>
>> 2013-12-10 15:19:28,558 ERROR
>> [org.ovirt.engine.core.bll.storage.NFSStorageHelper] (pool-6-thread-46)
>> The connection with details 192.168.128.81:/home/exports/export failed
>> because of error code 477 and error message is: problem while trying to
>> mount target
>> 2013-12-10 15:19:28,577 ERROR
>> [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand]
>> (pool-6-thread-46) Transaction rolled-back for command:
>> org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand.
>> 2013-12-10 15:19:28,578 ERROR
>> [org.ovirt.engine.core.bll.storage.NFSStorageHelper] (pool-6-thread-41)
>> The connection with details 192.168.128.81:/home/exports/export failed
>> because of error code 477 and error message is: problem while trying to
>> mount target
>> 2013-12-10 15:19:28,587 ERROR
>> [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand]
>> (pool-6-thread-41) Transaction rolled-back for command:
>> org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand.
>>
>> But if I mount the nfs share manually from the hosts, I have no problems.
>> I've been having issues with nfs since I updated to 3.3.1, I have the
>> nfs shares in one of the hosts of the iscsi domain and the other host
>> complaints about not been ablo to access the domains from time to time.
>> The host where the shares are never complaints.
>> Any hints?
>> Regards,
> Could you provide the exact mount command line, and its error response,
> from supervdsm/vdsm.log?




More information about the Users mailing list