You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have bean developing load balance function for the past few days,and i referenced openstack4j docs and javaDoc.But a weird problem appeared a few days , the problem had bean bothering me.the problem is : when i delete a listener in load balancer,for logical,i should delete pool ,pool member ,health monitor together.but when i delete pool after deleted listener and pool member,something is wrong, openstack4j-core is a tip for 'health monitor is using this pool'.but its foreign key in database is such:if i would like to delete a listener,i should delete listener firstly , pool member secondly,and pool ,health monitor finally.
Anyhow,it give me such a tips , and i shouldnot doubt openstack-core easily.so i replaced pool and health monitor.But another error has emerged : ''404",and i really spend a lot of time to try to fixed it.but today ,i accidentally find what wrong , the Docs.
the delete method of health monitor should be this : ActionResponse resp = os.networking(). lbaasV2().healthMonitor().delete(healthMonitorId);
Not so : ActionResponse resp = os.networking().loadbalancers().healthMonitor().delete(healthMonitorId);
its a little mistake , and i hope no one will step into this pit again.
The text was updated successfully, but these errors were encountered:
i have bean developing load balance function for the past few days,and i referenced openstack4j docs and javaDoc.But a weird problem appeared a few days , the problem had bean bothering me.the problem is : when i delete a listener in load balancer,for logical,i should delete pool ,pool member ,health monitor together.but when i delete pool after deleted listener and pool member,something is wrong, openstack4j-core is a tip for 'health monitor is using this pool'.but its foreign key in database is such:if i would like to delete a listener,i should delete listener firstly , pool member secondly,and pool ,health monitor finally.
Anyhow,it give me such a tips , and i shouldnot doubt openstack-core easily.so i replaced pool and health monitor.But another error has emerged : ''404",and i really spend a lot of time to try to fixed it.but today ,i accidentally find what wrong , the Docs.
the delete method of health monitor should be this :
ActionResponse resp = os.networking(). lbaasV2().healthMonitor().delete(healthMonitorId);
Not so :
ActionResponse resp = os.networking().loadbalancers().healthMonitor().delete(healthMonitorId);
its a little mistake , and i hope no one will step into this pit again.
The text was updated successfully, but these errors were encountered: