Project

General

Profile

Bug #22006

RGWCrashError: RGW will crash when generating random bucket name and object name during loadgen process

Added by Enming Zhang about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
Start date:
11/02/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:

Description

The definition of gen_rand_alphanumeric is
int gen_rand_alphanumeric(CephContext *cct, char *dest, int size);,
cct->random()->get_bytes(dest, size); will be called in gen_rand_alphanumeric
in lastest master branch. If calling gen_rand_alphanumeric with cct = NULL as RGWLoadGenProcess::run() doing before, the rgw will crash.


Related issues

Related to rgw - Bug #21401: rgw: Missing error handling when gen_rand_alphanumeric is failing Pending Backport 09/15/2017
Copied to rgw - Backport #22016: luminous: RGWCrashError: RGW will crash when generating random bucket name and object name during loadgen process Resolved

History

#1 Updated by Casey Bodley about 1 year ago

  • Project changed from Ceph to rgw
  • Category deleted (22)
  • Status changed from New to Testing
  • Priority changed from Normal to High
  • Backport set to luminous

#2 Updated by Casey Bodley about 1 year ago

  • Related to Backport #21851: luminous: rgw: Missing error handling when gen_rand_alphanumeric is failing added

#3 Updated by Casey Bodley about 1 year ago

  • Status changed from Testing to Pending Backport

#4 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #22016: luminous: RGWCrashError: RGW will crash when generating random bucket name and object name during loadgen process added

#5 Updated by Nathan Cutler about 1 year ago

  • Related to Bug #21401: rgw: Missing error handling when gen_rand_alphanumeric is failing added

#6 Updated by Nathan Cutler about 1 year ago

  • Related to deleted (Backport #21851: luminous: rgw: Missing error handling when gen_rand_alphanumeric is failing)

#7 Updated by Nathan Cutler about 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF