Trying to perform an “lxc network attach <remote_server>:” from a central management server to a remote worker node and keep getting “error not found”. The command works fine if I login to the remote server and run the “lxc network attach” locally,. Not sure if this is expected behavior or a bug. Do I have the right syntax?
Examples:
root@QA_Manager# lxc network attach QA-Server-01:eth1 QA-Server-01:centos6-baseline
error: not found
root@QA_Manager# lxc network attach QA-Server-01:eth1 QA-Server-01:centos6-baseline eth0 eth0
error: not found
However, the command works properly if I login to the remote server and run the command locally:
Thanks for the feedback. For me, it seems the CLI is a little confusing - especially when doing remote management activities. Your example command worked on my system, but it seems to violate the perceived rules of local vs remote objects. I would expect any local object (network interface, etc) to be defined w/out a preceding host identifier. Conversely, I would expect any remote object to require a host identifier. Hope this makes sense.
BTW - many thanks to you and the Canonical team for the LXC/LXD product. This tool has greatly helped us move from monolithic VMs to more streamlined containers.