unable to redirect output to file using simple software configuration

Bug #1523915 reported by Dmytro Dovbii
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Dmytro Dovbii
Liberty
Fix Released
Medium
Ekaterina Chernova

Bug Description

1. Download simple such as Apache Http Server.
2. Modify code by adding following strings:
          - $linux: new(conf:Linux)
          - $linux.runCommand($.instance.agent, 'echo OK > /tmp/hello')
3. Save modifed package and upload it to murano
4. deploy.
5. Go to VM

You will see that /tmp/hello was not created.
Agent logs: http://paste.openstack.org/show/480998/

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/254762

Changed in murano:
assignee: nobody → Dmytro Dovbii (ddovbii)
status: New → In Progress
Dmytro Dovbii (ddovbii)
description: updated
Stan Lagun (slagun)
Changed in murano:
milestone: none → mitaka-2
importance: Undecided → Medium
tags: added: liberty-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

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

commit 2bd560aa7baf32b9bd4e3de9753a029610fda30a
Author: Dmytro Dovbii <email address hidden>
Date: Tue Dec 8 15:45:37 2015 +0200

    Fix Linux.runCommand method

    Added `eval` command to execution plan, which allows
    to correctly execute user input

    Change-Id: Ie0469a7a464b246dc76acf6259b12eeb9a126563
    Closes-Bug: #1523915

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

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

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

Reviewed: https://review.openstack.org/255810
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=31cfdbf492724d844581043c4278eafe5a05e88c
Submitter: Jenkins
Branch: stable/liberty

commit 31cfdbf492724d844581043c4278eafe5a05e88c
Author: Dmytro Dovbii <email address hidden>
Date: Tue Dec 8 15:45:37 2015 +0200

    Fix Linux.runCommand method

    Added `eval` command to execution plan, which allows
    to correctly execute user input

    Change-Id: Ie0469a7a464b246dc76acf6259b12eeb9a126563
    Closes-Bug: #1523915
    (cherry picked from commit 2bd560aa7baf32b9bd4e3de9753a029610fda30a)

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.