Ssh remote utils should be refactored

Bug #1498496 reported by Vitalii Gridnev
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Wishlist
Julian Sy

Bug Description

Sahara ssh remote utils should refactored to allow support of:

1) installing package depending on OS distribution;
2) checking installation of the package depending on OS distribution;
3) determining OS distribution

This will allow to avoid code duplication.

description: updated
tags: added: low-hanging-fruit
tags: removed: low-hanging-fruit
Changed in sahara:
importance: Undecided → Wishlist
tags: added: low-hanging-fruit
Changed in sahara:
status: New → Triaged
milestone: none → next
Julian Sy (syjulian)
Changed in sahara:
assignee: nobody → Julian (syjulian)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

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

commit fe7adb52cda101d8849e9b3dc08470a383a058cf
Author: Julian Sy <email address hidden>
Date: Sat Feb 13 07:01:48 2016 -0500

    Pkg installation to ssh_remote

    Added methods in InstanceInteropHelper class to help reduce
    duplicating code
    install_packages() installs a given list of packages
    update_repository() updates the package repository
    get_os_distrib() grabs the name of the OS Distro
    Also refactored NotImplementedException to be able to modify
    the exception message when passed in a message template
    also refactored NotImplementedException
    Modified

    Change-Id: I8381f7e6c088cb82837fdc873c78722989630b59
    Closes-Bug: #1498496

Changed in sahara:
status: In Progress → Fix Released
Changed in sahara:
milestone: next → newton-1
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/sahara 5.0.0.0b1

This issue was fixed in the openstack/sahara 5.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.