Welcome to the Linux Foundation Forum!

Exercise 9.2: Creating a Persistent NFS Volume (PV)

In step 5 after running the command "showmount -e k8smaster" i get a timeout error message "clnt_create: RPC: Port mapper failure - Timed out".

I did the following:
1. tested connection between master and worker and it seems to be good as I can telnet k8smaster on both port 111 and 2049 from worker,
2. as I am running my cluster on AWS I check security group and it is allowing any communication from any sources,
3. firewall is disabled on both master and worker,
4. tried also rpcinfo -p k8smaster but still getting timeout message "k8smaster: RPC: Port mapper failure - Timed out", k8smaster is in my /etc/hosts file
5. the nfs server is running on the master node (service nfs-server status shows active)
6. the nfs server seems to be listening on both port 111 and 2049

Any idea?

Comments

  • chrispokorni
    chrispokorni Posts: 2,376

    Hi @promagnoli,

    Is your SG allowing traffic of all protocols? Is UDP allowed?
    Telnet will check for TCP, bot not other protocols.

    Also, based on your previous post, using k8smaster as master node hostname, and also as master alias, may result in more errors once you reach Lab 16 on High Availability.

    Regards,
    -Chris

  • promagnoli
    promagnoli Posts: 14

    Hi Chris,

    Thanks for your feedback. UDP was missing in the SG.

    k8smaster is just an alias in both master and worker node in the hosts file.

    Thanks
    Paolo

Categories

Upcoming Training