Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3623

Recursive chown/lstat on NFS mounted directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.7.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
    • Template:
    • UX Priority:
      Normal

      Description

      The module that is causing the problem creates a directory and then mounts a partition via NFS. Recursion is disabled in the file resource definition, yet the puppet run takes forever (I haven't allowed it to finish yet, and the last run has been going for ~15 minutes) and I'm seeing this in an strace of the pid:

      lstat("/var/www/html/muchgames.com/html/avatars/150/179084.jpg",

      {st_mode=S_IFREG|0664, st_size=12673, ...}

      ) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      chown("/var/www/html/muchgames.com/html/avatars/150/179084.jpg", 4294967295, 48) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      lstat("/var/www/html/muchgames.com/html/avatars/150/244189.png",

      {st_mode=S_IFREG|0664, st_size=37140, ...}

      ) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
      chown("/var/www/html/muchgames.com/html/avatars/150/244189.png", 4294967295, 48) = 0

      The "/var/www/html/muchgames.com/html/avatars/" directory is an NFS mounted persistence layer, meaning that each time one of my servers goes through a puppet run it looks like everything gets chowned for no good reason. Can you advise?

        Attachments

          Activity

            People

            Assignee:
            aaronjhutchens Aaron Hutchens
            Reporter:
            aaronjhutchens Aaron Hutchens
            QA Contact:
            Erik Dasher Erik Dasher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support