Closed CaliLuke closed 3 years ago
This is the giveaway from your logs:
Aug 29 22:25:27 borg dockerd[3946974]: time="2021-08-29T22:25:27.112165226-07:00" level=error msg="failed to mount overlay: invalid argument" storage-driver=overlay2
Aug 29 22:25:27 borg dockerd[3946974]: failed to start daemon: error initializing graphdriver: driver not supported
Check out the variables in https://github.com/davestephens/ansible-nas/blob/master/roles/ansible-nas-docker/defaults/main.yml and override the storage driver to match your file system.
makes sense. when you say "override" you mean in
a: inventories/my-ansible-nas/group_vars/nas.yml
or in
b: roles/ansible-nas-docker/defaults/main.yml
?
in any case I changed it to
---
ansible_nas_user: david
# Where you want Docker to store its container data.
docker_home: /mnt/Volume2/docker
# Where you want Docker to store images
docker_image_directory: "{{ docker_home }}/data"
# Docker storage driver, see https://docs.docker.com/storage/storagedriver/select-storage-driver/#supported-backing-filesystems
# You might want to change this to ZFS, depending on your underlying filesystem.
docker_storage_driver: ZFS
but the script threw the same error which makes me think I either put the wrong keyword in the storage driver or overrode it in the wrong place. Thanks in advance for your help.
Describe the bug
I'm running the playbook to install the nas on a fairly fresh install of Ubuntu 20.04 and the playbook stops with an error at "ensure docker is started and enabled at boot".
The error thrown is
"Unable to start service docker: Job for docker.service failed because the control process exited with error code.\nSee \"systemctl status docker.service\" and \"journalctl -xe\"
Environment
Ansible-NAS revision (
git rev-parse --short HEAD
): 5b1529dAnsible version (paste the entire output of
ansible --version
on the machine you run the playbook from):Ansible-NAS operating system (
cat /etc/lsb-release
on the Ansible-NAS box) - Support won't be provided for non-LTS releases of Ubuntu:Ansible-NAS kernel (
uname -a
on the Ansible-NAS box): Linux borg 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/LinuxAnsible-NAS Python version (
python --version
on the Ansible-NAS box): Python 3.8.10Ansible-NAS Docker version (
docker --version
on the Ansible-NAS box): Docker version 20.10.8, build 3967b7dLatest Docker logs (
journalctl -u docker.service
on the Ansible-NAS box):Are you running the playbook from a remote box or the Ansible-NAS box itself? on the box itself
Vagrant version, if testing (
vagrant --version
): n/aAnsible-NAS filesystems (
df -hT
on the Ansible-NAS box):Mounted filesystems (
mount
on the Ansible-NAS box)all.yml Variables
docker_image_directory
: didn't change a thing, same for all of the stuff below.docker_home
:docker_storage_driver
:samba_shares_root
:Expected behavior
installation should be successful
Actual behavior
installation stops with the error I reported above.
Steps to reproduce
just run the ansible playbook with the sytnax from the installation guide.
Playbook Output
Additional context n/a