Encapsulate some args passed to package managers

Bug #1492484 reported by Pete MacKinnon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trove Integration
Fix Released
Undecided
Juan Manuel Santos

Bug Description

With the refresh of Fedora support in redstack, there are a couple of places in the code that have benign but incorrect args passed to yum as the $PKG_MGR.

sudo -E DEBIAN_FRONTEND=noninteractive $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS install $@

"DEBIAN_FRONTEND=noninteractive" is meaningless to yum and should be encapsulated for clarity.

Changed in trove-integration:
status: New → Triaged
Changed in trove-integration:
assignee: nobody → khushbu (khushbuparakh)
Revision history for this message
Sonali Goyal (sonaligoyal654321) wrote :

khushbu I have got the fix to this. If you are not working on it, will it be fine if I can assign this bug to myself.

Revision history for this message
Khushbuparakh (khushbuparakh) wrote :

Heya, I am working on this weather you can tell me how you gonna approach this problem ?

Sent from my Cyanogen phone

On 21 Oct 2015 7:11 pm, Sonali Goyal <email address hidden> wrote:

khushbu I have got the fix to this. If you are not working on it, will
it be fine if I can assign this bug to myself.

--
You received this bug notification because you are a bug assignee.
https://bugs.launchpad.net/bugs/1492484

Title:
  Encapsulate some args passed to package managers

Status in Trove Integration:
  Triaged

Bug description:
  With the refresh of Fedora support in redstack, there are a couple of
  places in the code that have benign but incorrect args passed to yum
  as the $PKG_MGR.

  sudo -E DEBIAN_FRONTEND=noninteractive $HTTP_PROXY $PKG_MGR
  $PKG_GET_ARGS install $@

  "DEBIAN_FRONTEND=noninteractive" is meaningless to yum and should be
  encapsulated for clarity.

To manage notifications about this bug go to:
https://bugs.launchpad.net/trove-integration/+bug/1492484/+subscriptions

Changed in trove-integration:
assignee: khushbu (khushbuparakh) → nobody
assignee: nobody → Juan Manuel Santos (vicariousdm)
Changed in trove-integration:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove-integration (master)

Reviewed: https://review.openstack.org/268323
Committed: https://git.openstack.org/cgit/openstack/trove-integration/commit/?id=9baa084a93264f6772abdf7c4aefb13a12c92516
Submitter: Jenkins
Branch: master

commit 9baa084a93264f6772abdf7c4aefb13a12c92516
Author: Juan Manuel Santos <email address hidden>
Date: Fri Jan 15 17:25:31 2016 -0300

    Do not pass apt-related variables to dnf

    Since the redstack script now supports Fedora, adding the necessary
    checks in place so dnf does not receive apt variables.

    Change-Id: I79cc2c72e0dfd738c5bb83604fffa101f4821a0b
    Closes-bug: #1492484

Changed in trove-integration:
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.