create datablock error with ceph
|Category:||Drivers - Storage|
|Target version:||Release 4.4|
|Affected Versions:||OpenNebula 4.0
If you want to create a datablock on ceph,you will get a error like: mkfs: command not found and MKFS FAILURE 30 Error registering.
Think I fixed it.
Edit the /var/lib/one/remotes/datastore/ceph/mkfs file:
MKFS_CMD=`mkfs_command $TMP_DST $FSTYPE $SIZE`
MKFS_CMD=`$MKFS $TMP_DST $FSTYPE $SIZE`
- Category set to Drivers - Storage
- Target version set to Release 4.4
IMO the better fix is to add
around line 90 in /var/lib/one/remotes/datastore/ceph/mkfs
That's how it's handled in the other TM drivers.
- Status changed from Pending to Closed
- Resolution set to fixed
Indeed Andrei. That's what we've applied.
Thanks for the feedback to both of you.
Also available in: Atom