'/usr/bin/nova-manage network list' returned 1 instead of 8 expected fixed networks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
In Progress
|
High
|
Roman Podoliaka |
Bug Description
{
"build_id": "2014-07-
"ostf_sha": "8c328521b1444f
"build_number": "363",
"auth_
"api": "1.0",
"nailgun_sha": "83cc9ed44ebc8d
"production": "docker",
"fuelmain_sha": "6e05b0448d4dc5
"astute_sha": "aa5aed61035a8d
"feature_
"mirantis"
],
"release": "5.1",
"fuellib_sha": "d1c7f67b3cf519
}
Steps:
1. Create next cluster - CentOS, simple, Vlan nova-network, 1 controller, 1 compute, set Number of fixed networks to 8
2. Deploy cluster
3. Ssh to controller after successful deployment
4. Execute /usr/bin/
Expected - command execution returned 8 networks
Actual - it returned 1 network
[root@node-2 ~]# /usr/bin/
id IPv4 IPv6 start address DNS1 DNS2 VlanID project uuid
1 10.0.0.0/27 None 10.0.0.3 8.8.4.4 8.8.8.8 103 None 8831eaae-
Logs are attached
Seeing this in Nova logs:
<178>Jul 28 10:46:34 node-2 nova-manage 2014-07-28 10:46:34.996 17815 CRITICAL nova [req-ccd28c6a- c224-4b8c- 8f98-3b5dbd30b9 a2 None] DuplicateVlan: Detected existing vlan with id 103 nova-manage" , line 10, in <module> python2. 6/site- packages/ nova/cmd/ manage. py", line 1376, in main python2. 6/site- packages/ nova/cmd/ manage. py", line 530, in create create_ networks( context. get_admin_ context( ), **kwargs) python2. 6/site- packages/ nova/network/ manager. py", line 1865, in create_networks python2. 6/site- packages/ nova/network/ manager. py", line 1094, in create_networks create_ networks( context, **kwargs) python2. 6/site- packages/ nova/network/ manager. py", line 1232, in _do_create_networks python2. 6/site- packages/ nova/objects/ base.py" , line 151, in wrapper python2. 6/site- packages/ nova/objects/ network. py", line 131, in create create_ safe(context, updates) python2. 6/site- packages/ nova/db/ api.py" , line 929, in network_create_safe create_ safe(context, values) python2. 6/site- packages/ nova/db/ sqlalchemy/ api.py" , line 146, in wrapper python2. 6/site- packages/ nova/db/ sqlalchemy/ api.py" , line 2519, in network_create_safe DuplicateVlan( vlan=values[ 'vlan'] )
2014-07-28 10:46:34.996 17815 TRACE nova Traceback (most recent call last):
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/bin/
2014-07-28 10:46:34.996 17815 TRACE nova sys.exit(main())
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova ret = fn(*fn_args, **fn_kwargs)
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova net_manager.
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova self, context, vpn=True, **kwargs)
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova return self._do_
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova net.create()
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova return fn(self, ctxt, *args, **kwargs)
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova db_network = db.network_
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova return IMPL.network_
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova return f(*args, **kwargs)
2014-07-28 10:46:34.996 17815 TRACE nova File "/usr/lib/
2014-07-28 10:46:34.996 17815 TRACE nova raise exception.
2014-07-28 10:46:34.996 17815 TRACE nova DuplicateVlan: Detected existing vlan with id 103
2014-07-28 10:46:34.996 17815 TRACE nova