Can some one help ? Trying to integrate Extrnal Dns ( Designate ) with Neutron I am going by this link https://docs.openstack.org/project-install-guide/dns/ocata/install-ubuntu.html https://docs.openstack.org/ocata/networking-guide/config-dns-int.html
neutron configuration [designate] url = http://10.0.0.14:9001 admin_auth_url = http://10.0.0.14:35357 admin_username = neutron admin_password = d57fa18eaf47710b1fad18b8ee067ba1c19444ebb93 admin_tenant_name = service allow_reverse_dns_lookup = True ipv4_ptr_zone_prefix_size = 24 ipv6_ptr_zone_prefix_size = 116 designate record-list itc.in. +--------------------------------------+------+-----------------+------------------------------------------+ | id | type | name | data | +--------------------------------------+------+-----------------+------------------------------------------+ | 6d5d5666-e01d-4e56-a3a3-07b666237186 | SOA | itc.in. | ns1.itc.in. snigdha.sinha.itc.in. | | | | | 1496752484 3530 600 86400 3600 | | 567cf1ec-9142-4be2-bae6-2c41f9a2b888 | NS | itc.in. | ns1.itc.in. | | 3f9f0503-333f-4a27-94ee-43e21d6f779f | A | snigdha.itc.in. | 191.1.1.60 | +--------------------------------------+------+-----------------+------------------------------------------+ The record snigdha.itc.in was created manually to test deisgnate and its working . Resposne was ok from dig. my networks are as follows: neutron net-list neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. +--------------------------------------+--------------+---------------------------------------------------+ | id | name | subnets | +--------------------------------------+--------------+---------------------------------------------------+ | 07e56525-2a59-47df-9ce3-38d47e17a043 | net6 | 3bcd6f4b-06ef-49ae-8976-41ecf2f1fb8e 186.1.1.0/24 | | 0a22135c-be0d-4ab7-932f-cbb4888b4b69 | net5 | 9d1a8a7e-d779-490b-8b64-93d62d7592a9 185.1.1.0/24 | | b3e25401-b4f5-484f-b77e-c3b4166310b8 | provider-303 | 177a89f6-2699-4b11-a9e5-94a9b99ec06d 191.1.1.0/24 | | d02e593f-a696-4d96-934d-4bfd4a586800 | net7 | 1d068daf-2d22-4893-b904-c1da64763187 120.1.1.0/24 | | d1f96195-fc54-473a-b83e-2599ecb050b9 | net8 | 76f35ba9-5fbf-41e2-9c8b-3f40469935b4 130.1.1.0/24 | | e45d1777-0a55-4e17-9440-0f02ecd7071a | | 6b067954-c856-4dff-bc42-4ff62bc09568 10.0.0.0/24 | +--------------------------------------+--------------+---------------------------------------------------+ neutron net-show b3e25401-b4f5-484f-b77e-c3b4166310b8 neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. +-------------------------+--------------------------------------+ | Field | Value | +-------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | nova | | created_at | 2017-05-18T17:23:04Z | | description | | | dns_domain | itc.in. | | id | b3e25401-b4f5-484f-b77e-c3b4166310b8 | | ipv4_address_scope | | | ipv6_address_scope | | | is_default | False | | mtu | 1500 | | name | provider-303 | | port_security_enabled | True | | project_id | 77607953b9d044af8f0907b844beb371 | | qos_policy_id | | | revision_number | 7 | | router:external | True | | shared | True | | status | ACTIVE | | subnets | 177a89f6-2699-4b11-a9e5-94a9b99ec06d | | tags | | | tenant_id | 77607953b9d044af8f0907b844beb371 | | updated_at | 2017-06-07T07:28:09Z | +-------------------------+--------------------------------------+ openstack server show dnscase3 WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils. This warning is caused by an out-of-date import in /usr/lib/python2.7/dist-packages/saharaclient/osc/plugin.py +-----------------------------+----------------------------------------------------------+ | Field | Value | +-----------------------------+----------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-STS:power_state | Running | | OS-EXT-STS:task_state | None | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2017-06-07T11:59:11.000000 | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | net7=120.1.1.31 | | config_drive | True | | created | 2017-06-07T11:55:42Z | | flavor | tiny (d2d3bec8-240d-4430-bc23-4f7f4eb625c3) | | hostId | 800f358d97ff7eed9a73cc7debea756720ceba7ea70f17d25f3fb3b6 | | id | 7463e1e5-b50c-48ac-a131-fc4a83a96633 | | image | cirros (545c9919-b94e-4642-92e1-d2f67b3a3e00) | | key_name | k1 | | name | dnscase3 | | progress | 0 | | project_id | 89c07e8d3a204e588d1fc0c531f50852 | | properties | | | security_groups | name='common' | | status | ACTIVE | | updated | 2017-06-07T11:57:38Z | | user_id | a2ee74b343dc4670b17cb4321990d37c | | volumes_attached | | +-----------------------------+----------------------------------------------------------+ I am trying the use case 3 as per the document to create a vm and publish it to dns using floating ip neutron floatingip-create provider-303 --dns_domain abc.com. --dns_name dnscase3 neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. Created a new floatingip: +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | created_at | 2017-06-07T14:21:15Z | | description | | | dns_domain | abc.com. | | dns_name | dnscase3 | | fixed_ip_address | | | floating_ip_address | 191.1.1.41 | | floating_network_id | b3e25401-b4f5-484f-b77e-c3b4166310b8 | | id | c73d6d8f-7b8d-43bc-9035-6805556bd4f4 | | port_id | | | project_id | 89c07e8d3a204e588d1fc0c531f50852 | | revision_number | 2 | | router_id | | | status | DOWN | | tenant_id | 89c07e8d3a204e588d1fc0c531f50852 | | updated_at | 2017-06-07T14:21:15Z | +---------------------+--------------------------------------+ record is not getting added in designate and and getting this error : 2017-06-07 14:52:36.969 5374 ERROR oslo.messaging._drivers.impl_rabbit [req-b9101d12-5e85-4442-9933-9a4e9c23b94c a2ee74b343dc4670b17cb4321990d37c 89c07e8d3a204e588d1fc0c531f50852 - - -] [2e6b0b1c-054b-475f-9f53-b7bd35d665b3] AMQP server on 10.0.0.101:5671 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 1 seconds. Client port: None 2017-06-07 14:52:38.004 5374 INFO oslo.messaging._drivers.impl_rabbit [req-b9101d12-5e85-4442-9933-9a4e9c23b94c a2ee74b343dc4670b17cb4321990d37c 89c07e8d3a204e588d1fc0c531f50852 - - -] [2e6b0b1c-054b-475f-9f53-b7bd35d665b3] Reconnected to AMQP server on 10.0.0.151:5671 via [amqp] client with port 56198. 2017-06-07 14:52:38.033 5374 INFO neutron.quota [req-b9101d12-5e85-4442-9933-9a4e9c23b94c a2ee74b343dc4670b17cb4321990d37c 89c07e8d3a204e588d1fc0c531f50852 - - -] Loaded quota_driver: <neutron.db.quota.driver.DbQuotaDriver object at 0x7fc2526afe50>. 2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db [req-b9101d12-5e85-4442-9933-9a4e9c23b94c a2ee74b343dc4670b17cb4321990d37c 89c07e8d3a204e588d1fc0c531f50852 - - -] Error publishing floating IP data in external DNS service. Name: 'dnscase2'. Domain: 'itc.in.'. DNS service driver message 'Domain itc.in. not found in the external DNS service' 2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db Traceback (most recent call last): 2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db File "/openstack/venvs/neutron-15.1.3/lib/python2.7/site-packages/neutron/db/dns_db.py", line 250, in _add_ips_to_external_dns_service 2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db records) 2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db File "/openstack/venvs/neutron-15.1.3/lib/python2.7/site-packages/neutron/services/externaldns/drivers/designate/driver.py", line 96, in create_record_set 2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db raise dns.DNSDomainNotFound(dns_domain=dns_domain) 2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db DNSDomainNotFound: Domain itc.in. not found in the external DNS service 2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db Warm Regards, Bhujay
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
