Comment 2 for bug 1952036

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This hang is caused by the while loop
    while not ips or count == 10:

It can't get the ip address with container.get_ips(), thus ips is always empty and making this loop infinite.

https://github.com/lxc/python3-lxc/blob/master/examples/api_test.py#L121

I've created a MP to fix this.