Issue #761 has been updated by Eric Shamow.
Status changed from Closed to Re-opened
Target version changed from 0.24.0 to 0.25.5
Affected version set to 0.25.4
I am still seeing this problem in 0.25.4. This is on a CentOS 5.4 host,
x86_64. I am not running SELinux (with reference to the related material in
#2731 which appears to relate the issue to an SELinux problem.
Puppet properly adds the appropriate line to fstab, but every Puppet run
results in:
Mar 24 20:03:03 ssf-stage-01 puppetd[25345]:
(//mod-ssf3/Mount[nfs_var_www]/ensure) change from present to mounted failed:
Execution of '/bin/mount -o
vers=3,rsize=32768,wsize=32768,tcp,noatime,nocto,hard,intr,timeo=60,retrans=2,actimeo=30
/var/www/' returned 32: mount.nfs: /var/www is already mounted or busy
Stanza in my config is as follows:
mount { "nfs_var_www":
device => "<hostname removed>:/vol/ssf_prod/stage",
ensure => mounted,
fstype => "nfs",
name => "/var/www/",
options =>
"vers=3,rsize=32768,wsize=32768,tcp,noatime,nocto,hard,intr,timeo=60,retrans=2,actimeo=30",
require => [ Package["httpd"], File["ifcfg_eth1"], ],
}
----------------------------------------
Bug #761: mount tries to mount an already mounted FS
http://projects.puppetlabs.com/issues/761
Author: Marcin Owsiany
Status: Re-opened
Priority: Normal
Assigned to: Luke Kanies
Category:
Target version: 0.25.5
Patch: Code
Affected version: 0.25.4
Keywords:
Branch:
This is in 0.23.2 (there's a missing value in trac's drop-down menu). This
problem surfaced right after upgrading from 0.22.4-ish.
<pre>
mount { "/home":
require => [
File[[home]],
Gu_file[[optetcfacts]]
],
atboot => yes,
blockdevice => "-",
device => "netapp03.gudev.gnl:/vol/gu1/common/home",
ensure => mounted,
fstype => nfs,
options => "rw,nosuid,noquota",
pass => "-",
dump => 0,
}
</pre>
The status is:
<pre>
# grep home /etc/vfstab
netapp03.gudev.gnl:/vol/gu1/common/home - /home nfs - yes
rw,nosuid,noquota
# mount|grep home
/home on netapp03.gudev.gnl:/vol/gu1/common/home
remote/read/write/setuid/devices/xattr/dev=4bc0001 on Wed Aug 8 11:07:06 2007
# df|grep home
/home (netapp03.gudev.gnl:/vol/gu1/common/home):95074608 blocks
23663420 files
# df -k|grep home
netapp03.gudev.gnl:/vol/gu1/common/home 1018135840 970598548 47537292 96%
/home
</pre>
Puppetd shows the following errors/warnings on each run, for every single
filesystem it controls, which is already mounted:
<pre>
puppetdr2353: [ID 702911 daemon.error]
(//codguweb01/common/nfs_mounted_home_directory/Mount[/home]/ensure) change
from present to mounted failed: Execution of '/usr/sbin/mount -o
rw,nosuid,noquota /home' returned 8448: nfs mount: mount: /home: Device busy
puppetdr2353: [ID 702911 daemon.notice]
(//codguweb01/common/nfs_mounted_home_directory/Mount[/home]) Refreshing self
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.