Cloud Controller can not mount NFS on NFS server

142 views
Skip to first unread message

animesh nandanwar

unread,
Sep 20, 2012, 7:38:55 PM9/20/12
to bosh-...@cloudfoundry.org
Hi All,
While deploying Cloudfoundry over opnestack, I get following error "Error 400007: `cloud_controller/0' is not running after update". 
I checked logs on cloud controller VM and it shows me following error in /var/vcap/sys/log/monit/cloud_controller_ctl.err.log file.
"mount.nfs: access denied by server while mounting 172.24.4.226:/var/vcap/store/shared".

Contents of /var/vcap/sys/log/monit/cloud_controller_ctl.log show following
"Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart idmapd
idmapd start/running, process 32187
Mounting NFS...
Cannot mount NFS, exiting...
Removing stale pidfile...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service idmapd restart"

Can someone help me to understand what is happening here ? I have enabled port 2049 in security group.

Thanks,
Animesh

Ankit Khandelwal

unread,
Sep 21, 2012, 12:19:52 AM9/21/12
to bosh-...@cloudfoundry.org
Hi,

I get a feeling something is wrong with your NFS settings/configuration.
Are you able to access the NFS server via a simple server? If yes then I suggest that you run the same script on the troubling instance and check for logs live.

animesh nandanwar

unread,
Sep 21, 2012, 1:59:39 AM9/21/12
to bosh-...@cloudfoundry.org
Sorry guys, There was a misconfiguration in my manifest file.
I did not specify IP addresses for Cloud Controller in manifest and for NFS, I mentioned 172.24.4.224/28 as the CIDR. Because of this, NFS could not properly set up and hence the error.

Thank you  !!!
Animesh
Reply all
Reply to author
Forward
0 new messages