[FOLIO-3708] Vagrant box unable to deploy additional modules Created: 15/Feb/23  Updated: 10/May/23

Status: Open
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: TBD
Reporter: Wayne Schneider Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint: DevOps Sprint 160
Development Team: FOLIO DevOps
RCA Group: TBD

 Description   

Viacheslav Kolesnyk reports:

I've experiencing troubles replacing modules in folio/snapshot vagrant box last few months.
Here are some logs from okapi:

16:24:05 [] [] [] [] INFO  ?                    Deploy mod-source-record-storage-5.6.1-SNAPSHOT {
  "dockerImage" : "mod-source-record-storage:latest",
16:24:05 [] [] [] [] INFO  ?                    create container from image docker.ci.folio.org/mod-source-record-storage:latest
  "Image" : "docker.ci.folio.org/mod-source-record-storage:latest",
16:24:05 [] [] [] [] INFO  ?                    start container 0af8d3112aa11cf18856e401d103c830574b9707b77f713d43026c0cee0ccc12 for image docker.ci.folio.org/mod-source-record-storage:latest
16:24:05 [] [] [] [] INFO  ?                    Try connect to service mod-source-record-storage-5.6.1-SNAPSHOT at 10.0.2.15:9148 count 0
16:24:05 [] [] [] [] INFO  ?                    mod-source-record-storage-5.6.1-SNAPSHOT exec java -Dport=8081 -Xmx256m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5008 -XX:+ExitOnOutOfMemoryError -cp . -jar /usr/verticles/mod-source-record-storage-server-5.6.1-SNAPSHOT.jar
16:24:05 [] [] [] [] INFO  ?                    mod-source-record-storage-5.6.1-SNAPSHOT Listening for transport dt_socket at address: 5008
16:24:05 [] [] [] [] INFO  ?                    Try connect to service mod-source-record-storage-5.6.1-SNAPSHOT at 10.0.2.15:9148 count 1
16:24:05 [] [] [] [] INFO  ?                    mod-source-record-storage-5.6.1-SNAPSHOT no main manifest attribute, in /usr/verticles/mod-source-record-storage-server-5.6.1-SNAPSHOT.jar
16:24:06 [] [] [] [] INFO  ?                    Try connect to service mod-source-record-storage-5.6.1-SNAPSHOT at 10.0.2.15:9148 count 2

And after 90 retries it fails

16:37:44 [] [] [] [] INFO  ?                    Try connect to service mod-source-record-storage-5.6.1-SNAPSHOT at 10.0.2.15:9148 count 90
16:37:44 [] [] [] [] INFO  ?                    stop container 0af8d3112aa11cf18856e401d103c830574b9707b77f713d43026c0cee0ccc12 image docker.ci.folio.org/mod-source-record-storage:latest
16:37:44 [] [] [] [] WARN  ?                    Deploying mod-source-record-storage-5.6.1-SNAPSHOT failed
16:37:44 [020032/discovery] [supertenant] [] [okapi] INFO  ?                    020032/discovery RES 400 819654547us okapi Deployment failed for service mod-source-record-storage-5.6.1-SNAPSHOT. Could not connect to 10.0.2.15:9148: finishConnect(..) failed: Connection refused: /10.0.2.15:9148
16:37:44 [] [] [] [] ERROR ?                    HTTP response code=400 msg=Deployment failed for service mod-source-record-storage-5.6.1-SNAPSHOT. Could not connect to 10.0.2.15:9148: finishConnect(..) failed: Connection refused: /10.0.2.15:9148
16:37:44 [] [] [] [] INFO  ?                    delete container 0af8d3112aa11cf18856e401d103c830574b9707b77f713d43026c0cee0ccc12 image docker.ci.folio.org/mod-source-record-storage:latest

This is observed with other modules too.


Generated at Thu Feb 08 23:30:06 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.