AttributeError: module 'asyncio' has no attribute 'create_task'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Control Plane Charm |
Fix Released
|
Critical
|
Cory Johns |
Bug Description
When running with the fix for LP:#1927145 on bionic I am seeing:
[2021-05-18 01:09:55 +0000] [8610] [ERROR] Exception in gunicorn worker
Traceback (most recent call last):
File "/var/lib/
self.
File "/usr/lib/
return future.result()
File "/var/lib/
await runner.setup()
File "/var/lib/
self._server = await self._make_server()
File "/var/lib/
await self._app.startup()
File "/var/lib/
await self.on_
File "/var/lib/
await receiver(*args, **kwargs) # type: ignore
File "/root/
app[
AttributeError: module 'asyncio' has no attribute 'create_task'
If I change create_task to ensure_future things seem to work:
https:/
tags: | added: seg sts |
We marked LP:1927145 as critical, so I'm marking this one as critical too.