Skip to content

Increase verbosity in ROSA provisioning/deprovisioning #892

@bdattoma

Description

@bdattoma

When terraform commands are called for ROSA (but maybe for other cluster types as well?), the script does not print the terraform logs making difficult to debug and see what's happening.

I suggest changing the capture_output=True arg to False and leverage on TF_LOG env variable to control the verbosity, e.g., os.environ["TF_LOG"] = "DEBUG"
Example line of code to change: https://github.com/RedHatQE/openshift-cli-installer/blob/main/openshift_cli_installer/libs/clusters/rosa_cluster.py#L144

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