Skip to content

Retriable errors must not populate fatal error message in status #285

@prajnutanix

Description

@prajnutanix

/kind bug

What steps did you take and what happened:

This is during normal capx cluster deployment flow. I saw nutanixcluster object's status contain a fatal error for a retriable error scenario:
" Get "https://10.45.92.5:9440/api/nutanix/v3/users/me": dial tcp 10.45.92.5:9440: i/o timeout" . This went away after few minutes, and cluster deployment was a success.

What did you expect to happen:
Errors which upon retry also cannot be fixed (like password incorrect or connecting with PC endpoint returns http 404 etc), must populate FatalError message in status. Other retriable errors must not populate this field.

Anything else you would like to add:

Miscellaneous information that will assist in solving the issue.

Environment:

  • Cluster-api-provider-nutanix version: v1.2.1

  • Kubernetes version: (use kubectl version):
    Client Version: v1.25.3
    Kustomize Version: v4.5.7
    Server Version: v1.25.3

  • OS (e.g. from /etc/os-release): CentOS 7

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