Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-27621

container_repository_name value is set for all types of repos in Satellite 6.16

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Moderate
    • None

      Description of problem:

      Few things were fixed from container_repo perspective via https://github.com/Katello/katello/pull/10995 but due to the same, now katello generates and adds the container_repository_name object value for any and every type of repository being created or enabled in satellite 6.16

       

      How reproducible:

      always

       

      Is this issue a regression from an earlier version:

      yes but non-blocker

       

      Steps to Reproduce:

      1. Install a Satellite 6.16 and import a manifest with some valid subs

      2. Enable any repo from Content --> Red Hat Repositories page 

       

      Actual behavior:

      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on name Red Hat Enterprise Linux 9 for x86_64 - BaseOS Kickstart 9.3
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on major 9
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on minor 9.3
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on gpg_key_id 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on arch noarch
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on label Red_Hat_Enterprise_Linux_9_for_x86_64_-_BaseOS_Kickstart_9_3
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on url https://cdn.redhat.com/content/dist/rhel9/9.3/x86_64/baseos/kickstart
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on unprotected true
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on content_type yum
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on product_id 226
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on checksum_type 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on pulp_scratchpad_checksum_type 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on docker_upstream_name 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on download_policy on_demand
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on verify_ssl_on_sync true
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on upstream_username 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on upstream_password 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on deb_releases 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on deb_components 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on deb_architectures 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on ssl_ca_cert_id 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on ssl_client_cert_id 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on ssl_client_key_id 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on ignorable_content 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on include_tags 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on description 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on ansible_collection_requirements 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on http_proxy_policy global_default_http_proxy
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on http_proxy_id 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on download_concurrency 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on os_versions 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on ansible_collection_auth_url 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on ansible_collection_auth_token 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on retain_package_versions_count 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on generic_remote_options 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on upstream_authentication_token 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on mirroring_policy mirror_complete
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on exclude_tags 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on metadata_expire 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on is_container_push false
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on container_push_name 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::RootRepository (34) create event on container_push_name_format 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on pulp_id d803eb1a-4e82-4dec-b22f-b284db505622
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on library_instance_id 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on content_view_version_id 1
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on relative_path RedHat/Library/content/dist/rhel9/9.3/x86_64/baseos/kickstart
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on environment_id 1
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on saved_checksum_type 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on distribution_version 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on distribution_arch 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on distribution_bootable 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on distribution_family 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on distribution_variant 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on container_repository_name redhat-red_hat_enterprise_linux_for_x86_64-red_hat_enterprise_linux_9_for_x86_64_baseos_kickstart_9_3
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on root_id 34
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on remote_href 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on publication_href 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on version_href 
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on last_contents_changed 1970-01-01 05:30:00 +0530
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on last_applicability_regen 1970-01-01 05:30:00 +0530
      2024-08-30T20:36:05 [I|aud|7edec30e] Katello::Repository (34) create event on last_indexed 1970-01-01 05:30:00 +0530
      2024-08-30T20:36:05 [I|bac|402e25b9] Task {label: Actions::Katello::RepositorySet::EnableRepository, id: 12b5e8fb-c52b-4bf0-8c05-04f001be478b, execution_plan_id: 9a03f135-3646-4097-b1b1-314c3057de76} state changed: stopped  result: success
       

       

      Expected behavior:

      container_repository_name should only be generated and assigned to the container type repos 

       

      Business Impact / Additional info:

      No immediate impact but a bug that should be fixed

            rhn-engineering-sajha Samir Jha
            rhn-support-saydas Sayan Das
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: