Application from the environment template cannot be deleted

Bug #1587809 reported by Henar Muñoz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Wishlist
Henar Muñoz

Bug Description

When trying to delete an application/service from a environment template, murano got blocked, and the service is not deleted

Tags: api
Changed in murano:
assignee: nobody → Henar Muñoz (henar-munozfrutos)
status: New → In Progress
Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

Would you please add some simple steps to reproduce?

Revision history for this message
Henar Muñoz (henar-munozfrutos) wrote :

You can create a template with a service:
POST http://murano:8081/v1/templates
    {
       "is_public": false,
       "services":
       [
           {
               "password": "",
               "instance":
               {
                   "image": "3a39252a-ec91-4b7e-a33c-a49f9791712c",
                   "flavor": "2",
                   "?":
                   {
                       "id": "6d45e761-a088-dd88-df2b-cba7ea02b60a",
                       "type": "io.murano.resources.MuranoInstance"
                   },
                   "name": "app"
               },
               "database": "",
               "?":
               {
                   "_4c13b58c4d99454fb65e73cb35e184f7":
                   {
                       "name": "MongoDB"
                   },
                   "id": "4c13b58c4d99454fb65e73cb35e184f7",
                   "type": "io.murano.databases.MongoDB"
               },
               "username": "",
               "name": "MongoDB"
           }
       ],
       "name": "template",
       "tenant_id": "00000000000000000000000000000081",
    }

Then you delete the service created
DELETE http://murano:8081/v1/templates/{template-id}/services/4c13b58c4d99454fb65e73cb35e184f7

The service 4c13b58c4d99454fb65e73cb35e184f7 is deleted in BD, but a response is not returned, and it got blocked

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/323798

tags: added: api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/323775
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=1adc59cef39a81cc9c943f907eae304537133659
Submitter: Jenkins
Branch: master

commit 1adc59cef39a81cc9c943f907eae304537133659
Author: visitor <email address hidden>
Date: Wed Jun 1 12:10:32 2016 +0200

    Fixing application template deletion

    Deleting an application/service in a environment template
    does not work and murano got blocked. This patch solves that
    bug.

    Closes-Bug: #1587809
    Change-Id: I871e3b0eca82c14354b9c7ff2abce90da7cb21b0

Changed in murano:
status: In Progress → Fix Released
Changed in murano:
milestone: none → newton-2
importance: Undecided → Medium
Changed in murano:
importance: Medium → Wishlist
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/murano 3.0.0.0b2

This issue was fixed in the openstack/murano 3.0.0.0b2 development milestone.

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.