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
Openstack LBaaSv2 - Kubernetes fails to delete Load Balancer #48094
Comments
@zioproto There are no sig labels on this issue. Please add a sig label by: |
/sig openstack |
@zioproto From the "Error deleting load balancer (will retry): Resource not found" of event, I suspect that you have deleted the neutron resource of service's LB, is it? |
@FengyunPan I have not deleted anything in Openstack. The problem is that kubernetes never creates health monitors but then it tries to delete them forever. this is the log you requested:
|
@zioproto Maybe your kubernetes version is incorrect. Can you try it on kubernetes v1.6.4+. My test as following: |
@FengyunPan I tested with v1.6.4 and I had the same problem as with version v1.6.2. I am running Openstack Newton. Are you running the same version of Openstack as well ? thank you |
@zioproto Yes, it work fine. |
This is not really necessary but it works as a workaround for bug kubernetes/kubernetes#48094
Fix kubernetes#48094 When create-monitor of cloud-config is false, pool has not monitor and can not delete empty monitor.
Automatic merge from submit-queue Fix deleting empty monitors Fix #48094 When create-monitor of cloud-config is false, pool has not monitor and can not delete empty monitor. **Release note**: ```release-note NONE ```
Fix kubernetes#48094 When create-monitor of cloud-config is false, pool has not monitor and can not delete empty monitor.
Fix kubernetes#48094 When create-monitor of cloud-config is false, pool has not monitor and can not delete empty monitor.
Fix kubernetes#48094 When create-monitor of cloud-config is false, pool has not monitor and can not delete empty monitor.
…monitors Automatic merge from submit-queue Fix deleting empty monitors Fix kubernetes#48094 When create-monitor of cloud-config is false, pool has not monitor and can not delete empty monitor. **Release note**: ```release-note NONE ```
zioproto commentedJun 26, 2017
•
edited
/sig openstack
Is this a BUG REPORT or FEATURE REQUEST?: BUG
/kind bug
What happened:
I delete a service:
Kubernetes is never able to delete the Loadbalancer from Openstack
The problem is that there are no health monitors in Openstack, and Kubernetes refuses to go on and delete pools and loadbalancers and listeners.
On the neutron server I see DELETE requests without the health-monitor uuid, because the list of healthmonitors is empty.
What you expected to happen:
The loadbalancer is deleted.
In case the health monitors list is empty Kubernetes should go on and delete the rest of the Load Balancer.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
):Openstack Newton
uname -a
):https://github.com/zioproto/k8s-on-openstack
The text was updated successfully, but these errors were encountered: