Bug 2151903 - [MCG] Azure bs/ns creation fails with target bucket does not exists
Summary: [MCG] Azure bs/ns creation fails with target bucket does not exists
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.13.0
Assignee: Nobody
QA Contact: Sagi Hirshfeld
URL:
Whiteboard:
Depends On:
Blocks: 2165493
TreeView+ depends on / blocked
 
Reported: 2022-12-08 14:23 UTC by Parikshith
Modified: 2023-08-09 16:49 UTC (History)
6 users (show)

Fixed In Version: 4.13.0-39
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2165493 (view as bug list)
Environment:
Last Closed: 2023-06-21 15:22:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noobaa noobaa-core pull 7126 0 None Merged remove azure bucket load limit 2023-02-12 08:29:15 UTC
Red Hat Product Errata RHBA-2023:3742 0 None None None 2023-06-21 15:22:43 UTC

Description Parikshith 2022-12-08 14:23:04 UTC
Description of problem (please be detailed as possible and provide log
snippests):
Even though target azure container exists in the backend, Azure bs/ns creation fails with "target bucket does not exists" if there are already large number of azure blob containers present. 

$az storage container exists --account-name *** --account-key *** -n temp-azure
{
  "exists": true
}

$noobaa backingstore create azure-blob temp-az2 --account-key ***  --account-name *** --target-blob-container temp-azure

  - lastHeartbeatTime: "2022-12-06T12:01:38Z"
    lastTransitionTime: "2022-12-06T12:01:38Z"
    message: Target bucket doesn't exist
    reason: TemporaryError
    status: "False"
    type: Upgradeable

Version of all relevant components (if applicable):
Noticed on ODF 4.8-4.12 runs

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
no

Is there any workaround available to the best of your knowledge?
yes, reduce the count of azure containers 

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
2

Can this issue reproducible?
yes

Can this issue reproduce from the UI?
yes

If this is a regression, please provide more details to justify this:
no

Steps to Reproduce:
1. Have more than 100 target blob containers present in azure
2. Create a new bs/ns with a target container

Actual results:
BS/NS creation fails with target bucket already exists

Expected results:
BS/NS creation should pass irrespective of how many target azure containers present in the back end.

Additional info:

Comment 14 errata-xmlrpc 2023-06-21 15:22:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenShift Data Foundation 4.13.0 enhancement and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:3742


Note You need to log in before you can comment on or make changes to this bug.