Skip to content

New code in 0.9.16 causing issues with some mos #256

@gomoore

Description

@gomoore

This line

if all([isinstance(mo, CommVMediaMap), hasattr(mo, 'admin_action'), mo.admin_action == CommVMediaMapConsts.ADMIN_ACTION_SAVE_UNMAPPED_VOLUME]):
fails when processing LsbootBootSecurity mo when setting up boot options:

File "/usr/local/lib/python3.10/dist-packages/imcsdk/imchandle.py", line 745, in _get_mo_status
        if all([isinstance(mo, CommVMediaMap), hasattr(mo, 'admin_action'), mo.admin_action == CommVMediaMapConsts.ADMIN_ACTION_SAVE_UNMAPPED_VOLUME]):
    AttributeError: 'LsbootBootSecurity' object has no attribute 'admin_action'

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