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

Automatic host deletion task have duplicate host-id entries in the cloud url

XMLWordPrintable

    • None
    • None
    • None
    • Customer Reported
    • To Do

      Description of problem:
      Automatic host deletion task have duplicate host-id entries in the cloud url

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

      • Satellite 6.14.0 snap 19
      • rubygem-foreman_rh_cloud-8.0.51-1.el8sat.noarch

      How reproducible:

      • Always

      Steps to Reproduce:

      • Register content host with Satellite and insights
      • Go to configure > Inventory Upload and Perform inventory upload and sync inventory status
      • Enable "Automatic mismatch deletion" setting
      • Verify that host is present on cloud
      • Delete the content host from Satellite
      • Enable debug logging
      • force run the InventoryScheduledSync task using foreman-rake console
        ENV['SATELLITE_RH_CLOUD_REQUESTS_DELAY'] = '0'
        ForemanTasks.sync_task(InventorySync::Async::InventoryScheduledSync)
      • observe production.log

      Actual results:

      Expected results:

      • only one host-id/host is present in the url

      Additional info:

              Unassigned Unassigned
              jpathani Jagjit Pathania (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: