pip install resulting in OSError 28 no space left on device
RoganJoshSpicy opened this issue · comments
RoganJoshSpicy commented
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:
- Follow the deployment procedure for Windows
- Implement fix for issue#43
- vagrant up
- 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):
- OS: Windows 10
- Version: whatever
- Vbox: 6.1.22
Additional context
Workaround:
- vagrant plugin install vagrant-disksize
- 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"