Troubleshooting
Installation Troubleshooting
ModuleNotFoundError during installation
Problem: When I attempt to install MoveIt Pro on Ubuntu 22.04, I see error messages in my terminal such as:
ModuleNotFoundError: No module named 'X'
Solution: Make sure you are not using a Python virtual environment (which is missing expected dependencies). Use deactivate
for venv/virtualenv environments and conda deactivate
for Conda environments.
build
Troubleshooting
Docker on ZFS
Problem: When I attempt to build my user_image or user_workspace on a system using ZFS, I see error messages in my terminal suggesting that I am running out of disk space, even though I am not.
Solution: Perform the following steps to update the docker daemon to use the ZFS storage driver:
-
Stop docker:
sudo system stop docker
-
Backup the docker data:
sudo cp -au /var/lib/docker /var/lib/docker.bk
-
Clear out the docker data:
sudo rm -rf /var/lib/docker/*
-
Find available zpools:
sudo zfs list
which givesbpool
andrpool
on my system. If you have no existing pools jump to the next step. The poolrpool
has most of the disk space, so we will add a dataset to this pool.Adding to an existing zpool (
rpool
): -
sudo zfs create rpool/docker
-
sudo zfs set mountpoint=/var/lib/docker rpool/docker
Adding a new zpool (Skip this if you already added to an existing zpool):
-
sudo zfs create create -f zpool-docker -m /var/lib/docker /dev/xvdf /dev/xvdg
(replace the/dev/
devices appropriately).(Optional) Restoring backed up docker data:
-
sudo cp -a /var/lib/docker.bk /var/lib/docker
Restart docker:
-
sudo system restart docker
Temporary failure resolving Apt repositories
Problem: When I attempt to build my user_image, I see error messages in the terminal such as:
# Ign:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
=> => # Ign:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
=> => # Ign:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
=> => # Ign:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
=> => # Err:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
=> => # Temporary failure resolving 'ports.ubuntu.com'
failed to receive status: rpc error: code = Unavailable desc = error reading from server: EOF
Solution: If you are using a virtual machine (VM), e.g. through VMWare or Parallels, this can sometimes happen when the VM has been suspended for a long time. Try rebooting the VM and verify whether the issue persists.