Project

General

Profile

Actions

Bug #14641

closed

don't let users specify 0 on stripe count or object size

Added by Greg Farnum about 8 years ago. Updated almost 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, Common/Protocol, MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Those are fairly nonsensical. Amongst other things, they induce a divide-by-zero in the StrayManager right now.


Related issues 1 (1 open0 closed)

Related to CephFS - Feature #14642: Validate layouts everywhere we load themNew02/04/2016

Actions
Actions #1

Updated by John Spray about 8 years ago

We already validate layouts in Server.cc. We could also validate them on load from disk or during scrub...?

Actions #2

Updated by Greg Farnum about 8 years ago

This is based on http://www.spinics.net/lists/ceph-users/msg25363.html

Perhaps the cluster is old and they broke it prior to us having effective validation? I'm not sure how we could have accidentally set bad values like that.

Actions #3

Updated by Kenneth Waegeman about 8 years ago

It was a brand new 9.2 cluster. Haven't yet seen the issue again..

Actions #4

Updated by Greg Farnum about 8 years ago

  • Related to Feature #14642: Validate layouts everywhere we load them added
Actions #5

Updated by Greg Farnum almost 8 years ago

  • Category changed from 47 to Administration/Usability
  • Status changed from New to Duplicate
  • Component(FS) Client, Common/Protocol, MDS added
Actions

Also available in: Atom PDF