Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-20454 tasks got stuck while running REX via mqtt mode
  3. SAT-22535

[QE] tasks got stuck while running REX via mqtt mode

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • 0

      from  https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/103#issuecomment-1764715852

      Prerequisites:

      1. have rex with pull mode
      2. set time to pickup to something reasonable (a couple of minutes)
      3. set mqtt_resend_interval to something low (~15 seconds)

      Steps to reproduce:

      1. Stop mosquitto
      2. Run a REX job
      3. Watch for traceback in proxy logs when it fails to connect to mosquitto
      4. Start mosquitto
      5. Wait

      Actual results: The job eventually fails due to not being able to deal with the failure observed in 3 and then times out because of prerequisite 2

      Expected results: The job tries to publish to mqtt every mqtt_resend_interval seconds until it succeeds, the whole job eventually succeeds

              pondrejk@redhat.com Peter Ondrejka
              pondrejk@redhat.com Peter Ondrejka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: