ceph-osd fails if journal is a directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-helm-infra |
In Progress
|
Undecided
|
kranthi kiran guttikonda |
Bug Description
This is a regression after modifying _block.sh.tpl with Mimic release
if [ "${OSD_
if [ -n "${OSD_JOURNAL}" ]; then
if [ -b "${OSD_JOURNAL}" ]; then
OSD_
if [ -z "${OSD_
echo "ERROR: Unable to find journal device ${OSD_JOURNAL_
exit 1
else
fi
fi
if [ "x${JOURNAL_TYPE}" == "xdirectory" ]; then
OSD_
wait_for_file "${OSD_JOURNAL}"
chown ceph. "${OSD_JOURNAL}"
else
if [ ! -b "${OSD_JOURNAL}" ]; then
echo "ERROR: Unable to find journal device ${OSD_JOURNAL}"
exit 1
else
chown ceph. "${OSD_JOURNAL}"
fi
fi
else
wait_for_file "${OSD_JOURNAL}"
chown ceph. "${OSD_JOURNAL}"
fi
fi
ceph-osd deloyment fails while waiting for /var/lib/
After adjusting the logic it fails with another error (applicable for Mimic)
failed to fetch mon config (--no-mon-config to skip)
Changed in openstack-helm-infra: | |
status: | New → In Progress |
assignee: | nobody → kranthi kiran guttikonda (kranthi-guttikonda9) |
The problem was because of no mechanism to create journal file inside the condition.
Proposed fix https:/ /review. openstack. org/#/c/ 630021/