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

Also available in: Atom PDF