Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Maggie Dreyer commented on PUP-6951 Re: No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” This was fixed in the mount_providers module. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Maggie Dreyer updated an issue Puppet / PUP-6951 No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Change By: Maggie Dreyer Labels: maintenance triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Maggie Dreyer updated an issue Puppet / PUP-6951 No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Change By: Maggie Dreyer Team: Agent Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Jens Offenbach commented on PUP-6951 Re: No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Thanks a lot. I have added a pull request: https://github.com/puppetlabs/puppetlabs-mount_providers/pull/12 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Eric Sorenson commented on PUP-6951 Re: No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Jens Offenbach looks good to me! Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Jens Offenbach commented on PUP-6951 Re: No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Sorry for the delay, I was in trouble with migrating our test cloud to OpenStack Newton. Now everything seems to be up and running. The problem is that the mountpoint resource in the puppetlabs-mount_providers module cannot handle the fstype property. It must be specified in the mounttab resource. Replacing the mount resource by this: mounttab{ "ceph::mounttab::${mountpoint}": ensure => $ensure, device => $device, name => $mountpoint, fstype => $fstype, options => $options, dump => $dump, pass => $pass, } ~>
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Eric Sorenson commented on PUP-6951 Re: No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Hi Jens - there is a module which I think will help your use-case. Can you check out the puppetlabs-mount_providers module which will let you manage the mounted state separately from the fstab entry? This separation can help prevent spurious events like the one you're seeing: https://forge.puppet.com/puppetlabs/mount_providers/types Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Eric Sorenson assigned an issue to Jens Offenbach Puppet / PUP-6951 No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Change By: Eric Sorenson Assignee: Jens Offenbach Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-6951 No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Change By: Geoff Nichols Sprint: AP Triage Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-6951 No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Change By: Geoff Nichols Team: Agent & Platform Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Josh Cooper updated an issue Puppet / PUP-6951 No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Change By: Josh Cooper Team: Agent & Platform Sprint: AP Triage Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Josh Cooper updated an issue Puppet / PUP-6951 No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Change By: Josh Cooper Affects Version/s: PUP 4.8.1 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Jens Offenbach updated an issue Puppet / PUP-6951 No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Change By: Jens Offenbach I am running Puppet 4.8.1 and have an annoying problem with the mount resource. I use the following class:{code}define ceph::fs::mount ( $ensure = 'mounted', $owner = 'root', $group = 'root', $mode = '0755', $device = 'conf=/etc/ceph/ceph.conf,id=admin,client_mountpoint=/', $mountpoint = $title, $fstype = 'fuse.ceph', $options= ' _netdev, defaults', $dump = '0', $pass = '0', $remounts = false) { include ::ceph::fs Exec { path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' } # Create the mount point if it doesn't exist. # # If Fuse ever looses its connection to the # NameNode, it seems that the mount will be # left in a weird state. When the NameNode # comes back online, the mount will be just fine. # However, during the period that the NameNode # is offline, puppet will fail if we were to # try to ensure => 'directory' on $mountpoint # as a File resource. If we were to require # this as a File resource, puppet would never # attempt to remount after a NameNode failure, # because the File resource would fail until # the mount is remounted. # # We can't even use unless => "test -d ${mountpoint}" # in an exec, because that will fail too. # Instead, we parse the output of ls. :( # # Solution adapted from: # https://github.com/wikimedia/puppet-cdh/blob/master/manifests/hadoop/mount.pp exec { "ceph::mount::mkdir_${mountpoint}":command => "mkdir -p -m ${mode} ${mountpoint}",unless => "ls $(dirname ${mountpoint}) 2> /dev/null | grep -q $(basename ${mountpoint})",user=> $owner,group => $group, } mount { "ceph::mount::${mountpoint}":ensure => $ensure,device => $device,name => $mountpoint,fstype => $fstype,options => $options,dump => $dump,pass => $pass,remounts => $remounts, } exec { "ceph::mount::fix_perms::${mountpoint}": command => "chown ${owner}:${group} ${mountpoint} ; chmod ${mode} ${mountpoint}", refreshonly => true, user=> 'root', group => 'root', } Package[$::ceph::fs::package_names] -> Mount["ceph::mount::${mountpoint}"] Exec["ceph::mount::mkdir_${mountpoint}"] -> Mount["ceph::mount::${mountpoint}"] ~> Exec["ceph::mount::fix_perms::${mountpoint}"]}{code}I get this output from the log:{code}Nov 30 14:30:27 ubuntu puppet-agent[2147]: (/Stage[main]/Ceph::Fs/Package[ceph-fuse]/ensure) createdNov 30 14:30:27 ubuntu puppet-agent[2147]: (/Package[ceph-fuse]) The container Class[Ceph::Fs] will propagate my refresh eventNov 30 14:30:27 ubuntu puppet-agent[2147]: (Exec[ceph::mount::mkdir_/home/myuser/neuroimaging/projects/demo/subjects/bert](provider=posix)) Executing check 'ls $(dirname /home/myuser/neuroimaging/projects/demo/subjects/bert) 2> /dev/null | grep -q $(basename /home/myuser/neuroimaging/projects/demo/subjects/bert)'Nov 30 14:30:27 ubuntu puppet-agent[2147]: Executing with uid=myuser gid=myuser: 'ls $(dirname /home/myuser/neuroimaging/projects/demo/subjects/bert) 2> /dev/null | grep -q $(basename
Jira (PUP-6951) No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted”
Title: Message Title Jens Offenbach created an issue Puppet / PUP-6951 No remount when mount transistions from “absent” or “unmounted”, respectively to “mounted” Issue Type: Bug Assignee: Unassigned Created: 2016/11/30 7:34 AM Priority: Normal Reporter: Jens Offenbach I am running Puppet 4.8.1 and have an annoying problem with the mount resource. I use the following class: define ceph::fs::mount ( $ensure = 'mounted', $owner = 'root', $group = 'root',