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

New product certificate for RHEL8 #102

Closed ghost closed 3 years ago

ghost commented 3 years ago

In GitLab by @infinitewarp on Jul 19, 2019, 12:50

Summary

As a user of RHEL8, I want houndigrade to look for 479.pem so my images will be correctly identified.

Acceptance Criteria

Assumptions and Questions

ghost commented 3 years ago

In GitLab by @infinitewarp on Dec 23, 2019, 13:14

changed the description

ghost commented 3 years ago

In GitLab by @infinitewarp on Jan 6, 2020, 11:24

changed the description

ghost commented 3 years ago

In GitLab by @infinitewarp on Jan 6, 2020, 11:25

changed weight to 3

ghost commented 3 years ago

In GitLab by @werwty on Jan 10, 2020, 10:02

assigned to @werwty

ghost commented 3 years ago

In GitLab by @werwty on Jan 15, 2020, 11:10

mentioned in commit houndigrade-test-data@66591bc350379c4ef158141e06284d42b3defe8c

ghost commented 3 years ago

In GitLab by @werwty on Jan 15, 2020, 11:10

mentioned in merge request houndigrade-test-data!4

ghost commented 3 years ago

In GitLab by @werwty on Jan 16, 2020, 15:13

mentioned in commit 8e0a3b42a568773db04abc6d150aaced6a361273

ghost commented 3 years ago

In GitLab by @werwty on Jan 16, 2020, 15:15

mentioned in commit 7a0d576693364915b4cebd99d5072aa072c57566

ghost commented 3 years ago

In GitLab by @werwty on Jan 16, 2020, 15:16

mentioned in merge request !78

ghost commented 3 years ago

In GitLab by @werwty on Jan 20, 2020, 15:43

Tested in review and houndigrade code changes work:

$ http -a bizhang get https://qa.cloud.redhat.com/api/cloudigrade/v2/images/ X-4Scale-Env:ci X-4Scale-Branch:rhel8-houndigrade-test

...
        {
            "cloud_type": "aws",
            "content_object": {
                "aws_image_id": 43,
                "created_at": "2020-01-20T20:28:53.546952Z",
                "ec2_ami_id": "ami-0e4c7233d6c8552d8",
                "id": 43,
                "is_cloud_access": false,
                "is_marketplace": false,
                "owner_aws_account_id": "114204391493",
                "platform": "none",
                "region": "us-east-1",
                "updated_at": "2020-01-20T20:28:53.546967Z"
            },
            "created_at": "2020-01-20T20:28:53.588633Z",
            "image_id": 43,
            "inspection_json": "{\"/dev/xvdba\": {\"/dev/xvdba1\": {\"error\": \"mount: /mnt/inspect: wrong fs type, bad option, bad superblock on /dev/xvdba1, missing codepage or helper program, or other error.\\n\", \"facts\": {\"rhel_enabled_repos\": {}, \"rhel_product_certs\": {}, \"rhel_release_files\": {}, \"rhel_signed_packages\": {}}}, \"/dev/xvdba2\": {\"facts\": {\"os_version\": \"8.0\", \"rhel_enabled_repos\": {\"rhel_enabled_repos\": [{\"name\": \"Red Hat Enterprise Linux 8 for $basearch - AppStream from RHUI (RPMs)\", \"repo\": \"rhui-rhel-8-appstream-rhui-rpms\"}, {\"name\": \"Red Hat Update Infrastructure 3 Client Configuration Server 8\", \"repo\": \"rhui-client-config-server-8\"}, {\"name\": \"Red Hat Enterprise Linux 8 for $basearch - BaseOS from RHUI (RPMs)\", \"repo\": \"rhui-rhel-8-baseos-rhui-rpms\"}], \"rhel_found\": true}, \"rhel_product_certs\": {\"rhel_found\": true, \"rhel_pem_files\": [\"/mnt/inspect/etc/pki/product-default/479.pem\"]}, \"rhel_release_files\": {\"release_files\": [{\"rhel_found\": true, \"rhel_release_file\": \"/etc/os-release\", \"rhel_release_file_contents\": \"NAME=\\\"Red Hat Enterprise Linux\\\"\\nVERSION=\\\"8.0 (Ootpa)\\\"\\nID=\\\"rhel\\\"\\nID_LIKE=\\\"fedora\\\"\\nVERSION_ID=\\\"8.0\\\"\\nPLATFORM_ID=\\\"platform:el8\\\"\\nPRETTY_NAME=\\\"Red Hat Enterprise Linux 8.0 (Ootpa)\\\"\\nANSI_COLOR=\\\"0;31\\\"\\nCPE_NAME=\\\"cpe:/o:redhat:enterprise_linux:8.0:GA\\\"\\nHOME_URL=\\\"https://www.redhat.com/\\\"\\nBUG_REPORT_URL=\\\"https://bugzilla.redhat.com/\\\"\\n\\nREDHAT_BUGZILLA_PRODUCT=\\\"Red Hat Enterprise Linux 8\\\"\\nREDHAT_BUGZILLA_PRODUCT_VERSION=8.0\\nREDHAT_SUPPORT_PRODUCT=\\\"Red Hat Enterprise Linux\\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\\"8.0\\\"\\n\"}, {\"rhel_found\": true, \"rhel_release_file\": \"/etc/redhat-release\", \"rhel_release_file_contents\": \"Red Hat Enterprise Linux release 8.0 (Ootpa)\\n\"}, {\"rhel_found\": true, \"rhel_release_file\": \"/etc/system-release\", \"rhel_release_file_contents\": \"Red Hat Enterprise Linux release 8.0 (Ootpa)\\n\"}], \"rhel_found\": true}, \"rhel_signed_packages\": {\"rhel_found\": true, \"rhel_signed_package_count\": 401}, \"syspurpose_contents\": null}}}, \"rhel_enabled_repos_found\": true, \"rhel_found\": true, \"rhel_product_certs_found\": true, \"rhel_release_files_found\": true, \"rhel_signed_packages_found\": true, \"rhel_version\": \"8.0\", \"syspurpose\": null}",
            "is_encrypted": false,
            "name": "rhel8-cert-ami",
            "openshift": false,
            "openshift_challenged": false,
            "openshift_detected": false,
            "rhel": true,
            "rhel_challenged": false,
            "rhel_detected": true,
            "rhel_enabled_repos_found": true,
            "rhel_product_certs_found": true,
            "rhel_release_files_found": true,
            "rhel_signed_packages_found": true,
            "rhel_version": "8.0",
            "status": "inspected",
            "syspurpose": null,
            "updated_at": "2020-01-20T20:40:28.150057Z"
        },
...
ghost commented 3 years ago

In GitLab by @katherine-black on Jan 23, 2020, 10:15

marked the task Verify images with 479.pem are correctly identified as RHEL. as completed

ghost commented 3 years ago

In GitLab by @katherine-black on Jan 23, 2020, 10:15

Looks good, thanks!

ghost commented 3 years ago

In GitLab by @katherine-black on Jan 23, 2020, 10:15

closed