sync_neutron_to_infoblox tool fails after deleting a network from NIOS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-infoblox |
Fix Released
|
Undecided
|
Akash Deep |
Bug Description
sync_neutron_
https:/
assumes that if db entry for network_view mapping with network is there in infoblox_db in openstack neutron database then it will be there in NIOS.
Steps to reporduce:
1) Create a network in Openstack
2) Run the sync_neutron_
3) Network gets created in NIOS
4) Delete the network from NIOS
5) Run the sync_neutron_
6) Failure shown below is observed.
2017-03-17 13:50:57.436 14828 CRITICAL neutron [req-5de81372-
{ "Error": "AdmConDataError: None (IBDataConflict
[code 400]
2017-03-17 13:50:57.436 14828 ERROR neutron Traceback (most recent call last):
2017-03-17 13:50:57.436 14828 ERROR neutron File "sync_neutron_
2017-03-17 13:50:57.436 14828 ERROR neutron main()
2017-03-17 13:50:57.436 14828 ERROR neutron File "sync_neutron_
2017-03-17 13:50:57.436 14828 ERROR neutron sync_neutron_
2017-03-17 13:50:57.436 14828 ERROR neutron File "sync_neutron_
2017-03-17 13:50:57.436 14828 ERROR neutron device_owner)
2017-03-17 13:50:57.436 14828 ERROR neutron File "/usr/local/
2017-03-17 13:50:57.436 14828 ERROR neutron ea_ip_address)
2017-03-17 13:50:57.436 14828 ERROR neutron File "/usr/local/
2017-03-17 13:50:57.436 14828 ERROR neutron network_view, mac, ip, extattrs)
2017-03-17 13:50:57.436 14828 ERROR neutron File "/usr/local/
2017-03-17 13:50:57.436 14828 ERROR neutron check_if_
2017-03-17 13:50:57.436 14828 ERROR neutron File "/usr/local/
2017-03-17 13:50:57.436 14828 ERROR neutron local_obj.
2017-03-17 13:50:57.436 14828 ERROR neutron File "/usr/local/
2017-03-17 13:50:57.436 14828 ERROR neutron return func(*args, **kwargs)
2017-03-17 13:50:57.436 14828 ERROR neutron File "/usr/local/
2017-03-17 13:50:57.436 14828 ERROR neutron code=r.status_code)
2017-03-17 13:50:57.436 14828 ERROR neutron InfobloxCannotC
{ "Error": "AdmConDataError: None (IBDataConflict
[code 400]
Fix proposed to branch: master /review. openstack. org/464612
Review: https:/