DNS integration is a feature of Neutron, not Designate.

Also in your case has "router:external = True", which violates one of
the conditions listed in https://docs.openstack.org/neutron/queens/admin
/config-dns-int-ext-serv.html#configuration-of-the-externally-
accessible-network-for-use-case-3 so this is working as designed and
documented in that it does not create any records.

** Project changed: designate => neutron

** Changed in: neutron
       Status: New => Incomplete

** Changed in: neutron
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1779247

Title:
  directly in the external DNS service unsuccessful

Status in neutron:
  Invalid

Bug description:
  openstack queens:

  According to document case1 can generate dns records:
  
https://docs.openstack.org/neutron/queens/admin/config-dns-int-ext-serv.html#config-dns-int-ext-serv
  Use case 1: Floating IPs are published with associated port DNS attributes

  
  According to case3 it can't succeed ?
  
https://docs.openstack.org/neutron/queens/admin/config-dns-int-ext-serv.html#config-dns-int-ext-serv
  Use case 3: Ports are published directly in the external DNS service

  is there any way to ask this question?
  i see the following log found no problem :
   /var/log/neutron/server.log
   /var/log/designate/worker.log

  
  my setps:

  [root@controller ~]# neutron net-update 36d56132-49ab-4bac-985e-92f0bc1b47cf 
--dns_domain openstack.com.
  [root@controller ~]# neutron net-show 36d56132-49ab-4bac-985e-92f0bc1b47cf
  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                | 2018-06-29T03:35:16Z                 |
  | description               |                                      |
  | dns_domain                | openstack.com.                       |
  | id                        | 36d56132-49ab-4bac-985e-92f0bc1b47cf |
  | ipv4_address_scope        |                                      |
  | ipv6_address_scope        |                                      |
  | is_default                | False                                |
  | mtu                       | 1500                                 |
  | name                      | p2                                   |
  | port_security_enabled     | True                                 |
  | project_id                | b2760ba26e5645bf9856669d560d91c7     |
  | provider:network_type     | flat                                 |
  | provider:physical_network | provider                             |
  | provider:segmentation_id  |                                      |
  | revision_number           | 7                                    |
  | router:external           | True                                 |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   | 0e9d1293-2133-4b16-8614-6c167d80df21 |
  | tags                      |                                      |
  | tenant_id                 | b2760ba26e5645bf9856669d560d91c7     |
  | updated_at                | 2018-06-29T03:36:01Z                 |
  +---------------------------+--------------------------------------+


  
  [root@controller ~]#neutron port-create 36d56132-49ab-4bac-985e-92f0bc1b47cf 
--dns_name my-vm
  neutron CLI is deprecated and will be removed in the future. Use openstack 
CLI instead.
  Created a new port:
  
+-----------------------+-------------------------------------------------------------------------------------+
  | Field                 | Value                                               
                                |
  
+-----------------------+-------------------------------------------------------------------------------------+
  | admin_state_up        | True                                                
                                |
  | allowed_address_pairs |                                                     
                                |
  | binding:host_id       |                                                     
                                |
  | binding:profile       | {}                                                  
                                |
  | binding:vif_details   | {}                                                  
                                |
  | binding:vif_type      | unbound                                             
                                |
  | binding:vnic_type     | normal                                              
                                |
  | created_at            | 2018-06-29T03:36:39Z                                
                                |
  | description           |                                                     
                                |
  | device_id             |                                                     
                                |
  | device_owner          |                                                     
                                |
  | dns_assignment        | {"hostname": "my-vm", "ip_address": "192.168.50.8", 
"fqdn": "my-vm.openstack.com."} |
  | dns_domain            |                                                     
                                |
  | dns_name              | my-vm                                               
                                |
  | extra_dhcp_opts       |                                                     
                                |
  | fixed_ips             | {"subnet_id": 
"0e9d1293-2133-4b16-8614-6c167d80df21", "ip_address": "192.168.50.8"} |
  | id                    | 48ab68ec-74bc-47a0-9081-67ef5a0e53d4                
                                |
  | mac_address           | fa:16:3e:88:40:e6                                   
                                |
  | name                  |                                                     
                                |
  | network_id            | 36d56132-49ab-4bac-985e-92f0bc1b47cf                
                                |
  | port_security_enabled | True                                                
                                |
  | project_id            | b2760ba26e5645bf9856669d560d91c7                    
                                |
  | revision_number       | 7                                                   
                                |
  | security_groups       | 36be3a79-41a0-49a7-9b9d-496e0c0fd648                
                                |
  | status                | DOWN                                                
                                |
  | tags                  |                                                     
                                |
  | tenant_id             | b2760ba26e5645bf9856669d560d91c7                    
                                |
  | updated_at            | 2018-06-29T03:36:39Z                                
                                |
  
+-----------------------+-------------------------------------------------------------------------------------+


  [root@controller ~]# openstack recordset list openstack.com.
  
