[lxc-users] LXC 1.1.3 update blocks container startup.
Serge Hallyn
serge.hallyn at ubuntu.com
Mon Oct 5 16:38:27 UTC 2015
Quoting Andrey Repin (anrdaemon at yandex.ru):
> Greetings, Serge Hallyn!
>
> >> lxc-container-default (1612)
> >> lxc-container-default (2488)
> > ...
>
> > What does running the following in python3 as root show?
>
> > import lxc
> > c = lxc.Container("dc1-1")
> > c.get_config_item("lxc.aa_profile")
>
> #!/usr/bin/env python3
> import lxc
> c = lxc.Container("dc1-1")
> c.get_config_item("lxc.aa_profile")
>
>
> Traceback (most recent call last):
> File "/tmp/lxc-test.py", line 4, in <module>
> c.get_config_item("lxc.aa_profile")
> File "/usr/lib/python3/dist-packages/lxc/__init__.py", line 298, in get_config_item
> value = _lxc.Container.get_config_item(self, key)
that is messed up. I was wanting the result with a container that was
failing, but you're not running the right lxc anyway.
More information about the lxc-users
mailing list