<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 7, 2016 at 5:40 PM Turbo Fredriksson <<a href="mailto:turbo@bayour.com">turbo@bayour.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sep 7, 2016, at 10:24 PM, Brandon Sawyers wrote:<br>
<br>
> I think we are. I'm specifically talking about having my nodes talk to each<br>
> other using a FQDN.<br>
<br>
Yes, that IS what you use a DNS for.<br>
<br>
> I'm not sure if this is the case or not. I've seen several things online<br>
> saying that it is possible. I just can't seem to get it to work.<br>
<br>
Such as?<br></blockquote><div><a href="https://openstack.nimeyo.com/83652/openstack-neutron-designate-tenancy-neutrons-integration?start=0#a_list_title">https://openstack.nimeyo.com/83652/openstack-neutron-designate-tenancy-neutrons-integration?start=0#a_list_title</a><br></div><div><br></div><div>That's the last one I was looking at.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> I've got designate working so that when a floating ip gets added to an<br>
> instance the DNS will update but it only adds an entry for the floating ip,<br>
> not the private ip.<br>
<br>
Did you set "dns_name" on the private IP?<br></blockquote><div>I don't have to. Neutron set it's for me. </div><div><br></div><div><span style="font-family:monospace">[brandor5@cloudcontrol ~]$ neutron port-show 335a3915-a5bf-4d62-ab46-2e96b258696b <br>+-----------------------+----------------------------------------------------------------------------------+ <br>| Field | Value | <br>+-----------------------+----------------------------------------------------------------------------------+ <br>| admin_state_up | True | <br>| allowed_address_pairs | | <br>| binding:host_id | os-compute-1.mgt | <br>| binding:profile | {} | <br>| binding:vif_details | {"port_filter": true} |
<br>| binding:vif_type | bridge |
<br>| binding:vnic_type | normal |
<br>| created_at | 2016-09-07T21:51:32 |
<br>| description | |
<br>| device_id | 85c71134-dce0-4161-8910-6a9f12f0c7a4 |
<br>| device_owner | compute:nova |
<br>| dns_assignment | {"hostname": "test", "ip_address": "10.0.0.15", "fqdn": "<a href="http://test.cloud.int">test.cloud.int</a>."} |
<br>| dns_name | test |
<br>| extra_dhcp_opts | |
<br>| fixed_ips | {"subnet_id": "3a6bedd6-3c8f-4bfb-8e2b-60db8c711afd", "ip_address": "10.0.0.15"} |
<br>| id | 335a3915-a5bf-4d62-ab46-2e96b258696b |
<br>| mac_address | fa:16:3e:73:61:b5 |
<br>| name | |
<br>| network_id | a42ea9bf-2aa8-4097-a0be-fce7db9a2707 |
<br>| port_security_enabled | True |
<br>| security_groups | 6eb331a7-63eb-4198-8e38-8b9620bfc0e1 |
<br>| status | ACTIVE |
<br>| tenant_id | ad9cd650613b4758b430a38ce1e7f2dc |
<br>| updated_at | 2016-09-07T21:51:35 |
<br>+-----------------------+----------------------------------------------------------------------------------+
<br>[brandor5@cloudcontrol ~]$ neutron net-show cit.nis-test
<br>+---------------------------+--------------------------------------+ <br>| Field | Value | <br>+---------------------------+--------------------------------------+ <br>| admin_state_up | True | <br>| availability_zone_hints | | <br>| availability_zones | nova | <br>| created_at | 2016-09-07T19:44:45 | <br>| description | | <br>| dns_domain | test.internal. | <br>| id | a42ea9bf-2aa8-4097-a0be-fce7db9a2707 | <br>| ipv4_address_scope | | <br>| ipv6_address_scope | | <br>| mtu | 1450 | <br>| name | <a href="http://test.int">test.int</a> | <br>| port_security_enabled | True | <br>| provider:network_type | vxlan | <br>| provider:physical_network | | <br>| provider:segmentation_id | 66 | <br>| router:external | False | <br>| shared | False | <br>| status | ACTIVE | <br>| subnets | 3a6bedd6-3c8f-4bfb-8e2b-60db8c711afd | <br>| tags | | <br>| tenant_id | ad9cd650613b4758b430a38ce1e7f2dc | <br>| updated_at | 2016-09-07T19:44:46 |
<br>+---------------------------+--------------------------------------+<br></span></div><div><span style="font-family:monospace">[brandor5@cloudcontrol ~]$ openstack zone list
<br>+--------------------------------------+----------------------+---------+------------+--------+--------+ <br>| id | name | type | serial | status | action | <br>+--------------------------------------+----------------------+---------+------------+--------+--------+ <br>| cf91b092-7d7b-4813-aa40-c31ec4573362 | test.internal. | PRIMARY | 1473278904 | ACTIVE | NONE | <br>+--------------------------------------+----------------------+---------+------------+--------+--------+ <br>[brandor5@cloudcontrol ~]$ openstack recordset list test.internal. <br>+--------------------------------------+---------------------------+------+-------------------------------------------------------------------------+--------+--------+ <br>| id | name | type | records | status | action | <br>+--------------------------------------+---------------------------+------+-------------------------------------------------------------------------+--------+--------+ <br>| 24fb1df3-1922-4869-9550-3ad21fefdd05 | test.internal. | NS | ns1.local. | ACTIVE | NONE | <br>| cc454b07-0537-4add-a8ca-6e76bf761060 | test.internal. | SOA | ns1.local. <a href="http://brandor5.gmail.com">brandor5.gmail.com</a>. 1473278904 3512 600 86400 3600 | ACTIVE | NONE | <br>| 30efcfd8-220c-44fd-ac4e-da85efc3a497 | test.test.internal. | A | 172.21.14.62 | ACTIVE | NONE | <br>+--------------------------------------+---------------------------+------+-------------------------------------------------------------------------+--------+--------+ <br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Everything that should be there seems to be. Even the floating ip of a previous iteration.</span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> How would I do that? I don't see "dns_name" on a guest and neither<br>
> openstack client or nova client have a way to update it.<br>
<br>
----- s n i p -----<br>
bladeA01:~# neutron port-show e7c956c4-f146-4531-b18b-23388dcbaf8c | grep dns| dns_assignment | {"hostname": "host-10-100-0-247", "ip_address": "10.100.0.247", "fqdn": "host-10-100-0-247.openstack.domain.tld."} |<br>
| dns_name | |<br>
----- s n i p -----<br>
<br>
It's unset, because I don't use that system any more. See below.<br>
<br>
----- s n i p -----<br>
bladeA01:~# neutron port-update --help | grep dns<br>
[--dns-name DNS_NAME | --no-dns-name]<br>
--dns-name DNS_NAME Assign DNS name to the port (requires DNS integration<br>
--no-dns-name Unassign DNS name from the port (requires DNS<br>
----- s n i p -----<br>
<br>
The "openstack" command isn't quite finished yet, so in this case you'll<br>
need to use the "neutron" command.<br>
<br>
> It sounds like<br>
> you're using heat to create the port before hand and then heat attaches<br>
> that port to your instance.<br>
<br>
No, I create a OS::Designate::Record for the record manually in my<br>
Heat stack. I no longer use the automated Designate addition.<br>
<br>
<a href="http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::FloatingIP-prop-dns_name" rel="noreferrer" target="_blank">http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::FloatingIP-prop-dns_name</a><br>
<br>
<a href="http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::Port-prop-dns_name" rel="noreferrer" target="_blank">http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::Port-prop-dns_name</a><br>
<br>
> Yep, I've got designate working for floating ips, like I said above. Are<br>
> the networks you're using external networks and not internal? That might<br>
> explain what is happening.<br>
<br>
No, internal. But as I've said, I now do this manually. But before that,<br>
I had the automatic stuff working just fine. I just prefer to have better<br>
control over where and how an entry is create (I have several different<br>
domains, for different purposes and any port on a network, might have to<br>
be added in several domains).<br>
--<br>
I love deadlines. I love the whooshing noise they<br>
make as they go by.<br>
- Douglas Adams<br>
<br>
</blockquote></div></div>