Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-4772

Quay builders fail to start when MINIMUM_RETRY_THRESHOLD key is empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • quay-3.7
    • documentation
    • 0

      This is more of an issue with the Quay documentation.

      The documentation provides a sample config that is not working [1]
      If you set an empty value to MINIMUM_RETRY_THRESHOLD key as reported in the sample config, Quay will report the following error:

      builder stdout | 2022-11-23 12:12:44,239 [60] [ERROR] [buildman.manager.ephemeral] Exception when scheduling job xxxxxxxxxxxxxxxxxxxxxxxxxxxx: '>' not supported between instances of 'NoneType' and 'int'
      builder stdout | Traceback (most recent call last):
      builder stdout |   File "/quay-registry/buildman/manager/ephemeral.py", line 915, in _work_checker
      builder stdout |     schedule_success, retry_timeout = self.schedule(build_id)
      builder stdout |   File "/quay-registry/buildman/manager/ephemeral.py", line 659, in schedule
      builder stdout |     if executor.minimum_retry_threshold > build_job.retries_remaining:
      builder stdout | TypeError: '>' not supported between instances of 'NoneType' and 'int' 

       

      We should clarify that is not possible to leave MINIMUM_RETRY_THRESHOLD with an empty value and also the sample config should reflect this.

      [1] https://access.redhat.com/documentation/en-us/red_hat_quay/3.7/html/use_red_hat_quay/red-hat-quay-builders-enhancement#red-hat-quay-setting-up-builders

            rhn-support-stevsmit Steven Smith
            rhn-support-ggeraci Giovanni Geraci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: