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]
https://github.com/openshift/openshift-ansible/blob/master/roles/container_runtime/tasks/common/post.yml#L2
[2]
https://github.com/openshift/openshift-ansible/blob/master/roles/container_runtime/tasks/common/setup_docker_symlink.yml
[3]
https://github.com/openshift/openshift-ansible/blob/master/roles/container_runtime/defaults/main.yml#L47

--
Mateus Caruccio / Master of Puppets
GetupCloud.com
We make the infrastructure invisible
Gartner Cool Vendor 2017


Em qui, 24 de jan de 2019 às 15:52, mabi <[email protected]> escreveu:

> 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 --set INVENTORY_FILE=/root/hosts
> --set
> PLAYBOOK_FILE=/usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml
> --set OPTS="-v" docker.io/openshift/origin-ansible:v3.11
>
> I get the following output/error:
>
> Getting image source signatures
> Copying blob
> sha256:a02a4930cb5d36f3290eb84f4bfa30668ef2e9fe3a1fb73ec015fc58b9958b17
>  71.68 MB / 71.68 MB
> [======================================================] 6s
> Copying blob
> sha256:16ffbd784f7768f3ebfc1697df136659c6c3481754263b6f852317c5f948b860
>  9.57 MB / 9.57 MB
> [========================================================] 0s
> Copying blob
> sha256:df4469e6f51747d98306dd4d60d23b0ef6386e0ae55eafc2473745ce0d12f6f5
>  271 B / 271 B
> [============================================================] 0s
> Copying blob
> sha256:36fd26a639ac48c560feb36254ec2f3de38e915b93d5f6bf7749abd675f7f0c7
>  201.01 MB / 201.01 MB
> [===================================================] 18s
> Copying config
> sha256:184868402205ab5533ce71b76c1cc1edf9d9d98227c2de845f90b83a67f0a52c
>  4.80 KB / 4.80 KB
> [========================================================] 0s
> Writing manifest to image destination
> Storing signatures
> FATA[0118] Error committing the finished image: mkdir
> /var/lib/containers/atomic/.CjIXZk/docker.io_2Fopenshift_2Forigin-ansible_3Av3.11/36fd26a639ac48c560feb36254ec2f3de38e915b93d5f6bf7749abd675f7f0c7/root/usr/share/ansible/openshift-ansible/roles/nuage_node/vars:
> no space left on device
>
> As you see it looks like the directory /var/lib/containers is used but it
> should actually be using /var/lib/docker, that is where I have configured
> my LVM thin layer volume for Docker storage.
>
> How can I change that directory? or should I configure my docker storage
> to use /var/lib/containers instead?
>
> For setting up my docker storage using the Overlay2 driver I followed the
> following guide:
>
>
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_atomic_host/7/html/managing_containers/managing_storage_with_docker_formatted_containers#using_the_overlay_graph_driver
>
> Thanks for any hints.
>
> Regards,
> Mabi
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to