Ask Your Question
0

Multiple network matches found for name 'public'

asked 2014-12-02 10:22:35 -0500

Stuart gravatar image

updated 2014-12-02 12:00:54 -0500

mpetason gravatar image

I am going through the Quickstart installation but am getting an error with my network.

(Ref: https://openstack.redhat.com/Quickstart )

I am installing using this command initially: packstack --allinone

Then I tried this:

/usr/bin/packstack --gen-answer-file=/root/packstack-AnswerFile.cfg
/usr/bin/packstack --answer-file=/root/packstack-AnswerFile.cfg

I kep on getting this error:

192.168.1.55_provision_demo.pp:                   [ ERROR ]
Applying Puppet manifests                               [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.1.55_provision_demo.pp
Error : Execution of '/usr/bin/neutron router-gateway-set router1 public'
    returned 1: Multiple network matches found for name 'public', use an ID to be more specific.

To fix, I have tried this:

source keystonerc_demo
neutron net-list

(NOTE: extra carriage returns added as it makes it readable)

+-----------------------------------------------------+---------+------------------------------------------------------------------+

| id                                                             | name    | subnets             |
+----------------------------------------------------+---------+-------------------------------------------------------------------+
| 6b4dfb9f-5e1b-4c39-90b1-a2425adda7f6     | private | 252aeed1-6112-4c6b-a249-b5cc082686ab 10.0.0.0/24  |

| 5a30c47c-4929-4745-af4d-9fcd39e71620     | public  | 26a31182-c9de-41db-a7a5-05889462a32f                      |

| 24fae37a-bad0-4de1-b499-a085686b4989    | public  |                                                                                  |

| c33cc37b-fc61-4257-9097-02c87cf3c1bb      | public  |                                                                                   |

| df03b88f-3e7d-480d-b826-ab77b9b394d6    | public  |                                                                                   |

+----------------------------------------------------+---------+-------------------------------------------------------------------+

Then:

neutron net-delete iddf03b88f-3e7d-480d-b826-ab77b9b394d6
    Unable to find network with name 'iddf03b88f-3e7d-480d-b826-ab77b9b394d6'

I think that I am on the right track but can not figure out how to remove the extra public subnets I have checked the man page, the documentation and google and am pretty certain that the syntax is correct.

How can I delete the extra public networks please, or how can I completely remove everything for packstack / OpenStack.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-02 12:02:42 -0500

mpetason gravatar image

You are close. You are using the net-delete however the ID you are listing isn't correct. You added "id" to the beginning of it. Instead you are going to use a command such as:

neutron net-delete df03b88f-3e7d-480d-b826-ab77b9b394d6

See if that works.

edit flag offensive delete link more

Comments

neutron net-delete 03b88f-3e7d-480d-b826-ab77b9b394d6

Stuart gravatar imageStuart ( 2014-12-02 12:54:04 -0500 )edit

Thank you. Yes that worked.

Stuart gravatar imageStuart ( 2014-12-02 12:55:11 -0500 )edit
1

Great! Most of the CLI commands you'll issue will actually just expect the ID (uuid) so you were halfway there.

mpetason gravatar imagempetason ( 2014-12-02 13:13:21 -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: 2014-12-02 10:22:35 -0500

Seen: 1,960 times

Last updated: Dec 02 '14