In all the reports I've seen so far, there's a cancellation during
`_get_systems` when we're in the middle of requesting info from snapd
though its API:

```python
return await self.app.snapdapi.v2.systems[label].GET()
```

However, cancelling on the client (i.e., subiquity) side does not
necessarily means the server (i.e., snapd will stop executing its query
handler). So we can't immediately expect snapd not to be using the
systems directory anymore. We'd need to wait until the request has been
responded.

```python
        self._examine_systems_task = SingleInstanceTask(self._examine_systems)
```
^ this is created with `cancel_restart=True` (the default) and is probably the 
reason for cancellation?

```python
        self.app.hub.subscribe(
            (InstallerChannels.CONFIGURED, "source"),
            self._examine_systems_task.start_sync,
        )
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084032

Title:
  pc-kernel umount failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2084032/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to