"cfy_manager remove" will fail if installation was incomplete

Description

The first thing that cfy_manager remove does, is execute cfy profiles delete to delete the local profile.

There are two problems:

1. During installation, we actually create two profiles — one for the current user, and one for root. On deletion, we only delete the profile for the current user.
2. The invocation of cfy profiles delete will fail if the installation never got to the point of installing the CLI.

Steps to Reproduce

Environment:
OS (CLI), HA cluster, cloud provider
------------------------------------

Steps to reproduce:
------------------
1.
2.
3.

Expected result:
---------------

Actual result:
-------------

Why Propose Close?

None

Status

Assignee

Isaac Shabtay

Reporter

Isaac Shabtay

Labels

Severity

Medium

Target Version

4.5

Premium Only

no

Found In Version

4.4

QA Owner

Lital Hamami

Bug Type

legacy bug

Customer Encountered

No

Customer Name

None

Release Notes

yes

Priority

None

Epic Link

Sprint

None

Priority

Unprioritized
Configure