Error at removing Member of Cluster

Hi there,

the comando:

$ lxc cluster remove old-server

worked partially.

I use version 4.19 on both servers.

On the remaining server I executed the command and received an error message:

Error: Failed getting image info for “fs1 / 20191003”: No such object

But the database role was switched.

------------- + ----------------------------- + ----- ----- + -------------- + ---------------- + ------------ - + -------- + ------------------- +
| NAME | Url | ROLES | ARCHITECTURE | FAILURE DOMAIN | DESCRIPTION | STATE | MESSAGE |
------------- + ----------------------------- + ----- ----- + -------------- + ---------------- + ------------ - + -------- + ------------------- +
| new-server | https://192.168.178.14:8443 | database | x86_64 | default | | ONLINE | Fully operational |
------------- + ----------------------------- + ----- ----- + -------------- + ---------------- + ------------ - + -------- + ------------------- +
| old-server | https://192.168.178.10:8443 | | x86_64 | default | | ONLINE | Fully operational |
------------- + ----------------------------- + ----- ----- + -------------- + ---------------- + ------------ - + -------- + ------------------- +

But this snapshot has not existed for a long time and I deleted all others. Nevertheless, the error message appears.

I can now without hesitation:

$ lxc cluster remove old-server -f

or could that affect the integrity of the db on the new server?

Greetings Frank

I wouldn’t run with force as the old server is still the main database server.

Can you show lxc cluster show old-server?

LXC on the old server is caught in an endless loop. Every command like “lxc list” is not executed and the prompt hangs. I canceled after several hours. I have now removed the old server on the new one with “lxc cluster remove old-server -f”, which went through without an error message.

The issue is (from my side) resolved.

Thanks Frank