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

Incorrect agent connectivity details ends up in unhelpful message being created

Description

The simplest scenario: wrong user provided in agent_config.

This ends up with the agent installation forever retrying, with the following message:

Task failed 'cloudify_agent.installer.operations.create' -> 'NoneType' object has no attribute 'home_dir'

This happens because this line:

https://github.com/cloudify-cosmo/cloudify-agent/blob/master/cloudify_agent/installer/config/installer_config.py#L79

— returns a ctx.operation.retry, which ends up being received here:

https://github.com/cloudify-cosmo/cloudify-agent/blob/master/cloudify_agent/installer/config/agent_config.py#L56

— and from here on, absolutely nothing that happens makes sense.

Status

Assignee

Pavel Brodsky

Reporter

Isaac Shabtay

Labels

None

Severity

None

Bug Type

None

Target Version

None

Severity

None

Fix versions

Affects versions

4.1.1.1