yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75988
[Bug 1805569] [NEW] Report early when security group doesn't belong to current tenant
Public bug reported:
see this error in compute node ,actually it should be in api layer.....
the get API in neutron/secuirty_group should be used to validate
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/network/model.py", line 583, in wait
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] self[:] = self._gt.wait()
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 180, in wai
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] return self._exit_event.wait()
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 132, in wait
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] current.throw(*self._exc)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 219, in mai
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] result = function(*args, **kwargs)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/utils.py", line 799, in context_wrapper
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] return func(*args, **kwargs)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/compute/manager.py", line 1510, in _allocate_network_async
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] six.reraise(*exc_info)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/compute/manager.py", line 1493, in _allocate_network_async
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] bind_host_id=bind_host_id)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/network/neutronv2/api.py", line 1025, in allocate_for_instan
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] instance, neutron, security_groups)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/network/neutronv2/api.py", line 812, in _process_security_gr
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] security_group_id=security_group)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] SecurityGroupNotFound: Security group 15082515-3535-4304-84c0-a00b7c7ae376 not found.
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0]
** Affects: nova
Importance: Undecided
Assignee: jichenjc (jichenjc)
Status: New
** Changed in: nova
Assignee: (unassigned) => jichenjc (jichenjc)
--
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/1805569
Title:
Report early when security group doesn't belong to current tenant
Status in OpenStack Compute (nova):
New
Bug description:
see this error in compute node ,actually it should be in api layer.....
the get API in neutron/secuirty_group should be used to validate
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/network/model.py", line 583, in wait
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] self[:] = self._gt.wait()
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 180, in wai
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] return self._exit_event.wait()
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 132, in wait
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] current.throw(*self._exc)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 219, in mai
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] result = function(*args, **kwargs)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/utils.py", line 799, in context_wrapper
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] return func(*args, **kwargs)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/compute/manager.py", line 1510, in _allocate_network_async
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] six.reraise(*exc_info)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/compute/manager.py", line 1493, in _allocate_network_async
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] bind_host_id=bind_host_id)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/network/neutronv2/api.py", line 1025, in allocate_for_instan
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] instance, neutron, security_groups)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] File "/opt/stack/nova/nova/network/neutronv2/api.py", line 812, in _process_security_gr
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] security_group_id=security_group)
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0] SecurityGroupNotFound: Security group 15082515-3535-4304-84c0-a00b7c7ae376 not found.
ager [instance: 026512be-8a6e-4e82-8f88-3a9260f350a0]
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1805569/+subscriptions
Follow ups