Bug #51772
closedtempest failures: test_create_container_with_remove_metadata_key/value
0%
Description
-07-21T13:40:18.662 INFO:teuthology.orchestra.run.smithi153.stdout:==============================
2021-07-21T13:40:18.662 INFO:teuthology.orchestra.run.smithi153.stdout:Failed 2 tests - output below:
2021-07-21T13:40:18.662 INFO:teuthology.orchestra.run.smithi153.stdout:==============================
2021-07-21T13:40:18.662 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.663 INFO:teuthology.orchestra.run.smithi153.stdout:tempest.api.object_storage.test_container_services.ContainerTest.test_create_container_with_remove_metadata_key[id-24d16451-1c0c-4e4f-b59c-9840a3aba40e]
2021-07-21T13:40:18.663 INFO:teuthology.orchestra.run.smithi153.stdout:--------------------------------------------------------------------------------------------------------------------------------------------------------
2021-07-21T13:40:18.663 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.663 INFO:teuthology.orchestra.run.smithi153.stdout:Captured traceback:
2021-07-21T13:40:18.664 INFO:teuthology.orchestra.run.smithi153.stdout:~~~~~~~~~~~~~~~~~~~
2021-07-21T13:40:18.664 INFO:teuthology.orchestra.run.smithi153.stdout: Traceback (most recent call last):
2021-07-21T13:40:18.664 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.664 INFO:teuthology.orchestra.run.smithi153.stdout: File "/home/ubuntu/cephtest/tempest/tempest/api/object_storage/test_container_services.py", line 96, in test_create_container_with_remove_metadata_key
2021-07-21T13:40:18.664 INFO:teuthology.orchestra.run.smithi153.stdout: self.assertNotIn('x-container-meta-test-container-meta', resp)
2021-07-21T13:40:18.665 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.665 INFO:teuthology.orchestra.run.smithi153.stdout: File "/home/ubuntu/cephtest/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 459, in assertNotIn
2021-07-21T13:40:18.665 INFO:teuthology.orchestra.run.smithi153.stdout: self.assertThat(haystack, matcher, message)
2021-07-21T13:40:18.665 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.666 INFO:teuthology.orchestra.run.smithi153.stdout: File "/home/ubuntu/cephtest/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 502, in assertThat
2021-07-21T13:40:18.666 INFO:teuthology.orchestra.run.smithi153.stdout: raise mismatch_error
2021-07-21T13:40:18.666 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.666 INFO:teuthology.orchestra.run.smithi153.stdout: testtools.matchers._impl.MismatchError: {'x-timestamp': '1626874756.84543', 'x-container-object-count': '0', 'x-container-bytes-used': '0', 'x-container-bytes-used-actual': '0', 'x-storage-policy': 'default-placement', 'x-storage-class': 'STANDARD', 'x-container-meta-test-container-meta': 'Meta1', 'last-modified': 'Wed, 21 Jul 2021 13:39:16 GMT', 'x-trans-id': 'tx0000000000000000000b2-0060f82384-106d-default', 'x-openstack-request-id': 'tx0000000000000000000b2-0060f82384-106d-default', 'accept-ranges': 'bytes', 'content-type': 'application/json; charset=utf-8', 'date': 'Wed, 21 Jul 2021 13:39:16 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1556313146'} matches Contains('x-container-meta-test-container-meta')
2021-07-21T13:40:18.667 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.667 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.667 INFO:teuthology.orchestra.run.smithi153.stdout:Captured pythonlogging:
2021-07-21T13:40:18.667 INFO:teuthology.orchestra.run.smithi153.stdout:~~~~~~~~~~~~~~~~~~~~~~~
2021-07-21T13:40:18.668 INFO:teuthology.orchestra.run.smithi153.stdout: 2021-07-21 13:39:16,861 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:test_create_container_with_remove_metadata_key): 201 PUT http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1556313146 0.018s
2021-07-21T13:40:18.668 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:16,866 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:test_create_container_with_remove_metadata_key): 202 PUT http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1556313146 0.004s
2021-07-21T13:40:18.668 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:16,869 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:test_create_container_with_remove_metadata_key): 204 HEAD http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1556313146 0.003s
2021-07-21T13:40:18.668 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:16,872 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 404 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-178509779?&limit=9999&format=json 0.001s
2021-07-21T13:40:18.669 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:16,874 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 404 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-2102572251?&limit=9999&format=json 0.001s
2021-07-21T13:40:18.669 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:16,876 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 404 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-2132824886?&limit=9999&format=json 0.001s
2021-07-21T13:40:18.669 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:16,878 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 404 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1999964905?&limit=9999&format=json 0.002s
2021-07-21T13:40:18.669 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:16,883 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 200 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1556313146?&limit=9999&format=json 0.004s
2021-07-21T13:40:18.669 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:18,928 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 204 DELETE http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1556313146 0.043s
2021-07-21T13:40:18.670 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.670 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.670 INFO:teuthology.orchestra.run.smithi153.stdout:tempest.api.object_storage.test_container_services.ContainerTest.test_create_container_with_remove_metadata_value[id-8a21ebad-a5c7-4e29-b428-384edc8cd156]
2021-07-21T13:40:18.670 INFO:teuthology.orchestra.run.smithi153.stdout:----------------------------------------------------------------------------------------------------------------------------------------------------------
2021-07-21T13:40:18.671 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.671 INFO:teuthology.orchestra.run.smithi153.stdout:Captured traceback:
2021-07-21T13:40:18.671 INFO:teuthology.orchestra.run.smithi153.stdout:~~~~~~~~~~~~~~~~~~~
2021-07-21T13:40:18.671 INFO:teuthology.orchestra.run.smithi153.stdout: Traceback (most recent call last):
2021-07-21T13:40:18.672 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.672 INFO:teuthology.orchestra.run.smithi153.stdout: File "/home/ubuntu/cephtest/tempest/tempest/api/object_storage/test_container_services.py", line 113, in test_create_container_with_remove_metadata_value
2021-07-21T13:40:18.672 INFO:teuthology.orchestra.run.smithi153.stdout: self.assertNotIn('x-container-meta-test-container-meta', resp)
2021-07-21T13:40:18.672 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.672 INFO:teuthology.orchestra.run.smithi153.stdout: File "/home/ubuntu/cephtest/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 459, in assertNotIn
2021-07-21T13:40:18.673 INFO:teuthology.orchestra.run.smithi153.stdout: self.assertThat(haystack, matcher, message)
2021-07-21T13:40:18.673 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.673 INFO:teuthology.orchestra.run.smithi153.stdout: File "/home/ubuntu/cephtest/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 502, in assertThat
2021-07-21T13:40:18.673 INFO:teuthology.orchestra.run.smithi153.stdout: raise mismatch_error
2021-07-21T13:40:18.674 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.674 INFO:teuthology.orchestra.run.smithi153.stdout: testtools.matchers._impl.MismatchError: {'x-timestamp': '1626874758.93217', 'x-container-object-count': '0', 'x-container-bytes-used': '0', 'x-container-bytes-used-actual': '0', 'x-storage-policy': 'default-placement', 'x-storage-class': 'STANDARD', 'x-container-meta-test-container-meta': 'Meta1', 'last-modified': 'Wed, 21 Jul 2021 13:39:18 GMT', 'x-trans-id': 'tx0000000000000000000c1-0060f82386-106d-default', 'x-openstack-request-id': 'tx0000000000000000000c1-0060f82386-106d-default', 'accept-ranges': 'bytes', 'content-type': 'application/json; charset=utf-8', 'date': 'Wed, 21 Jul 2021 13:39:18 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1144146550'} matches Contains('x-container-meta-test-container-meta')
2021-07-21T13:40:18.674 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.674 INFO:teuthology.orchestra.run.smithi153.stdout:
2021-07-21T13:40:18.675 INFO:teuthology.orchestra.run.smithi153.stdout:Captured pythonlogging:
2021-07-21T13:40:18.675 INFO:teuthology.orchestra.run.smithi153.stdout:~~~~~~~~~~~~~~~~~~~~~~~
2021-07-21T13:40:18.675 INFO:teuthology.orchestra.run.smithi153.stdout: 2021-07-21 13:39:18,942 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:test_create_container_with_remove_metadata_value): 201 PUT http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1144146550 0.012s
2021-07-21T13:40:18.675 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:18,946 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:test_create_container_with_remove_metadata_value): 202 PUT http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1144146550 0.003s
2021-07-21T13:40:18.675 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:18,949 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:test_create_container_with_remove_metadata_value): 204 HEAD http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1144146550 0.003s
2021-07-21T13:40:18.676 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:18,951 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 404 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-178509779?&limit=9999&format=json 0.001s
2021-07-21T13:40:18.676 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:18,952 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 404 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-2102572251?&limit=9999&format=json 0.001s
2021-07-21T13:40:18.676 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:18,954 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 404 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-2132824886?&limit=9999&format=json 0.001s
2021-07-21T13:40:18.676 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:18,955 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 404 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1999964905?&limit=9999&format=json 0.001s
2021-07-21T13:40:18.677 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:18,957 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 404 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1556313146?&limit=9999&format=json 0.002s
2021-07-21T13:40:18.677 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:18,961 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 200 GET http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1144146550?&limit=9999&format=json 0.004s
2021-07-21T13:40:18.677 INFO:teuthology.orchestra.run.smithi153.stdout:2021-07-21 13:39:21,025 29484 INFO [tempest.lib.common.rest_client] Request (ContainerTest:tearDown): 204 DELETE http://smithi153.front.sepia.ceph.com:80/v1/KEY_8cb76cf6d10441e48b75364589ff0167/tempest-TestContainer-1144146550 0.061s
CB Updated by Casey Bodley over 5 years ago
- Priority changed from High to Urgent
CB Updated by Casey Bodley about 5 years ago
- Assignee set to J. Eric Ivancich
CB Updated by Casey Bodley almost 5 years ago
reproduced against a vstart cluster with python-swiftclient installed
1. create a container
swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 post bucket
2. add container metadata
swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 post bucket -H X-Container-Meta-test_container_meta:Meta1
3. remove container metadata
swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 post bucket -H X-Remove-Container-Meta-test_container_meta:Meta1
4. stat container (shows that "Meta Test-Container-Meta: Meta1" was not removed)
$ swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 stat bucket
Account: v1
Container: bucket
Objects: 0
Bytes: 0
Read ACL:
Write ACL:
Sync To:
Sync Key:
Meta Test-Container-Meta: Meta1
X-Timestamp: 1642101585.25084
X-Container-Bytes-Used-Actual: 0
X-Storage-Policy: default-placement
X-Storage-Class: STANDARD
Last-Modified: Thu, 13 Jan 2022 19:24:21 GMT
X-Trans-Id: tx00000ebfa17acb06be18c-0061e07c67-1027-default
X-Openstack-Request-Id: tx00000ebfa17acb06be18c-0061e07c67-1027-default
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Connection: Keep-Alive
this isn't exactly the same reproducer as the tempest test - 'swift post bucket' is calling the RGWPutMetadataBucket op, while tempest is calling RGWCreateBucket - but i'm guessing that the root cause is the same:
when we add the container metadata, rgw_get_request_metadata() converts the metadata header "X-Container-Meta-test_container_meta" into the xattr name "user.rgw.x-amz-meta-test_container_meta"
when we remove the container metadata, get_rmattrs_from_headers() processes the "X-Remove-Container-Meta-test_container_meta" header name with an extra call to lowercase_dash_http_attr(), and adds the string "user.rgw.x-amz-meta-test-container-meta" to the rmattr_names set
so we're storing the xattr as "user.rgw.x-amz-meta-test_container_meta",
and trying to remove the xattr "user.rgw.x-amz-meta-test-container-meta"
tempest also has test cases for removal of metadata on accounts and objects, but those tests pass because their metadata names use dashes instead of underscores
CB Updated by Casey Bodley almost 5 years ago
- Related to Bug #48716: aws-s3 incompatibility related metadata added
CB Updated by Casey Bodley almost 5 years ago
ok, turns out the underscore fix for s3 user metadata in https://github.com/ceph/ceph/pull/38737 broke the underscores in swift user metadata. with that commit reverted, the swift container metadata can be removed just fine
CB Updated by Casey Bodley almost 5 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 44599
JI Updated by J. Eric Ivancich almost 5 years ago
Awesome, Casey. Another well-earned notch in the "urgent tracker" belt for you!
JI Updated by J. Eric Ivancich almost 5 years ago
- Assignee changed from J. Eric Ivancich to Casey Bodley
CB Updated by Casey Bodley almost 5 years ago
- Status changed from Fix Under Review to In Progress
failed qa, moved back to In Progress
CB Updated by Casey Bodley over 4 years ago
opened https://github.com/ceph/ceph/pull/47766 to disable these test cases
CB Updated by Casey Bodley about 4 years ago
- Priority changed from Urgent to High
CB Updated by Casey Bodley about 4 years ago
- Related to Tasks #57646: stop mangling request header names added
CB Updated by Casey Bodley about 4 years ago
- Status changed from In Progress to New
- Assignee deleted (
Casey Bodley)
CB Updated by Casey Bodley about 4 years ago
- Status changed from New to Triaged
CB Updated by Casey Bodley over 3 years ago
- Status changed from Triaged to Fix Under Review
- Pull request ID changed from 44599 to 50790
JZ Updated by Jane Zhu over 3 years ago
I submitted a PR which seems to have fixed this issue.
https://github.com/ceph/ceph/pull/50790
Here are the tests I've done against a vstart.
$ swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 post bucket
$ swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 post bucket -H X-Container-Meta-test_container_meta1:Meta1
$ swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 post bucket -H X-Container-Meta-test-container-meta2:Meta2
$ swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 stat bucket
...
Meta Test-Container-Meta2: Meta2
Meta Test_Container_Meta1: Meta1
...
$ swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 post bucket -H X-Remove-Container-Meta-test_container_meta1:Meta1
$ swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 post bucket -H X-Remove-Container-Meta-test-container-meta2:Meta2
$ swift -U test:tester -K testing -A http://localhost:8000/auth/1.0 stat bucket
...
(both Test-Container-Meta2 and Meta Test_Container_Meta1 have been deleted)
...
I also verified the s3, and it was working fine as well.
CB Updated by Casey Bodley over 3 years ago
- Assignee set to Ali Maredia
CB Updated by Casey Bodley about 3 years ago
- Backport set to quincy reef
CB Updated by Casey Bodley about 3 years ago
- Status changed from Fix Under Review to Pending Backport
UB Updated by Upkeep Bot about 3 years ago
- Copied to Backport #63620: quincy: tempest failures: test_create_container_with_remove_metadata_key/value added
UB Updated by Upkeep Bot about 3 years ago
- Copied to Backport #63621: reef: tempest failures: test_create_container_with_remove_metadata_key/value added
CB Updated by Casey Bodley over 2 years ago
- Assignee deleted (
Ali Maredia)
UB Updated by Upkeep Bot over 2 years ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to ac7e285fb4bcb0cc4ef7a3be9af96b99da9d251b
- Fixed In set to v18.0.0-7482-gac7e285fb4b
- Released In set to v19.2.0~1182
- Upkeep Timestamp set to 2025-07-09T17:11:23+00:00
UB Updated by Upkeep Bot over 1 year ago
- Fixed In changed from v18.0.0-7482-gac7e285fb4b to v18.0.0-7482-gac7e285fb4
- Upkeep Timestamp changed from 2025-07-09T17:11:23+00:00 to 2025-07-14T20:44:01+00:00
AE Updated by Adam Emerson 4 months ago
- Status changed from Pending Backport to Resolved
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2025-07-14T20:44:01+00:00 to 2026-08-28T01:33:45+00:00