rdbreak / rhcsa8env

This is a RHCSA8 study environment built with Vagrant/Ansible
https://join.slack.com/t/redhat-certs/shared_invite/zt-7ju3rz7b-_G3Njp3PDwdBG_81SwPeLA
MIT License
295 stars 177 forks source link

pip install resulting in OSError 28 no space left on device #57

Closed RoganJoshSpicy closed 2 years ago

RoganJoshSpicy commented 3 years ago

Describe the bug repo: ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device: '/tmp/pip-install-5n38sshq/ansible_7391cac23b3849dea69a623d71f26912/ansible_collections/ansible/windows/tests/integration/targets/setup_win_device/tasks'

To Reproduce Steps to reproduce the behavior:

  1. Follow the deployment procedure for Windows
  2. Implement fix for issue#43
  3. vagrant up
  4. See error in description + The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

Expected behavior Deployment runs smoothly till the end

Desktop (please complete the following information):

Additional context Workaround:

  1. vagrant plugin install vagrant-disksize
  2. add the following at line 62 and 63 in the Vagrantfile repo.disksize.size = '50GB' repo.vm.provision :shell, :inline => "parted -s -a opt /dev/sda 'resizepart 2 100%' ; pvresize /dev/sda2 ; lvextend -l +100%FREE /dev/mapper/rhel_rhel8-root ; xfs_growfs /dev/mapper/rhel_rhel8-root", run: "always"