Rancher + NIFI on Synology DS220j

Currently reading
Rancher + NIFI on Synology DS220j

3
0
NAS
DS220j
Operating system
  1. Linux
Trying to share out /volume1/kubshare
settings are:
Client *, Privilege R/W, Squash No Mapping, Async Yes, Non-Priv port Allowed, Cross-mount Allowed

I'm getting errors like:

(Nifi requires zookeeper)
Error:
zookeeper couldn’t mount:
MountVolume.SetUp failed for volume "pvc-a1d1e49b-a237-40a7-bb71-84c02cd84cbe" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs xxx.xxx.xxx.xxx:/volume1/kubshare/nifi-data-nifi-zookeeper-0-pvc-a1d1e49b-a237-40a7-bb71-84c02cd84cbe /var/lib/kubelet/pods/ab8b01e1-468c-4fab-8b18-9dcd10755cb7/volumes/kubernetes.io~nfs/pvc-a1d1e49b-a237-40a7-bb71-84c02cd84cbe Output: mount.nfs: mounting xxx.xxx.xxx.xxx:/volume1/kubshare/nifi-data-nifi-zookeeper-0-pvc-a1d1e49b-a237-40a7-bb71-84c02cd84cbe failed, reason given by server: No such file or directory

I've tried more than a few different settings thus for with nothing working, anyone have any thoughts?

Thx and..
Mo' Coffee
 

Rusty

Moderator
NAS Support
2,502
753
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
How does etc/exports file looks like on the NAS side (from ssh) not via UI?
 
Upvote 0
3
0
NAS
DS220j
Operating system
  1. Linux
How does etc/exports file looks like on the NAS side (from ssh) not via UI?
Thanks for the response.. turns out by posting this I rubber ducked the answer.
This ended up working:
/volume1/kubshare *(rw,sync,no_subtree_check,no_root_squash,no_all_squash,insecure)
Ill need to add my ips for better security but origonally it was more like this:
/volume1/kubshare *(rw,async,crossmnt,root_squash,no_subtree_check,insecure_locks,anonuid=1024,anongid=100)

Need to read up more on what all these mean cause I do find it odd that both no_root and no_all squash are both in the line that is working. Found the info here.
 
Upvote 0

Rusty

Moderator
NAS Support
2,502
753
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
insecure_locks is usually the problem but glad you got it going. Mark it as solved if you are certain this is working for you now.

tnx
 
Upvote 0
3
0
NAS
DS220j
Operating system
  1. Linux
Not sure if the Synology is resetting something but its not apparent in the /etc/exports

This morning I woke up and my containers are all having errors again. Example:
Code:
MountVolume.SetUp failed for volume "pvc-42b1e502-6140-4a28-8b56-76bbdde719de" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs xxx.xxx.xxx.xxx:/volume1/kubshare/zookeeper-data-zookeeper-0-pvc-42b1e502-6140-4a28-8b56-76bbdde719de /var/lib/kubelet/pods/c4369ce8-3147-4974-a7cb-7a4468737d7a/volumes/kubernetes.io~nfs/pvc-42b1e502-6140-4a28-8b56-76bbdde719de Output: mount.nfs: mounting xxx.xxx.xxx.xxx:/volume1/kubshare/zookeeper-data-zookeeper-0-pvc-42b1e502-6140-4a28-8b56-76bbdde719de failed, reason given by server: No such file or directory

/ect/exports/ (This is the only line related to kubshare in this file)
Code:
/volume1/kubshare    *(rw,sync,no_subtree_check,no_root_squash,no_all_squash,insecure)

I rebooted the Synology device and tried redeploying and the same issue. Any thoughts?
 
Upvote 0
Hmm, it almost looks like the pvc target folders can not be created on the nfs share.. Do you mind sharing the output of stat /volume1/kubshare/?

Is it safe to assume that your installed the nfs client provisioner using the helm chart instead of applying a bunch of manifests?

My experience is that nfsv4 or v4.1 shares work reliable while nfsv3 sometimes cause trouble..
 
Upvote 0

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top