Public bug reported:
Description
===========
Lbaasv2 update listener failed with AttributeError: 'dict' object has no
attribute 'tls_container_id'
Steps to reproduce
==================
1. Create one load balancer, choose "TERMINATED_HTTPS" as listener protocol
and select a certificate
2. Edit the existed listener with another certificate
Expected result
===============
Listener should be updated successfully
Actual result
=============
Update listener fail with AttributeError: 'dict' object has no attribute
'tls_container_id'
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
[req-4ff29fcc-5c4e-4a1c-980d-bc8bac5993ef bcd78d3b2dfd49daac46fb056b81d7cd
f4c794a249b34eb992f497f0e6af2a28 - - -] update failed: No details.
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource Traceback
(most recent call last):
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 79, in
resource
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource result =
method(request=request, **args)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 604, in update
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource return
self._update(request, id, body, **kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource setattr(e,
'_RETRY_EXCEEDED', True)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
self.force_reraise()
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource return
f(*args, **kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
ectxt.value = e.inner_exc
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
self.force_reraise()
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource return
f(*args, **kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
traceback.format_exc())
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
self.force_reraise()
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource return
f(*dup_args, **dup_kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 652, in _update
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource obj =
obj_updater(request.context, id, **kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py",
line 623, in update_listener
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource raise exc
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
AttributeError: 'dict' object has no attribute 'tls_container_id'
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1753380
Title:
Lbaasv2 Update listener failed
Status in neutron:
New
Bug description:
Description
===========
Lbaasv2 update listener failed with AttributeError: 'dict' object has no
attribute 'tls_container_id'
Steps to reproduce
==================
1. Create one load balancer, choose "TERMINATED_HTTPS" as listener
protocol and select a certificate
2. Edit the existed listener with another certificate
Expected result
===============
Listener should be updated successfully
Actual result
=============
Update listener fail with AttributeError: 'dict' object has no attribute
'tls_container_id'
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
[req-4ff29fcc-5c4e-4a1c-980d-bc8bac5993ef bcd78d3b2dfd49daac46fb056b81d7cd
f4c794a249b34eb992f497f0e6af2a28 - - -] update failed: No details.
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource Traceback
(most recent call last):
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 79, in
resource
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource result =
method(request=request, **args)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 604, in update
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource return
self._update(request, id, body, **kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
setattr(e, '_RETRY_EXCEEDED', True)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
self.force_reraise()
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource return
f(*args, **kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
ectxt.value = e.inner_exc
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
self.force_reraise()
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource return
f(*args, **kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
traceback.format_exc())
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
self.force_reraise()
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
six.reraise(self.type_, self.value, self.tb)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource return
f(*dup_args, **dup_kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 652, in _update
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource obj =
obj_updater(request.context, id, **kwargs)
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource File
"/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py",
line 623, in update_listener
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource raise exc
2018-03-05 07:01:01.914 325616 ERROR neutron.api.v2.resource
AttributeError: 'dict' object has no attribute 'tls_container_id'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1753380/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp