Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: configure secondary ips for nfs #144

Closed
wants to merge 3 commits into from

Conversation

kristina-solovyova
Copy link
Contributor

@kristina-solovyova kristina-solovyova commented Dec 22, 2023

Encountered an issue

We use Alias IPs as secondary ips in GCP. And they are not showed in ifconfig/ip addr, they are only showed in routing table (ip route show table local), like this:

[kristina.solovyova@ks-kristina-nfs-protocol-gateway-instance-0 ~]$ ip route show table local
local 10.0.0.16 dev eth0 proto kernel scope host src 10.0.0.16
broadcast 10.0.0.16 dev eth0 proto kernel scope link src 10.0.0.16
local 10.0.0.17 dev eth0 proto 66 scope host
local 10.0.0.20 dev eth0 proto 66 scope host
local 10.0.0.21 dev eth0 proto 66 scope host
local 10.1.0.13 dev eth1 proto kernel scope host src 10.1.0.13
broadcast 10.1.0.13 dev eth1 proto kernel scope link src 10.1.0.13
broadcast 127.0.0.0 dev lo proto kernel scope link src 127.0.0.1
local 127.0.0.0/8 dev lo proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo proto kernel scope link src 127.0.0.1


[kristina.solovyova@ks-kristina-nfs-protocol-gateway-instance-0 ~]$ ip -o -4 addr
1: lo    inet 127.0.0.1/8 scope host lo\       valid_lft forever preferred_lft forever
2: eth0    inet 10.0.0.16/32 brd 10.0.0.16 scope global noprefixroute dynamic eth0\       valid_lft 85862sec preferred_lft 85862sec
3: eth1    inet 10.1.0.13/32 brd 10.1.0.13 scope global dynamic eth1\       valid_lft 85898sec preferred_lft 85898sec

During NFS script execution freezes after adding first alias-ip (secondary IP) as nfs ip-range:
weka nfs interface-group ip-range add weka-ig 10.0.0.17

and container status changes to DEGRADED

[kristina.solovyova@ks-kristina-nfs-protocol-gateway-instance-0 ~]$ weka local ps
CONTAINER  STATE    DISABLED  UPTIME    MONITORING  PERSISTENT  PORT   PID    STATUS           VERSION  LAST FAILURE
frontend0  Running  False     0:12:08h  True        True        14000  11560  Joining cluster  4.2.6
ganesha    Running  False     0:11:38h  True        True        14000  12203                   4.2.6

might be related to routing

@kristina-solovyova
Copy link
Contributor Author

Replaced by #230

@kristina-solovyova kristina-solovyova deleted the configure-secondary-ips-for-nfs branch August 2, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant