health-monitor show doesn't list the LB pools it is associated with
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.1 |
Fix Committed
|
High
|
Rudra Rugge | |||
Trunk |
Fix Committed
|
High
|
Rudra Rugge |
Bug Description
R1.10 44
In the below tempest test, a HM is associated with a LB and a show of HM is expected to show the pool it is associated with.
-------
ERROR: tempest.
-------
pythonlogging:'': {{{
2014-10-01 12:17:14,857 Request (LoadBalancerTe
47:9696/
2014-10-01 12:17:14,886 Request (LoadBalancerTe
7:9696/
2014-10-01 12:17:14,934 Request (LoadBalancerTe
7:9696/
}}}
Traceback (most recent call last):
File "tempest/
[p['pool_id'] for p in health_
KeyError: 'pools'
test code :
==========
def test_associate_
# Verify that a health monitor can be associated with a pool
resp, body = (self.client.
resp, body = self.client.
resp, body = self.client.
pool = body['pool']
import pdb; pdb.set_trace()
(Pdb) print health_monitor
{'status': 'ACTIVE', 'admin_state_up': True, 'tenant_id': '32d178568cbb4c
(Pdb) print self.health_
2cbdc5d8-
(Pdb)
R1.10: /github. com/Juniper/ contrail- neutron- plugin/ commit/ 9d4e28b660fda09 bdf9e33357c6dad fd158fe4c3
https:/
Master: /github. com/Juniper/ contrail- neutron- plugin/ commit/ d9a854e9a08c6c1 5aee2ed95d99c65 f82b7e9899
https:/