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

Provisioning a host on N-1 Satellite 6.10 and Capsule 6.9 fails due to path change from `repos` to `content`

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.11.z, 6.10.z
    • 6.10.7
    • Hosts
    • Important
    • None

      Description of problem:

      Version-Release number of selected component (if applicable):
      Satellite 6.10.7, Capsule 6.9.9

      How reproducible:
      100%, Library environment

      Steps to Reproduce:
      1. Fresh Satellite 6.9 + Caspule 6.9, incl. provisioning setup
      2. Synchronize Kickstart and RHEL repository on Satellite
      3. Synchronize repositories to Capsule
      4. Upgrade Satellite to 6.10
      5. Try to provision a host through the Capsule

      Actual results:
      Host being provisioned fails to fetch the squashfs.img
      ~~~
      dracut-initqueue[733]: curl: (22) The requested URL returned error: 404 Not Found
      ~~~

      Expected results:
      Provosioning goes through without any issues, and the template renders depending on the capsule providing the actual content.

      Additional info:
      Workaround needed. Replacing the string works, but needs to be manually selected depending on the Satellite/Capsule used for provisioning.
      ~~~
      <%= "#

      {@host.url_for_boot(:kernel).gsub('pulp/content', 'pulp/repos')}

      " %>
      ~~~

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

              Created:
              Updated:
              Resolved: