Closed jlongstaf closed 8 years ago
After a health monitor has been created, commands that update the monitor fail with a REST API error:
Cannot modify the address type of monitor
One example of error logged to /var/log/neutron/f5-openstack-agent.log:
2016-08-08 22:25:26.686 2223 DEBUG root [req-3b1f3f50-35bf-4b15-add6-9678d2c5b775 aac899282ef24e2caa22f0e92e94e82d 20adaceb55574dc1a9e6696b1f7a1b2c - - -] put WITH uri: https://10.190.3.60:443/mgmt/tm/ltm/monitor/gateway-icmp/~Project_20adaceb55574dc1a9e6696b1f7a1b2c~Project_79f69297-efd9-4a66-949a-39a54c7fc322/ AND suffix: AND kwargs: {'json': {u'adaptiveSamplingTimespan': 300, u'destination': u'*:*', u'generation': 0, u'upInterval': 0, u'interval': 15, u'adaptiveDivergenceValue': 25, u'adaptiveLimit': 200, u'manualResume': u'disabled', u'fullPath': u'/Project_20adaceb55574dc1a9e6696b1f7a1b2c/Project_79f69297-efd9-4a66-949a-39a54c7fc322', u'kind': u'tm:ltm:monitor:gateway-icmp:gateway-icmpstate', u'name': u'Project_79f69297-efd9-4a66-949a-39a54c7fc322', u'adaptiveDivergenceType': u'relative', u'partition': u'Project_20adaceb55574dc1a9e6696b1f7a1b2c', u'transparent': u'disabled', u'timeUntilUp': 0, u'timeout': 25, u'adaptive': u'disabled', u'selfLink': u'https://localhost/mgmt/tm/ltm/monitor/gateway-icmp/~Project_20adaceb55574dc1a9e6696b1f7a1b2c~Project_79f69297-efd9-4a66-949a-39a54c7fc322?ver=11.6.0'}} wrapper /usr/lib/python2.7/site-packages/icontrol/session.py:215 2016-08-08 22:25:26.697 2223 DEBUG root [req-3b1f3f50-35bf-4b15-add6-9678d2c5b775 aac899282ef24e2caa22f0e92e94e82d 20adaceb55574dc1a9e6696b1f7a1b2c - - -] RESPONSE::STATUS: 400 Content-Type: application/json Content-Encoding: None Text: u'{"code":400,"message":"01070374:3: Cannot modify the address type of monitor /Project_20adaceb55574dc1a9e6696b1f7a1b2c/Project_79f69297-efd9-4a66-949a-39a54c7fc322.","errorStack":[]}' wrapper /usr/lib/python2.7/site-packages/icontrol/session.py:223 2016-08-08 22:25:26.698 2223 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver [req-3b1f3f50-35bf-4b15-add6-9678d2c5b775 aac899282ef24e2caa22f0e92e94e82d 20adaceb55574dc1a9e6696b1f7a1b2c - - -] 400 Unexpected Error: Bad Request for uri: https://10.190.3.60:443/mgmt/tm/ltm/monitor/gateway-icmp/~Project_20adaceb55574dc1a9e6696b1f7a1b2c~Project_79f69297-efd9-4a66-949a-39a54c7fc322/ Text: u'{"code":400,"message":"01070374:3: Cannot modify the address type of monitor /Project_20adaceb55574dc1a9e6696b1f7a1b2c/Project_79f69297-efd9-4a66-949a-39a54c7fc322.","errorStack":[]}'
Problem has been traced to read-only attribute (destination) sent in REST API call to update the monitor. We working with the f5-sdk dev team to resolve this issue.
Fixed in 8.0.7 (Liberty) and 9.0.2 (Mitaka).
After a health monitor has been created, commands that update the monitor fail with a REST API error:
Cannot modify the address type of monitor
One example of error logged to /var/log/neutron/f5-openstack-agent.log:
2016-08-08 22:25:26.686 2223 DEBUG root [req-3b1f3f50-35bf-4b15-add6-9678d2c5b775 aac899282ef24e2caa22f0e92e94e82d 20adaceb55574dc1a9e6696b1f7a1b2c - - -] put WITH uri: https://10.190.3.60:443/mgmt/tm/ltm/monitor/gateway-icmp/~Project_20adaceb55574dc1a9e6696b1f7a1b2c~Project_79f69297-efd9-4a66-949a-39a54c7fc322/ AND suffix: AND kwargs: {'json': {u'adaptiveSamplingTimespan': 300, u'destination': u'*:*', u'generation': 0, u'upInterval': 0, u'interval': 15, u'adaptiveDivergenceValue': 25, u'adaptiveLimit': 200, u'manualResume': u'disabled', u'fullPath': u'/Project_20adaceb55574dc1a9e6696b1f7a1b2c/Project_79f69297-efd9-4a66-949a-39a54c7fc322', u'kind': u'tm:ltm:monitor:gateway-icmp:gateway-icmpstate', u'name': u'Project_79f69297-efd9-4a66-949a-39a54c7fc322', u'adaptiveDivergenceType': u'relative', u'partition': u'Project_20adaceb55574dc1a9e6696b1f7a1b2c', u'transparent': u'disabled', u'timeUntilUp': 0, u'timeout': 25, u'adaptive': u'disabled', u'selfLink': u'https://localhost/mgmt/tm/ltm/monitor/gateway-icmp/~Project_20adaceb55574dc1a9e6696b1f7a1b2c~Project_79f69297-efd9-4a66-949a-39a54c7fc322?ver=11.6.0'}} wrapper /usr/lib/python2.7/site-packages/icontrol/session.py:215 2016-08-08 22:25:26.697 2223 DEBUG root [req-3b1f3f50-35bf-4b15-add6-9678d2c5b775 aac899282ef24e2caa22f0e92e94e82d 20adaceb55574dc1a9e6696b1f7a1b2c - - -] RESPONSE::STATUS: 400 Content-Type: application/json Content-Encoding: None Text: u'{"code":400,"message":"01070374:3: Cannot modify the address type of monitor /Project_20adaceb55574dc1a9e6696b1f7a1b2c/Project_79f69297-efd9-4a66-949a-39a54c7fc322.","errorStack":[]}' wrapper /usr/lib/python2.7/site-packages/icontrol/session.py:223 2016-08-08 22:25:26.698 2223 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.icontrol_driver [req-3b1f3f50-35bf-4b15-add6-9678d2c5b775 aac899282ef24e2caa22f0e92e94e82d 20adaceb55574dc1a9e6696b1f7a1b2c - - -] 400 Unexpected Error: Bad Request for uri: https://10.190.3.60:443/mgmt/tm/ltm/monitor/gateway-icmp/~Project_20adaceb55574dc1a9e6696b1f7a1b2c~Project_79f69297-efd9-4a66-949a-39a54c7fc322/ Text: u'{"code":400,"message":"01070374:3: Cannot modify the address type of monitor /Project_20adaceb55574dc1a9e6696b1f7a1b2c/Project_79f69297-efd9-4a66-949a-39a54c7fc322.","errorStack":[]}'