So I am back in the lab and trying to move a snapshot to another machine. Bear in mid i don’t have a third cluster member in the lab (not advised but there is a sincere lack of resources for the lab).
sarlacpit@lxd02:~$ lxc info isp-test2
Name: isp-test2
Location: lxd02
Remote: unix://
Architecture: x86_64
Created: 2020/08/21 13:05 UTC
Status: Stopped
Type: container
Profiles: vlan2007-isp
Snapshots:
snap0 (taken at 2020/08/21 15:17 UTC) (stateless)
sarlacpit@lxd02:~$ lxc copy isp-test2/snap0 lxd01:isp-test3 --verbose
Error: The remote "lxd01" doesn't exist
lxc cluster list
+-------+--------------------------+----------+--------+-------------------+--------------+----------------+
| NAME | URL | DATABASE | STATE | MESSAGE | ARCHITECTURE | FAILURE DOMAIN |
+-------+--------------------------+----------+--------+-------------------+--------------+----------------+
| lxd01 | https://192.168.0.1:8443 | YES | ONLINE | fully operational | x86_64 | default |
+-------+--------------------------+----------+--------+-------------------+--------------+----------------+
| lxd02 | https://192.168.0.2:8443 | NO | ONLINE | fully operational | x86_64 | default |
+-------+--------------------------+----------+--------+-------------------+--------------+----------------+
lxc remote list
+-----------------+------------------------------------------+---------------+-------------+--------+--------+
| NAME | URL | PROTOCOL | AUTH TYPE | PUBLIC | STATIC |
+-----------------+------------------------------------------+---------------+-------------+--------+--------+
| images | https://images.linuxcontainers.org | simplestreams | none | YES | NO |
+-----------------+------------------------------------------+---------------+-------------+--------+--------+
| local (default) | unix:// | lxd | file access | NO | YES |
+-----------------+------------------------------------------+---------------+-------------+--------+--------+
| ubuntu | https://cloud-images.ubuntu.com/releases | simplestreams | none | YES | YES |
+-----------------+------------------------------------------+---------------+-------------+--------+--------+
| ubuntu-daily | https://cloud-images.ubuntu.com/daily | simplestreams | none | YES | YES |
+-----------------+------------------------------------------+---------------+-------------+--------+--------+
So two questions:
- What is the difference between a remote & a cluster machine?
- Why do I get the error (is it because of a lack of a remote?) both servers have a local (default) remote.
Also, I created the container ‘isp-test2’ from the command line of lxd01 though it added it to lxd02 as a default.
Something screwy is afoot - it is probably me - I would appreciate any assistance
Thanks