yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03063
[Bug 1186557] Re: nwfilter problem of two ports instance
i disable firewall in nova, then it works now:
firewall_driver=nova.virt.firewall.NoopFirewallDriver
** Changed in: quantum
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1186557
Title:
nwfilter problem of two ports instance
Status in OpenStack Quantum (virtual network service):
Invalid
Bug description:
i have two subnets in different network:
# quantum net-list
+--------------------------------------+----------+--------------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------+--------------------------------------------------+
| 5b18231f-8a3a-4c5a-b6a8-a4773f45c695 | vlan3501 | 5c8ac388-972d-4599-a0f9-ad4cc7fa720f 29.4.4.0/22 |
| 8717d0e0-d17e-4262-ab3e-2a423d71bae4 | vlan3001 | 9a1c3be6-4678-4cf7-85e8-494b49fa40b7 10.0.4.0/22 |
+--------------------------------------+----------+--------------------------------------------------+
# quantum subnet-list
+--------------------------------------+------+-------------+--------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+------+-------------+--------------------------------------------+
| 5c8ac388-972d-4599-a0f9-ad4cc7fa720f | | 29.4.4.0/22 | {"start": "29.4.4.2", "end": "29.4.7.254"} |
| 9a1c3be6-4678-4cf7-85e8-494b49fa40b7 | | 10.0.4.0/22 | {"start": "10.0.4.2", "end": "10.0.7.254"} |
+--------------------------------------+------+-------------+--------------------------------------------+
there is gateway for vlan3501, and no gateway for vlan3001.
if i boot instance with two nice in two subnets, it give me errors:
2013-05-31 13:14:36.373 16979 TRACE nova.compute.manager [instance: 525518ec-fb5a-4ca3-a19c-3e5bf249932e] libvirtError: internal error Cannot instantiate filter due to unresolvable variables or unavailable list elements: DHCPSERVER
2013-05-31 13:14:36.373 16979 TRACE nova.compute.manager [instance: 525518ec-fb5a-4ca3-a19c-3e5bf249932e]
2013-05-31 13:14:36.696 AUDIT nova.compute.manager [req-8a1b86a1-2b76-4d63-ab24-6b018f012597 4ff1446edaa6401ab7c24e80ef10712c 2882dfd98c7d44568d339b6aff1f9d2a] [instance: 525518ec-fb5a-4ca3-a19c-3e5bf249932e] Terminating instance
2013-05-31 13:14:37.840 16979 INFO nova.virt.libvirt.driver [-] [instance: 525518ec-fb5a-4ca3-a19c-3e5bf249932e] Instance destroyed successfully.
2013-05-31 13:14:41.013 INFO nova.virt.libvirt.driver [req-8a1b86a1-2b76-4d63-ab24-6b018f012597 4ff1446edaa6401ab7c24e80ef10712c 2882dfd98c7d44568d339b6aff1f9d2a] [instance: 525518ec-fb5a-4ca3-a19c-3e5bf249932e] Deleting instance files /home/nova//instances/525518ec-fb5a-4ca3-a19c-3e5bf249932e
2013-05-31 13:14:41.321 ERROR nova.compute.manager [req-8a1b86a1-2b76-4d63-ab24-6b018f012597 4ff1446edaa6401ab7c24e80ef10712c 2882dfd98c7d44568d339b6aff1f9d2a] [instance: 525518ec-fb5a-4ca3-a19c-3e5bf249932e] Error: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 848, in _run_instance\n set_access_ip=set_access_ip)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1107, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', ' File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__\n self.gen.next()\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1103, in _spawn\n block_device_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1527, in spawn\n block_device_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2443, in _create_domain_and_network\n domain = self._create_domain(xml, instance=instance)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2404, in _create_domain\n domain.createWithFlags(launch_flags)\n', ' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 187, in doit\n result = proxy_call(self._autowrap, f, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 147, in proxy_call\n rv = execute(f,*args,**kwargs)\n', ' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 76, in tworker\n rv = meth(*args,**kwargs)\n', ' File "/usr/lib64/python2.6/site-packages/libvirt.py", line 708, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', 'libvirtError: internal error Cannot instantiate filter due to unresolvable variables or unavailable list elements: DHCPSERVER\n']
# virsh nwfilter-dumpxml nova-instance-instance-00000017-fa163e8bc4ed
<filter name='nova-instance-instance-00000017-fa163e8bc4ed' chain='root'>
<uuid>aef6921e-1295-47b1-8094-df8241a160ce</uuid>
<filterref filter='nova-base'>
<parameter name='DHCPSERVER' value='29.4.4.1'/>
<parameter name='IP' value='29.4.4.7'/>
<parameter name='PROJMASK' value='255.255.252.0'/>
<parameter name='PROJNET' value='29.4.4.0'/>
</filterref>
</filter>
# virsh nwfilter-dumpxml nova-instance-instance-00000017-fa163ecc6476
<filter name='nova-instance-instance-00000017-fa163ecc6476' chain='root'>
<uuid>6647be20-adb0-7261-1565-e53c713eb0f7</uuid>
<filterref filter='nova-base'>
<parameter name='IP' value='10.0.4.7'/>
<parameter name='PROJMASK' value='255.255.252.0'/>
<parameter name='PROJNET' value='10.0.4.0'/>
</filterref>
</filter>
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1186557/+subscriptions