LBAAS: VIP continues to process request even after it is deleted
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Invalid
|
High
|
Rudra Rugge | |||
Trunk |
Invalid
|
High
|
Rudra Rugge |
Bug Description
Even after deleting the VIP, ha proxy config and even the fip associated with it it is not removed.
root@cs-scale-1:~# neutron lb-vip-list
+------
| id | name | address | protocol | admin_state_up | status |
+------
| bb49c50a-
+------
root@cs-scale-1:~# neutron floatingip-list
+------
| id | fixed_ip_address | floating_ip_address | port_id |
+------
| 08303b98-
| 0d9b7f93-
| 22accd5a-
| 798f0b07-
| de1393ca-
| ed3de3d4-
+------
root@cs-scale-1:~# neutron lb-vip-delete bb49c50a-
Deleted vip: bb49c50a-
root@cs-scale-1:~# neutron lb-vip-list
root@cs-scale-1:~# neutron port-list | grep 11.1.0.3
root@cs-scale-5:/# cat /var/lib/
global
daemon
user nobody
group nogroup
stats socket /var/lib/
defaults
log global
retries 3
option redispatch
timeout connect 5000
timeout client 50000
timeout server 50000
listen contrail-
mode http
stats enable
stats uri /
stats auth haproxy:contrail123
frontend bb49c50a-
bind 11.1.0.3:443 ssl crt /store/RSA4096.pem
mode tcp
default_backend 3fb291de-
backend 3fb291de-
mode tcp
balance roundrobin
server 1283ae05-
server 522e4895-
summary: |
- SNAT: VIp continues to process request even after it is deleted + SNAT: VIP continues to process request even after it is deleted |
tags: | added: snat |
tags: |
added: lbaas removed: snat |
summary: |
- SNAT: VIP continues to process request even after it is deleted + LBAAS: VIP continues to process request even after it is deleted |
information type: | Proprietary → Public |
I debugged this further on Vinod¹s setup. I see the issue of RabbitMQ here
again.
The active service mon has NOT received the update/delete of virtual-ip.
This can be seen by running ifmap-view on the cs-scale-2 where SVC mon is
active.
virtual-ip = FE-SSL-VIP1 machine- interface = bb49c50a- 2e5b-47b2- 95dd-6e3ff1dd26 ac
loadbalancer-pool = FE-POOL1
Virtual-
I also see an error in contrail-api logs about green let exit due to
rabbit error.
ERROR:cs- scale-3: contrail- api:Config: 0:__default_ _ [SYS_ERR]: VncApiError: cs-scale- 3:contrail- api:Config: 0:__default_ _ [SYS_NOTICE]: guest@13. 1.0.10: 5673// at 0x7f4772b7d810> python2. 7/dist- packages/ gevent/ greenlet. py", line 327, in *self.args, **self.kwargs) python2. 7/dist- packages/ cfgm_common/ vnc_kombu. py", line _reconnect( ) python2. 7/dist- packages/ cfgm_common/ vnc_kombu. py", line [self._ subscribe] ) python2. 7/dist- packages/ kombu/messaging .py", line 357, in revive( self.channel) python2. 7/dist- packages/ kombu/messaging .py", line 369, in python2. 7/dist- packages/ kombu/messaging .py", line 379, in python2. 7/dist- packages/ kombu/entity. py", line 505, in queue_declare( nowait, passive=False) python2. 7/dist- packages/ kombu/entity. py", line 531, in python2. 7/dist- packages/ amqp/channel. py", line 1258, in queue_declare_ ok python2. 7/dist- packages/ amqp/abstract_ channel. py", line method( method_ sig, args, content) python2. 7/dist- packages/ amqp/abstract_ channel. py", line python2. 7/dist- packages/ amqp/channel. py", line 241, in cs-scale- 1-ctrl' of durable queue 'vnc_config. cs-scale- 3-9100' in lient._ connection_ watch of api_server. vnc_cfg_ ifmap.VncServer KombuClient object at
RabbitMQ connection down
WARNING:
VncApiError: RabbitMQ connection ESTABLISHED <Connection:
amqp://
Traceback (most recent call last):
File "/usr/lib/
run
result = self._run(
File "/usr/lib/
112, in _connection_watch
self.
File "/usr/lib/
99, in _reconnect
callbacks=
File "/usr/lib/
__init__
self.
File "/usr/lib/
revive
self.declare()
File "/usr/lib/
declare
queue.declare()
File "/usr/lib/
declare
self.
File "/usr/lib/
queue_declare
nowait=nowait)
File "/usr/lib/
queue_declare
(50, 11), # Channel.
File "/usr/lib/
69, in wait
return self.dispatch_
File "/usr/lib/
87, in dispatch_method
return amqp_method(self, args)
File "/usr/lib/
_close
reply_code, reply_text, (class_id, method_id), ChannelError,
NotFound: Queue.declare: (404) NOT_FOUND - home node
'rabbit@
vhost '/' is down or inaccessible
<Greenlet at 0x7f4772bf5870: <bound method
VncServerKombuC
<vnc_cfg_
0x7f4772c9afd0>>> failed with NotFound
This looks similar to the issue I debugged for /bugs.launchpad .net/juniperope nstack/ +bug/1463642
https:/