Ask Your Question
0

odd message - Too Many External Networks [closed]

asked 2016-09-16 00:47:35 -0500

updated 2016-09-16 00:54:42 -0500

Too many external networks?

 2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher [req-628a0d88-94cd-4e8b-98d9-a59263fa3a4c - - - - -] Exception during message handling: More than one external network exists.
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher     incoming.message))
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _dispatch
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/neutron/api/rpc/handlers/l3_rpc.py", line 213, in get_external_network_id
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher     net_id = self.plugin.get_external_network_id(context)
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/neutron/db/external_net_db.py", line 197, in get_external_network_id
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher     raise n_exc.TooManyExternalNetworks()
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher TooManyExternalNetworks: More than one external network exists.
    2016-09-16 01:42:10.841 29596 ERROR oslo_messaging.rpc.dispatcher

net-list, subnet-list

[root@platform2 neutron(keystone_admin)]# neutron net-list
+--------------------------------------+----------------------+-------------------------------------------------------+
| id                                   | name                 | subnets                                               |
+--------------------------------------+----------------------+-------------------------------------------------------+
| f16f8b83-5e5c-49f2-8e68-cbd504d120a3 | polaris_external_999 | d853880d-c7d6-45ce-ab42-95214fbf2c04 50.205.206.32/27 |
| fd27692c-8998-4ce7-84f0-169a7ea4c4fa | polaris_external_15  | e3a4fcd2-82f5-4e83-984c-032003431f4e 10.1.15.0/24     |
| 8173379e-c848-4353-8b2b-361acbe0da22 | polaris_external_10  | e0d33ab9-586d-40e5-aae4-00c1d2642b81 10.1.10.0/24     |
+--------------------------------------+----------------------+-------------------------------------------------------+


[root@platform2 neutron(keystone_admin)]# neutron net-list
+--------------------------------------+----------------------+-------------------------------------------------------+
| id                                   | name                 | subnets                                               |
+--------------------------------------+----------------------+-------------------------------------------------------+
| f16f8b83-5e5c-49f2-8e68-cbd504d120a3 | polaris_external_999 | d853880d-c7d6-45ce-ab42-95214fbf2c04 50.205.206.32/27 |
| fd27692c-8998-4ce7-84f0-169a7ea4c4fa | polaris_external_15  | e3a4fcd2-82f5-4e83-984c-032003431f4e 10.1.15.0/24     |
| 8173379e-c848-4353-8b2b-361acbe0da22 | polaris_external_10  | e0d33ab9-586d-40e5-aae4-00c1d2642b81 10.1.10.0/24     |
+--------------------------------------+----------------------+-------------------------------------------------------+

+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| availability_zone_hints   |                                      |
| availability_zones        | nova                                 |
| created_at                | 2016-09-16T05:39:14                  |
| description               |                                      |
| id                        | f16f8b83-5e5c-49f2-8e68-cbd504d120a3 |
| ipv4_address_scope        |                                      |
| ipv6_address_scope        |                                      |
| is_default                | False                                |
| mtu                       | 1500                                 |
| name                      | polaris_external_999                 |
| provider:network_type     | flat                                 |
| provider:physical_network | br-ex                                |
| provider:segmentation_id  |                                      |
| router:external           | True                                 |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | d853880d-c7d6-45ce-ab42-95214fbf2c04 |
| tags                      |                                      |
| tenant_id                 | fd21daf0c13a41438d4d7ffb465ddaf1     |
| updated_at                | 2016-09-16T05:39:14                  |
+---------------------------+--------------------------------------+
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| availability_zone_hints   |                                      |
| availability_zones        | nova                                 |
| created_at                | 2016-09-16T05:39:05                  |
| description               |                                      |
| id                        | fd27692c-8998-4ce7-84f0-169a7ea4c4fa |
| ipv4_address_scope        |                                      |
| ipv6_address_scope        |                                      |
| is_default                | False                                |
| mtu                       | 1500                                 |
| name                      | polaris_external_15                  |
| provider:network_type     | flat                                 |
| provider:physical_network | br-15                                |
| provider:segmentation_id  |                                      |
| router:external           | True                                 |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | e3a4fcd2-82f5-4e83-984c-032003431f4e |
| tags                      |                                      |
| tenant_id                 | fd21daf0c13a41438d4d7ffb465ddaf1     |
| updated_at                | 2016-09-16T05:39:05                  |
+---------------------------+--------------------------------------+
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| availability_zone_hints   |                                      |
| availability_zones        | nova                                 |
| created_at                | 2016-09-16T05:38:54                  |
| description               |                                      |
| id                        | 8173379e-c848-4353-8b2b-361acbe0da22 |
| ipv4_address_scope        |                                      |
| ipv6_address_scope        |                                      |
| is_default                | False                                |
| mtu                       | 1500                                 |
| name                      | polaris_external_10                  |
| provider:network_type     | flat                                 |
| provider:physical_network | br-10                                |
| provider:segmentation_id  |                                      |
| router:external           | True                                 |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | e0d33ab9-586d-40e5-aae4-00c1d2642b81 |
| tags                      |                                      |
| tenant_id                 | fd21daf0c13a41438d4d7ffb465ddaf1     |
| updated_at                | 2016-09-16T05:38:54                  |
+---------------------------+--------------------------------------+
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by bcollins
close date 2016-11-10 17:59:09.767637

Comments

Seems your all 3 polaris_external networks are having provider:network_type as flat. Delete all your networks and create networks fresh, then try to launch an instance.

CloudEnthusiast gravatar imageCloudEnthusiast ( 2016-09-16 11:50:54 -0500 )edit

will try this. does only one need to be flat? all three are provider networks....

bcollins gravatar imagebcollins ( 2016-09-18 07:58:39 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-11-10 17:58:59 -0500

Removed all external networks and reconfigured. Start with 1 and an internal, bring in a second (and more) external when you have the first figured out. After creation and test of one, create more.

edit flag offensive delete link more
1

answered 2016-09-16 07:35:03 -0500

hkominos gravatar image

I think the problem is that you are trying to do something without specifying which external network to attach to.

edit flag offensive delete link more

Comments

unfortunately he didn't bother to say what he was trying to do. Maybe create a floating ip.

darragh-oreilly gravatar imagedarragh-oreilly ( 2016-09-17 02:27:30 -0500 )edit

raise an instance. cirros.

bcollins gravatar imagebcollins ( 2016-09-18 07:57:53 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-09-16 00:47:35 -0500

Seen: 590 times

Last updated: Nov 10 '16