luisarizmendi / ocp-libvirt-ipi-role

Ansible Role to deploy OpenShift 4 on a CentOS 7 or Fedora KVM using libvirt IPI
31 stars 14 forks source link

On systems with a limited rootfs, the role fills up /root and the rootfs. #2

Closed ElCoyote27 closed 3 years ago

ElCoyote27 commented 4 years ago

Hi,

First of all, thank you for creating this role. I'll have a PR soonish for some RHEL7 specifics.

on a system where I have /, /var, /usr, /home and others as dedicated logical volumes, I found the role was filling up '/' because of /root/go, /root/ocp and /root/.cache/go-build.

Is there a way to redirect the workdir to something else than the $HOME of the root user?

[root@myhost ~]# df -h /
Filesystem                  Size  Used Avail Use% Mounted on
/dev/mapper/rootdg-lv_root  3.9G  3.7G     0 100% /

[root@myhost ~]# du -ks go  .cache/ocp .cache/go*
378928  go
0       .cache/ocp
0       .cache/go
2021744 .cache/go-build
ElCoyote27 commented 3 years ago

Implemented in latest code.