I have gone through the patch provided. I have tried to attach a Floating Ip to an instance of a subnet where the gateway_ip is not set. And I have tried to display a warning as follows:
Log Captured:
2017-02-20 04:23:07.320 DEBUG neutron.api.v2.base [req-c350076b-c474-4d7d-aff6-af79802f6d67 admin 91476e91e8c7446bb1ef4c58daf9a538] Re
oatingip': {u'port_id': u'78316bf9-a905-4fc7-815f-e4a3d1d06400'}} from (pid=28291) prepare_request_body /opt/stack/neutron/neutron/api
2017-02-20 04:23:07.470 WARNING neutron.db.l3_db [req-c350076b-c474-4d7d-aff6-af79802f6d67 admin 91476e91e8c7446bb1ef4c58daf9a538] You are Trying to add floatingip to subnet 5f55f825-9fc0-4c7b-a165-e4ad91c663f9 which has no gateway_ip
2017-02-20 04:23:07.524 DEBUG neutron.callbacks.manager [req-c350076b-c474-4d7d-aff6-af79802f6d67 admin 91476e91e8c7446bb1ef4c58daf9a5
Could you confirm whether it is fine to display the warning like this.
Hi Matthew,
I have gone through the patch provided. I have tried to attach a Floating Ip to an instance of a subnet where the gateway_ip is not set. And I have tried to display a warning as follows:
Log Captured:
2017-02-20 04:23:07.320 DEBUG neutron.api.v2.base [req-c350076b- c474-4d7d- aff6-af79802f6d 67 admin 91476e91e8c7446 bb1ef4c58daf9a5 38] Re a905-4fc7- 815f-e4a3d1d064 00'}} from (pid=28291) prepare_ request_ body /opt/stack/ neutron/ neutron/ api c474-4d7d- aff6-af79802f6d 67 admin 91476e91e8c7446 bb1ef4c58daf9a5 38] You are Trying to add floatingip to subnet 5f55f825- 9fc0-4c7b- a165-e4ad91c663 f9 which has no gateway_ip callbacks. manager [req-c350076b- c474-4d7d- aff6-af79802f6d 67 admin 91476e91e8c7446 bb1ef4c58daf9a5
oatingip': {u'port_id': u'78316bf9-
2017-02-20 04:23:07.470 WARNING neutron.db.l3_db [req-c350076b-
2017-02-20 04:23:07.524 DEBUG neutron.
Could you confirm whether it is fine to display the warning like this.