← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1651712] [NEW] failed to start VM on disabled port_security_enabled network

 

Public bug reported:

to start a VM on port_security_enabled disabled network, it failed:
016-12-21 17:36:01.533 7 ERROR nova.compute.manager [req-ee15cc56-ef1d-4e25-889d-4634804fae57 ff5a300a13f846a08f47c08a3b14f162 3d0d66439f3640c790099997c0ea842f - - -] Instance failed network setup after 1 attempt(s)
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager Traceback (most recent call last):
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 1397, in _allocate_network_async
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     bind_host_id=bind_host_id)
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 861, in allocate_for_instance
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     security_group_ids)
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 801, in _create_ports_for_instance
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     neutron, instance, created_port_ids)
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     self.force_reraise()
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     six.reraise(self.type_, self.value, self.tb)
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 783, in _create_ports_for_instance
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     raise exception.SecurityGroupCannotBeApplied()
2016-12-21 17:36:01.533 7 ERROR nova.compute.manager SecurityGroupCannotBeApplied: Network requires port_security_enabled and subnet associated in order to apply security groups.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1651712

Title:
  failed to start VM on disabled port_security_enabled network

Status in OpenStack Compute (nova):
  New

Bug description:
  to start a VM on port_security_enabled disabled network, it failed:
  016-12-21 17:36:01.533 7 ERROR nova.compute.manager [req-ee15cc56-ef1d-4e25-889d-4634804fae57 ff5a300a13f846a08f47c08a3b14f162 3d0d66439f3640c790099997c0ea842f - - -] Instance failed network setup after 1 attempt(s)
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager Traceback (most recent call last):
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 1397, in _allocate_network_async
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     bind_host_id=bind_host_id)
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 861, in allocate_for_instance
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     security_group_ids)
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 801, in _create_ports_for_instance
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     neutron, instance, created_port_ids)
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     self.force_reraise()
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     six.reraise(self.type_, self.value, self.tb)
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 783, in _create_ports_for_instance
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager     raise exception.SecurityGroupCannotBeApplied()
  2016-12-21 17:36:01.533 7 ERROR nova.compute.manager SecurityGroupCannotBeApplied: Network requires port_security_enabled and subnet associated in order to apply security groups.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1651712/+subscriptions


Follow ups