deployment fails with "chmod: changing permissions of '/mnt/tmp': Operation not permitted"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wordpress (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
During juju-deploy wordpress deployment exits with:
ERROR juju.worker.
Exact last few lines are:
nit-wordpress-
unit-wordpress-
unit-wordpress-
unit-wordpress-
unit-wordpress-
unit-wordpress-
This is step right after installing knfsd. The step is defined in wordpress/
[...]
modprobe nfs || true
juju-log "Making /mnt/tmp dir ..."
mkdir -p /mnt/tmp
chmod 1777 /mnt/tmp
[...]
In this particular scenario, /mnt is mounted on /dev/vdb, which is a vfat partition:
cat /proc/mounts
[...]
dev/vdb /mnt vfat rw,relatime,
[...]
charm should be able to deal with this situation, possibly logging a warning, that /mnt is formatted as filesystem that does not support full POSIX access control semantics.
The environment is OpenStack. The deployment fails consequently on this step every time I run it.