Project

General

Profile

Actions

Feature #6225

open

create a helper module to determine remote distro metadata

Added by Alfredo Deza over 10 years ago. Updated over 4 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

We currently do a wealth of checks for different metadata of a distro and do all kinds of different things with that information like
building the gitbuilder url.

This needs to be centralized and reused all over teuthology as we are currently repeating the same remote calls to hosts to determine the
information, and while doing that repetition we are introducing bugs that are not easy to fix because the repetition of the calls in different
places makes it difficult to do so.

This ticket should address the need for a module/object that does remote host recognition, gathering metadata (distro name, version, architecture)
and a gitbuilder object that replaces the `_get_base_urls` and other similar functions in `task/install.py`

Below is the cleanup comment that explains the reasoning just for that function:

    # XXX CLEANUP
    # This helper function is in *dire* need of cleaning up What is `relval`?
    # Why so many `dist_` prepending keys?
    # The below list is an unfortunate usage of variables that confuse and make
    # it harder to read/understand/improve anything here:
    # dist, distro, distro_release, dist_release, dist_name, distri
Actions #1

Updated by Zack Cerza over 10 years ago

Completely agree that we need this.

Actions #2

Updated by Ian Colle over 10 years ago

  • Tracker changed from Bug to Feature
Actions #3

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF