Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/Env/armory-compute-node/lib/python3.8/site-packages/pylxd/models/_model.py", line 225, in save
self.client.operations.wait_for_operation(response.json()["operation"])
File "/opt/Env/armory-compute-node/lib/python3.8/site-packages/pylxd/models/operation.py", line 57, in wait_for_operation
operation.wait()
File "/opt/Env/armory-compute-node/lib/python3.8/site-packages/pylxd/models/operation.py", line 98, in wait
raise exceptions.LXDAPIException(response)
pylxd.exceptions.LXDAPIException: Failed to load config file "/tmp/lxd_config_1152857147": loading config file for the container failed
What might actually be the cause of this error? Digging around on the system, I find my container logs, which reveal the real problem:
That would be a great addition! But at first we need to check the output of the LXD REST API in this case - do they give more information about an error 🤔?
TL;DR
Please clarify the cause of
Failed to load config file
errors.Version info
Test case / Detail
The result is the following error:
What might actually be the cause of this error? Digging around on the system, I find my container logs, which reveal the real problem:
Indeed, once I remove
'raw.lxc': 'lxc.loglevel = 0'
from myconfig
,c.save
returns.