Skip to content

Commit

Permalink
Merge pull request #8881 from BlaineEXE/period-log
Browse files Browse the repository at this point in the history
rgw: add period does not exist debug message
  • Loading branch information
satoru-takeuchi committed Sep 30, 2021
2 parents c6edc1b + e10fb75 commit a0d0d7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/operator/ceph/object/objectstore.go
Expand Up @@ -418,6 +418,7 @@ func createMultisite(objContext *Context, endpointArg string) error {
// ENOENT means “No such file or directory”
if err == nil && code == int(syscall.ENOENT) {
// period does not exist and so needs to be created
logger.Debugf("period must be updated for CephObjectStore %q because it does not exist", objContext.Name)
updatePeriod = true
} else {
return errorOrIsNotFound(err, "'radosgw-admin period get' failed with code %d, for reason %q", strconv.Itoa(code), output)
Expand Down

0 comments on commit a0d0d7e

Please sign in to comment.