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

[RFE] Identify the capsule version with hammer command on Satellite.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Foreman Proxy
    • False
    • Hide

      None

      Show
      None
    • False
    • 0

      Problem Statement

      Unable to get the capsule version info, with hammer commands on Satellite.

      User Experience & Workflow

      With the current hammer command [hammer capsule list] , we can list the capsules with fields [ID, NAME, URL, FEATURES] and with the capsule info command we have the following fields displayed  [Id, Name, URL, Host count, Features, Locations, Organizations, Created at, Updated at] however there is no information displayed about the capsule version.

      Example Output:

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      # hammer capsule info --id 2

      Id:            2
      Name:          capsule.example.com 
      URL:           https://capsule.example.com:9090
      Host count:    0
      Features:      
       1) Name: Discovery
       2) Name: Container_Gateway
       3) Name: Script
       4) Name: Pulpcore
       5) Name: DNS
       6) Name: Templates
       7) Name: TFTP
       8) Name: DHCP
       9) Name: Logs
       10)Name: Registration
       11)Name: Dynflow
       12)Name: Ansible
      Locations:     
          GSS
      Organizations: 
          RedHat
      Created at:    2024/04/26 14:35:14
      Updated at:    2024/08/21 15:00:43

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      I see, we have an option '--include-version' available which is displaying the Features versions available on the capsule not the capsule version. 

       

      Requirements

      The capsule version info should be available with the hammer command or on the web UI which would help to easily identify the capsules which needs to be upgraded when there are multiple capsules available.

       

      Business Impact

      NA, currently the capsule version can be identified by running the following command on individual capsule.

      # rpm -q satellite-capsule 

              Unassigned Unassigned
              rhn-support-ankulkar Anand Kulkarni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: