Skip to content

Insufficiently detailed error messages #26

@pevogam

Description

@pevogam

Hi,

After hundreds of container startups using the python3 bindings sometimes I get a sporadic error like:

    c = lxc.Container(container_id)

  File "/usr/lib64/python3.9/site-packages/lxc/__init__.py", line 157, in __init__
    _lxc.Container.__init__(self, name)

RuntimeError: Container_init:lxc.c:542: error during init for container 'c1'.

My problem with this is that there is no detail whatsoever on the reason behind the RuntimeError. I know that these are generated bindings but is there any easy way to debug this like make it possible to output debug information via some DEBUG enabling env variable or perhaps a log file?

Thanks in advance,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions