To recreate this issue quickly, set consumer_timeout = 60000 in rabbitmq. This is equal to one minute (lowest value rabbit will support).
The following repo sync should take about 2 minutes. So with a one minute rabbitmq value, it should not finish in time and reproduce the bug. The activity should fail with "No transition: delivered=>delivered"
To recreate this issue quickly, set consumer_timeout = 60000 in rabbitmq. This is equal to one minute (lowest value rabbit will support).
The following repo sync should take about 2 minutes. So with a one minute rabbitmq value, it should not finish in time and reproduce the bug. The activity should fail with "No transition: delivered= >delivered"
landscape-api create-distribution ubuntu
landscape-api create-series --pockets security --components restricted --architectures i386 --gpg-key mirror-key --mirror-uri http:// archive. ubuntu. com/ubuntu/ --mirror-series focal focal ubuntu Request --limit 1
landscape-api sync-mirror-pocket security focal ubuntu --json
landscape-api get-activities --query type:SyncPocket
Then delete the series and try again with a better timeout, restart rabbit and it should work.
landscape-api remove-series focal ubuntu