Skip to content

[UX] Helm: Improved probable cause and suggested remediation #282

Description

@leecalcote

Current State:

The following error message is shown in the adapter logs when deprovisioning an instance of Linkerd that was previously provisioned by Meshery (by the adapter) using linkerd (not using Helm).

time="2021-12-30T23:14:02Z" level=error msg="uninstall: Release not loaded: linkerd2: release: not found" app=linkerd-adaptor code=1003 probable-cause= severity=2 short-description="Error with Linkerd operation: " suggested-remediation=

Desired State:
The probable cause and suggested remediation fields need updated with pertinent information. In this case, the error was just a warning. The uninstall using helm failed forward to uninstalling with linkerd binary and the overall deprovisioning operation was successful.

Complete deprovisioning operation logs from adapter:

time="2021-12-30T23:14:02Z" level=info msg="Creating instance" app=linkerd-adaptor
time="2021-12-30T23:14:02Z" level=info msg="Applying operation linkerd" app=linkerd-adaptor
time="2021-12-30T23:14:02Z" level=info msg="Requested install of version: stable-2.11.1" app=linkerd-adaptor
time="2021-12-30T23:14:02Z" level=info msg="Requested action is delete: true" app=linkerd-adaptor
time="2021-12-30T23:14:02Z" level=info msg="Requested action is in namespace: default" app=linkerd-adaptor
time="2021-12-30T23:14:02Z" level=error msg="uninstall: Release not loaded: linkerd2: release: not found" app=linkerd-adaptor code=1003 probable-cause= severity=2 short-description="Error with Linkerd operation: " suggested-remediation=
time="2021-12-30T23:14:02Z" level=info msg="Attempting manifest installation..." app=linkerd-adaptor
time="2021-12-30T23:14:02Z" level=info msg="Looking for linkerd in the path..." app=linkerd-adaptor
time="2021-12-30T23:14:02Z" level=info msg="Looking for linkerd in/root/.meshery/bin..." app=linkerd-adaptor
time="2021-12-30T23:14:08Z" level=info msg="Sending event" app=linkerd-adaptor

Contributor Resources

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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