<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-IN">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can some one help ? </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Trying to integrate Extrnal Dns ( Designate )  with Neutron </p>
<p class="MsoNormal">I am going by this link </p>
<p class="MsoNormal">https://docs.openstack.org/project-install-guide/dns/ocata/install-ubuntu.html</p>
<p class="MsoNormal">https://docs.openstack.org/ocata/networking-guide/config-dns-int.html</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">neutron configuration </p>
<p class="MsoNormal">[designate]</p>
<p class="MsoNormal">url = http://10.0.0.14:9001</p>
<p class="MsoNormal">admin_auth_url = http://10.0.0.14:35357</p>
<p class="MsoNormal">admin_username = neutron</p>
<p class="MsoNormal">admin_password = d57fa18eaf47710b1fad18b8ee067ba1c19444ebb93</p>
<p class="MsoNormal">admin_tenant_name = service</p>
<p class="MsoNormal">allow_reverse_dns_lookup = True</p>
<p class="MsoNormal">ipv4_ptr_zone_prefix_size = 24</p>
<p class="MsoNormal">ipv6_ptr_zone_prefix_size = 116</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">designate record-list itc.in.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">+--------------------------------------+------+-----------------+------------------------------------------+</p>
<p class="MsoNormal">| id                                   | type | name            | data                                     |</p>
<p class="MsoNormal">+--------------------------------------+------+-----------------+------------------------------------------+</p>
<p class="MsoNormal">| 6d5d5666-e01d-4e56-a3a3-07b666237186 | SOA  | itc.in.         | ns1.itc.in. snigdha.sinha.itc.in.        |</p>
<p class="MsoNormal">|                                      |      |                 | 1496752484 3530 600 86400 3600           |</p>
<p class="MsoNormal">| 567cf1ec-9142-4be2-bae6-2c41f9a2b888 | NS   | itc.in.         | ns1.itc.in.                              |</p>
<p class="MsoNormal">| 3f9f0503-333f-4a27-94ee-43e21d6f779f | A    | snigdha.itc.in. | 191.1.1.60                               |</p>
<p class="MsoNormal">+--------------------------------------+------+-----------------+------------------------------------------+</p>
<p class="MsoNormal">The record snigdha.itc.in was created manually to test deisgnate and its working . Resposne was ok from dig.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">my networks are as follows:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">neutron net-list</p>
<p class="MsoNormal">neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.</p>
<p class="MsoNormal">+--------------------------------------+--------------+---------------------------------------------------+</p>
<p class="MsoNormal">| id                                   | name         | subnets                                           |</p>
<p class="MsoNormal">+--------------------------------------+--------------+---------------------------------------------------+</p>
<p class="MsoNormal">| 07e56525-2a59-47df-9ce3-38d47e17a043 | net6         | 3bcd6f4b-06ef-49ae-8976-41ecf2f1fb8e 186.1.1.0/24 |</p>
<p class="MsoNormal">| 0a22135c-be0d-4ab7-932f-cbb4888b4b69 | net5         | 9d1a8a7e-d779-490b-8b64-93d62d7592a9 185.1.1.0/24 |</p>
<p class="MsoNormal">| b3e25401-b4f5-484f-b77e-c3b4166310b8 | provider-303 | 177a89f6-2699-4b11-a9e5-94a9b99ec06d 191.1.1.0/24 |</p>
<p class="MsoNormal">| d02e593f-a696-4d96-934d-4bfd4a586800 | net7         | 1d068daf-2d22-4893-b904-c1da64763187 120.1.1.0/24 |</p>
<p class="MsoNormal">| d1f96195-fc54-473a-b83e-2599ecb050b9 | net8         | 76f35ba9-5fbf-41e2-9c8b-3f40469935b4 130.1.1.0/24 |</p>
<p class="MsoNormal">| e45d1777-0a55-4e17-9440-0f02ecd7071a |              | 6b067954-c856-4dff-bc42-4ff62bc09568 10.0.0.0/24  |</p>
<p class="MsoNormal">+--------------------------------------+--------------+---------------------------------------------------+</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">neutron net-show b3e25401-b4f5-484f-b77e-c3b4166310b8</p>
<p class="MsoNormal">neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.</p>
<p class="MsoNormal">+-------------------------+--------------------------------------+</p>
<p class="MsoNormal">| Field                   | Value                                |</p>
<p class="MsoNormal">+-------------------------+--------------------------------------+</p>
<p class="MsoNormal">| admin_state_up          | True                                 |</p>
<p class="MsoNormal">| availability_zone_hints |                                      |</p>
<p class="MsoNormal">| availability_zones      | nova                                 |</p>
<p class="MsoNormal">| created_at              | 2017-05-18T17:23:04Z                 |</p>
<p class="MsoNormal">| description             |                                      |</p>
<p class="MsoNormal">| dns_domain              | itc.in.                              |</p>
<p class="MsoNormal">| id                      | b3e25401-b4f5-484f-b77e-c3b4166310b8 |</p>
<p class="MsoNormal">| ipv4_address_scope      |                                      |</p>
<p class="MsoNormal">| ipv6_address_scope      |                                      |</p>
<p class="MsoNormal">| is_default              | False                                |</p>
<p class="MsoNormal">| mtu                     | 1500                                 |</p>
<p class="MsoNormal">| name                    | provider-303                         |</p>
<p class="MsoNormal">| port_security_enabled   | True                                 |</p>
<p class="MsoNormal">| project_id              | 77607953b9d044af8f0907b844beb371     |</p>
<p class="MsoNormal">| qos_policy_id           |                                      |</p>
<p class="MsoNormal">| revision_number         | 7                                    |</p>
<p class="MsoNormal">| router:external         | True                                 |</p>
<p class="MsoNormal">| shared                  | True                                 |</p>
<p class="MsoNormal">| status                  | ACTIVE                               |</p>
<p class="MsoNormal">| subnets                 | 177a89f6-2699-4b11-a9e5-94a9b99ec06d |</p>
<p class="MsoNormal">| tags                    |                                      |</p>
<p class="MsoNormal">| tenant_id               | 77607953b9d044af8f0907b844beb371     |</p>
<p class="MsoNormal">| updated_at              | 2017-06-07T07:28:09Z                 |</p>
<p class="MsoNormal">+-------------------------+--------------------------------------+</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">openstack server show dnscase3</p>
<p class="MsoNormal">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</p>
<p class="MsoNormal">+-----------------------------+----------------------------------------------------------+</p>
<p class="MsoNormal">| Field                       | Value                                                    |</p>
<p class="MsoNormal">+-----------------------------+----------------------------------------------------------+</p>
<p class="MsoNormal">| OS-DCF:diskConfig           | MANUAL                                                   |</p>
<p class="MsoNormal">| OS-EXT-AZ:availability_zone | nova                                                     |</p>
<p class="MsoNormal">| OS-EXT-STS:power_state      | Running                                                  |</p>
<p class="MsoNormal">| OS-EXT-STS:task_state       | None                                                     |</p>
<p class="MsoNormal">| OS-EXT-STS:vm_state         | active                                                   |</p>
<p class="MsoNormal">| OS-SRV-USG:launched_at      | 2017-06-07T11:59:11.000000                               |</p>
<p class="MsoNormal">| OS-SRV-USG:terminated_at    | None                                                     |</p>
<p class="MsoNormal">| accessIPv4                  |                                                          |</p>
<p class="MsoNormal">| accessIPv6                  |                                                          |</p>
<p class="MsoNormal">| addresses                   | net7=120.1.1.31                                          |</p>
<p class="MsoNormal">| config_drive                | True                                                     |</p>
<p class="MsoNormal">| created                     | 2017-06-07T11:55:42Z                                     |</p>
<p class="MsoNormal">| flavor                      | tiny (d2d3bec8-240d-4430-bc23-4f7f4eb625c3)              |</p>
<p class="MsoNormal">| hostId                      | 800f358d97ff7eed9a73cc7debea756720ceba7ea70f17d25f3fb3b6 |</p>
<p class="MsoNormal">| id                          | 7463e1e5-b50c-48ac-a131-fc4a83a96633                     |</p>
<p class="MsoNormal">| image                       | cirros (545c9919-b94e-4642-92e1-d2f67b3a3e00)            |</p>
<p class="MsoNormal">| key_name                    | k1                                                       |</p>
<p class="MsoNormal">| name                        | dnscase3                                                 |</p>
<p class="MsoNormal">| progress                    | 0                                                        |</p>
<p class="MsoNormal">| project_id                  | 89c07e8d3a204e588d1fc0c531f50852                         |</p>
<p class="MsoNormal">| properties                  |                                                          |</p>
<p class="MsoNormal">| security_groups             | name='common'                                            |</p>
<p class="MsoNormal">| status                      | ACTIVE                                                   |</p>
<p class="MsoNormal">| updated                     | 2017-06-07T11:57:38Z                                     |</p>
<p class="MsoNormal">| user_id                     | a2ee74b343dc4670b17cb4321990d37c                         |</p>
<p class="MsoNormal">| volumes_attached            |                                                          |</p>
<p class="MsoNormal">+-----------------------------+----------------------------------------------------------+</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am trying the use case 3 as per the document to create a vm and publish it to dns using floating ip
</p>
<p class="MsoNormal">neutron floatingip-create  provider-303  --dns_domain abc.com. --dns_name dnscase3
</p>
<p class="MsoNormal">neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.</p>
<p class="MsoNormal">Created a new floatingip:</p>
<p class="MsoNormal">+---------------------+--------------------------------------+</p>
<p class="MsoNormal">| Field               | Value                                |</p>
<p class="MsoNormal">+---------------------+--------------------------------------+</p>
<p class="MsoNormal">| created_at          | 2017-06-07T14:21:15Z                 |</p>
<p class="MsoNormal">| description         |                                      |</p>
<p class="MsoNormal">| dns_domain          | abc.com.                             |</p>
<p class="MsoNormal">| dns_name            | dnscase3                             |</p>
<p class="MsoNormal">| fixed_ip_address    |                                      |</p>
<p class="MsoNormal">| floating_ip_address | 191.1.1.41                           |</p>
<p class="MsoNormal">| floating_network_id | b3e25401-b4f5-484f-b77e-c3b4166310b8 |</p>
<p class="MsoNormal">| id                  | c73d6d8f-7b8d-43bc-9035-6805556bd4f4 |</p>
<p class="MsoNormal">| port_id             |                                      |</p>
<p class="MsoNormal">| project_id          | 89c07e8d3a204e588d1fc0c531f50852     |</p>
<p class="MsoNormal">| revision_number     | 2                                    |</p>
<p class="MsoNormal">| router_id           |                                      |</p>
<p class="MsoNormal">| status              | DOWN                                 |</p>
<p class="MsoNormal">| tenant_id           | 89c07e8d3a204e588d1fc0c531f50852     |</p>
<p class="MsoNormal">| updated_at          | 2017-06-07T14:21:15Z                 |</p>
<p class="MsoNormal">+---------------------+--------------------------------------+</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">record is not getting added in designate and and getting this error :
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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</p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal">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>.</p>
<p class="MsoNormal">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'</p>
<p class="MsoNormal">2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db Traceback (most recent call last):</p>
<p class="MsoNormal">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</p>
<p class="MsoNormal">2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db     records)</p>
<p class="MsoNormal">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</p>
<p class="MsoNormal">2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db     raise dns.DNSDomainNotFound(dns_domain=dns_domain)</p>
<p class="MsoNormal">2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db DNSDomainNotFound: Domain itc.in. not found in the external DNS service</p>
<p class="MsoNormal">2017-06-07 14:52:42.251 5374 ERROR neutron.db.dns_db</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Warm Regards, Bhujay</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>