cloudigrade / houndigrade

Tool for inspecting mounted volumes for presence of Red Hat software
GNU General Public License v3.0
1 stars 2 forks source link

Track enabled DNF repos for RHEL #112

Closed ghost closed 3 years ago

ghost commented 3 years ago

In GitLab by @infinitewarp on Sep 18, 2020, 14:35

Summary

As a RHEL 8 user, I want houndigrade to correctly identify that I have enabled DNF repos. Currently, houndigrade only looks for yum repos, but yum is only relevant for RHEL7 and older.

Acceptance Criteria

Assumptions and Questions

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 1, 2020, 14:38

changed the description

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 1, 2020, 14:38

changed the description

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 1, 2020, 14:39

changed the description

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 8, 2020, 11:16

changed the description

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 8, 2020, 11:18

changed the description

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 8, 2020, 11:19

changed the description

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 8, 2020, 11:19

changed the description

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 8, 2020, 11:26

changed the description

ghost commented 3 years ago

In GitLab by @werwty on Oct 26, 2020, 15:09

assigned to @werwty

ghost commented 3 years ago

In GitLab by @werwty on Oct 27, 2020, 09:46

unassigned @werwty

ghost commented 3 years ago

In GitLab by @werwty on Oct 28, 2020, 15:04

assigned to @werwty

ghost commented 3 years ago

In GitLab by @werwty on Oct 29, 2020, 13:19

unassigned @werwty

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 29, 2020, 13:22

assigned to @infinitewarp

ghost commented 3 years ago

In GitLab by @infinitewarp on Oct 29, 2020, 13:41

unassigned @infinitewarp

ghost commented 3 years ago

In GitLab by @katherine-black on Nov 3, 2020, 10:44

assigned to @katherine-black

ghost commented 3 years ago

In GitLab by @katherine-black on Nov 10, 2020, 13:16

mentioned in merge request houndigrade-test-data!5

ghost commented 3 years ago

In GitLab by @katherine-black on Nov 10, 2020, 13:19

mentioned in merge request !96

ghost commented 3 years ago

In GitLab by @infinitewarp on Nov 23, 2020, 13:27

mentioned in merge request houndigrade-test-data!6

ghost commented 3 years ago

In GitLab by @pakamble on Dec 3, 2020, 01:03

assigned to @pakamble

ghost commented 3 years ago

In GitLab by @pakamble on Dec 3, 2020, 08:50

I have manually verified this issue by creating AWS image with enabling the DNF repository. Then verified the inspection json and ensure that it has included the DNF enabled repos.

  1. By using following command i have enabled the 2 DNF repos.

    $ sudo dnf config-manager --set-enabled  rhui-codeready-builder-for-rhel-8-rhui-source-rpms
    $ sudo dnf config-manager --set-enabled  rhui-codeready-builder-for-rhel-8-rhui-rpms
  2. Then created a new image from that instance and again created one instance from that image.

  3. Added Sources for cloudmeter.

  4. Once image inspection is completed then verified the inspection json data and ensure that it has included the DNF enabled repos.

{
  "rhel_enabled_repos":[
    {
      "repo":"rhui-rhel-8-baseos-rhui-rpms",
      "name":"Red Hat Enterprise Linux 8 for $basearch - BaseOS from RHUI (RPMs)"
    },
    {
      "repo":"rhui-rhel-8-appstream-rhui-rpms",
      "name":"Red Hat Enterprise Linux 8 for $basearch - AppStream from RHUI (RPMs)"
    },
    {
      "repo":"rhui-client-config-server-8",
      "name":"Red Hat Update Infrastructure 3 Client Configuration Server 8"
    },
    {
      "repo":"rhui-codeready-builder-for-rhel-8-rhui-rpms",
      "name":"Red Hat CodeReady Linux Builder for RHEL 8 $basearch (RPMs) from RHUI"
    },
    {
      "repo":"rhui-codeready-builder-for-rhel-8-rhui-source-rpms",
      "name":"Red Hat CodeReady Linux Builder for RHEL 8 $basearch (Source RPMs) from RHUI"
    }
  ]
}
ghost commented 3 years ago

In GitLab by @pakamble on Dec 4, 2020, 08:10

Following Test case has automated to verify this story. DEMO: https://asciinema.org/a/QRu1s5lKUbrIBUqwBBuA6k0L9