Skip to content

Improve validation around CM agent install/liveness to prevent opaque failures in later steps #15

@sdairs

Description

@sdairs

Currently, a failure in installing/starting the CM agent does not prevent the playbook from continuing, which causes issues later as the host name is not present in the list of names returned from the All Hosts page, resulting in the common error

"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute '<hostname>'" }

This error is not at all clear on what or why it failed.

We should probably add some extra validation around this & produce more meaningful errors & failures

Such as

  • Validate that CM agent is installed
  • Validate its heartbeating
  • Validate the All Hosts list against the cluster:children investory

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementMINOR - New feature or enhancement entry in the CHANGELOG

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions