-
Notifications
You must be signed in to change notification settings - Fork 590
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
IPsrcaddr : retource stop problem #2019
Comments
If you run Then you try to move it again and should be able to identify exactly command fails. |
Hello IPaddr2 resource adds a virtual IP address to the interface, but this ip address is not marked as "secondary". so the PRIMARY_IP variable contains 2 ip addresses, the original one (defined in host network config) and the ip address added by IPaddr2 resource :
So the fix you proposed id #1450 is working fine. But is that the good solution ? Wouldn't be IPaddr2 to set up the virtual ip address as "secondary" ? when adding the IP address as secondary, I get this warning :
But the IP address is correctly added as "secondary"
and the awk in IPsrcaddr works as expected and only returns the primary ip address. So, IPaddr2 responsability or IPsrcaddr responsability ? |
That should be in the IPaddr2 agent. I'll look into adding the logic to add the IP as secondary. |
Hello,
I have an issue with IPsrcaddr resource on latest debian 12 with up-to-date packages
I've pulled findif.sh and IPsrcaddr from ClusterLabs/resource-agents github repo
Problem occurs when moving a resource (or resource group) to another node.
Reproduction :
node 1 :
node 2 :
At startup, everything is working correctly. node1 owns the IPaddr2 address, and default route uses this address as src address
When moving resource group via
command crm resource move grp_services freepbx-lab-ha2
, I get this status and errorrunning the "ip route..." command manually returns no error on given node :
How can I fix this ?
Regards
The text was updated successfully, but these errors were encountered: