Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4665

WebUI Not Reflecting Source Correctly

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0
    • cockpit-composer
    • None
    • None
    • rhel-sst-image-builder
    • ssg_front_door
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Pass
    • None
    • ---
    • None

      Description of problem:
      The WebUI doesn't accurately reflect the source created for Composer.

      For example, this source:
      [jswanson@josh-edge-device ~]$ sudo composer-cli sources info rhel-9-for-x86_64-rt-rpms
      check_gpg = true
      check_repogpg = false
      check_ssl = true
      gpgkeys = ["The following public key can be used to verify RPM packages built and\nsigned by Red Hat, Inc. This key is used for packages in Red Hat\nproducts shipped after November 2009, and for all updates to those\nproducts.\n\nQuestions about this key should be sent to security@redhat.com.\n\npub 4096R/FD431D51 2009-10-22 Red Hat, Inc. (release key 2) <security@redhat.com>\n\n-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQINBErgSTsBEACh2A4b0O9t+vzC9VrVtL1AKvUWi9OPCjkvR7Xd8DtJxeeMZ5eF\n0HtzIG58qDRybwUe89FZprB1ffuUKzdE+HcL3FbNWSSOXVjZIersdXyH3NvnLLLF\n0DNRB2ix3bXG9Rh/RXpFsNxDp2CEMdUvbYCzE79K1EnUTVh1L0Of023FtPSZXX0c\nu7Pb5DI5lX5YeoXO6RoodrIGYJsVBQWnrWw4xNTconUfNPk0EGZtEnzvH2zyPoJh\nXGF+Ncu9XwbalnYde10OCvSWAZ5zTCpoLMTvQjWpbCdWXJzCm6G+/hx9upke546H\n5IjtYm4dTIVTnc3wvDiODgBKRzOl9rEOCIgOuGtDxRxcQkjrC+xvg5Vkqn7vBUyW\n9pHedOU+PoF3DGOM+dqv+eNKBvh9YF9ugFAQBkcG7viZgvGEMGGUpzNgN7XnS1gj\n/DPo9mZESOYnKceve2tIC87p2hqjrxOHuI7fkZYeNIcAoa83rBltFXaBDYhWAKS1\nPcXS1/7JzP0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7xviU4C2+k\nc6X0u1CPHI1U4Q8prpNcfLsldaNYlsVZtUtYSHKPAUcswXWliW7QYjZ5tMSbu8jR\nOMOc3mZuf0fcVFNu8+XSpN7qLhRNcPv+FCNmk/wkaQfH4Pv+jVsOgHqkV3aLqJeN\nkNUnpyEKYkNqo7mNfNVWOcl+Z1KKKwSkIi3vg8maC7rODsy6IX+Y96M93sqYDQom\naaWue2gvw6thEoH4SaCrCL78mj2YFpeg1Oew4QwVcBnt68KOPfL9YyoOicNs4Vuu\nfb/vjU2ONPZAeepIKA8QxCETiryCcP43daqThvIgdbUIiWne3gae6eSj0EuUPoYe\nH5g2Lw0qdwbHIOxqp2kvN96Ii7s1DK3VyhMt/GSPCxRnDRJ8oQKJ2W/I1IT5VtiU\nzMjjq5JcYzRPzHDxfVzT9CLeU/0XQ+2OOUAiZKZ0dzSyyVn8xbpviT7iadvjlQX3\nCINaPB+d2Kxa6uFWh+ZYOLLAgZ9B8NKutUHpXN66YSfe79xFBSFWKkJ8cSIMk13/\nIfs7ApKlKCCRDpwoDqx/sjIaj1cpOfLHYjnefg==\n=UZd/\n-----END PGP PUBLIC KEY BLOCK-----\n"]
      id = "rhel-9-for-x86_64-rt-rpms"
      name = "rhel-9-for-x86_64-rt-rpms"
      rhsm = true <-- Here
      system = false
      type = "yum-baseurl"
      url = "https://cdn.redhat.com/content/dist/rhel9/$releasever/x86_64/rt/os"

      However the RHSM status is not reflected in the WebUI:
      https://ibb.co/3Mmw34p

      Version-Release number of selected component (if applicable):
      [jswanson@josh-edge-device ~]$ sudo yum list installed | grep 'composer|cockpit'
      cockpit.x86_64 286.1-1.el9 @rhel-9-for-x86_64-baseos-rpms
      cockpit-bridge.x86_64 286.1-1.el9 @rhel-9-for-x86_64-baseos-rpms
      cockpit-composer.noarch 45-1.el9_2 @rhel-9-for-x86_64-appstream-rpms
      cockpit-packagekit.noarch 286.1-1.el9 @rhel-9-for-x86_64-appstream-rpms
      cockpit-storaged.noarch 286.1-1.el9 @rhel-9-for-x86_64-appstream-rpms
      cockpit-system.noarch 286.1-1.el9 @rhel-9-for-x86_64-baseos-rpms
      cockpit-ws.x86_64 286.1-1.el9 @rhel-9-for-x86_64-baseos-rpms
      osbuild-composer.x86_64 76-2.el9_2.2 @rhel-9-for-x86_64-appstream-rpms
      osbuild-composer-core.x86_64 76-2.el9_2.2 @rhel-9-for-x86_64-appstream-rpms
      osbuild-composer-dnf-json.x86_64 76-2.el9_2.2 @rhel-9-for-x86_64-appstream-rpms
      osbuild-composer-worker.x86_64 76-2.el9_2.2 @rhel-9-for-x86_64-appstream-rpms
      subscription-manager-cockpit.noarch 6-1.el9 @rhel-9-for-x86_64-baseos-rpms

      How reproducible:
      Every time

      Steps to Reproduce:
      1. Install cockpit and image builder/composer
      2. Create a source via the CLI
      3. Check on source in the WebUI

      Actual results:
      Source in WebUI is not accurately displayed

      Expected results:
      Source is accurately displayed

      Additional info:

              jkozol1 Jacob Kozol (Inactive)
              jswanson_redhat Joshua Swanson
              Jacob Kozol Jacob Kozol (Inactive)
              Yi He Yi He
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: