[lxc-users] LXD with lxc info on remote host not working
Dirk Geschke
dirk at lug-erding.de
Mon Apr 6 16:22:13 UTC 2015
Hi Tycho,
> > > $ lxc info otto:ubuntix
> > > error: not found
> > >
> > > On otto, a test system running lxd, I can see this:
> > >
> > > 2015/04/06 16:59:31 handling GET /1.0/containers/otto:ubuntix
> > >
> > > So I guess, the part "otto:" is wrong here...
> > >
> > > An "lxc info ubuntix" on otto works without problems.
> > >
> > > Maybe someone can fix this?
> >
> > It looks like otto is not a valid remote here (have you added it and
> > does it show up in `lxc remote list`?). If you do something like:
yes, and it works:
lxcuser at karl:~$ lxc remote list
local <unix:/var/lib/lxd/unix.socket>
otto <https://192.168.1.233:8443>
and this works, too:
lxcuser at karl:~$ lxc list otto:
+---------+---------+---------------+------+
| NAME | STATE | IPV4 | IPV6 |
+---------+---------+---------------+------+
| wheezy1 | STOPPED | | |
| wheezy2 | RUNNING | 192.168.1.111 | |
| ubuntix | RUNNING | 192.168.1.112 | |
+---------+---------+---------------+------+
but not this:
lxcuser at karl:~$ lxc info otto:ubuntix
error: not found
> Hmm, it looks to me like with 0.5 we do detect unknown remotes
> correctly, so I'm not sure what's going on here. What's the output of
> `lxc version`?
it is on both systems the same:
lxcuser at karl:~$ lxc version
0.5
Best regards
Dirk
--
+----------------------------------------------------------------------+
| Dr. Dirk Geschke / Plankensteinweg 61 / 85435 Erding |
| Telefon: 08122-559448 / Mobil: 0176-96906350 / Fax: 08122-9818106 |
| dirk at geschke-online.de / dirk at lug-erding.de / kontakt at lug-erding.de |
+----------------------------------------------------------------------+
More information about the lxc-users
mailing list