[openstack-dev] [cinder][nova][ci] Tintri Cinder CI failures after Nova change

Matt Riedemann mriedem at linux.vnet.ibm.com
Fri Aug 7 14:01:35 UTC 2015



On 8/7/2015 8:38 AM, Matt Riedemann wrote:
>
>
> On 8/6/2015 3:30 PM, Skyler Berg wrote:
>> After the change "cleanup NovaObjectDictCompat from virtual_interface"
>> [1] was merged into Nova on the morning of August 5th, Tintri's CI for
>> Cinder started failing 13 test cases that involve a volume being
>> attached to an instance [2].
>>
>> I have verified that the tests fail with the above mentioned change and
>> pass when running against the previous commit.
>>
>> If anyone knows why this patch is causing an issue or is experiencing
>> similar problems, please let me know.
>>
>> In the meantime, expect Tintri's CI to be either down or reporting
>> failures until a solution is found.
>>
>> [1] https://review.openstack.org/#/c/200823/
>> [2] http://openstack-ci.tintri.com/tintri/refs-changes-06-201406-35/
>>
>
>  From the n-cpu logs this is the TypeError:
>
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager Traceback (most
> recent call last):
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py",
> line 142, in _dispatch_and_reply
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> executor_callback))
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py",
> line 186, in _dispatch
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager executor_callback)
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py",
> line 129, in _do_dispatch
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager     result =
> func(ctxt, **new_args)
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/opt/stack/nova/nova/network/floating_ips.py", line 113, in
> allocate_for_instance
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager     **kwargs)
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/opt/stack/nova/nova/network/manager.py", line 496, in
> allocate_for_instance
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager     context,
> instance_uuid)
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in
> __exit__
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> six.reraise(self.type_, self.value, self.tb)
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/opt/stack/nova/nova/network/manager.py", line 490, in
> allocate_for_instance
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager     networks,
> macs)
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/opt/stack/nova/nova/network/manager.py", line 755, in
> _allocate_mac_addresses
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager     network['id'])
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/opt/stack/nova/nova/network/manager.py", line 774, in
> _add_virtual_interface
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager     vif.create()
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager   File
> "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line
> 205, in wrapper
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager     self[key] =
> field.from_primitive(self, key, value)
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager TypeError:
> 'VirtualInterface' object does not support item assignment
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
> 2015-08-05 06:34:54.826 11118 ERROR nova.compute.manager
>
> It looks like you're missing this change in whatever version of
> oslo.versionedobjects you have in your CI:
>
> https://review.openstack.org/#/c/202200/
>
> That should be in o.vo 0.6.0, latest is 0.7.0.  What version of
> oslo.versionedobjects is on the this system?  It would be helpful to
> have pip freeze output.
>

I proposed a change to global-requirements to raise the minimum required 
oslo.versionedobjects to >= 0.6.0 here:

https://review.openstack.org/#/c/210445/

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list