Error while trying to add Package to Environment

Asked by JuhBass

Hi,

I´ve been encountering some problems with a simple package I´m trying to create. It is kind of a combination between ApacheHtpServer and MySql Database: the Package is supposed to deploy two virtual machines, one a HTTP Server and the other a MySql Database.

I got no error while uploading the archive, but when I try to do a Quick Deploy or add the application to an environment, it fails displaying the following error in a red pop-up:

"Danger: An error occurred. Please try again later. "

I´ve searched for more information about why is it failing in the logs in the Horizon Dashboard, but I haven´t found any trace to why is it failing. No error or warning can be found in ALL the logs available at Horizon Dashboard, so I have no ideia what should I do...

Could anyone help me find the source for those problems, please?

Link to download my Package (of course it doesn´t have any viruses): https://drive.google.com/file/d/0B2abGlZD0MBVbEdGLTVKSFg1cDQ/view?usp=sharing

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Murano Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aqsa Malik (aqsamm) said :
#1

For me it was occurring when I had some errors in the template. I was using a heat template, but I am not sure about the exact reason.
Maybe you could try rechecking for indentation in your templates, or the way you are calling the scripts and files.

Revision history for this message
Stan Lagun (slagun) said :
#2

You have a YAML syntax error in UI.yaml line 20. There is no space after the column:

ScannerError: while scanning a simple key
  in "<string>", line 20, column 7:
          name:generateHostname($.instance ...
          ^
could not found expected ':'
  in "<string>", line 21, column 7:

Can you help with this problem?

Provide an answer of your own, or ask JuhBass for more information if necessary.

To post a message you must log in.