Ask Your Question
0

Instances are not getting address

asked 2017-01-30 16:53:58 -0500

mkhan gravatar image

instances are getting ip address when I have launch the instance when I run a command nova list it shows all the ip addresses are assign but when I login to console of instances no ip address to the interface of instance.

edit retag flag offensive close merge delete

Comments

Suggestions:

  • openstack network agent list Any agents down, in particular DHCP?
  • If you can access the instance console, set the IP address manually and try pinging the router
  • Re-check your neutron configuration
  • Check for errors in neutron logs
Bernd Bausch gravatar imageBernd Bausch ( 2017-01-30 18:56:07 -0500 )edit

maybe your images are not configured for DHCP? (take a look at /etc/network/interfaces just in case)

gianpietro gravatar imagegianpietro ( 2017-01-31 08:49:58 -0500 )edit

I have tested all the logs and didn't find any error except in dhcp-agent-log it says securiy groups staus= DOWN

mkhan gravatar imagemkhan ( 2017-01-31 09:55:40 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-31 09:42:47 -0500

mkhan gravatar image

updated 2017-02-01 08:59:04 -0500

C:\fakepath\Screen Shot 2017-01-31 at 9.35.57 AM.png

interface is set to dhcp

tail dhcp-agent.log

2017-01-30 17:46:14.045 28192 INFO neutron.agent.dhcp.agent [-] Starting network 43b50146-c631-4e9e-93f2-82e86f648c22 dhcp configuration
2017-01-30 17:46:14.047 28192 INFO neutron.agent.dhcp.agent [-] Starting network 266870b8-df0e-4e3c-9057-aa565d16082b dhcp configuration
2017-01-30 17:46:14.100 28192 INFO neutron.agent.dhcp.agent [-] Finished network 43b50146-c631-4e9e-93f2-82e86f648c22 dhcp configuration
2017-01-30 17:46:14.105 28192 INFO neutron.agent.dhcp.agent [-] Finished network 266870b8-df0e-4e3c-9057-aa565d16082b dhcp configuration
2017-01-30 17:46:14.105 28192 INFO neutron.agent.dhcp.agent [req-32e30d07-cdf7-4464-8c97-bf9bc2c3a10f - - - - -] Synchronizing state complete
2017-01-30 17:46:59.916 28192 INFO neutron.agent.dhcp.agent [req-19ee140e-31f1-429e-8366-4b071c242d7f 84a14225e9504d42a7824509273dcace fbbe37f73a254cb591ecf562c7d48024 - - -] Trigger reload_allocations for port admin_state_up=True, allowed_address_pairs=[], binding:host_id=Mitaka-KVM2-API-V3, binding:profile=, binding:vif_details=ovs_hybrid_plug=True, port_filter=True, binding:vif_type=ovs, binding:vnic_type=normal, created_at=2017-01-30T22:46:58, description=, device_id=4001d4dd-79d5-4623-bd36-3ff03569a49f, device_owner=compute:nova, extra_dhcp_opts=[], fixed_ips=[{u'subnet_id': u'5b4b8541-80a4-44fe-8dd7-d6239ddeafc0', u'ip_address': u'10.10.10.27'}], id=1609d3f6-d634-48e0-9cca-e7862600fe37, mac_address=fa:16:3e:97:14:a4, name=, network_id=266870b8-df0e-4e3c-9057-aa565d16082b, security_groups=[u'd7ed9afb-8564-4493-9e8c-9e4b919aef84'], status=DOWN, tenant_id=fdf2a118dd2b42488f2e8345b9989557, updated_at=2017-01-30T22:46:58
2017-01-30 17:47:00.095 28192 INFO neutron.agent.dhcp.agent [req-5a1370e9-03f1-4a84-b215-14cc7685d764 84a14225e9504d42a7824509273dcace fbbe37f73a254cb591ecf562c7d48024 - - -] Trigger reload_allocations for port admin_state_up=True, allowed_address_pairs=[], binding:host_id=Mitaka-KVM1-API-V3, binding:profile=, binding:vif_details=ovs_hybrid_plug=True, port_filter=True, binding:vif_type=ovs, binding:vnic_type=normal, created_at=2017-01-30T22:46:58, description=, device_id=a251fdf1-c04a-4de8-852a-5cb924c18bd8, device_owner=compute:nova, extra_dhcp_opts=[], fixed_ips=[{u'subnet_id': u'5b4b8541-80a4-44fe-8dd7-d6239ddeafc0', u'ip_address': u'10.10.10.28'}], id=dc4203e9-2f7e-4603-875c-af58ac2a0393, mac_address=fa:16:3e:46:f1:f5, name=, network_id=266870b8-df0e-4e3c-9057-aa565d16082b, security_groups=[u'd7ed9afb-8564-4493-9e8c-9e4b919aef84'], status=DOWN, tenant_id=fdf2a118dd2b42488f2e8345b9989557, updated_at=2017-01-30T22:46:59
2017-01-30 17:47:00.221 28192 INFO neutron.agent.dhcp.agent [req-32720b99-ea6b-4eba-8ea2-3c750d29fd1c 84a14225e9504d42a7824509273dcace fbbe37f73a254cb591ecf562c7d48024 - - -] Trigger reload_allocations for port admin_state_up=True, allowed_address_pairs=[], binding:host_id=Mitaka-KVM3-API-V3, binding:profile=, binding:vif_details=ovs_hybrid_plug=True, port_filter=True, binding:vif_type=ovs, binding:vnic_type=normal, created_at=2017-01-30T22:46:59, description=, device_id=04ff8682-ccc3-4778-bc47-adedcd848dbe, device_owner=compute:nova, extra_dhcp_opts=[], fixed_ips=[{u'subnet_id': u'5b4b8541-80a4-44fe-8dd7-d6239ddeafc0', u'ip_address': u'10.10.10.29'}], id=6ce8589b-72c1-4803-91f9-5e04ad12ddcb, mac_address=fa:16:3e:22:31:61, name=, network_id=266870b8-df0e-4e3c-9057-aa565d16082b, security_groups=[u'd7ed9afb-8564-4493-9e8c-9e4b919aef84'], status=DOWN, tenant_id=fdf2a118dd2b42488f2e8345b9989557, updated_at=2017-01-30T22:46:59
2017-01-30 17:47:00.423 28192 INFO neutron.agent.dhcp.agent [req-31069822-96d0-4ffb-80cb-abc15ba9dc02 84a14225e9504d42a7824509273dcace fbbe37f73a254cb591ecf562c7d48024 - - -] Trigger reload_allocations for port admin_state_up=True, allowed_address_pairs=[], binding:host_id=Mitaka-KVM2-API-V3, binding:profile=, binding:vif_details=ovs_hybrid_plug=True, port_filter=True, binding:vif_type=ovs, binding:vnic_type=normal, created_at=2017-01-30T22:47:00, description=, device_id=d1f82c7f-b0f3-4f50-af7c-3173cd766cef, device_owner=compute:nova, extra_dhcp_opts=[], fixed_ips=[{u'subnet_id': u'5b4b8541-80a4-44fe-8dd7-d6239ddeafc0', u'ip_address': u'10.10.10.30'}], id=f7c355f3-62ad-499b-a0b9-527ae5c5c018, mac_address=fa:16:3e:4e:f4:d4, name=, network_id=266870b8-df0e-4e3c-9057-aa565d16082b, security_groups=[u'd7ed9afb-8564-4493-9e8c-9e4b919aef84'], status=DOWN, tenant_id=fdf2a118dd2b42488f2e8345b9989557, updated_at=2017-01-30T22:47:00
2017-01-30 17:47:00.796 28192 INFO neutron.agent.dhcp.agent [req-a0fd36c0-ea26-49f7-a843-a399830e3a78 84a14225e9504d42a7824509273dcace fbbe37f73a254cb591ecf562c7d48024 - - -] Trigger reload_allocations for port admin_state_up=True, allowed_address_pairs=[], binding:host_id=Mitaka-KVM3-API-V3, binding:profile=, binding:vif_details=ovs_hybrid_plug=True, port_filter=True, binding:vif_type=ovs, binding:vnic_type=normal, created_at=2017-01-30T22:47:00, description=, device_id=113ef765-239c-4291-a256-0929f58711d2, device_owner=compute:nova, extra_dhcp_opts=[], fixed_ips=[{u'subnet_id': u'5b4b8541-80a4-44fe-8dd7-d6239ddeafc0', u'ip_address': u'10.10.10.31'}], id=49d029c9-81d9-48f8-a166-d4141e90f5b7, mac_address=fa:16 ...
(more)
edit flag offensive delete link more

Comments

visrh list is nor displaying any instances that are running in environment but when I run nova list command I can see the instances ar running.

mkhan gravatar imagemkhan ( 2017-01-31 10:28:25 -0500 )edit

Is your problem resolved?

harsh.kumar gravatar imageharsh.kumar ( 2017-02-21 04:32:11 -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: 2017-01-30 16:53:58 -0500

Seen: 226 times

Last updated: Feb 01 '17