DNS records not created with pre-created port

Bug #1544997 reported by Sridhar Venkat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-infoblox
Fix Released
Medium
Aliaksandr Dziarkach

Bug Description

I created a port using neutron port-create. And used it to create a nova instance.

I do not see DNS record created in Infoblox. I am using network name for zone pattern and instance name for DNS hostname pattern.

Is this scenario supported?

Revision history for this message
Peng Wu (wu105) wrote :

May I add to this: When the DNS/DHCP Support is True, IP Allocation Strategy is Host Record, the sync_neutron_to_infoblox.py script would error. The error would go away when DNS/DHCP Support is changed to False during the script execution, under this condition, this script will not create any Host Record for pre-existing Openstack Ports. The error varies depending on the recovery attempts, here is a sample:

ERROR __main__ [req-5a80dc52-416b-452c-b406-daa1a55b418a - - - - -] Error occurred: DHCP member is not reserved for network view: (Openstack), cidr (10.1.1.0/24)

I am using IOA 2.0.1 with Openstack Liberty and Infoblox 7.3.4

Revision history for this message
John Belamaric (jbelamaric) wrote :

From @raghava-mulugu who tested with the latest master code.

IP Allocation Strategy : Host Record, with this configuration host record created under zone with UUID
IP Allocation Strategy : Fixed Address, with this configuration Fixed address reserved in DHCP, but there is no “A” record created under zone

Changed in networking-infoblox:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 2.0.2
Changed in networking-infoblox:
assignee: nobody → Aliaksandr Dziarkach (aliaksandr-dziarkach)
Changed in networking-infoblox:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-infoblox (master)

Reviewed: https://review.openstack.org/338437
Committed: https://git.openstack.org/cgit/openstack/networking-infoblox/commit/?id=8b4b963b32120855a6f008eee168f2ee12ec829d
Submitter: Jenkins
Branch: master

commit 8b4b963b32120855a6f008eee168f2ee12ec829d
Author: Aliaksandr Dziarkach <email address hidden>
Date: Wed Jul 6 20:56:41 2016 +0300

    add bind/unbind login on port update

    When nova attach/detach existing port "port-update" notification
    arrived. But we do nothing for this notification so A record for
    attached port has wrong name.
    Add code to bind/unbind names when port attached/detached.

    Closes-Bug: 1544997
    Closes-Bug: 1543775

    Change-Id: I1d4167c418cfaa940fa0ae89db76af54cd57753d

Changed in networking-infoblox:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-infoblox (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/367442

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.