Thanks, but the “–target” option is not valid:
root@LXD-3-Manager:~# lxc storage delete SDB --target LXD-Server1
Error: unknown flag: --target
Description:
Delete storage pools
Usage:
lxc storage delete [<remote>:]<pool> [flags]
Aliases:
delete, rm
Global Flags:
--debug Show all debug messages
--force-local Force using the local unix socket
-h, --help Print help
-v, --verbose Show all information messages
--version Print version number
Also, it seems the “lxc storage delete” command is not working when specifying a remote server. For example:
root@LXD-3-Manager:~# lxc storage delete LXD-Server3:SDB
Error: The remote "LXD-Server3" doesn't exist
I know for certain the remote server “LXD-Server3” exists as per this output:
root@LXD-3-Manager:~# lxc cluster list
+---------------+--------------------------+----------+--------+-------------------+
| NAME | URL | DATABASE | STATE | MESSAGE |
+---------------+--------------------------+----------+--------+-------------------+
| LXD-3-Manager | https://10.30.50.60:8443 | YES | ONLINE | fully operational |
+---------------+--------------------------+----------+--------+-------------------+
| LXD-Server1 | https://10.30.50.61:8443 | YES | ONLINE | fully operational |
+---------------+--------------------------+----------+--------+-------------------+
| LXD-Server2 | https://10.30.50.62:8443 | YES | ONLINE | fully operational |
+---------------+--------------------------+----------+--------+-------------------+
| LXD-Server3 | https://10.30.50.63:8443 | NO | ONLINE | fully operational |
+---------------+--------------------------+----------+--------+-------------------+
It seems cluster mode only allows the storage name - you can’t specify the host.