Deployment proxy reading incorrect workflow

Description

The deployment proxy seems to be able to detect the wrong execution for a given deployment, and thus sometimes will not read the outputs.
In this case, it detected:
blueprint: {'application_file_name': 'simple-blueprint.yaml', 'id': 'sw-test', 'blueprint_archive': 'https://github.com/cloudify-examples/openstack-example-network/archive/master.zip'}
executions: {'workflow_id': 'uninstall'}
deployment: {'outputs': {}, 'id': 'sw-test'}

However, there were outputs:

  • "public_network_router":
    Description:
    Value: 99d6802a-d3ec-41cd-8997-64c43cfc960d

  • "private_subnet":
    Description:
    Value: 7f76023b-d597-49ad-a74a-d57f99815038

  • "public_network":
    Description:
    Value: b8577d36-d277-4972-ac24-c10ecfa56f9f

  • "private_network":
    Description:
    Value: 1e6f6420-e3ec-4d52-9d0a-fdf2b61792de

  • "external_network":
    Description:
    Value: dda079ce-12cf-4309-879a-8e67aec94de4

  • "public_subnet":
    Description:
    Value: 1ca33b36-f716-4197-b633-bd0790e17cef

Additionally, the workflow_id detected was not the most recent one:

This was produced using:
First blueprint (proxy target): https://github.com/cloudify-examples/openstack-example-network/blob/master/simple-blueprint.yaml
Second blueprint (uses proxy): https://github.com/cloudify-examples/nodecellar-auto-scale-auto-heal-blueprint/blob/4.3-tests/openstack.yaml
Plugins: https://github.com/cloudify-incubator/cloudify-utilities-plugin/releases/download/1.4.5/cloudify_utilities_plugin-1.4.5-py27-none-linux_x86_64-centos-Core.wgn, http://repository.cloudifysource.org/cloudify/wagons/cloudify-openstack-plugin/2.6.0/cloudify_openstack_plugin-2.6.0-py27-none-linux_x86_64-centos-Core.wgn

For the first blueprint:
0. Create the deployment.
1. Start an install workflow, then cancel it.
2. Run an install workflow.
3. Run an uninstall workflow, ignoring failures, twice.
4. Run an install workflow.
5. Confirm that it is installed and showing outputs.

For the second blueprint:
0. Create the deployment.
1. Run an install workflow, it should fail due to : Task failed 'neutron_plugin.network.create' -> Can't set 'use_external_resource' to True without supplying a value for 'resource_id'

Assignee

Unassigned

Reporter

geokala

Labels

Bug Type

None

Target Version

None

Severity

None

Fix versions

Affects versions

Configure