Re: atomic install wants to use /var/lib/containers instead of /var/lib/docker for storage

2019-01-26 Thread mabi
So in order to confirm my theory I now tried the deploy_cluster.yml ansible playbook with the following variable in my ansible inventory file set: openshift_use_crio=True When I do that the the sym link from /var/lib/docker to /var/lib/containers/docker gets created properly. The problem now

Re: atomic install wants to use /var/lib/containers instead of /var/lib/docker for storage

2019-01-25 Thread Mateus Caruccio
I'm not sure that is the case. This file is included from [1]. MAybe someone from redhat team could drop some wisdom. [1] https://github.com/openshift/openshift-ansible/blob/release-3.11/roles/container_runtime/tasks/package_docker.yml#L174 -- Mateus Caruccio / Master of Puppets

Re: atomic install wants to use /var/lib/containers instead of /var/lib/docker for storage

2019-01-25 Thread mabi
There are no symlinks and /var/lib/docker still exists. Looking at the following playbook: https://github.com/openshift/openshift-ansible/blob/master/roles/container_runtime/tasks/common/post.yml I can see that the symlink only gets created when using CRI-O with OpenShift (openshift_use_crio).

Re: atomic install wants to use /var/lib/containers instead of /var/lib/docker for storage

2019-01-25 Thread Mateus Caruccio
There should be a symlink /var/lib/docker pointing to /var/lib/containers/docker. -- Mateus Caruccio / Master of Puppets GetupCloud.com We make the infrastructure invisible Gartner Cool Vendor 2017 Em sex, 25 de jan de 2019 às 11:43, mabi escreveu: > I changed the

Re: atomic install wants to use /var/lib/containers instead of /var/lib/docker for storage

2019-01-25 Thread mabi
I changed the /etc/sysconfig/docker-storage-setup to use /var/lib/containers instead of /var/lib/docker in the CONTAINER_ROOT_LV_MOUNT_PATH variable and the OpenShift ansible prerequisites.yml playbook now worked fine. So I now I went on to the next step of the installation which is to run the

Re: atomic install wants to use /var/lib/containers instead of /var/lib/docker for storage

2019-01-24 Thread Mateus Caruccio
oops, didn't noticed that message. I guess you could simply mount overlay over /var/lib/containers -- Mateus Caruccio / Master of Puppets GetupCloud.com We make the infrastructure invisible Gartner Cool Vendor 2017 Em qui, 24 de jan de 2019 às 18:10, mabi escreveu: > Thank you Mateus for the

Re: atomic install wants to use /var/lib/containers instead of /var/lib/docker for storage

2019-01-24 Thread mabi
Thank you Mateus for the hint regarding the new storage dir. However I am not sure it it will help with the installation because you mention that I should mount my overlay2 LVM partition in docker_alt_storage_path, which is actually /var/lib/containers/docker Now the "no space left on device"

Re: atomic install wants to use /var/lib/containers instead of /var/lib/docker for storage

2019-01-24 Thread Mateus Caruccio
Since the introduction of cri-o, the docker storage dir was moved to /var/lib/containers/docker and /var/lib/docker is a symlink to it. You can see it in action in [1] and [2]. Make sure to mount your overlay2 partition at [3]`docker_alt_storage_path` [1]

atomic install wants to use /var/lib/containers instead of /var/lib/docker for storage

2019-01-24 Thread mabi
Hi, I am trying to install OKD version 3.11 on CentOS 7 Atomic Host using the official documentation here: https://docs.okd.io/3.11/install/running_install.html#running-the-advanced-installation-containerized So after running the following command: atomic install --system --storage=ostree