Project

General

Profile

Actions

Bug #49885

closed

mgr/dashboard: Bucket creation fails when selecting locking with certain values

Added by Alfonso Martínez about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Component - RGW
Target version:
% Done:

100%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem:
When creating a bucket (Object Gateway > Buckets > Create) and enabling
object locking, you're required to set days or years but not both.

When you set days and leave years field empty (or vice versa) you get an error.

Steps to Reproduce:
1. Object Gateway > Buckets > Create: fill required fields.
2. Locking > check "Enable"
3. leave years empty (blank field) and set integer in days (or vice versa)
4. Click on "Create Bucket".

Actual results:
500 - Internal Server Error

Expected results:
Bucket creation successful.


Subtasks 1 (0 open1 closed)

Cleanup #51164: mgr/dashboard: bucket details: show lock retention period only in daysResolvedAlfonso Martínez

Actions

Related issues 2 (0 open2 closed)

Copied to Dashboard - Backport #51134: octopus: mgr/dashboard: Bucket creation fails when selecting locking with certain valuesRejectedActions
Copied to Dashboard - Backport #51135: pacific: mgr/dashboard: Bucket creation fails when selecting locking with certain valuesResolvedAlfonso MartínezActions
Actions #1

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 143 to Component - RGW
Actions #2

Updated by Alfonso Martínez almost 3 years ago

After 2021-04-30 daily standup there is agreement on having only the "Days" field in UI and keep the 2 params on python API endpoint (days + years) in order to keep parity with RGW S3 API.

Actions #3

Updated by Alfonso Martínez almost 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 41656
Actions #4

Updated by Ernesto Puerta almost 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51134: octopus: mgr/dashboard: Bucket creation fails when selecting locking with certain values added
Actions #6

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51135: pacific: mgr/dashboard: Bucket creation fails when selecting locking with certain values added
Actions #7

Updated by Alfonso Martínez almost 3 years ago

  • Backport changed from pacific octopus to pacific
Actions #8

Updated by Ernesto Puerta almost 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF