We're updating the issue view to help you get more done. 

Upgrading agents installed using init_script

Description

When upgrading agents that were installed using the init_script method, an error is thrown

Steps to Reproduce

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

Steps to reproduce:
------------------
1. Install agents using install_method: init_script
2. Move to a new manager
3. run `cfy agents install` as usual in an agents upgrade scenario

Expected result:
---------------
New agent is installed

Actual result:
-------------
An KeyError is thrown saying that the new agent properties are missing 'local' or 'install_method'

Why Propose Close?

None

Status

Assignee

Łukasz Maksymczuk

Reporter

Łukasz Maksymczuk

Labels

Severity

High

Target Version

4.4

Premium Only

no

Found In Version

4.3

QA Owner

Uri Wygodny

Bug Type

legacy bug

Customer Encountered

No

Customer Name

None

Release Notes

yes

Priority

None

Epic Link

Sprint

None

Fix versions

Priority

Unprioritized