Issue #3530 has been updated by Dave Mangot.
I'm having the same problem (BTW, I have wayyyyyy too much privilege in
Redmine, I should not be able to close a ticket or change its priority).
I have some existing mount points that go to an NFS server and I wanted to
change which NFS server they were pointing at (thankfully this wasn't an
emergency change). I changed the mount points in my manifest but the client
did not remount to the new NFS server upon running the manifest.
(I'm on CentOS 5.4 and Puppet 0.25.4 on both client and server)
Jun 8 17:30:05 sweb03 puppetd[4321]: (//webmounts/Mount[/data01]/device)
device changed '10.15.20.198:/vol/static' to
'10.99.20.198:/vol/tagstat/stage/static'
Jun 8 17:30:05 sweb03 puppetd[4321]: (//webmounts/Mount[/data01]) Refreshing
self
[dman...@sweb03 conf]$ df -h /data01
Filesystem Size Used Avail Use% Mounted on
10.15.20.198:/vol/static
10T 9.3T 780G 93% /data01
[dman...@sweb03 conf]$ date
Tue Jun 8 17:35:02 PDT 2010
This is a pretty significant problem.
----------------------------------------
Bug #3530: mount change did not umount/mount
http://projects.puppetlabs.com/issues/3530
Author: mark foster
Status: Accepted
Priority: High
Assigned to:
Category: mount
Target version:
Affected version: 0.24.8
Keywords:
Branch:
I don't know if this is a bug or not so thought I'd better report it.
I changed manifest mount to point to a different ISO (two of them actually) and
upon applying the catalog the puppet client said:
Apr 9 10:43:49 sea-build-002 puppetd[715]: Starting catalog run
Apr 9 10:43:52 sea-build-002 puppetd[715]:
(//Node[sea-build-002]/bp-build/Mount[/home/ftp/ubuntu-10.04-server-amd64]/device)
device changed '/home/ftp/isos/ubuntu-10.04-beta1-server-amd64.iso' to
'/home/ftp/isos/ubuntu-10.04-beta2-server-amd64.iso'
Apr 9 10:43:52 sea-build-002 puppetd[715]:
(//Node[sea-build-002]/bp-build/Mount[/home/ftp/ubuntu-10.04-server-amd64])
Refreshing self
Apr 9 10:43:54 sea-build-002 puppetd[715]:
(//Node[sea-build-002]/bp-build/Mount[/home/ftp/ubuntu-10.04-server-i386]/device)
device changed '/home/ftp/isos/ubuntu-10.04-beta1-server-i386.iso' to
'/home/ftp/isos/ubuntu-10.04-beta2-server-i386.iso'
Apr 9 10:43:54 sea-build-002 puppetd[715]:
(//Node[sea-build-002]/bp-build/Mount[/home/ftp/ubuntu-10.04-server-i386])
Refreshing self
Apr 9 10:44:00 sea-build-002 puppetd[715]: Finished catalog run in 10.49
seconds
However the underlying mount did not change!
mfos...@sea-build-002:~/work/packages$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 227G 199G 28G 88% /
varrun 4.0G 1.5M 4.0G 1% /var/run
varlock 4.0G 0 4.0G 0% /var/lock
udev 4.0G 44K 4.0G 1% /dev
devshm 4.0G 0 4.0G 0% /dev/shm
/home/ftp/isos/systemrescuecd-x86-1.3.5.iso
243M 243M 0 100% /home/ftp/systemrescuecd-x86-1.3.5
/home/ftp/isos/ubuntu-9.10-server-amd64.iso
655M 655M 0 100% /home/ftp/ubuntu-9.10-server-amd64
/home/ftp/isos/ubuntu-9.10-alternate-amd64.iso
697M 697M 0 100%
/home/ftp/ubuntu-9.10-alternate-amd64
/home/ftp/isos/ubuntu-8.04.4-server-amd64.iso
567M 567M 0 100% /home/ftp/ubuntu-8.04.4-server-amd64
/home/ftp/isos/ubuntu-8.04.4-server-i386.iso
568M 568M 0 100% /home/ftp/ubuntu-8.04.4-server-i386
/home/ftp/isos/ubuntu-10.04-beta1-server-i386.iso
662M 662M 0 100% /home/ftp/ubuntu-10.04-server-i386
/home/ftp/isos/ubuntu-10.04-beta1-server-amd64.iso
679M 679M 0 100% /home/ftp/ubuntu-10.04-server-amd64
Here are the snippets from my manifest that are relevant to this report.
#Lucid 10.04 (currently beta2)
file {"/home/ftp/ubuntu-10.04-server-i386":
ensure => directory, owner => root, group => root,
}
mount {"/home/ftp/ubuntu-10.04-server-i386":
ensure => mounted, atboot => yes,
device => "/home/ftp/isos/ubuntu-10.04-beta2-server-i386.iso",
options => "loop,ro", fstype => "iso9660",
dump => 0, pass => 0,
require => File["/home/ftp/ubuntu-10.04-server-i386"],
}
file {"/home/ftp/ubuntu-10.04-server-amd64":
ensure => directory, owner => root, group => root,
}
mount {"/home/ftp/ubuntu-10.04-server-amd64":
ensure => mounted, atboot => yes,
device => "/home/ftp/isos/ubuntu-10.04-beta2-server-amd64.iso",
options => "loop,ro", fstype => "iso9660",
dump => 0, pass => 0,
require => File["/home/ftp/ubuntu-10.04-server-amd64"],
}
Thank you.
--
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://projects.puppetlabs.com/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.