Re: [ceph-users] logrotate

2014-07-16 Thread Sahana Lokeshappa
Park C V Raman nagar, Bangalore 560093 T: +918042422283 sahana.lokesha...@sandisk.com -Original Message- From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Uwe Grohnwaldt Sent: Sunday, July 13, 2014 7:10 AM To: ceph-us...@ceph.com Subject: Re: [ceph-users] logrotate

Re: [ceph-users] logrotate

2014-07-12 Thread Sage Weil
om] On Behalf >Of >> James Eckersall >> Sent: Freitag, 11. Juli 2014 17:06 >> To: Sage Weil >> Cc: ceph-us...@ceph.com >> Subject: Re: [ceph-users] logrotate >> >> Hi Sage, >> >> Many thanks for the info. >> I have inherited this cluster, but I

Re: [ceph-users] logrotate

2014-07-12 Thread Uwe Grohnwaldt
alf Of > James Eckersall > Sent: Freitag, 11. Juli 2014 17:06 > To: Sage Weil > Cc: ceph-us...@ceph.com > Subject: Re: [ceph-users] logrotate > > Hi Sage, > > Many thanks for the info. > I have inherited this cluster, but I believe it may have been created with > mkc

Re: [ceph-users] logrotate

2014-07-11 Thread James Eckersall
Hi Sage, Many thanks for the info. I have inherited this cluster, but I believe it may have been created with mkcephfs rather than ceph-deploy. I'll touch the done files and see what happens. Looking at the logic in the logrotate script I'm sure this will resolve the problem. Thanks J On 11

Re: [ceph-users] logrotate

2014-07-11 Thread Sage Weil
On Fri, 11 Jul 2014, James Eckersall wrote: > Upon further investigation, it looks like this part of the ceph logrotate > script is causing me the problem: > > if [ -e "/var/lib/ceph/$daemon/$f/done" ] && [ -e > "/var/lib/ceph/$daemon/$f/upstart" ] && [ ! -e > "/var/lib/ceph/$daemon/$f/sysvinit" ]

Re: [ceph-users] logrotate

2014-07-11 Thread James Eckersall
Upon further investigation, it looks like this part of the ceph logrotate script is causing me the problem: if [ -e "/var/lib/ceph/$daemon/$f/done" ] && [ -e "/var/lib/ceph/$daemon/$f/upstart" ] && [ ! -e "/var/lib/ceph/$daemon/$f/sysvinit" ]; then I don't have a "done" file in the mounted direct

[ceph-users] logrotate

2014-07-10 Thread James Eckersall
Hi, I've just upgraded a ceph cluster from Ubuntu 12.04 with 0.73.1 to Ubuntu 14.04 with 0.80.1. I've noticed that the log rotation doesn't appear to work correctly. The OSD's are just not logging to the current ceph-osd-X.log file. If I restart the OSD's, they start logging, but then overnight,

[ceph-users] logrotate

2014-07-10 Thread James Eckersall
Hi, I've just upgraded a ceph cluster from Ubuntu 12.04 with 0.72.1 to Ubuntu 14.04 with 0.80.1. I've noticed that the log rotation doesn't appear to work correctly. The OSD's are just not logging to the current ceph-osd-X.log file. If I restart the OSD's or run "service ceph-osd reload id=X", th