golemfactory / ray-on-golem

GNU General Public License v3.0
6 stars 4 forks source link

yagna payment status subprocess sometimes never ends #209

Open lucekdudek opened 8 months ago

lucekdudek commented 8 months ago

This issue seems to be more damaging as it is causing deadlock for long running clusters. Unfortunately, direct cause of the deadlock is unknown.

Related subporcess:

                output = json.loads(
                    await run_subprocess_output(
                        self._yagna_path,
                        "payment",
                        "status",
                        "--network",
                        network,
                        "--driver",
                        driver,
                        "--json",
                    )
                )

https://github.com/golemfactory/ray-on-golem/blob/main/ray_on_golem/server/services/yagna.py#L180-L192