You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python3 c.py
Creating container
Traceback (most recent call last):
File "/home/ubuntu/git/pylxd/c.py", line 19, in <module>
create_container("foo")
File "/home/ubuntu/git/pylxd/c.py", line 15, in create_container
container = client.instances.create(config, wait=True)
File "/home/ubuntu/git/pylxd/pylxd/models/instance.py", line 343, in create
client.operations.wait_for_operation(response.json()["operation"])
File "/home/ubuntu/git/pylxd/pylxd/models/operation.py", line 57, in wait_for_operation
operation.wait()
File "/home/ubuntu/git/pylxd/pylxd/models/operation.py", line 94, in wait
response = self._client.api.operations[self.id].wait.get()
File "/home/ubuntu/git/pylxd/pylxd/client.py", line 207, in get
self._assert_response(
File "/home/ubuntu/git/pylxd/pylxd/client.py", line 178, in _assert_response
raise exceptions.LXDAPIException(response)
pylxd.exceptions.LXDAPIException: <exception str() failed>
pytest-cos lxc start cos-bar
Error: Failed to handle idmapped storage: No such file or directory: "/var/snap/lxd/common/lxd/storage-pools/default/containers/cos-bar/rootfs"
Try `lxc info --show-log cos-bar` for more info
I'm wondering how LXD got so far as to trying to idmap a non-existent dir because invalid image source was specified.
With this bogus config:
We get the following cryptic error:
While
lxc monitor --pretty
has:For reference, a valid
source
would look like that (equivalent of alxc launch ubuntu:22.04
):The text was updated successfully, but these errors were encountered: