Pull hangs in subsequent runs using libostree



I'm running into an issue with libostree in python using gobject. The code[1] performs the following steps:

1. ostree init
2. add remote
3. pull
4. pull  <--- reproduces the issue

The pull in step #4 should return quickly as there is virtually nothing to do. But instead, it hangs indefinitely. I attached with gdb and dumped the stack trace[2]. It appears to be blocked trying to acquire a lock. Another bit of information - step #4 does not hang if step #3 does not need to pull anything.

Suggestions?

Thanks,

Jeff

---


[1] https://github.com/pulp/pulp_ostree/blob/jortel-sync/plugins/pulp_ostree/plugins/lib.py

[2] https://gist.github.com/jortel/3f7325572707275bbb21


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]