Skip to content

Deleting of ibm-licensing takes too long #1128

@fketelaars

Description

@fketelaars

Describe the bug
When running the cp4d-delete-instance.sh script, it waits unnecessarily long for the ibm-licensing namespace to be deleted. Even after the namespace has been successfully deleted, the script waits for 5 minutes before continuing.

Resolution

  • The if [ "${FORCE_FINALIZER}" = "true" ] statement is incorrect, it should use ==. Can even delete this because of the 3rd change.
  • Timeout is set to 300 seconds when the namespace is not deleted on the first check. Change this so that 60 second timeouts are applied
  • FORCE_FINALIZER should be the default behaviour of the deletion. This is the only way to remove the CRs from the cluster once deletion is stuck. Remove parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    finished-devFinished development, waiting to be merged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions