... ping

On Thu, Nov 7, 2013 at 3:31 PM, Tim Spriggs <[email protected]> wrote:
> Oops, I just realized I did the patch in the wrong direction :)
>
> On Thu, Nov 7, 2013 at 3:06 PM, Tim Spriggs <[email protected]> wrote:
>> Hi All,
>>
>>   I am battling extraneous error messages from two sources:
>>
>>   logrotate which is run in cron.daily and has a definition from the
>> ceph package in /etc/logrotate.d. The message I get in an email from
>> every node once a day is:
>>
>> cat: /var/run/ceph/osd.3.pid: No such file or directory
>>
>> This comes up because upstart is actually running ceph-osd while the
>> init.d script expects a pidfile.
>>
>>
>>   /var/log/ceph/ceph-osd.$id.log which complains:
>>
>> ERROR: error converting store /var/lib/ceph/osd/ceph-3: (16) Device or
>> resource busy
>>
>> This happens on boot as well as on log rotation.
>>
>>
>> After talking with dmick on irc.oftc.net#ceph, I was alerted to the
>> fact that there are bits in upstart as well as the sysvinit style
>> script that attempt to only use one scheme or the other. However, the
>> logic seems wrong. Inside of ceph_common.sh, there is a function named
>> check_host which looks for /var/lib/ceph/$type/ceph-$id/sysvinit and
>> if it exists, it returns. If it doesn't exist, it just goes on to the
>> next check (which passes in my environment.) Instead, it should return
>> a non-0 value. Attached is an example patch.
>>
>> Thanks,
>> -Tim
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to