+--------------------------------------+----------------+------+--------------------------------------------------------------------------+--------+--------+
  | id                                   | name           | type | records      
                                                            | status | action |
  
+--------------------------------------+----------------+------+--------------------------------------------------------------------------+--------+--------+
  | 3686917d-0a55-4798-82a3-0f30fd7a90e2 | openstack.com. | SOA  | 
ns1-1.example.org. menkeyi.openstack.com. 1530243210 3571 600 86400 3600 | 
ACTIVE | NONE   |
  | af064cfe-a05f-4b8c-8c9f-8bd1b46f5f60 | openstack.com. | NS   | 
ns1-1.example.org.                                                       | 
ACTIVE | NONE   |
  
+--------------------------------------+----------------+------+--------------------------------------------------------------------------+--------+--------+
  [root@controller ~]#  openstack server create --flavor 2MB --image cirros  
--nic port-id=48ab68ec-74bc-47a0-9081-67ef5a0e53d4  my-vm
  
+-------------------------------------+-----------------------------------------------+
  | Field                               | Value                                 
        |
  
+-------------------------------------+-----------------------------------------------+
  | OS-DCF:diskConfig                   | MANUAL                                
        |
  | OS-EXT-AZ:availability_zone         |                                       
        |
  | OS-EXT-SRV-ATTR:host                | None                                  
        |
  | OS-EXT-SRV-ATTR:hypervisor_hostname | None                                  
        |
  | OS-EXT-SRV-ATTR:instance_name       |                                       
        |
  | OS-EXT-STS:power_state              | NOSTATE                               
        |
  | OS-EXT-STS:task_state               | scheduling                            
        |
  | OS-EXT-STS:vm_state                 | building                              
        |
  | OS-SRV-USG:launched_at              | None                                  
        |
  | OS-SRV-USG:terminated_at            | None                                  
        |
  | accessIPv4                          |                                       
        |
  | accessIPv6                          |                                       
        |
  | addresses                           |                                       
        |
  | adminPass                           | vv2j8VGe3rQq                          
        |
  | config_drive                        |                                       
        |
  | created                             | 2018-06-29T03:38:08Z                  
        |
  | flavor                              | 2MB 
(3578ca21-6f18-4bde-a9f5-26f2ed8c8fb3)    |
  | hostId                              |                                       
        |
  | id                                  | dbacad99-58bb-4247-bca8-848beebb3a82  
        |
  | image                               | cirros 
(e8a355a4-c39a-4757-a2f6-637710fc4498) |
  | key_name                            | None                                  
        |
  | name                                | my-vm                                 
        |
  | progress                            | 0                                     
        |
  | project_id                          | b2760ba26e5645bf9856669d560d91c7      
        |
  | properties                          |                                       
        |
  | security_groups                     | name='default'                        
        |
  | status                              | BUILD                                 
        |
  | updated                             | 2018-06-29T03:38:08Z                  
        |
  | user_id                             | 7e909565a4b847fe81cd6d1cf778c893      
        |
  | volumes_attached                    |                                       
        |
  
+-------------------------------------+-----------------------------------------------+


  [root@controller ~]# openstack server list
  
+--------------------------------------+-------+--------+----------------------------+--------+--------+
  | ID                                   | Name  | Status | Networks            
       | Image  | Flavor |
  
+--------------------------------------+-------+--------+----------------------------+--------+--------+
  | dbacad99-58bb-4247-bca8-848beebb3a82 | my-vm | ACTIVE | p2=192.168.50.8     
       | cirros | 2MB    |
  | 6ebddd17-3da7-45fc-9f43-4a0a6825fa9b | 2222  | ACTIVE | 
selfnetwork=192.168.119.11 | cirros | 2MB    |
  | 1fdeaafd-7784-4708-88df-48de0cc2e82c | s1    | ACTIVE | 
selfnetwork=192.168.119.7  | cirros | 2MB    |
  
+--------------------------------------+-------+--------+----------------------------+--------+--------+


  
  [root@controller ~]# openstack recordset list openstack.com.
  
+--------------------------------------+----------------+------+--------------------------------------------------------------------------+--------+--------+
  | id                                   | name           | type | records      
                                                            | status | action |
  
+--------------------------------------+----------------+------+--------------------------------------------------------------------------+--------+--------+
  | 3686917d-0a55-4798-82a3-0f30fd7a90e2 | openstack.com. | SOA  | 
ns1-1.example.org. menkeyi.openstack.com. 1530243210 3571 600 86400 3600 | 
ACTIVE | NONE   |
  | af064cfe-a05f-4b8c-8c9f-8bd1b46f5f60 | openstack.com. | NS   | 
ns1-1.example.org.                                                       | 
ACTIVE | NONE   |
  
+--------------------------------------+----------------+------+--------------------------------------------------------------------------+--------+--------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1779247/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to