Ask Your Question
3

unable to unshare external network

asked 2014-04-08 03:42:44 -0500

Moss gravatar image

Hello,

I was able to update external network ext_net from state shared:False to True but now I am unable to reverse that change:

root@controller2:~# neutron net-show ext_net
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 655cb6e0-a1a0-4ae9-ade0-9e0402851c9c |
| name                      | ext_net                              |
| provider:network_type     | gre                                  |
| provider:physical_network |                                      |
| provider:segmentation_id  | 2                                    |
| router:external           | True                                 |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | b838e4b8-e48f-491b-b8c7-9a95a5ad2ce8 |
| tenant_id                 | b42b9cfe2da84fe7883a3eb29c1726c6     |
+---------------------------+--------------------------------------+

root@controller2:~# neutron net-update --shared=False ext_net --verbose

ERROR: neutronclient.shell 409-{u'NeutronError': {u'message': u'Unable to reconfigure sharing settings for network ext_net. Multiple tenants are using it', u'type': u'InvalidSharedSetting', u'detail': u''}}

I am using some floating ips at this moment:

root@controller2:~# neutron floatingip-list
+--------------------------------------+------------------+---------------------+--------------------------------------+
| id                                   | fixed_ip_address | floating_ip_address | port_id                              |
+--------------------------------------+------------------+---------------------+--------------------------------------+
| 0be37d6a-cc7c-4089-89eb-973c05bd262b | 192.168.10.6     | 10.x.x.227         | d6c3c5d9-295e-4136-bc66-13bc23418723 |
| 627fd965-1595-41f5-9228-812e7264b4ff | 192.168.10.4     | 10.x.x.225         | 9752f93e-9b7a-42af-a235-be59889d4083 |
| 88f9fd9c-eed9-46cc-95fb-67ca91be8821 | 192.168.10.5     | 10.x.x.226         | 40572461-3b22-4c0b-a871-9ee2671fc6f1 |
| e2843063-f455-4215-a577-9ff4c66d104b | 192.168.10.7     | 10.x.x.228         | e2b67f46-e391-4b61-8f81-b7f428faf0c0 |
+--------------------------------------+------------------+---------------------+--------------------------------------+

Is there a way to update ext_net without destroying all floating ips and remaking whole network again?

Thanks!

edit retag flag offensive close merge delete

Comments

1

Yes, I faced this issue. In Devstack unstacking will remove and you can freshly stack it.

SGPJ gravatar imageSGPJ ( 2014-04-25 11:17:31 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-09-01 02:39:56 -0500

ssosothi gravatar image

In case anyone still has this problem, I've found that manually setting the shared state to false via following SQL command in the neutron.networks table appear to solve the problem.

update networks set shared = 0 where id = "<network id>";

edit flag offensive delete link more
2

answered 2014-04-25 08:24:09 -0500

Not at this time.

There's an open bug: https://bugs.launchpad.net/neutron/+b...

And a patch in review: https://review.openstack.org/#/c/82352/

This is targeted for the Juno release and may be backported to Icehouse if deemed important enough.

edit flag offensive delete link more

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: 2014-04-08 03:42:44 -0500

Seen: 2,193 times

Last updated: Apr 25 '14