Uploaded image for project: 'Coopr'
  1. Coopr
  2. COOPR-822

fail bootstrap when cookbooks tarball cannot be generated

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.9, Code Name: Ursa Major
    • Fix Version/s: 0.9.10 Code Name: Mensa
    • Component/s: provisioner
    • Labels:
      None
    • Rank:
      1|hzzrqf:

      Description

      chef-solo-automator's cookbook tarball generation could be more robust. The following error caused a bootstrap to copy no cookbooks to the host, yet still succeed. (the root cause in this case was me messing with cookbooks while a provision was in-flight, but this still should have at least failed the bootstrap task).

      2017-01-04 01:09:27 +0000 coopr.novalocal.52042 DEBUG: Generating cookbooks.tar.gz from cookbooks
      tar: cookbooks/coopr_packages/recipes/.default.rb.swp: Cannot open: Permission denied
      tar: Exiting with failure status due to previous errors
      2017-01-04 01:09:27 +0000 coopr.novalocal.52042 DEBUG: Generation complete: cookbooks.tar.gz
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                derek Derek Wood
                Reporter:
                derek Derek Wood
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: