Project

General

Profile

Actions

Bug #13448

closed

/etc/init.d/radosgw-agent: configuration file default.conf not found

Added by David Casier over 8 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

root@1-backups:/home/cephadmin# ls /etc/ceph/radosgw-agent/default.conf
/etc/ceph/radosgw-agent/default.conf
root@1-backups:/home/cephadmin# /etc/init.d/radosgw-agent restart
/etc/init.d/radosgw-agent: configuration file default.conf not found
Unable to stop, will not attempt to start

Actions #1

Updated by Sriharsha YD about 8 years ago

See if below info resolves this restart service issue :

To use complete file path instead of just filename i.e
$config_path instead of $name . which I think servers the purpose
of both default file name as well as for the custom file when specified
with [config-file] option.

in the restart case , it again loops back first to stop the radosgw-agent
with filename as option instead of complete location of the config file .

i.e restart)
$0 stop $name

Hence now in this loop , config_path is set to filename & the subsequent
check to this file fails .
if [ ! -f "$config_path" ]; then

  1. diff /etc/init.d/radosgw-agent /etc/init.d/radosgw-agent_mod

82c82
< $0 stop $name
---

$0 stop $config_path

878c87
< $0 start $name
---

$0 start $config_path

Actions #2

Updated by Zack Cerza almost 8 years ago

  • Project changed from teuthology to rgw
Actions #3

Updated by Abhishek Lekshmanan about 4 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF