Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1971258

Summary: Designate - “test_list_all_projects_recordsets” is not stable because of the Designate bug
Product: Red Hat OpenStack Reporter: Arkady Shtempler <ashtempl>
Component: openstack-designateAssignee: Michael Johnson <michjohn>
Status: CLOSED CURRENTRELEASE QA Contact: Toni Freger <tfreger>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17.0 (Wallaby)CC: michjohn, oblaut, scohen
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-23 15:05:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arkady Shtempler 2021-06-13 08:39:52 UTC
We’ve recently facing some issue with: “test_recordset.RecordsetOwnershipTest.test_list_all_projects_recordsets” that is fails form time to time, this happens as a result of Designate bug.

Here are some details from Michael:
-------------------------------------------------------------------------------------------------------------------
I spent the day looking at this, very puzzling really.
So, the list records call is pulling back old records. This is the other junk we see in that response. It is however filtering by project ID and not honoring the "x-auth-all-projects" header.
So, we will need an upstream bug, a skip on the test due the bug, and a BZ.

I will fix it quickly.

Basically the header is ignored and the DB query doesn't get the apply_tenant_criteria setting for _find_recordsets_with_records doesn't get set to false.
----------------------------------------------------------------------------------------------------------------------

I’ll add a skip decorator for this test.

Comment 1 Michael Johnson 2021-06-23 15:05:20 UTC
This was found to be a test framework bug and has been addressed upstream in https://review.opendev.org/c/openstack/designate-tempest-plugin/+/797366

The test was hitting the pagination default limit of 20. The fix was to configure the test to request a pagination limit of 1000.