Failed to create network or port with dns_domain parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When I had enabled in ML2 extension drivers: "subnet_
Creation of network:
neutron net-create test-net-1 --dns-domain test.domain.
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Failed to create a duplicate NetworkDNSDomain: for attribute(s) ['PRIMARY'] with value(s) 26cd2031-
Neutron server returns request_ids: ['req-abb4798b-
And the result in the server logs: http://
Creation of port:
neutron port-create test-net-1 --dns-domain test.domain.
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Failed to create a duplicate PortDNS: for attribute(s) ['PRIMARY'] with value(s) 1d7544bd-
Neutron server returns request_ids: ['req-5db9dab8-
And the result in the server logs: http://
Creation of port or network without dns-domain and then setting it via PUT request works fine.
When I have only one of those 2 extensions enabled, all works fine also.
It is an error to have two of the dns extensions enabled at the same time, only enable the one that has all the features that you need, in this case subnet_ dns_publish_ fixed_ip, this will include the dns extension automatically. I had the similar issue while developing the extenstion but after discussing with mlavalle about how this could be handled, the solution was to only have one of them active at a time.