Skip to content

AttributeError: 'Transaction' object has no attribute 'UserClass' #47

@FelixJacobi

Description

@FelixJacobi
Okt 01 02:01:32 iserv.stsbl.de dhcpy6d[6264]: Traceback (most recent call last):
Okt 01 02:01:32 iserv.stsbl.de dhcpy6d[6264]:   File "/usr/lib/python3/dist-packages/dhcpy6d/client/__init__.py", line 231, in build
Okt 01 02:01:32 iserv.stsbl.de dhcpy6d[6264]:     from_config(client=self, client_config=client_config, transaction=transaction)
Okt 01 02:01:32 iserv.stsbl.de dhcpy6d[6264]:   File "/usr/lib/python3/dist-packages/dhcpy6d/client/from_config.py", line 99, in from_config
Okt 01 02:01:32 iserv.stsbl.de dhcpy6d[6264]:     transaction.UserClass == user_class):
Okt 01 02:01:32 iserv.stsbl.de dhcpy6d[6264]: AttributeError: 'Transaction' object has no attribute 'UserClass'
Okt 01 02:01:32 iserv.stsbl.de dhcpy6d[6264]: 2021-10-01 02:01:32,173 dhcpy6d ERROR build(): 'Transaction' object has no attribute 'UserClass'

Just found log after upgrading another production system to Bullseye. Seems to be related to boot files. As far as I can see, the UserClass was renamed to user_class is Transaction which is the only problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions