Use run_as_root instead of sudo to execute_command

Bug #1530284 reported by javeme
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Low
Unassigned

Bug Description

Use run_as_root instead of sudo to execute_command, that we will benefit from the underlying improvement.

https://github.com/openstack/sahara/blob/master/sahara/plugins/ambari/deploy.py#L130

javeme (javaloveme)
description: updated
Changed in sahara:
importance: Undecided → Low
milestone: none → mitaka-2
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/262119
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=15db5603cbd65f8a54bc9b75ff3195d8fc48ff28
Submitter: Jenkins
Branch: master

commit 15db5603cbd65f8a54bc9b75ff3195d8fc48ff28
Author: Javeme <email address hidden>
Date: Mon Dec 28 20:46:04 2015 +0800

    Use run_as_root instead of sudo to execute_command

    * use run_as_root=True instead of 'sudo' when calling execute_command
    * format multi-line string value of init_db_template

    Closes-Bug: #1530284
    Change-Id: I8a3b6a069693abf0b3b726c9e221c378f350e19d

Changed in sahara:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/sahara 4.0.0.0b2

This issue was fixed in the openstack/sahara 4.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.