Ask Your Question

bibin's profile - activity

2015-03-30 08:23:11 -0600 answered a question instance couldn't get dhcp assigned ip

The issue is fixed and that was caused due to db conflict. I have recreated the neutron db and it is working fine now.

2015-03-30 07:36:46 -0600 commented answer Instance failed to spawn

Configure the ovsplugin instead of ml2(located on/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini )

2015-03-26 16:19:28 -0600 received badge  Famous Question (source)
2015-03-12 05:30:52 -0600 received badge  Critic (source)
2015-03-12 05:25:52 -0600 received badge  Notable Question (source)
2015-03-12 05:25:27 -0600 received badge  Famous Question (source)
2015-03-09 06:30:39 -0600 received badge  Popular Question (source)
2015-03-05 08:50:20 -0600 received badge  Enthusiast
2015-03-05 00:25:28 -0600 received badge  Famous Question (source)
2015-03-03 06:25:25 -0600 received badge  Notable Question (source)
2015-03-03 05:16:09 -0600 commented answer instance couldn't get dhcp assigned ip

Hi,

netns is installed and it is running on VM. Now the dhcp-agent service have no issues. However the issue is still persisting. Thanks to every one who looked into it.

2015-03-03 02:01:49 -0600 received badge  Popular Question (source)
2015-03-02 12:38:49 -0600 asked a question instance couldn't get dhcp assigned ip

Hi,

I have installed open stack juno on opensuse. When I create an instance, it is not getting the assigned dhcp ip and all the neutron services up on the server.

Getting following errors at looking neutron dhcp agent logs.

2015-03-02 23:56:51.237 10473 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
2015-03-02 23:56:51.243 10473 INFO neutron.agent.dhcp_agent [-] DHCP agent started
2015-03-02 23:56:51.366 10473 INFO neutron.agent.dhcp_agent [req-4b2e256c-33aa-41ea-b0f5-e779b0765251 None] Synchronizing state
2015-03-02 23:56:51.883 10473 ERROR neutron.agent.linux.utils [-] 
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-d8636a14-9a86-4b1f-9cf6-30383a54470f', 'conntrack', '-D', '-d', '169.254.169.254']
Exit code: 99
Stdout: ''
Stderr: '/usr/bin/neutron-rootwrap: Unauthorized command: ip netns exec qdhcp-d8636a14-9a86-4b1f-9cf6-30383a54470f conntrack -D -d 169.254.169.254 (no filter matched)\n'
2015-03-02 23:56:51.884 10473 ERROR neutron.agent.linux.interface [-] Failed deleting ingress connection state of floatingip 169.254.169.254
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface Traceback (most recent call last):
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 151, in delete_conntrack_state
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface     extra_ok_codes=[1])
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 550, in execute
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface     check_exit_code=check_exit_code, extra_ok_codes=extra_ok_codes)
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 84, in execute
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface     raise RuntimeError(m)
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface RuntimeError: 
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-d8636a14-9a86-4b1f-9cf6-30383a54470f', 'conntrack', '-D', '-d', '169.254.169.254']
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface Exit code: 99
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface Stdout: ''
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface Stderr: '/usr/bin/neutron-rootwrap: Unauthorized command: ip netns exec qdhcp-d8636a14-9a86-4b1f-9cf6-30383a54470f conntrack -D -d 169.254.169.254 (no filter matched)\n'
2015-03-02 23:56:51.884 10473 TRACE neutron.agent.linux.interface 
2015-03-02 23:56:51.987 10473 ERROR neutron.agent.linux.utils [-] 
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-d8636a14-9a86-4b1f-9cf6-30383a54470f', 'conntrack', '-D', '-q', '169.254.169.254']
Exit code: 99
Stdout: ''
Stderr: '/usr/bin/neutron-rootwrap: Unauthorized command: ip netns exec qdhcp-d8636a14-9a86-4b1f-9cf6-30383a54470f conntrack -D -q 169.254.169.254 (no filter matched)\n'
2015-03-02 23:56:51.989 10473 ERROR neutron.agent.linux.interface [-] Failed deleting egress connection state of floatingip 169.254.169.254
2015-03-02 23:56:51.989 10473 TRACE neutron.agent.linux.interface Traceback (most recent call last):
2015-03-02 ...
(more)
2015-03-02 09:14:30 -0600 received badge  Nice Question (source)
2015-03-02 09:14:22 -0600 received badge  Nice Question (source)
2015-03-02 09:11:26 -0600 received badge  Notable Question (source)
2015-03-02 09:11:25 -0600 received badge  Student (source)
2015-03-02 08:45:09 -0600 answered a question Instance failed to spawn

I have sorted that issue. As per the guide,I had configured the ovs plugin in the ml2 conf file. When I checked the ovs service log, which is looking to the openvswitch configuration file( ovs_neutron_plugin.ini). Thanks

2015-03-02 08:32:33 -0600 asked a question instance can't get the dhcp ip (neutron , opensuse)

Hi,

