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

Capsule sync: "Unable to update hosts ([RestClient::NotFound]: 404 Not Found) for Capsule"

XMLWordPrintable

    • 1
    • False
    • rubygem-smart_proxy_container_gateway-3.4.0
    • Important
    • Artemis Sprint 154
    • sat-artemis
    • None
    • None
    • None
    • None
    • Yes

      Description of problem:

      When I have a host registered with content source set to some capsule and I sync capsule content, the content gets synced but the task fails with:

       

      ERF12-0457 [ProxyAPI::ProxyException]: Unable to update hosts ([RestClient::NotFound]: 404 Not Found) for Capsule https://<CAPSULE_FQDN>:9090/container_gateway/update_hosts 

       

      The host is REXable and I wasn't able to find anything interesting in proxy log.

      How reproducible:

      Deterministic

      Is this issue a regression from an earlier version:

      Yes. Can't reproduce on Sat/Cap 6.17 but can reproduce on Sat/Cap stream.

      It may, or may not, have something to do with Content View Environments.

      Steps to Reproduce:

      1. Have a Satellite, have a Capsule, have some content, have a host consuming that content registered to the Satellite with content source set to that Capsule

      2. In WebUI: Infrastructure -> Capsules -> <select capsule> -> Sync

      3. Go to Monitoring -> Satellite Tasks -> Tasks and open the corresponding task

      Actual behavior:
      The content seems to be synced but the task failed with the abovementioned message

      Expected behavior:
      I don't know what "update hosts" means in this context but additionally to syncing content, it probably should also happen and succeed

              Unassigned Unassigned
              lhellebr@redhat.com Lukas Hellebrandt
              Samir Jha Samir Jha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: