Page MenuHomeSoftware Heritage
Feed Advanced Search

Nov 12 2019

anlambert closed T2080: API servers crash on startup in docker as Resolved by committing rCDFD8ecaa9b62838: Dockerfile: Pin gunicorn version.
Nov 12 2019, 2:57 PM · Docker environment
anlambert added a comment to T2080: API servers crash on startup in docker.

Indeed, the Dockerfile fix is much simpler. Let's hope they will fix the issue upstream (not sure regarding this comment).

Nov 12 2019, 2:36 PM · Docker environment
olasd added a comment to T2080: API servers crash on startup in docker.

We've migrated away from doing that ages ago in favor of app factories, and I'd very much prefer we avoid introducing this again: Side effects such as reading configuration files unconditionally running in importable modules are very bad form.

Nov 12 2019, 2:33 PM · Docker environment
anlambert added a comment to T2080: API servers crash on startup in docker.

Seems the simplest solution is to instantiate the wsgi application in swh.*.api.server modules.

Nov 12 2019, 2:30 PM · Docker environment
olasd added a comment to T2080: API servers crash on startup in docker.

Ah, I guess that's the opposite then.

Nov 12 2019, 2:28 PM · Docker environment
olasd added a comment to T2080: API servers crash on startup in docker.

Works fine for me? Are you sure your docker image is up to date?

Nov 12 2019, 2:28 PM · Docker environment
anlambert added a comment to T2080: API servers crash on startup in docker.

I was also looking at it.

Nov 12 2019, 2:25 PM · Docker environment
vlorentz updated the task description for T2080: API servers crash on startup in docker.
Nov 12 2019, 2:23 PM · Docker environment
vlorentz updated the task description for T2080: API servers crash on startup in docker.
Nov 12 2019, 2:23 PM · Docker environment
vlorentz triaged T2080: API servers crash on startup in docker as High priority.
Nov 12 2019, 2:18 PM · Docker environment

Sep 6 2019

ardumont closed T1985: swh-docker-dev: `load-tar` tasks are never executed as Resolved.
Sep 6 2019, 9:48 AM · Docker environment

Sep 5 2019

lewo added a comment to T1985: swh-docker-dev: `load-tar` tasks are never executed.

Hm, i don't know how to close this issue, but it should be closed now.
Thx.

Sep 5 2019, 9:22 PM · Docker environment
lewo updated subscribers of T1985: swh-docker-dev: `load-tar` tasks are never executed.

Thx to this change (provided by @olasd) in the swh-docker-dev repository, tasks are exectued:

diff --git a/conf/loader.yml b/conf/loader.yml
index 4a4fb54..0cc07e6 100644
--- a/conf/loader.yml
+++ b/conf/loader.yml
@@ -5,6 +5,7 @@ storage:
 celery:
   task_broker: amqp://guest:guest@amqp//
   task_modules:
+    - swh.loader.package.tasks
     - swh.loader.debian.tasks
     - swh.loader.dir.tasks
     - swh.loader.git.tasks
@@ -16,6 +17,7 @@ celery:
     - swh.deposit.loader.tasks
Sep 5 2019, 9:20 PM · Docker environment
ardumont changed the status of T1985: swh-docker-dev: `load-tar` tasks are never executed from Open to Work in Progress.
Sep 5 2019, 9:57 AM · Docker environment
ardumont triaged T1985: swh-docker-dev: `load-tar` tasks are never executed as Normal priority.
Sep 5 2019, 9:56 AM · Docker environment

Jul 28 2019

zack triaged T1936: integrate swh-graph into the docker environment as Wishlist priority.
Jul 28 2019, 6:56 PM · Docker environment, Compressed graph service

May 22 2019

vlorentz closed T1588: "Database softwareheritage-vault does not exist" when running docker-compose as Resolved.
May 22 2019, 1:23 PM · Docker environment, Vault
vlorentz closed T1515: Add automatic tests for the docker environment as Resolved.
May 22 2019, 1:22 PM · Docker environment

May 10 2019

anlambert closed T1618: Add integration and end-to-end tests for the Software Heritage stack as Resolved by committing rCDFD5c9b912b4bc4: tests: Add integration tests for the Software Heritage stack.
May 10 2019, 1:25 PM · Development environment, Docker environment

Apr 13 2019

ardumont closed T1459: docker container for swh-deposit, a subtask of T1443: Make swh services run within docker and docker-compose, as Resolved.
Apr 13 2019, 12:49 PM · Docker environment, Sprint 2018 12

Apr 2 2019

anlambert triaged T1618: Add integration and end-to-end tests for the Software Heritage stack as Normal priority.
Apr 2 2019, 12:02 PM · Development environment, Docker environment

Mar 25 2019

douardda closed T1405: Make it easy to run a complete swh instance as Resolved.

Let's call it done, event if the small dataset part has not been addressed.

Mar 25 2019, 10:52 AM · Docker environment, Sprint 2018 12
douardda closed T1443: Make swh services run within docker and docker-compose, a subtask of T1405: Make it easy to run a complete swh instance, as Resolved.
Mar 25 2019, 10:51 AM · Docker environment, Sprint 2018 12
douardda closed T1443: Make swh services run within docker and docker-compose as Resolved.

Let's call it done, some minor parts may still need a bit of attention thou

Mar 25 2019, 10:51 AM · Docker environment, Sprint 2018 12
douardda updated the task description for T1443: Make swh services run within docker and docker-compose.
Mar 25 2019, 10:50 AM · Docker environment, Sprint 2018 12
douardda updated the task description for T1405: Make it easy to run a complete swh instance.
Mar 25 2019, 10:48 AM · Docker environment, Sprint 2018 12

Mar 17 2019

vlorentz added a project to T1588: "Database softwareheritage-vault does not exist" when running docker-compose: Docker environment.
Mar 17 2019, 2:18 PM · Docker environment, Vault

Mar 8 2019

anlambert renamed T1575: Kafka clients crash easily in docker-compose environment from Kafka crashes easily in docker-compose environment to Kafka clients crash easily in docker-compose environment.
Mar 8 2019, 7:23 PM · Journal, Docker environment
anlambert triaged T1575: Kafka clients crash easily in docker-compose environment as Normal priority.
Mar 8 2019, 4:44 PM · Journal, Docker environment

Mar 6 2019

anlambert closed T1542: docker-dev: swh-web: Service static asset with nginx as Invalid.

Closing this as I forgot it exists a configuration entry to force the serving of assets by Django (https://forge.softwareheritage.org/rCDFD7b3213293ca1670a738d540cbba05e87e5cf6042).

Mar 6 2019, 11:43 AM · Development environment, Docker environment, Web app

Feb 25 2019

ardumont triaged T1542: docker-dev: swh-web: Service static asset with nginx as Normal priority.
Feb 25 2019, 12:14 PM · Development environment, Docker environment, Web app

Feb 20 2019

ardumont closed T1491: Connection problems with latest celery (4.2.1; docker env, production) as Resolved.

status:

  • runner: fine (no crash, no restart)
  • listener: fine (same)
  • workers: fine (same)
Feb 20 2019, 10:00 AM · Docker environment, Scheduling utilities

Feb 19 2019

ardumont changed the status of T1491: Connection problems with latest celery (4.2.1; docker env, production) from Open to Work in Progress.

WIP as the new version has been deployed (runner, listener, workers, etc...)
Let's see if the occurrences still occur.

Feb 19 2019, 2:38 PM · Docker environment, Scheduling utilities
ardumont added a comment to T1491: Connection problems with latest celery (4.2.1; docker env, production).

I've done the upgrade on saatchi and restarted both listener and runner. I've removed the runner restart from the saatchi crontab.

Feb 19 2019, 11:33 AM · Docker environment, Scheduling utilities
olasd added a comment to T1491: Connection problems with latest celery (4.2.1; docker env, production).

I've pushed an updated kombu to our repository.

Feb 19 2019, 9:55 AM · Docker environment, Scheduling utilities

Feb 17 2019

ardumont added a comment to T1491: Connection problems with latest celery (4.2.1; docker env, production).

bunch of celery workers (loader*, lister*) indeed have a ConnectionResetError stacktrace (not necessarily the same):

Feb 17 2019, 9:54 AM · Docker environment, Scheduling utilities

Feb 16 2019

ardumont renamed T1491: Connection problems with latest celery (4.2.1; docker env, production) from Connection problems with celery in the docker env to Connection problems with latest celery (4.2.1; docker env, production).
Feb 16 2019, 4:22 PM · Docker environment, Scheduling utilities
ardumont added a parent task for T1491: Connection problems with latest celery (4.2.1; docker env, production): T1530: Deploy all latest development in production, then refactor deprecated configuration/code.
Feb 16 2019, 4:21 PM · Docker environment, Scheduling utilities
ardumont added a comment to T1491: Connection problems with latest celery (4.2.1; docker env, production).

As per our pair-programming yesterday, I think we reproduce this in production now (with the runner at least).

Feb 16 2019, 3:00 AM · Docker environment, Scheduling utilities

Feb 5 2019

douardda triaged T1515: Add automatic tests for the docker environment as High priority.
Feb 5 2019, 9:54 AM · Docker environment

Jan 28 2019

anlambert closed T1497: Configure swh-docker-dev to disable ReCAPTCHA on the web ui as Resolved by committing rCDFDbb63e0aed9c6: swh-web/web.yml: Disable recaptcha integration.
Jan 28 2019, 11:22 AM · Docker environment
anlambert closed T1496: Allow disabling ReCAPTCHA on the web frontend, at least for dev purposes, a subtask of T1497: Configure swh-docker-dev to disable ReCAPTCHA on the web ui, as Resolved.
Jan 28 2019, 11:21 AM · Docker environment

Jan 24 2019

olasd added a subtask for T1497: Configure swh-docker-dev to disable ReCAPTCHA on the web ui: T1496: Allow disabling ReCAPTCHA on the web frontend, at least for dev purposes.
Jan 24 2019, 4:23 PM · Docker environment
olasd triaged T1497: Configure swh-docker-dev to disable ReCAPTCHA on the web ui as Normal priority.
Jan 24 2019, 4:23 PM · Docker environment
douardda added a comment to T1491: Connection problems with latest celery (4.2.1; docker env, production).

I confirm that I do not see ConnectionResetError: [Errno 104] Connection reset by peer and BrokenPipeError: [Errno 32] Broken pipe so far in the runner logs with kombu from git's master.

Jan 24 2019, 3:40 PM · Docker environment, Scheduling utilities
vlorentz added a project to T1443: Make swh services run within docker and docker-compose: Docker environment.
Jan 24 2019, 11:50 AM · Docker environment, Sprint 2018 12
vlorentz added a project to T1405: Make it easy to run a complete swh instance: Docker environment.
Jan 24 2019, 11:50 AM · Docker environment, Sprint 2018 12
vlorentz triaged T1491: Connection problems with latest celery (4.2.1; docker env, production) as High priority.
Jan 24 2019, 11:49 AM · Docker environment, Scheduling utilities
vlorentz created Docker environment.
Jan 24 2019, 11:49 AM