[murano-pkg-check] check of package with no manifest.yaml shows unclear error message

Bug #1631894 reported by Alex Kholkin on 2016-10-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Medium
Krzysztof Szukiełojć

Bug Description

Bug description:
Murano-pkg-check works incorrect in case of checking an app without manifest.yaml
The error message tells that there is error in loading package instead of error about package structure

Steps to reproduce:
1) Install murano-pkg-check
2) create an app with no manifest.yaml inside
3) use command "murano-pkg-check yourapp.zip" to check the app

Actual results:
Can not load package: "yourapp.zip"

Expected results:
There will be a message about an error that there is no manifest.yaml file in the app

Changed in murano:
milestone: none → ocata-1

Technically speaking it is not a bug... Not every zip file can be treated like murano package. So, message 'Can not load package: "yourapp.zip"' is absolutely correct, because murano-pkg-check tool can not load specified package

summary: - [murano-pkg-check] app with no manifest.yaml will not be checked correct
+ [murano-pkg-check] check of package with no manifest.yaml shows unclear
+ error message
Alex Kholkin (akholkin) wrote :

I got you, but in this case user has no idea what is wrong with his package. So he create correct app and can only forget to add manifest.yaml to the zip file and will have no clue what to do with such error from murano-pkg-check

if you are going to upload such package via muranodashboard you will see such error:
Error: Package creation failed.Reason: "There is no item named 'manifest.yaml' in the archive"

Gokul (gokul-venkatachalam) wrote :

Me too face the same issue..Someone help me on this?

Changed in murano:
milestone: 3.1.0 → pike-2
Changed in murano:
milestone: pike-2 → pike-rc1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers