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

After copy yaml url path to blueprint yaml, upload blueprint fails.

Description

After copy yaml url path to blueprint yaml, upload blueprint fails.
The only way that the blueprint will upload is to copy the url without set a “platform”.

Prerequisites:

  • Cloudify premium CLI edition installed version 4.3

  • Cloudify manager v4.3 from image

Steps:

  1. Copy "Hello-world" blueprint to the manager- sudo scp -i <keypair> <blueprint-file-path> user_name@<ip>/path

  2. Connect to manager- ssh <user_name@ip address> -i <key path>

  3. Unzip "Hello-world" file- sudo yum install unzip unzip <blueprint-file-name>

  4. Upload openstack plugin- cfy plu upload http://repository.cloudifysource.org/cloudify/wagons/cloudify-openstack-plugin/2.0.1/cloudify_openstack_plugin-2.0.1-py27-none-linux_x86_64-centos-Core.wgn -y http://www.getcloudify.org/spec/openstack-plugin/2.0.1/plugin.yaml

  5. Verity the plugin has been upload and copy the “yaml_url_path”- cfy plugin list

  6. Edit openstack-blueprint.yaml and paste the “yaml_url_path” instead of the exist import to plugin yaml path- sudo vi <blueprint-file-name(hello-world)/openstack-blueprint.yaml> instead of: http://www.getcloudify.org/spec/openstack-plugin/2.0.1/plugin.yaml paste: plugin:cloudify-openstack-plugin?version=2.0.1&platform=linux_x86_64&distribution=centos

  7. Upload openStack blueprint cfy blueprints upload <path> -n <blueprint_name>

Expected result:
The blueprint has been upload.

Actually result:
The blueprint hasn’t been upload and you will get an error:
Invalid blueprint - Plugin cloudify-openstack-plugin (query: {'distribution': ['centos'], 'package_name': 'cloudify-openstack-plugin', 'package_version': ['2.0.1'], 'supported_platform' ['linux_x86_64']}) not found

Status

Assignee

Yariv Hamamy

Reporter

Lital Hamami

Labels

None

Severity

None

Bug Type

None

Target Version

None

Severity

None

Fix versions

Affects versions

4.3