yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #21280
[Bug 1053825] Re: nova network cannot allocate fixed IP
** Changed in: nova
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1053825
Title:
nova network cannot allocate fixed IP
Status in OpenStack Compute (Nova):
Invalid
Bug description:
After deleting the previous created network, Openstack just clear the record in
DB table networks, while marking fixed_ips table record *deleted* field to 1.
Then I recreate the same network, Openstack network could not allocate the
right IP from pool. The detailed log is as below:
2012-09-17 21:59:50 DEBUG nova.compute.manager
[req-eb239033-a027-4c3f-91ed-0ac7b4749b71 ecf118bde4cd484186f44757997da289
5e962c586e9a4ccfa18ce572718ae1ce] [instance:
0578a58d-783d-4860-bf0c-b1ebb0b44157] Instance network_info: |[VIF({'network':
Network({'bridge': u'br101', 'subnets': [Subnet({'ips': [], 'version': 4,
'meta': {u'dhcp_server': u'10.1.101.1'}, 'dns': [], 'routes': [], 'cidr':
u'10.1.101.0/29', 'gateway': IP({'meta': {}, 'version': 4, 'type': u'gateway',
'address': u'10.1.101.1'})}), Subnet({'ips': [], 'version': None, 'meta':
{u'dhcp_server': None}, 'dns': [], 'routes': [], 'cidr': None, 'gateway':
IP({'meta': {}, 'version': None, 'type': u'gateway', 'address': None})})],
'meta': {u'tenant_id': u'5e962c586e9a4ccfa18ce572718ae1ce', u'vlan': 101,
u'should_create_bridge': True, u'should_create_vlan': True,
u'bridge_interface': u'eth3'}, 'id': u'ed5ce12c-2b7c-43e9-ade4-14edf9239df1',
'label': u'public'}), 'meta': {}, 'id':
u'9c6ef86a-462b-46b7-9388-9ee880ce1019', 'address': u'fa:16:3e:08:8e:7b'})]|
from (pid=6497) _allocate_network
/usr/lib/python2.6/site-packages/nova/compute/manager.py:585
After deleting the record in fixed_ips table, whose *deleted* field marked as
1, nova network could allocate fixed IP, and the system seems to be normal,
the right log should be as below:
2012-09-09 06:56:16 DEBUG nova.compute.manager
[req-aab05e95-4f10-4bf4-8f27-3b26e0b2287f ecf118bde4cd484186f44757997da289
5e962c586e9a4ccfa18ce572718ae1ce] [instance:
92d467b4-379c-4a29-b608-da984b796574] Instance network_info: |[VIF({'network':
Network({'bridge': u'br101', 'subnets': [Subnet({'ips': [FixedIP({'meta': {},
'version': 4, 'type': u'fixed', 'floating_ips': [], 'address':
u'10.1.101.27'})], 'version': 4, 'meta': {u'dhcp_server': u'10.1.101.1'},
'dns': [], 'routes': [], 'cidr': u'10.1.101.0/24', 'gateway': IP({'meta': {},
'version': 4, 'type': u'gateway', 'address': u'10.1.101.1'})}), Subnet({'ips':
[], 'version': None, 'meta': {u'dhcp_server': None}, 'dns': [], 'routes': [],
'cidr': None, 'gateway': IP({'meta': {}, 'version': None, 'type': u'gateway',
'address': None})})], 'meta': {u'tenant_id':
u'5e962c586e9a4ccfa18ce572718ae1ce', u'vlan': 101, u'should_create_bridge':
True, u'should_create_vlan': True, u'bridge_interface': u'eth3'}, 'id':
u'ba97442a-2599-454c-adad-1144499cd618', 'label': u'public'}), 'meta': {},
'id': u'4882c1ad-e3e0-40bc-86c8-7bda2348056c', 'address':
u'fa:16:3e:25:42:9e'})]| from (pid=3818) _allocate_network
/usr/lib/python2.6/site-packages/nova/compute/manager.py:585
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1053825/+subscriptions