Skip to content

install_patches error: ... Please consider setting 'allowModules=true'. #46

@ulziibuyan

Description

@ulziibuyan

I ran the sample ansible playbook install_patches and received the following error from my Uyuni:

...
TASK [Installing patches] ***************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible_collections.stdevel.uyuni.plugins.module_utils.exceptions.SessionException: Generic remote communication error: "redstone.xmlrpc.XmlRpcFault: Operation not allowed for systems that have modular channels assigned. Please consider setting 'allowModules=true'."
...

I tried adding allowModules = True to the API call and it works. Can I contribute code adding this parameter to install_patches?

References: https://github.com/uyuni-project/poc-uyuni-api/blob/master/cmd/mgr-api.spec.conf

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