Environment deployment fails when trying to deploy apps with specified dependencies from parent class

Bug #1604379 reported by Oleh Baran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Invalid
Medium
Unassigned

Bug Description

Steps to reproduce:
1. Upload Wordpress package with modified ui.yaml file (change database type to "com.example.databases.SqlDatabase" in Forms field)
2. Upload MySQL, PostgreSQL packages
3. Create environment
4. Add Wordpress app to environment, choose PostgreSQL as Database Server, choose ApachHttpServer as HTTP Server. Fill in all required fields
5. Deploy environment

Expected result:
Deployment should finish successfully

Actual result:
Deployment fails with error "Package "com.example.databases" is not found"

Revision history for this message
Oleh Baran (obaran) wrote :
Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

Do I understand it correctly that SQL Library package wasn't imported?

Revision history for this message
Oleh Baran (obaran) wrote :

Package was imported (it's name "com.example.databases.PostgreSql"), but engine can't find it, because looks for "com.example.databases"

Changed in murano:
milestone: none → newton-3
summary: - Environment deployment fails when tyring to deploy apps with specified
+ Environment deployment fails when trying to deploy apps with specified
dependencies from parent class
Changed in murano:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Tatiana Kholkina (tlashchova) wrote :

It is also necessary to change two more places in the WordPress package:

1. https://github.com/openstack/murano-apps/blob/master/WordPress/package/Classes/WordPress.yaml#L29
The contract should be SqlDatabase instead of MySql

2. https://github.com/openstack/murano-apps/blob/master/WordPress/package/manifest.yaml#L24
It should be just com.example.databases here.

After that it can be successfully deployed.

Revision history for this message
Alex Kholkin (akholkin) wrote :

it works, see the comment above.

Changed in murano:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.