I have deploy openstack by following the guide "openstack juno installation on opensuse". Now I am facing an issue, when I laungh an instance it's not receiving any dhcp ip.

Getting following errors at looking the console log.

Starting network...
udhcpc (v1.20.1) started
Sending discover...
Sending discover...
Sending discover...
Usage: /sbin/cirros-dhcpc <up|down>
No lease, failing
WARN: /etc/rc3.d/S40-network failed
cirros-ds 'net' up at 184.30
checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 184.40. request failed
failed 2/20: up 186.57. request failed
failed 3/20: up 188.64. request failed
failed 4/20: up 190.76. request failed
failed 5/20: up 192.83. request failed
failed 6/20: up 194.89. request failed
failed 7/20: up 196.96. request failed
failed 8/20: up 199.02. request failed
failed 9/20: up 201.09. request failed
failed 10/20: up 203.16. request failed
failed 11/20: up 205.22. request failed
failed 12/20: up 207.29. request failed
failed 13/20: up 209.35. request failed
failed 14/20: up 211.42. request failed
failed 15/20: up 213.49. request failed
failed 16/20: up 215.55. request failed

Dhcp namespaces

controller:~ # ip netns
qdhcp-d047fd8c-8c8c-42c1-9f0d-61e9239fed42



controller:~ # ip netns exec qdhcp-d047fd8c-8c8c-42c1-9f0d-61e9239fed42 ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2752 (2.6 Kb)  TX bytes:2752 (2.6 Kb)

tap1385cc Link encap:Ethernet  HWaddr FA:16:3E:33:07:9F  
          inet addr:10.0.16.11  Bcast:10.0.16.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe33:79f/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:882 (882.0 b)

Tcpdump traffic

controller:~ # ip netns exec qdhcp-d047fd8c-8c8c-42c1-9f0d-61e9239fed42 tcpdump -ln -i tap1385cc9d-82
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tap1385cc9d-82, link-type EN10MB (Ethernet), capture size 262144 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel

Dnsmasq output

controller:~ # ps -Af | grep dnsmasq
dnsmasq  12156     1  0 16:04 ?        00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap1385cc9d-82 --except-interface=lo --pid-file=/var/lib/neutron/dhcp/d047fd8c-8c8c-42c1-9f0d-61e9239fed42/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/d047fd8c-8c8c-42c1-9f0d-61e9239fed42/host --addn-hosts=/var/lib/neutron/dhcp/d047fd8c-8c8c-42c1-9f0d-61e9239fed42/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/d047fd8c-8c8c-42c1-9f0d-61e9239fed42/opts --leasefile-ro --dhcp-range=set:tag0,10.0.16.0,static,86400s --dhcp-lease-max=256 --conf-file=/etc/neutron/dnsmasq-neutron.conf --server=8.8.8.8 --domain=openstacklocal
root     12398  1678  0 19:58 ...
(more)
2015-03-02 04:54:56 -0600 received badge  Supporter (source)
2015-03-01 23:30:45 -0600 received badge  Popular Question (source)
2015-02-25 23:04:48 -0600 asked a question Instance failed to spawn

Hi,

I am following the openstack juno user guide for Opensuse and while creating instance by using the neutron network, it fails with the errors as below,

##Getting following error at looking the compute logs

2015-02-25 18:55:08.109 503 TRACE nova.compute.manager [instance: 9402ecd5-cfc7-439f-8137-909baa56e216] _("Unexpected vif_type=%s") % vif_type)

2015-02-25 18:55:08.109 503 TRACE nova.compute.manager [instance: 9402ecd5-cfc7-439f-8137-909baa56e216] NovaException: Unexpected vif_type=binding_failed

########Getting following errors at looking neutron-openvswitch-agent logs

2015-02-25 20:21:38.434 21768 WARNING neutron.agent.securitygroups_rpc [req-e3feb5c2-9fc5-4d45-af92-04fa2e70ef4c None] Driver configuration doesn't match with enable_security_group

2015-02-25 20:21:38.435 21768 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-e3feb5c2-9fc5-4d45-af92-04fa2e70ef4c None] Agent initialized successfully, now running...

2015-02-25 20:21:38.449 21768 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-e3feb5c2-9fc5-4d45-af92-04fa2e70ef4c None] Agent out of sync with plugin!

##########getting following errors at looking neutron-server log.

2015-02-25 20:24:05.508 17170 INFO keystonemiddleware.auth_token [-] Starting keystone auth_token middleware

2015-02-25 20:24:05.510 17170 INFO keystonemiddleware.auth_token [-] Using /var/cache/neutron/keystone-signing as cache directory for signing certificate

2015-02-25 20:24:05.510 17170 WARNING keystonemiddleware.auth_token [-] signing_dir is not owned by 0

2015-02-25 20:24:35.576 17170 ERROR neutron.service [-] Unrecoverable error: please check log for details.

2015-02-25 20:24:35.576 17170 TRACE neutron.service RuntimeError: Could not bind to 0.0.0.0:9696 after trying for 30 seconds

Please advise me.