13 Commits

Author SHA1 Message Date
Andrii Nikitin
9e9479d6b0 Fix MQ timeouts in rabbit-repoid
AMQP Server on practice sometimes closes connection when update_repo()
is busy in gocd/rabbit-repoid.py.
Doing the same work just in still_alive() seems be sufficient and
fixes the same problem in local environment.
2020-10-07 12:51:04 +02:00
Andrii Nikitin
667235b65e Do not try to push empty changes in rabbit-repoid 2020-10-07 08:10:30 +02:00
Andrii Nikitin
2b3154f983 Check git errors in rabbit-repoid 2020-10-06 15:24:34 +02:00
Stephan Kulow
236cf1ab38 Split the work done in rabbit-openqa into smaller chunks
As the rabbitmq heartbeart interval is a hard limit, we need to make sure
we're not overloading the time in between
2020-03-13 15:20:01 +01:00
Stephan Kulow
3cd2623618 Stop repo monitor earlier: 30 hours might be a little excessive 2020-03-06 09:39:02 +01:00
Stephan Kulow
bef4dc3083 Let the rabbit monitors run for 3 hours instead of one
This makes the startup time easier to justify
2020-03-04 13:00:43 +01:00
Stephan Kulow
6e84bae03a Make rabbit-repoid more stable
Instead of fetching all OBS repos in one loop and running into a timeout,
slice this into 25 repos every 5 seconds until it's done
2020-03-04 12:58:52 +01:00
Jimmy Berry
b68a46d352 Move PubSubConsumer to osclib.PubSubConsumer to allow for proper import. 2019-09-11 18:55:22 -05:00
Stephan Kulow
e4215b5b83 Take pkglistgen from git - avoid deployment loop 2019-05-30 09:26:44 +02:00
Stephan Kulow
a73054b189 Fix rabbitmq acknowledge: first ACK then check the content 2019-05-20 11:43:25 +02:00
Stephan Kulow
6297dacf8b Acknowledge the rabbitmq message
We need to ACK the rabbitmq message for the server to erase it in the
queue - otherwise they are piling up endlessly. As we quit the services
every hour the queue is reset at that point, but that still makes monitoring
the server quite hard as the queues tend to be full all the time
2019-05-18 20:57:05 +02:00
Stephan Kulow
9858031bed Run the monitors in python3 containers 2019-05-15 20:32:50 +02:00
Stephan Kulow
67df42770d No longer package rabbit-openqa but add gocd config for it 2019-03-20 06:47:37 +01:00