[openstack-dev] [Nova][Cinder][Tempest] Help with tempest.api.compute.servers.test_device_tagging.TaggedAttachmentsTest.test_tagged_attachment needed
alifshit at redhat.com
Thu Jul 19 17:28:39 UTC 2018
I've proposed  to add extra logging on the Nova side. Let's see if
that helps us catch the root cause of this.
On Thu, Jul 19, 2018 at 12:50 PM, Artom Lifshitz <alifshit at redhat.com> wrote:
> Because we're waiting for the volume to become available before we
> continue with the test , its tag still being present means Nova's
> not cleaning up the device tags on volume detach. This is most likely
> a bug. I'll look into it.
>  https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_device_tagging.py#L378
> On Thu, Jul 19, 2018 at 7:09 AM, Slawomir Kaplonski <skaplons at redhat.com> wrote:
>> Since some time we see that test tempest.api.compute.servers.test_device_tagging.TaggedAttachmentsTest.test_tagged_attachment is failing sometimes.
>> Bug about that is reported for Tempest currently  but after small patch  was merged I was today able to check what cause this issue.
>> Test which is failing is in  and it looks that everything is going fine with it up to last line of test. So volume and port are created, attached, tags are set properly, both devices are detached properly also and at the end test is failing as in http://169.254.169.254/openstack/latest/meta_data.json still has some device inside.
>> And it looks now from  that it is volume which isn’t removed from this meta_data.json.
>> So I think that it would be good if people from Nova and Cinder teams could look at it and try to figure out what is going on there and how it can be fixed.
>> Thanks in advance for help.
>>  https://bugs.launchpad.net/tempest/+bug/1775947
>>  https://review.openstack.org/#/c/578765/
>>  https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_device_tagging.py#L330
>>  http://logs.openstack.org/69/567369/15/check/tempest-full/528bc75/job-output.txt.gz#_2018-07-19_10_06_09_273919
>> Slawek Kaplonski
>> Senior software engineer
>> Red Hat
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> Artom Lifshitz
> Software Engineer, OpenStack Compute DFG
Software Engineer, OpenStack Compute DFG
More information about the OpenStack-dev