cloudera-labs / cloudera.cluster

An Ansible collection for lifecycle and management of Cloudera CDP Private Cloud resources on bare metal, IaaS, and PaaS.
Apache License 2.0
32 stars 48 forks source link

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

Closed cieslak-jacek closed 11 months ago

cieslak-jacek commented 2 years ago

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

wmudge commented 11 months ago

"Temporarily" resolved in https://github.com/cloudera-labs/cloudera.cluster/pull/107