I just tested here with using python3-lxc from trusty (LXC 1.0.8) to
interact with liblxc1 2.0.0 calling get_ips, that worked fine.
root@athos:~# python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lxc
>>> lxc.Container("jenkins01", "/var/lib/lxd/containers").get_ips()
('10.0.3.1', '172.17.20.37', '2607:f2c0:f00f:2720:216:3eff:fe12:99ae')
>>>
Downgrade python3-lxc:
root@athos:~# python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lxc
>>> lxc.Container("jenkins01", "/var/lib/lxd/containers").get_ips()
('10.0.3.1', '172.17.20.37', '2607:f2c0:f00f:2720:216:3eff:fe12:99ae')
>>>
We did have an actual ABI break back around 1.1 but that was fixed and we
absolutely intend to have our ABI be backward compatible.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1550912
Title:
python-lxc segfaults when calling get_ips()
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-lxc/+bug/1550912/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs