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

Can't delete selfip when change f5_ha_type from standalone to pair #133

Open
Sinan828 opened this issue Nov 11, 2016 · 2 comments
Open

Can't delete selfip when change f5_ha_type from standalone to pair #133

Sinan828 opened this issue Nov 11, 2016 · 2 comments

Comments

@Sinan828
Copy link

Agent Version

1.0.14

Operating System

centos

OpenStack Release

kilo

Description

when one of HA ltm down, i modify agent config file, set f5_ha_type = standalone, i create a vip in openstack. the down LTM up, i modify agent config file set f5_ha_type = pair, i delete the vip in openstack, but the selfip didn't delete in LTM. It's way i can delete the selfip.

Deployment

n/a
agent.txt
all_subnet_hints.txt

@mattgreene
Copy link
Contributor

Relevant IP addresses and sequence for agent.log.txt

  • create a vip in standalone ltm, agent create a selfip is 192.168.100.133
  • add the other ltm in the device group, agent create a selfip 192.168.100.141 for the new device
  • delete the vip, agent delete 192.168.100.141 but didn’t delete 192.168.100.133.

@mattgreene
Copy link
Contributor

Findings from @Sinan828:

  • Recorded the log in network_direct.py file. i found “all_subnet_hints” value will different in post_service_networking function.
  • Modify the code, do a dict deep copy (line 453) for all_subnet_hints variable and fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants