Puppet: System Administration Automated

Support

Ticket #890 (closed defect: worksforme)

Opened 1 year ago

Last modified 1 year ago

Clientbucket growing up to 30G and more

Reported by: mart Assigned to: community
Priority: normal Milestone:
Component: client Version: 0.22.4
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Attached Patches: None Complexity: Unknown

Description

We are running a few zones on solaris and have a clientbucket problem on a few of them. Occassionaly we have clientbuckets with a size of 30G and more. Our theory is that we have such a large amount of data in the clientbucket directory, because of the fact that the mounted share was modified while it was mounted. Then puppet seems to remount and to rescue the old state to the directory clientbucket?!

We have investigated all of our manifests and - in my opinion - the following part is interesting in this case:

[...]
   "tests.executed" : {
     $resultpath = "/mnt/systemtest/$product_release/Results/FunctionalTest/NightlyTest/$test_suite/$test_scenario/archive"
     $sopbase = "/opt/SOPware"
     #
     # FIXME: Additional logs (e.g. from AppServers)
     #        must be included!
     #
     zip {
       "/tmp/testlogs.zip" :
       source => ["$BaseDir/shared/log ",
                  "$BaseDir/shared/conf ",
                  "$BaseDir/shared/temp ",
                  "$BaseDir/participants/*/conf ",
                  "$BaseDir/participants/*/temp ",
                  "$BaseDir/participants/*/log ",
                  "$sopbase/install.log ",
                  "$sopbase/*/log/* ",
                  "$sopbase/*/logs/* ",
                  "$sopbase/*/sopware.params ",
                  "/tmp/*log "
                  # joram
                  # mq
                  # etc
                  ],
       vorher => Exec["copy-logzip"]
     }
[...]
     exec {
       "prov-testresdir" :
       command => "mkdir -p $resultpath/$testrun-$testbedname",
       cwd => "/tmp",
       path => "/usr/bin:/usr/local/bin:/bin:/sbin:/usr/sbin",
       creates => "$resultpath/$testrun-$testbedname"
     }
[...]
     exec {
       "copy-logzip" :
       command => "cp /tmp/testlogs.zip $resultpath/$testrun-$testbedname/",
       cwd => "/tmp",
       path => "/usr/bin:/usr/local/bin:/bin:/sbin:/usr/sbin",
       creates => "$resultpath/$testrun-$testbedname/testlogs.zip"
       }
[...]

Assuming 10 zones running on one container, we must check frequently all client buckets to ensure our production.

This ticket is send on behalf of moett, who does not have sufficient rights to create tickets.

Change History

11/24/07 03:26:37 changed by luke

  • status changed from new to closed.
  • resolution set to worksforme.

The only thing that backs up to a filebucket is the 'file' resource and the Parsed File? provider, and you don't seem to be using either here.

If you want to skip backups, you can just set backup => false in your code, which should be sufficient. If it's not, you should investigate what things are actually being backed up to the filebucket.