nfs charm fails in install hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Failed to install nfs/3 charm from charm store to local provider:
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK Creating config file /etc/default/
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK FATAL: Could not load /lib/modules/
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK mount: block device nfsd is write-protected, mounting read-only
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK mount: cannot mount block device nfsd read-only
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK * Exporting directories for NFS kernel daemon...
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK ...done.
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK * Starting NFS kernel daemon
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK ...fail!
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK invoke-rc.d: initscript nfs-kernel-server, action "start" failed.
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK dpkg: error processing nfs-kernel-server (--configure):
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK subprocess installed post-installation script returned error exit status 1
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK Processing triggers for libc-bin ...
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK ldconfig deferred processing now taking place
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK Errors were encountered while processing:
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK nfs-kernel-server
2013-11-15 12:24:07 INFO juju.worker.uniter context.go:255 HOOK E: Sub-process /usr/bin/dpkg returned an error code (1)
2013-11-15 12:24:07 ERROR juju.worker.uniter uniter.go:350 hook failed: exit status 100
Added whole logfile with 3 attempts.
Dev machine is running 13.10, series is precise, juju version 1.16.3-saucy-amd64
Deploy to an azure provider worked fine, so problem is related to local provider