Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
osd: improve error message when FileStore op fails due to EPERM #12181
@jecluis @athanatos Please have another look. I got access to the cluster where the EPERM was manifesting and was very surprised to find that "chown -R ceph.ceph /var/lib/ceph/osd/..." did not fix it. The leveldb was corrupted, though, and repairing it made the error go away (though the OSD still refused to start, but for a different reason).
Based on the above, I revised the message and also converted all the if clauses into else-ifs hanging off the first if in the series.
Rebased and pushed