Methods of io.murano.configuration.Linux cannot be run in parallel

Bug #1611332 reported by Alexander Tivelkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Alexander Tivelkov

Bug Description

Helpers class 'Linux' in io.murano.configuration namespace has been introuced to help with software configuration on Linux nodes. The class is static and is intended to be used in VM-agnostic context.
However, two concurrent executions of runCommand or putFile cannot be run even on different VMs. This happens dues to murano's default method synchronization logic.

Changed in murano:
assignee: nobody → Alexander Tivelkov (ativelkov)
importance: Undecided → High
status: New → Confirmed
milestone: none → newton-3
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/352856

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

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

commit da7e9ea8cd4f5b2bc9496a8180cf1948bcd1aee4
Author: Alexander Tivelkov <email address hidden>
Date: Tue Aug 9 14:17:38 2016 +0300

    Linux.runCommand() and Linux.putFile() are now non-synchronized

    Helper methods of Linux class were always synchronized and thus could
    not be run concurrently even on different VMs/agents.

    This has been addressed by applying a properly parametrized
    io.murano.metadata.engine.Synchronize meta attribute to these methods,
    so now they are synchronized only if executed for the same agent
    arguments.

    Change-Id: Ibf129316a092ba0231cd5445b688d6d5689c2256
    Closes-bug: #1611332

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 3.0.0.0b3

This issue was fixed in the openstack/murano 3.0.0.0b3 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.