yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #68848
[Bug 1727342] Re: Failed to delete lbaas-pool if L7 policy/rules attached to that pool
** Project changed: neutron => octavia
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1727342
Title:
Failed to delete lbaas-pool if L7 policy/rules attached to that pool
Status in octavia:
New
Bug description:
Created LoadBalancer, Listener, Pool, members and healthmonitor.
After this created L7 policy using above pool created and also added L7 rule in policy.
When I am trying to delete pool directly without deleting L7 policy then exception raises on prompt.
$ neutron lbaas-pool-delete pool2
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Driver error: Bad lbaas-pool request: Failed to delete lb pool
q-svc.log file logs pasted in link:
http://paste.openstack.org/show/624607/
##############
Commands used:
##############
neutron lbaas-loadbalancer-create --name lb1 public-subnet
neutron lbaas-listener-create --loadbalancer lb1 --protocol HTTPS --protocol-port 443 --name listener1
neutron lbaas-pool-create --lb-algorithm ROUND_ROBIN --listener listener1 --protocol HTTPS --name web_pool
neutron lbaas-member-create --subnet private-subnet --address 10.0.0.7 --protocol-port 443 web_pool
#L7 policy redirect to pool
neutron lbaas-l7policy-create --action REDIRECT_TO_POOL --name policy1 --redirect-pool web_pool --listener listener1
neutron lbaas-l7rule-create --type PATH --compare-type=STARTS_WITH --value /api policy1
Why we are imposing this condition that pool can only be deleted if L7
rule deleted?
########
Steps:
########
1) Create LB, Listener, pool, member and healthmonitor.
2) Create L7 policy using pool created in step1
4) Add rule inside L7 policy.
5) Try to delete pool. It get fails.
To manage notifications about this bug go to:
https://bugs.launchpad.net/octavia/+bug/1727342/+subscriptions
References