{"action":"created","issue":{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/354","labels_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/354/comments","events_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/354/events","html_url":"https://github.com/geerlingguy/drupal-vm/issues/354","id":123344336,"number":354,"title":"Provisioning fails with 'gzip: stdout: No space left on device'","user":{"login":"robdecker","id":852280,"avatar_url":"https://avatars.githubusercontent.com/u/852280?v=3","gravatar_id":"","url":"https://api.github.com/users/robdecker","html_url":"https://github.com/robdecker","followers_url":"https://api.github.com/users/robdecker/followers","following_url":"https://api.github.com/users/robdecker/following{/other_user}","gists_url":"https://api.github.com/users/robdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/robdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robdecker/subscriptions","organizations_url":"https://api.github.com/users/robdecker/orgs","repos_url":"https://api.github.com/users/robdecker/repos","events_url":"https://api.github.com/users/robdecker/events{/privacy}","received_events_url":"https://api.github.com/users/robdecker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-21T19:40:48Z","updated_at":"2015-12-21T20:36:06Z","closed_at":"2015-12-21T20:36:06Z","body":"I have updated Ansible requirements (`sudo ansible-galaxy install -r provisioning/requirements.yml --force`) and am trying to provision, but it is failing. I have retried a few times.\r\n\r\nIt is failing sometimes at `geerlingguy.mailhog | Install sSMTP` and sometimes at `geerlingguy.postfix | Ensure postfix is installed (Debian)`. Error log follows:\r\n\r\n```\r\nfailed: [drupalvm] => {\"failed\": true}\r\nstderr: Running depmod.\r\nupdate-initramfs: deferring update (hook will be called later)\r\nThe link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic\r\nvmlinuz(/boot/vmlinuz-3.16.0-57-generic\r\n) points to /boot/vmlinuz-3.16.0-57-generic\r\n (/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.\r\nExamining /etc/kernel/postinst.d.\r\nrun-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic\r\nrun-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic\r\nrun-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic\r\nupdate-initramfs: Generating /boot/initrd.img-3.16.0-57-generic\r\n\r\ngzip: stdout: No space left on device\r\nE: mkinitramfs failure cpio 141 gzip 1\r\nupdate-initramfs: failed for /boot/initrd.img-3.16.0-57-generic with 1.\r\nrun-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1\r\nFailed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 1025.\r\ndpkg: error processing package linux-image-3.16.0-57-generic (--configure):\r\n subprocess installed post-installation script returned error exit status 2\r\ndpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:\r\n linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:\r\n  Package linux-image-3.16.0-57-generic is not configured yet.\r\n\r\ndpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):\r\n dependency problems - leaving unconfigured\r\ndpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:\r\n linux-image-generic-lts-utopic depends on linux-image-3.16.0-57-generic; however:\r\n  Package linux-image-3.16.0-57-generic is not configured yet.\r\n linux-image-generic-lts-utopic depends on linux-image-extra-3.16.0-57-generic; however:\r\n  Package linux-image-extra-3.16.0-57-generic is not configured yet.\r\n\r\ndpkg: error processing package linux-image-generic-lts-utopic (--configure):\r\n dependency problems - leaving unconfigured\r\ndpkg: dependency problems prevent configuration of linux-generic-lts-utopic:\r\n linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.57.48); however:\r\n  Package linux-image-generic-lts-utopic is not configured yet.\r\n\r\ndpkg: error processing package linux-generic-lts-utopic (--configure):\r\n dependency problems - leaving unconfigured\r\nrun-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic\r\nrun-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic\r\nrun-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic\r\nupdate-initramfs: Generating /boot/initrd.img-3.16.0-56-generic\r\n\r\ngzip: stdout: No space left on device\r\nE: mkinitramfs failure cpio 141 gzip 1\r\nupdate-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.\r\nrun-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1\r\ndpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\n\r\nPostfix configuration was untouched.  If you need to make changes, edit\r\n/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration\r\nvalues, see postconf(1).\r\n\r\nAfter modifying main.cf, be sure to run '/etc/init.d/postfix reload'.\r\n\r\nRunning newaliases\r\n * Stopping Postfix Mail Transport Agent postfix\r\n   ...done.\r\n * Starting Postfix Mail Transport Agent postfix\r\n   ...done.\r\nErrors were encountered while processing:\r\n linux-image-3.16.0-57-generic\r\n linux-image-extra-3.16.0-57-generic\r\n linux-image-generic-lts-utopic\r\n linux-generic-lts-utopic\r\n linux-image-extra-3.16.0-56-generic\r\nE: Sub-process /usr/bin/dpkg returned an error code (1)\r\n\r\nstdout: Reading package lists...\r\nBuilding dependency tree...\r\nReading state information...\r\nThe following packages were automatically installed and are no longer required:\r\n  libyaml-0-2 linux-headers-3.16.0-51 linux-headers-3.16.0-51-generic\r\n  linux-headers-3.16.0-52 linux-headers-3.16.0-52-generic\r\n  linux-headers-3.16.0-53 linux-headers-3.16.0-53-generic\r\n  linux-image-3.16.0-30-generic linux-image-3.16.0-51-generic\r\n  linux-image-3.16.0-52-generic linux-image-3.16.0-53-generic\r\n  linux-image-extra-3.16.0-30-generic linux-image-extra-3.16.0-51-generic\r\n  linux-image-extra-3.16.0-52-generic linux-image-extra-3.16.0-53-generic\r\n  python-crypto python-httplib2 python-jinja2 python-markupsafe\r\n  python-paramiko python-pkg-resources python-support python-yaml sshpass\r\nUse 'apt-get autoremove' to remove them.\r\nSuggested packages:\r\n  procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin\r\n  dovecot-common postfix-cdb mail-reader postfix-doc\r\nThe following packages will be REMOVED:\r\n  ssmtp\r\nThe following NEW packages will be installed:\r\n  postfix\r\nPreconfiguring packages ...\r\n0 upgraded, 1 newly installed, 1 to remove and 85 not upgraded.\r\n5 not fully installed or removed.\r\nNeed to get 0 B/1084 kB of archives.\r\nAfter this operation, 3600 kB of additional disk space will be used.\r\n(Reading database ... 249158 files and directories currently installed.)\r\nRemoving ssmtp (2.64-7) ...\r\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\r\nSelecting previously unselected package postfix.\r\n(Reading database ... 249140 files and directories currently installed.)\r\nPreparing to unpack .../postfix_2.11.0-1ubuntu1_amd64.deb ...\r\nUnpacking postfix (2.11.0-1ubuntu1) ...\r\nProcessing triggers for ufw (0.34~rc-0ubuntu2) ...\r\nProcessing triggers for ureadahead (0.100.0-16) ...\r\nureadahead will be reprofiled on next reboot\r\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\r\nSetting up linux-image-3.16.0-57-generic (3.16.0-57.77~14.04.1) ...\r\nSetting up linux-image-extra-3.16.0-56-generic (3.16.0-56.75~14.04.1) ...\r\nSetting up postfix (2.11.0-1ubuntu1) ...\r\nProcessing triggers for libc-bin (2.19-0ubuntu6.6) ...\r\n\r\nmsg: '/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"   install 'postfix'' failed: Running depmod.\r\nupdate-initramfs: deferring update (hook will be called later)\r\nThe link /initrd.img is a dangling linkto /boot/initrd.img-3.16.0-57-generic\r\nvmlinuz(/boot/vmlinuz-3.16.0-57-generic\r\n) points to /boot/vmlinuz-3.16.0-57-generic\r\n (/boot/vmlinuz-3.16.0-57-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 491.\r\nExamining /etc/kernel/postinst.d.\r\nrun-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic\r\nrun-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic\r\nrun-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-57-generic /boot/vmlinuz-3.16.0-57-generic\r\nupdate-initramfs: Generating /boot/initrd.img-3.16.0-57-generic\r\n\r\ngzip: stdout: No space left on device\r\nE: mkinitramfs failure cpio 141 gzip 1\r\nupdate-initramfs: failed for /boot/initrd.img-3.16.0-57-generic with 1.\r\nrun-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1\r\nFailed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-57-generic.postinst line 1025.\r\ndpkg: error processing package linux-image-3.16.0-57-generic (--configure):\r\n subprocess installed post-installation script returned error exit status 2\r\ndpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-57-generic:\r\n linux-image-extra-3.16.0-57-generic depends on linux-image-3.16.0-57-generic; however:\r\n  Package linux-image-3.16.0-57-generic is not configured yet.\r\n\r\ndpkg: error processing package linux-image-extra-3.16.0-57-generic (--configure):\r\n dependency problems - leaving unconfigured\r\ndpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:\r\n linux-image-generic-lts-utopic depends on linux-image-3.16.0-57-generic; however:\r\n  Package linux-image-3.16.0-57-generic is not configured yet.\r\n linux-image-generic-lts-utopic depends on linux-image-extra-3.16.0-57-generic; however:\r\n  Package linux-image-extra-3.16.0-57-generic is not configured yet.\r\n\r\ndpkg: error processing package linux-image-generic-lts-utopic (--configure):\r\n dependency problems - leaving unconfigured\r\ndpkg: dependency problems prevent configuration of linux-generic-lts-utopic:\r\n linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.57.48); however:\r\n  Package linux-image-generic-lts-utopic is not configured yet.\r\n\r\ndpkg: error processing package linux-generic-lts-utopic (--configure):\r\n dependency problems - leaving unconfigured\r\nrun-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic\r\nrun-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic\r\nrun-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-56-generic /boot/vmlinuz-3.16.0-56-generic\r\nupdate-initramfs: Generating /boot/initrd.img-3.16.0-56-generic\r\n\r\ngzip: stdout: No space left on device\r\nE: mkinitramfs failure cpio 141 gzip 1\r\nupdate-initramfs: failed for /boot/initrd.img-3.16.0-56-generic with 1.\r\nrun-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1\r\ndpkg: error processing package linux-image-extra-3.16.0-56-generic (--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\n\r\nPostfix configuration was untouched.  If you need to make changes, edit\r\n/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration\r\nvalues, see postconf(1).\r\n\r\nAfter modifying main.cf, be sure to run '/etc/init.d/postfix reload'.\r\n\r\nRunning newaliases\r\n * Stopping Postfix Mail Transport Agent postfix\r\n   ...done.\r\n * Starting Postfix Mail Transport Agent postfix\r\n   ...done.\r\nErrors were encountered while processing:\r\n linux-image-3.16.0-57-generic\r\n linux-image-extra-3.16.0-57-generic\r\n linux-image-generic-lts-utopic\r\n linux-generic-lts-utopic\r\n linux-image-extra-3.16.0-56-generic\r\nE: Sub-process /usr/bin/dpkg returned an error code (1)\r\n\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ********************************************************************\r\n           to retry, use: --limit @/Users/rob/playbook.retry\r\n\r\ndrupalvm                   : ok=13   changed=1    unreachable=0    failed=1\r\n\r\nAnsible failed to complete successfully. Any error output should be\r\nvisible above. Please fix these errors and try again.\r\n```"},"comment":{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/comments/166410501","html_url":"https://github.com/geerlingguy/drupal-vm/issues/354#issuecomment-166410501","issue_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/354","id":166410501,"user":{"login":"geerlingguy","id":481677,"avatar_url":"https://avatars.githubusercontent.com/u/481677?v=3","gravatar_id":"","url":"https://api.github.com/users/geerlingguy","html_url":"https://github.com/geerlingguy","followers_url":"https://api.github.com/users/geerlingguy/followers","following_url":"https://api.github.com/users/geerlingguy/following{/other_user}","gists_url":"https://api.github.com/users/geerlingguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geerlingguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geerlingguy/subscriptions","organizations_url":"https://api.github.com/users/geerlingguy/orgs","repos_url":"https://api.github.com/users/geerlingguy/repos","events_url":"https://api.github.com/users/geerlingguy/events{/privacy}","received_events_url":"https://api.github.com/users/geerlingguy/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T20:36:06Z","updated_at":"2015-12-21T20:36:06Z","body":"Yeah, it looks like the `/boot` volume is full (/dev/sda1), and that's causing the error.\r\n\r\nSee http://askubuntu.com/questions/89710/how-do-i-free-up-more-space-in-boot for more info—also, I typically blow out my Drupal VM instances on a weekly basis (`vagrant destroy -f`) and rebuild them from scratch, so this kind of problem is avoided :)\r\n\r\nDrupal VM is structured so it can be destroyed and rebuilt as easily as possible, so it might be good when you run into issues like this to just destroy it and rebuild; otherwise you'll have to do some of the cleanup as suggested in the above thread on Ask Ubuntu."}}