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

Internal error occurs when uploading a broken plugin wagon

Description

When trying to upload a plugin through the cli, but due to false urls both the wagon file and the yaml file that are created are invalid (not really wagon/yaml file contents), we expect to get an error, but instead of getting a valid and informational error, we simply get:

An error occurred on the server: 500: Internal Server Error

Steps to Reproduce

Environment:
OS (CLI), HA cluster, cloud provider
------------------------------------

Steps to reproduce:
------------------
1. cfy profiles use <manager ip> -u admin -p admin -t default_tenant
2. cfy plugins upload http://repository.cloudifysource.org/cloudify/wagons/cloudify-openstack-plugin/1.5.0/cloudify_openstack_plugin-1.5.0-py27-none-linux_x86_64-centos-Core.wgn -y http://www.getcloudify.org/spec/openstack-plugin/1.5.0/plugin.yaml

Expected result:
---------------
Some kind of informational error

Actual result:
-------------
An error occurred on the server: 500: Internal Server Error

Why Propose Close?

None

Status

Assignee

Ohad Baruch

Reporter

Yariv Hamamy

Labels

None

Severity

Low

Target Version

4.4

Premium Only

no

Found In Version

4.4

QA Owner

None

Bug Type

unknown

Customer Encountered

No

Customer Name

None

Release Notes

yes

Priority

None

Sprint

None

Priority

Unprioritized