[Openstack] [Neutron] Unable to create Floating IPs.
Oleg Bondarev
obondarev at mirantis.com
Tue Nov 12 09:23:39 UTC 2013
Trinath,
The only place I can point to is:
https://wiki.openstack.org/wiki/Neutron/ML2
But still I can be missing something. Probably it is worth raising a new
email thread regarding configuring ml2 plugin in neutron.
Thanks,
Oleg
On Tue, Nov 12, 2013 at 1:13 PM, Trinath Somanchi <
trinath.somanchi at freescale.com> wrote:
> Okay..
>
>
>
> Can you help me on how to use ML2 Plugin instead of OVS plugin..
>
>
>
> I just configure ML2 as below in the neutron.conf and restarted the
> neutron-server.
>
>
>
> [ml2]
>
> type_drivers=vlan
>
> mechanism_drivers=openvswitch
>
> tenant_network_types = vlan
>
>
>
> Is there anything I’m missing is using ML2 plugin ?
>
>
>
> Kindly guide me in this regard.
>
>
>
> --
>
> Trinath Somanchi - B39208
>
> trinath.somanchi at freescale.com | extn: 4048
>
>
>
> *From:* Oleg Bondarev [mailto:obondarev at mirantis.com]
> *Sent:* Tuesday, November 12, 2013 2:41 PM
>
> *To:* Somanchi Trinath-B39208
> *Subject:* Re: [Openstack] [Neutron] Unable to create Floating IPs.
>
>
>
> Trinath,
>
> from this line:
>
> neutron 8388 1 0 14:17 ? 00:00:02 /usr/bin/python
> /usr/bin/neutron-server --config-file /etc/neutron/neutron.conf --log-file
> /var/log/neutron/server.log --config-file
> /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
>
> it looks like you're not using ml2 plugin, but OpenVSwitch plugin instead
> which does not require L3 service plugin to be additionally configured.
> That may cause failing of neutron server.
>
>
>
> Thanks,
>
> Oleg
>
>
>
> On Tue, Nov 12, 2013 at 12:46 PM, Trinath Somanchi <
> trinath.somanchi at freescale.com> wrote:
>
> Hi Oleg-
>
>
>
> When I do these changes to neutron in my setup, I have Neutron Client cmds
> not working.
>
>
>
> root at havana:~# ps -ef | grep neutron
>
> root 8284 14518 0 14:14 pts/17 00:00:00 tail -f
> /var/log/neutron/server.log
>
> neutron 8388 1 0 14:17 ? 00:00:02 /usr/bin/python
> /usr/bin/neutron-server --config-file /etc/neutron/neutron.conf --log-file
> /var/log/neutron/server.log --config-file
> /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
>
> neutron 8442 1 0 14:17 ? 00:00:00 /usr/bin/python
> /usr/bin/neutron-dhcp-agent --config-file=/etc/neutron/neutron.conf
> --config-file=/etc/neutron/dhcp_agent.ini
> --log-file=/var/log/neutron/dhcp-agent.log
>
> neutron 8464 1 0 14:18 ? 00:00:00 /usr/bin/python
> /usr/bin/neutron-metadata-agent --config-file=/etc/neutron/neutron.conf
> --config-file=/etc/neutron/metadata_agent.ini
> --log-file=/var/log/neutron/metadata-agent.log
>
> neutron 8483 1 0 14:18 ? 00:00:01 /usr/bin/python
> /usr/bin/neutron-openvswitch-agent --config-file=/etc/neutron/neutron.conf
> --config-file=/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
> --log-file=/var/log/neutron/openvswitch-agent.log
>
> root 8495 14610 0 14:18 pts/18 00:00:00 /usr/bin/python
> /usr/bin/neutron ext-list
>
> neutron 8609 8388 0 14:19 ? 00:00:00 openssl cms -verify
> -certfile /var/lib/neutron/keystone-signing/signing_cert.pem -CAfile
> /var/lib/neutron/keystone-signing/cacert.pem -inform PEM -nosmimecap
> -nodetach -nocerts -noattr
>
> neutron 8633 1 0 14:19 ? 00:00:00 /usr/bin/python
> /usr/bin/neutron-l3-agent --config-file=/etc/neutron/neutron.conf
> --config-file=/etc/neutron/l3_agent.ini
> --log-file=/var/log/neutron/l3-agent.log
>
> root 8691 8483 0 14:21 ? 00:00:00 sudo
> /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-vsctl --timeout=2
> list-ports br-int
>
> root 8693 14419 0 14:21 pts/11 00:00:00 grep --color=auto neutron
>
>
>
> With the neutronCLI, my commands fail with error “Max attempts reached” .
>
>
>
> Kindly help me troubleshoot the same..
>
>
>
> --
>
> Trinath Somanchi - B39208
>
> trinath.somanchi at freescale.com | extn: 4048
>
>
>
> *From:* Oleg Bondarev [mailto:obondarev at mirantis.com]
>
> *Sent:* Tuesday, November 12, 2013 2:06 PM
> *To:* Somanchi Trinath-B39208
>
> *Subject:* Re: [Openstack] [Neutron] Unable to create Floating IPs.
>
>
>
> Hi Trinath,
>
> If you have ML2 plugin configured as a core plugin than you should also
> configure L3 service plugin.
>
> Please try to add following line to your neutron.conf and restart
> neutron-server:
>
> service_plugins =
> neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
>
>
>
> Also please ensure l3 agent is running in your setup.
>
>
>
> Thanks,
>
> Oleg
>
>
>
> On Tue, Nov 12, 2013 at 12:05 PM, Trinath Somanchi <
> trinath.somanchi at freescale.com> wrote:
>
> Hi Eugene-
>
>
>
> Thanks a lot for the reply.
>
>
>
> It’s a typo in my email. But then, I have the issue while adding floating
> IPs.
>
>
>
> When I issue the below command,
>
>
>
> root at havana:~# neutron floatingip-create net1
>
> 404 Not Found
>
>
>
> The resource could not be found.
>
>
>
> I get this error in neutron server logs
>
>
>
> 2013-11-12 13:40:30.982 14987 DEBUG routes.middleware [-] No route matched
> for POST /floatingips.json __call__
> /usr/lib/python2.7/dist-packages/routes/middleware.py:97
>
> 2013-11-12 13:40:30.983 14987 DEBUG routes.middleware [-] No route matched
> for POST /floatingips.json __call__
> /usr/lib/python2.7/dist-packages/routes/middleware.py:97
>
>
>
> Is there any thing I missed or worngly configured.
>
>
>
> Kindly please help me resolve the same..
>
>
>
> Thanking you
>
>
>
> --
>
> Trinath Somanchi - B39208
>
> trinath.somanchi at freescale.com | extn: 4048
>
>
>
> *From:* Eugene Nikanorov [mailto:enikanorov at mirantis.com]
> *Sent:* Tuesday, November 12, 2013 1:31 PM
> *To:* Somanchi Trinath-B39208
> *Cc:* openstack at lists.openstack.org
> *Subject:* Re: [Openstack] [Neutron] Unable to create Floating IPs.
>
>
>
> Hi,
>
>
>
> I believe you have typo in the command, which is floatingip-create,
> not floatingips-create.
>
>
>
> Thanks,
>
> Eugene.
>
>
>
> On Tue, Nov 12, 2013 at 8:31 AM, Trinath Somanchi <
> trinath.somanchi at freescale.com> wrote:
>
> Hi Stackers-
>
>
>
> With Installation of Openstack Havana in Ubuntu 12.04, I’m unable to
> create Floating IPs which also effects the Instance Creation.
>
>
>
> From the CLI, when I execute the command, $> neutron floatingips-create
> fp1 , I get 404 not found error.
>
>
>
> In the Neutron Server Side, I get the error “ No route for method
> /floatingips.json “.
>
>
>
> Is this a bug ? with neutron.
>
>
>
> Kindly help me resolve the issue.
>
>
>
> --
>
> Trinath Somanchi - B39208
>
> trinath.somanchi at freescale.com | extn: 4048
>
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131112/0ebe60f1/attachment.html>
More information about the Openstack
mailing list