-
Notifications
You must be signed in to change notification settings - Fork 222
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
export-policy rule index 1 is not updated #391
Comments
Hi @ysakashita, The Trident pod running on each Node needs to be restarted. Trident is only scanning the available IPs when the pod starts. If you restart the pod then the existing rules should be updated. |
@gnarl Is the Trident pod created from ds? If trident pod created from ds, We are recreating on new node. If you mean trident pod which is created from deployment, I believe that the trident should watch a node status in reconcile loop. |
If a CR was left behind (due to a missed node deletion event) you can manually remove it from trident's database via |
@adkerr Thanks. I understood this solution. However I don't want to use the way. |
Describe the bug
In the backend of the
ontap-nas
driver and dynamic export policies enabled, all Kubernetrs's nodes were recreated by rolling update.As a result, the the old node's IP remains at the export-policy rule index 1 in ONTAP.
Environment
Provide accurate information about the environment to help us reproduce the issue.
To Reproduce
(Maybe) you can reproduce the bug.
I show our test steps.
(e.g) 5 Nodes in Kubernets
(e.g) 5 entries in export-policy rule
(e.g) New 5 Node in Kubernetes
(e.g) 6 entries but number of nodes are 5. (Rule Index 1 remains)
Expected behavior
Just the current node IPs are registered in the export-policy rule in ONTAP.
Additional context
None
The text was updated successfully, but these errors were encountered: