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

Build foremanctl in Satellite repositories

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • 6.19.0
    • None
    • Installation
    • None
    • package foremanctl downstream
    • To Do
    • SAT-23140 - Run Satellite's application services as containers
    • False
    • sat-jpl
    • None
    • None
    • None

      Goal:

      The foremanctl project is built from https://github.com/theforeman/foremanctl and packaged into an RPM. Today that happens via COPR, but there is a desire to package this and its dependency python-obsah (https://github.com/theforeman/obsah) into foreman-packaging in SAT-38733. Then this needs to become available to downstream customers.

      To make testing easier, robottelo also needs to be taught about foremanctl because the satellite-deploy step heavily relies on the current installer. It's likely that initially it needs to support both the current satellite-installer and foremanctl as we migrate.

      Acceptance Criteria:

      • Build foremanctl and its dependencies upstream into foreman-packaging
      • Build foremanctl in downstream so customers can consume this
      • The configuration points to the right downstream images
      • Some verification of the build is verified. For example, by running the test suite. This should act as a health check that the build is sane.

      Open questions:

      • Decide on which Python to use: default RHEL 9 Python 3.9 or the version we ship today (3.12). This affects how Ansible and obsah will be built and impacts upgrades. SAT-40361 is open about this.

      Implementation hints:

      The containers are configured in https://github.com/theforeman/foremanctl/blob/master/src/vars/images.yml and those point to upstream versions. They somehow need to be translated into the downstream equivalents.

              pcreech@redhat.com Patrick Creech
              ekohlvan@redhat.com Ewoud Kohl van Wijngaarden
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: