Skip to content

TASK [cloudera.cluster.os : Disable unnecessary services] - fails due to service missing #55

@cieslak-jacek

Description

@cieslak-jacek

Hi,
While deploying CDP Private Base (without -t flag in ansible-playbook command) an error occurred:

failed: [host1.example.com] (item=ip6tables) => {
    "ansible_loop_var": "item",
    "changed": false,
    "invocation": {
        "module_args": {
            "daemon_reexec": false,
            "daemon_reload": false,
            "enabled": false,
            "force": null,
            "masked": null,
            "name": "ip6tables",
            "no_block": false,
            "scope": "system",
            "state": "stopped"
        }
    },
    "item": "ip6tables",
    "msg": "Could not find the requested service ip6tables: host"
}

Task:
TASK [cloudera.cluster.os : Disable unnecessary services]

task path:
/root/.ansible/collections/ansible_collections/cloudera/cluster/roles/prereqs/os/tasks/main.yml

Temporary solution: (add line)
ignore_errors: yes

Permanent solution to implement:
Errors with services not present/not installed should be ignored.

Best regards,
Jacek Cieslak

Metadata

Metadata

Assignees

Labels

bugPOINT - Bugfix entry in the CHANGELOG

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions