Installation fails with global blueprint resource

Description

Steps to reproduce:
1. Upload global blueprint on admin
2. Create new user u1
3. Create new tenant and add u1 to the tenant
4. Connect to u1 and create new deployment
5. Install the blueprint from u1

An error occurred on the installation process:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2018-01-03 13:59:16.074 CFY <nodecellar> [nodejs_ym8b6r.create] Task failed 'script_runner.tasks.run' -> 404 (https://172.16.12.185:53333/resources/deployments/uri/nodecellar,https://172.16.12.185:53333/resources/blueprints/uri/nodecellar) : 404 (https://172.16.12.185:53333/resources/deployments/uri/nodecellar,https://172.16.12.185:53333/resources/blueprints/uri/nodecellar) : Resource not found: scripts/nodejs/install-nodejs.sh 2018-01-03 13:59:16.074 CFY <nodecellar> 'install' workflow execution failed: RuntimeError: Workflow failed: Task failed 'script_runner.tasks.run' -> 404 (https://172.16.12.185:53333/resources/deployments/uri/nodecellar,https://172.16.12.185:53333/resources/blueprints/uri/nodecellar) : 404 (https://172.16.12.185:53333/resources/deployments/uri/nodecellar,https://172.16.12.185:53333/resources/blueprints/uri/nodecellar) : Resource not found: scripts/nodejs/install-nodejs.sh Execution of workflow install for deployment nodecellar failed. [error=Traceback (most recent call last): File "/tmp/pip-build-HNXxch/cloudify-plugins-common/cloudify/dispatch.py", line 513, in _remote_workflow_child_thread File "/tmp/pip-build-HNXxch/cloudify-plugins-common/cloudify/dispatch.py", line 544, in _execute_workflow_function File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/workflows.py", line 27, in install node_instances=set(ctx.node_instances)) File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py", line 28, in install_node_instances processor.install() File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py", line 93, in install graph_finisher_func=self._finish_install) File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py", line 114, in _process_node_instances self.graph.execute() File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py", line 133, in execute self._handle_terminated_task(task) File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py", line 207, in _handle_terminated_task raise RuntimeError(message) RuntimeError: Workflow failed: Task failed 'script_runner.tasks.run' -> 404 (https://172.16.12.185:53333/resources/deployments/uri/nodecellar,https://172.16.12.185:53333/resources/blueprints/uri/nodecellar) : 404 (https://172.16.12.185:53333/resources/deployments/uri/nodecellar,https://172.16.12.185:53333/resources/blueprints/uri/nodecellar) : Resource not found: scripts/nodejs/install-nodejs.sh ] * Run 'cfy events list -e b1a9248f-ca4b-4e5a-bc3f-48b19dcca89b' to retrieve the execution's events/logs

Status

Assignee

Inbal Amrani

Reporter

Uri Wygodny

Labels

Severity

None

Bug Type

None

Target Version

None

Severity

None

Epic Link

Fix versions

Affects versions

4.3