i think you should use --vlan=<vlanid> in command nova-manage network create
I thought by default nova-manage try to use vlan_start (default is vlanid 100) to insert it in db table networks. and if you already have one network with vlanid100 , it should return such error about duplicated vlan. what is the type of network_manager in you configuration? 2012/4/28 livemoon <mwjpi...@gmail.com> > According doc: > http://docs.openstack.org/incubation/openstack-network/admin/content/Net-Create-dle455.html > > when I create the second network, it return errors: > > root@cloud:/etc/quantum# nova-manage network create --label=public > --fixed_range_v4=10.0.1.0/24 > 2012-04-28 15:27:21 DEBUG nova.utils > [req-6001e498-c504-4bf1-ae5b-537d08e66325 None None] backend <module > 'nova.db.sqlalchemy.api' from > '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from > (pid=21612) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 > root@cloud:/etc/quantum# nova-manage network create --label=test-1 > --fixed_range_v4=10.0.2.0/24 --uuid=64a1c0f3-572b-4349-993d-36c06b746006 > 2012-04-28 15:27:46 DEBUG nova.utils > [req-5d2924e1-6dce-44ae-bc45-c6c880c9cf9a None None] backend <module > 'nova.db.sqlalchemy.api' from > '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from > (pid=21756) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 > Command failed, please check log for more info > 2012-04-28 15:27:46 CRITICAL nova > [req-5d2924e1-6dce-44ae-bc45-c6c880c9cf9a None None] Detected existing vlan > with id 100 > 2012-04-28 15:27:46 TRACE nova Traceback (most recent call last): > 2012-04-28 15:27:46 TRACE nova File "/usr/bin/nova-manage", line 1744, > in <module> > 2012-04-28 15:27:46 TRACE nova main() > 2012-04-28 15:27:46 TRACE nova File "/usr/bin/nova-manage", line 1731, > in main > 2012-04-28 15:27:46 TRACE nova fn(*fn_args, **fn_kwargs) > 2012-04-28 15:27:46 TRACE nova File "/usr/bin/nova-manage", line 812, in > create > 2012-04-28 15:27:46 TRACE nova fixed_cidr=fixed_cidr) > 2012-04-28 15:27:46 TRACE nova File > "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1843, in > create_networks > 2012-04-28 15:27:46 TRACE nova NetworkManager.create_networks(self, > context, vpn=True, **kwargs) > 2012-04-28 15:27:46 TRACE nova File > "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1401, in > create_networks > 2012-04-28 15:27:46 TRACE nova network = > self.db.network_create_safe(context, net) > 2012-04-28 15:27:46 TRACE nova File > "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 731, in > network_create_safe > 2012-04-28 15:27:46 TRACE nova return > IMPL.network_create_safe(context, values) > 2012-04-28 15:27:46 TRACE nova File > "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 102, in > wrapper > 2012-04-28 15:27:46 TRACE nova return f(*args, **kwargs) > 2012-04-28 15:27:46 TRACE nova File > "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 1884, in > network_create_safe > 2012-04-28 15:27:46 TRACE nova raise > exception.DuplicateVlan(vlan=values['vlan']) > 2012-04-28 15:27:46 TRACE nova DuplicateVlan: Detected existing vlan with > id 100 > 2012-04-28 15:27:46 TRACE nova > > Can anyone help me? > > -- > 非淡薄无以明志,非宁静无以致远 > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp