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

[RFE] Allow automatic assignment of subscriptions to hypervisors discovered by "virt-who"

XMLWordPrintable

    • None
    • Undefined
    • None
    • None

      Description of problem:

      virt-who is currently running against our vCenter and reporting some hundred ESXi machines. The hosts are discovered, but no subscriptions assigned.

      Ww need to assign each of these hypervisors the "datacenter"-subscription which allows unlimited guests by hand: open up Satellite UI, navigate to Content Hosts, select one, go to the Subscription tab, add the desired subscription. That works fine, but will not scale for hundreds of machines.

      Running an auto-attach bulk action does not lead to the expected result, as Katello thinks there is no product installed on the ESXi and thus no new sub is needed (technically correct, but nontheless it should get the unlimited-guests subscription.

      "hammer content-host update" does not allow to attach a subscription to a host
      "hammer subscription" does not allow that either
      Thus we have no way to do it in an easy for-loop in shell

      There is the API which we used for now, but is slow (takes around 13 minutes at the moment) and is uncomfortable and errorprone for own scripting.

      Version-Release number of selected component (if applicable):
      6.1.6

      How reproducible:
      always

      Steps to Reproduce:
      1. discover a number of hypervisors via virt-who

      Actual results:
      no method to have subscriptions assigned to these discovered hypervisors

      Expected results:
      there should be a way to assign subscriptions "in a bulk mode"

      Additional info:

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: