Project

General

Profile

Bug #14641

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

Added by Greg Farnum over 3 years ago. Updated about 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
Start date:
02/04/2016
Due date:
% 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:

Description

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


Related issues

Related to fs - Feature #14642: Validate layouts everywhere we load them New 02/04/2016

History

#1 Updated by John Spray over 3 years ago

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

#2 Updated by Greg Farnum over 3 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.

#3 Updated by Kenneth Waegeman over 3 years ago

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

#4 Updated by Greg Farnum over 3 years ago

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

#5 Updated by Greg Farnum about 3 years ago

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

Also available in: Atom PDF