murano-agent hangs if user makes changes in iptables in VM during execution plan execution

Bug #1556895 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Stan Lagun

Bug Description

Steps to reproduce:
1. Create murano app that has 2 agent calls in the class, note that first script ( that will be executed after first agent call ) should modify iptables.
2. Try to deploy it application

Observed result:
Deployment finishes with error that agent doesn't respond within some time.
Agent successfully gets first execution plan and execute it, but second call never happens.
Agent waits and gets nothing.

Behaviour is the similar to https://bugs.launchpad.net/murano/+bug/1476687

Stan Lagun (slagun)
Changed in murano:
importance: Undecided → High
milestone: none → mitaka-rc1
tags: added: kilo-backport-potential liberty-backport-potential
Changed in murano:
status: New → Confirmed
Stan Lagun (slagun)
no longer affects: murano/liberty
no longer affects: murano/kilo
no longer affects: murano
Stan Lagun (slagun)
no longer affects: murano/mitaka
Changed in murano:
importance: Undecided → High
assignee: nobody → Stan Lagun (slagun)
milestone: none → mitaka-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-agent (master)

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

Changed in murano:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-agent (master)

Reviewed: https://review.openstack.org/293742
Committed: https://git.openstack.org/cgit/openstack/murano-agent/commit/?id=d8ece93ac5b2ccf1faae9fc2ae8028a9742928c4
Submitter: Jenkins
Branch: master

commit d8ece93ac5b2ccf1faae9fc2ae8028a9742928c4
Author: Stan Lagun <email address hidden>
Date: Thu Mar 17 01:23:04 2016 +0300

    Adds RMQ reconnection on first timeout after EP run

    Execution plan can modify iptables rules causing
    RabbitMQ connection to break without agent
    being notified. Thus it will just not get all subsequent
    execution plans.

    This commit reestablishes connection upon first
    5-second timeout after last executed EP so it
    it broke the connection it will be fixed in
    5 seconds.

    Change-Id: I90c8e062be8528ffd81a295a209c3ec029fc2cd8
    Closes-Bug: #1556895

Changed in murano:
status: In Progress → Fix Released
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.