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

CLI installation from manager blueprint is broken

Description

When the cli node template in any manager blueprint is uncommented (and the typo restservice is changed to rest_service), the CLI installation on the manager's machine fails:

1 2 3 4 5 6 7 8 9 10 11 [10.155.28.150] out: Traceback (most recent call last): [10.155.28.150] out: File "/tmp/cloudify-ctx/ctx", line 139, in <module> [10.155.28.150] out: main() [10.155.28.150] out: File "/tmp/cloudify-ctx/ctx", line 128, in main [10.155.28.150] out: args.timeout) [10.155.28.150] out: File "/tmp/cloudify-ctx/ctx", line 93, in client_req [10.155.28.150] out: ex_traceback) [10.155.28.150] out: __main__.RequestError: (RequestError(...), "IOError: [Errno 2] No such file or directory: u'/opt/xyz/bootstrap/.cloudify/bootstrap/manager/resources/components/utils'") [10.155.28.150] out: /tmp/cloudify-ctx/scripts/tmpPtKMyU-create.sh-34IMWDYI: line 3: .: filename argument required [10.155.28.150] out: .: usage: . filename [arguments] [10.155.28.150] out:

The reason is probably this:

https://github.com/cloudify-cosmo/cloudify-manager-blueprints/blob/3.4.0.2/components/cli/scripts/create.sh#L3

Referring to components/utils, which doesn't exist anymore as utils has been pythonized into utils.py.

Status

Assignee

Unassigned

Reporter

Isaac Shabtay

Severity

None

Bug Type

None

Target Version

None

Severity

None

Fix versions

Affects versions

3.4