Ask Your Question
1

Juno Neutron MAC and IP assigned but IP missing on instance

asked 2015-07-16 18:17:29 -0500

grmarxer gravatar image

Hi Experts.

I have created an cirros instance and neutron has assigned a MAC and IP to that instance.

root@OneNode:/var/log/neutron# neutron port-show 8dbe9ccf-5d91-4c39-a147-a9d1b0567c0c
+-----------------------+------------------------------------------------------------------------------------+
| Field                 | Value                                                                              |
+-----------------------+------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                               |
| allowed_address_pairs |                                                                                    |
| binding:host_id       | OneNode                                                                            |
| binding:profile       | {}                                                                                 |
| binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}                                     |
| binding:vif_type      | ovs                                                                                |
| binding:vnic_type     | normal                                                                             |
| device_id             | e9c92e0e-bf00-4f3e-871a-56d1efa2aac5                                               |
| device_owner          | compute:None                                                                       |
| extra_dhcp_opts       |                                                                                    |
| fixed_ips             | {"subnet_id": "8e214187-30e1-47b9-b615-5df74bfe6fa7", "ip_address": "10.10.200.5"} |
| id                    | 8dbe9ccf-5d91-4c39-a147-a9d1b0567c0c                                               |
| mac_address           | fa:16:3e:09:0b:00                                                                  |
| name                  |                                                                                    |
| network_id            | 8750341e-1174-408e-ab68-cc366f6d2166                                               |
| security_groups       | 94c15e68-d9af-4c1f-89ee-ac2be1a56330                                               |
| status                | ACTIVE                                                                             |
| tenant_id             | dbac7bfed36c4b7283c7187d43833f3b                                                   |
+-----------------------+------------------------------------------------------------------------------------+

If I look at ifconfig on the instance itself I see the MAC is correct but the IP address is not assigned. All of my logs are clean. Any ideas on where to look to determine why the IP address is not present on the instance but the MAC address is correct?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2015-07-16 23:41:48 -0500

SGPJ gravatar image

Please check DHCP is running and there are many related question in this forum: link

edit flag offensive delete link more

Comments

Yes. Lots of post with no answers. Not very helpful

grmarxer gravatar imagegrmarxer ( 2015-07-17 11:54:31 -0500 )edit
1

answered 2015-07-21 14:04:25 -0500

grmarxer gravatar image

My issue was I was trying to use GRE on a one node system. With a one node system there is only one OVS bridge, thus the DHCP request was going from the VM-TAP -> br-int -> tap port for DNSMASQ. Whereas with GRE it should go from br-int to br-tun. I redid my ml2.conf. ini file for vlans and deleted br-tun from OVS. Settings below. All other instructions identical to http://docs.openstack.org/juno/install-guide/install/apt/content/section_neutron-networking.html (http://docs.openstack.org/juno/instal...)

OVS Commands 
ovs-vsctl add-br br-eth1

ml2.conf.ini

[ml2]
type_drivers = flat,vlan
tenant_network_types = vlan
mechanism_drivers = openvswitch

[ml2_type_flat]
flat_networks = external

[ml2_type_vlan]
network_vlan_ranges = physnet2:100:110

[ovs]
tenant_network_type = vlan
network_vlan_ranges = physnet2:100:110
integration_bridge = br-int
bridge_mappings = external:br-ex
bridge_mappings = physnet2:br-eth1
edit flag offensive delete link more
0

answered 2015-07-23 04:39:25 -0500

Soumiyajit gravatar image

Kindly reboot your vm and share the neutron logs for clarity!!

edit flag offensive delete link more

Comments

Which logs would you like to see?

grmarxer gravatar imagegrmarxer ( 2015-07-23 10:26:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-16 18:17:29 -0500

Seen: 206 times

Last updated: Jul 23 '15