sync-mirror-pocket fails after 30 minutes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When a sync mirror command is issued and takes longer that 30 minutes to finish (which is not strange when landscape is installed for the first time) the activity shows as failed with result text "No transition: delivered=
In the job-handler.log file we can see this error:
'PRECONDITION_
so this seems to be by design. Furthermore, after this error is shown, reprepro continues running and eventually the sync process finishes successfully even if it is shown as failed in Landscape.
In conclusion I think that 30 minutes is not long enough for this timeout as sync activities can reasonably take several hours in case of large repositories and not super fast network connections.
information type: | Proprietary → Public |
Changed in landscape: | |
status: | New → Confirmed |
I am running into this issue as well with the initial sync with larger repos.
For example when syncing the release of bionic.
Issuing the command:
landscape-api sync-mirror-pocket release bionic ubuntu
fails after 30 min: error log same as Jorge.
(406, 'PRECONDITION_ FAILED - delivery acknowledgement on channel 1 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more', 0, 0) content = None
I do not see in the docs to configure this fail, is there a workaround to change the value?