[Kubernetes] Murano environment with k8s hangs on delete

Bug #1504623 reported by Victor Ryzhenkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
murano-apps
Fix Released
High
Stan Lagun
Liberty
Fix Released
High
Stan Lagun
Mitaka
Fix Released
High
Stan Lagun

Bug Description

Using latest k8s apps.

1. Deploy k8s cluster
2. Wait for result
3. Delete an environment

Expected:
App deleted successfully

Actual:
Stack successfully deleted, but environment hanging in DELETION status

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

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

Changed in murano-apps:
assignee: nobody → Stan Lagun (slagun)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-apps (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/233298

Changed in murano-apps:
assignee: Stan Lagun (slagun) → Serg Melikyan (smelikyan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-apps (master)

Reviewed: https://review.openstack.org/233297
Committed: https://git.openstack.org/cgit/openstack/murano-apps/commit/?id=dabb1ee6061858d456016511e1524af69ebc43db
Submitter: Jenkins
Branch: master

commit dabb1ee6061858d456016511e1524af69ebc43db
Author: Stan Lagun <email address hidden>
Date: Sat Oct 10 01:41:09 2015 +0300

    [Docker] Do not try to delete container on destroyed host

    When Environment get deleted both Docker/k8s host and
    Docker applications get deleted. So it is possible that host
    will try to delete container from an Instance that was already
    destroyed. Attempt to send commands to such instance
    will hang until timeout because there is no more agent
    exist on the other side.

    Change-Id: Ia6e8064ae50c24ce595ed08e446ed45b96b4a330
    Closes-Bug: #1504623
    Depends-On: I298f3f079a153ef87ed7213b7f1432c9e5e4b4b6

Changed in murano-apps:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-apps (stable/liberty)

Reviewed: https://review.openstack.org/233298
Committed: https://git.openstack.org/cgit/openstack/murano-apps/commit/?id=dcf1f0672f2b1e1f70e4d8a93505ed084e7e9b65
Submitter: Jenkins
Branch: stable/liberty

commit dcf1f0672f2b1e1f70e4d8a93505ed084e7e9b65
Author: Stan Lagun <email address hidden>
Date: Sat Oct 10 01:41:09 2015 +0300

    [Docker] Do not try to delete container on destroyed host

    When Environment get deleted both Docker/k8s host and
    Docker applications get deleted. So it is possible that host
    will try to delete container from an Instance that was already
    destroyed. Attempt to send commands to such instance
    will hang until timeout because there is no more agent
    exist on the other side.

    Change-Id: Ia6e8064ae50c24ce595ed08e446ed45b96b4a330
    Closes-Bug: #1504623
    Depends-On: I298f3f079a153ef87ed7213b7f1432c9e5e4b4b6

Changed in murano-apps:
status: Fix Committed → Fix Released
Changed in murano-apps:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-apps (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/320551

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-apps (stable/kilo)

Reviewed: https://review.openstack.org/320551
Committed: https://git.openstack.org/cgit/openstack/murano-apps/commit/?id=a1a0fcd6793112ecb29b34a855c159bfa6f23d8d
Submitter: Jenkins
Branch: stable/kilo

commit a1a0fcd6793112ecb29b34a855c159bfa6f23d8d
Author: Stan Lagun <email address hidden>
Date: Sat Oct 10 01:41:09 2015 +0300

    [Docker] Do not try to delete container on destroyed host

    When Environment get deleted both Docker/k8s host and
    Docker applications get deleted. So it is possible that host
    will try to delete container from an Instance that was already
    destroyed. Attempt to send commands to such instance
    will hang until timeout because there is no more agent
    exist on the other side.

    Change-Id: Ia6e8064ae50c24ce595ed08e446ed45b96b4a330
    Closes-Bug: #1504623
    Depends-On: I298f3f079a153ef87ed7213b7f1432c9e5e4b4b6
    (cherry picked from commit dcf1f0672f2b1e1f70e4d8a93505ed084e7e9b65)

tags: added: in-stable-kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-apps 1.0.1

This issue was fixed in the openstack/murano-apps 1.0.1 release.

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.