i2group / analyze-deployment-tooling

Develop i2 Analyze configurations by using the configuration development environment. Review reference architectures for containerised deployments of i2 Analyze.
https://i2group.github.io/analyze-deployment-tooling/
Other
1 stars 1 forks source link

Connectors stop working #22

Closed stvdo closed 9 months ago

stvdo commented 9 months ago

Describe the bug Somehow my internal connectors will break. Yesterday it worked fine, when I start my i2 Analyze container this morning I get errors about the connectors. I have had this a few times already (after the update from 4.4.2 and 2.7.0).

To Reproduce

  1. Set up i2 Analyze with some internal connectors.
  2. Wait till it breaks on day

Expected behavior I expect when you have a running environment for a couple of days that the connectors keep working.

Screenshots If applicable, add screenshots to help explain your problem. image image image

Hardware and Software information Fill in the following information:

Additional context 'manage-environment -t connectors' and 'deploy -c config-demo -t clean' doesn't fix the issue.

In WSL it tried the command 'sudo chown -R 1001:0 "/opt/app-root/src/.npm"', but this had also no effect.

Matt-Hadfield-i2 commented 9 months ago

Hi @sdorresteijn88, thanks for your message.

As we have been developing the next release of analyze-containers we have also noticed this issue happening more often and are continuing to test a fix for it.

You can try this fix now and hopefully it will work for you:

  1. Extract the Dockerfile-i2connect.zip.
  2. Copy the attached Dockerfile and replace the existing Dockerfiles for your i2 Connect server connectors. For example, replace the connector-images/car-registration-connector/Dockerfile with the attached file.
  3. Rebuild the connectors by running the manage-environment script.

Thanks, Matt

stvdo commented 9 months ago

@Matt-Hadfield-i2 thanks for your quick reply!

I followed your instruction and replaced the Dockerfile of the car-reg-connector. After that I ran the command 'manage-environment -t connectors'

Then I got this error image

vscode ➜ /home/sdor/analyze-containers-280 $ manage-environment -t connectors
ok -- validation done

#----------------------------------------------------------------------
# Running generate-secrets
#----------------------------------------------------------------------
Secrets for anpr-connector already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/anpr-connector folder.
Secrets for anpr-connector-external already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/anpr-connector-external folder.
Secrets for bag-connector already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/bag-connector folder.
Secrets for bag-connector-external already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/bag-connector-external folder.
Secrets for bank-connector already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/bank-connector folder.
Secrets for brreg-connector already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/brreg-connector folder.
Secrets for car-registration-connector already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/car-registration-connector folder.
Secrets for car-registration-connector-external already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/car-registration-connector-external folder.
Secrets for crypto-connector already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/crypto-connector folder.
Secrets for crypto-connector-external already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/crypto-connector-external folder.
Secrets for example-connector-external already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/example-connector-external folder.
Secrets for holehe-connector already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/holehe-connector folder.
Secrets for ibase-connector already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/ibase-connector folder.
Secrets for ibase-connector-external already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/ibase-connector-external folder.
Secrets for neo4j-connector already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/neo4j-connector folder.
Secrets for neo4j-connector-external already exist.
If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/neo4j-connector-external folder.

#----------------------------------------------------------------------
# Running build-connector-images
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Building connectors
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Running validatei2ConnectVersions tool
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating versions for the connector: anpr-connector
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating i2 Connect Server version
#----------------------------------------------------------------------
Expected i2 Connect Server version: latest
Declared i2 Connect Server version: ^2.1.4
npm notice 
npm notice New major version of npm available! 9.8.1 -> 10.4.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0
npm notice Run npm install -g npm@10.4.0 to update!
npm notice 

#----------------------------------------------------------------------
# Validating connector version
#----------------------------------------------------------------------
Expected connector version: 1.4.1
Declared connector version: 1.4.1

#----------------------------------------------------------------------
# Building connector image: anpr-connector:1-4-1
#----------------------------------------------------------------------
[+] Building 0.9s (12/12) FINISHED                                                                                                                            docker:default
 => [internal] load build definition from Dockerfile                                                                                                                    0.0s
 => => transferring dockerfile: 1.16kB                                                                                                                                  0.0s
 => resolve image config for docker.io/docker/dockerfile:1                                                                                                              0.6s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021                                         0.0s
 => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                                       0.0s
 => => transferring context: 232B                                                                                                                                       0.0s
 => [1/5] FROM registry.access.redhat.com/ubi9/nodejs-18:1                                                                                                              0.0s
 => [internal] load build context                                                                                                                                       0.0s
 => => transferring context: 4.14MB                                                                                                                                     0.0s
 => CACHED [2/5] WORKDIR /opt/app-root/src                                                                                                                              0.0s
 => CACHED [3/5] COPY app/package*.json app/npm-shrinkwrap.json* ./                                                                                                     0.0s
 => CACHED [4/5] RUN npm install                                                                                                                                        0.0s
 => CACHED [5/5] COPY --chown=1001:0 app/ .                                                                                                                             0.0s
 => exporting to image                                                                                                                                                  0.0s
 => => exporting layers                                                                                                                                                 0.0s
 => => writing image sha256:eea9c1c50552dcc5c2824dfc2aa10afac49a19325ce2ffd2852948ee23ed2a23                                                                            0.0s
 => => naming to docker.io/library/anpr-connector:1-4-1                                                                                                                 0.0s

#----------------------------------------------------------------------
# Running validatei2ConnectVersions tool
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating versions for the connector: bag-connector
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating i2 Connect Server version
#----------------------------------------------------------------------
Expected i2 Connect Server version: latest
Declared i2 Connect Server version: ^2.3.0
npm notice 
npm notice New major version of npm available! 9.8.1 -> 10.4.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0
npm notice Run npm install -g npm@10.4.0 to update!
npm notice 

#----------------------------------------------------------------------
# Validating connector version
#----------------------------------------------------------------------
Expected connector version: 1.2.0
Declared connector version: 1.2.0

#----------------------------------------------------------------------
# Building connector image: bag-connector:1-2-0
#----------------------------------------------------------------------
[+] Building 0.4s (12/12) FINISHED                                                                                                                            docker:default
 => [internal] load build definition from Dockerfile                                                                                                                    0.0s
 => => transferring dockerfile: 1.16kB                                                                                                                                  0.0s
 => resolve image config for docker.io/docker/dockerfile:1                                                                                                              0.2s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021                                         0.0s
 => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                                       0.0s
 => => transferring context: 232B                                                                                                                                       0.0s
 => [1/5] FROM registry.access.redhat.com/ubi9/nodejs-18:1                                                                                                              0.0s
 => [internal] load build context                                                                                                                                       0.0s
 => => transferring context: 536.02kB                                                                                                                                   0.0s
 => CACHED [2/5] WORKDIR /opt/app-root/src                                                                                                                              0.0s
 => CACHED [3/5] COPY app/package*.json app/npm-shrinkwrap.json* ./                                                                                                     0.0s
 => CACHED [4/5] RUN npm install                                                                                                                                        0.0s
 => CACHED [5/5] COPY --chown=1001:0 app/ .                                                                                                                             0.0s
 => exporting to image                                                                                                                                                  0.0s
 => => exporting layers                                                                                                                                                 0.0s
 => => writing image sha256:62f1a82d52f8897afa3c922fd1e70bb3bff5cf8a3aeb4a3ce79cda9f80eff2cc                                                                            0.0s
 => => naming to docker.io/library/bag-connector:1-2-0                                                                                                                  0.0s

#----------------------------------------------------------------------
# Running validatei2ConnectVersions tool
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating versions for the connector: bank-connector
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating i2 Connect Server version
#----------------------------------------------------------------------
Expected i2 Connect Server version: latest
Declared i2 Connect Server version: ^2.1.4
npm notice 
npm notice New major version of npm available! 9.8.1 -> 10.4.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0
npm notice Run npm install -g npm@10.4.0 to update!
npm notice 

#----------------------------------------------------------------------
# Validating connector version
#----------------------------------------------------------------------
Expected connector version: 1.1.0
Declared connector version: 1.1.0

#----------------------------------------------------------------------
# Building connector image: bank-connector:1-1-0
#----------------------------------------------------------------------
[+] Building 0.6s (12/12) FINISHED                                                                                                                            docker:default
 => [internal] load build definition from Dockerfile                                                                                                                    0.0s
 => => transferring dockerfile: 1.16kB                                                                                                                                  0.0s
 => resolve image config for docker.io/docker/dockerfile:1                                                                                                              0.4s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021                                         0.0s
 => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                                       0.0s
 => => transferring context: 232B                                                                                                                                       0.0s
 => [internal] load build context                                                                                                                                       0.0s
 => => transferring context: 322.33kB                                                                                                                                   0.0s
 => [1/5] FROM registry.access.redhat.com/ubi9/nodejs-18:1                                                                                                              0.0s
 => CACHED [2/5] WORKDIR /opt/app-root/src                                                                                                                              0.0s
 => CACHED [3/5] COPY app/package*.json app/npm-shrinkwrap.json* ./                                                                                                     0.0s
 => CACHED [4/5] RUN npm install                                                                                                                                        0.0s
 => CACHED [5/5] COPY --chown=1001:0 app/ .                                                                                                                             0.0s
 => exporting to image                                                                                                                                                  0.0s
 => => exporting layers                                                                                                                                                 0.0s
 => => writing image sha256:c415d71db12d4e9cc3e6651d47da051ee0076a23281819ae3be6d6f0603ce22e                                                                            0.0s
 => => naming to docker.io/library/bank-connector:1-1-0                                                                                                                 0.0s

#----------------------------------------------------------------------
# Running validatei2ConnectVersions tool
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating versions for the connector: brreg-connector
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating i2 Connect Server version
#----------------------------------------------------------------------
Expected i2 Connect Server version: latest
Declared i2 Connect Server version: ^2.1.4
npm notice 
npm notice New major version of npm available! 9.8.1 -> 10.4.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0
npm notice Run npm install -g npm@10.4.0 to update!
npm notice 

#----------------------------------------------------------------------
# Validating connector version
#----------------------------------------------------------------------
Expected connector version: 1.1.0
Declared connector version: 1.1.0

#----------------------------------------------------------------------
# Building connector image: brreg-connector:1-1-0
#----------------------------------------------------------------------
[+] Building 0.4s (12/12) FINISHED                                                                                                                            docker:default
 => [internal] load build definition from Dockerfile                                                                                                                    0.0s
 => => transferring dockerfile: 1.16kB                                                                                                                                  0.0s
 => resolve image config for docker.io/docker/dockerfile:1                                                                                                              0.1s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021                                         0.0s
 => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                                       0.0s
 => => transferring context: 232B                                                                                                                                       0.0s
 => [1/5] FROM registry.access.redhat.com/ubi9/nodejs-18:1                                                                                                              0.0s
 => [internal] load build context                                                                                                                                       0.0s
 => => transferring context: 161.21kB                                                                                                                                   0.0s
 => CACHED [2/5] WORKDIR /opt/app-root/src                                                                                                                              0.0s
 => CACHED [3/5] COPY app/package*.json app/npm-shrinkwrap.json* ./                                                                                                     0.0s
 => CACHED [4/5] RUN npm install                                                                                                                                        0.0s
 => CACHED [5/5] COPY --chown=1001:0 app/ .                                                                                                                             0.0s
 => exporting to image                                                                                                                                                  0.0s
 => => exporting layers                                                                                                                                                 0.0s
 => => writing image sha256:ead611bba16a4a83d31f9830d5157bb69f345ca5b1b1e46173be35d333daab47                                                                            0.0s
 => => naming to docker.io/library/brreg-connector:1-1-0                                                                                                                0.0s

#----------------------------------------------------------------------
# Running validatei2ConnectVersions tool
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating versions for the connector: car-registration-connector
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Validating i2 Connect Server version
#----------------------------------------------------------------------
Expected i2 Connect Server version: latest
Declared i2 Connect Server version: ^2.1.4
npm notice 
npm notice New major version of npm available! 9.8.1 -> 10.4.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0
npm notice Run npm install -g npm@10.4.0 to update!
npm notice 

#----------------------------------------------------------------------
# Validating connector version
#----------------------------------------------------------------------
Expected connector version: 1.1.1
Declared connector version: 1.1.1

#----------------------------------------------------------------------
# Building connector image: car-registration-connector:1-1-1
#----------------------------------------------------------------------
[+] Building 0.7s (6/6) FINISHED                                                                                                                              docker:default
 => [internal] load build definition from Dockerfile                                                                                                                    0.0s
 => => transferring dockerfile: 1.15kB                                                                                                                                  0.0s
 => resolve image config for docker.io/docker/dockerfile:1.3                                                                                                            0.2s
 => CACHED docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2                                       0.0s
 => [internal] load .dockerignore                                                                                                                                       0.0s
 => => transferring context: 232B                                                                                                                                       0.0s
 => ERROR [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1-minimal                                                                              0.4s
 => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1                                                                                            0.0s
------
 > [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1-minimal:
------
Dockerfile:19
--------------------
  17 |     RUN npm install --production
  18 |     
  19 | >>> FROM "${NODEJS_BASE_IMAGE}-minimal"
  20 |     
  21 |     # Install app dependencies
--------------------
ERROR: failed to solve: registry.access.redhat.com/ubi9/nodejs-18:1-minimal: not found
Matt-Hadfield-i2 commented 9 months ago

Sorry @sdorresteijn88 , that was the Dockerfile for the next release. This is the one that should work with 2.8.

Please try with this one: Dockerfile-i2connect.zip

stvdo commented 9 months ago

@Matt-Hadfield-i2, unfortunately at least another error

image

Matt-Hadfield-i2 commented 9 months ago

I will spin up a 2.8.0 environment and test out the fix.

One of the developers was converting from 2.9 to 2.8 so maybe it has gone wrong.

I will update the issue when I get it working.

Thanks,

Matt Hadfield Information Developer & Deployment UX @.***

i2group.com This message has been sent on behalf of a company that is part of the Harris Operating Group of Constellation Software Inc.​ If you prefer not to be contacted by Harris Operating Group please notify us.


From: Steven Dorresteijn @.> Sent: 20 February 2024 10:10 AM To: i2group/analyze-containers @.> Cc: Matt Hadfield @.>; Mention @.> Subject: [EXTERNAL] Re: [i2group/analyze-containers] Connectors stop working (Issue #22)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

@Matt-Hadfield-i2https://urldefense.com/v3/__https://github.com/Matt-Hadfield-i2__;!!HzYX23eHnp2Wbe4!XPWFJ7iE8H5pzi7sEIes0wXXAhgvv7VIfqebsRTEX6jJmzikhPRbQrmjUtT64-mNh_-5Orkt8ZrZZ0kxcyfFTGTBxyg1kg$ thanks for your quick reply!

I followed your instruction and replaced the Dockerfile of the car-reg-connector. After that I ran the command 'manage-environment -t connectors'

Then I got this error image.png (view on web)https://urldefense.com/v3/__https://github.com/i2group/analyze-containers/assets/52672945/0b1aa285-210b-4944-ac0c-118bfb06bdbd__;!!HzYX23eHnp2Wbe4!XPWFJ7iE8H5pzi7sEIes0wXXAhgvv7VIfqebsRTEX6jJmzikhPRbQrmjUtT64-mNh_-5Orkt8ZrZZ0kxcyfFTGRyuU7X9Q$

vscode ➜ /home/sdor/analyze-containers-280 $ manage-environment -t connectors ok -- validation done

----------------------------------------------------------------------

Running generate-secrets

----------------------------------------------------------------------

Secrets for anpr-connector already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/anpr-connector folder. Secrets for anpr-connector-external already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/anpr-connector-external folder. Secrets for bag-connector already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/bag-connector folder. Secrets for bag-connector-external already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/bag-connector-external folder. Secrets for bank-connector already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/bank-connector folder. Secrets for brreg-connector already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/brreg-connector folder. Secrets for car-registration-connector already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/car-registration-connector folder. Secrets for car-registration-connector-external already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/car-registration-connector-external folder. Secrets for crypto-connector already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/crypto-connector folder. Secrets for crypto-connector-external already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/crypto-connector-external folder. Secrets for example-connector-external already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/example-connector-external folder. Secrets for holehe-connector already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/holehe-connector folder. Secrets for ibase-connector already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/ibase-connector folder. Secrets for ibase-connector-external already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/ibase-connector-external folder. Secrets for neo4j-connector already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/neo4j-connector folder. Secrets for neo4j-connector-external already exist. If you would like to regenerate the secrets, delete the /opt/analyze-containers/dev-environment-secrets/generated-secrets/certificates/neo4j-connector-external folder.

----------------------------------------------------------------------

Running build-connector-images

----------------------------------------------------------------------

----------------------------------------------------------------------

Building connectors

----------------------------------------------------------------------

----------------------------------------------------------------------

Running validatei2ConnectVersions tool

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating versions for the connector: anpr-connector

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating i2 Connect Server version

----------------------------------------------------------------------

Expected i2 Connect Server version: latest Declared i2 Connect Server version: ^2.1.4 npm notice npm notice New major version of npm available! 9.8.1 -> 10.4.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0https://urldefense.com/v3/__https://github.com/npm/cli/releases/tag/v10.4.0__;!!HzYX23eHnp2Wbe4!XPWFJ7iE8H5pzi7sEIes0wXXAhgvv7VIfqebsRTEX6jJmzikhPRbQrmjUtT64-mNh_-5Orkt8ZrZZ0kxcyfFTGSoe7Eiqg$ npm notice Run npm install -g @.*** to update! npm notice

----------------------------------------------------------------------

Validating connector version

----------------------------------------------------------------------

Expected connector version: 1.4.1 Declared connector version: 1.4.1

----------------------------------------------------------------------

Building connector image: anpr-connector:1-4-1

----------------------------------------------------------------------

[+] Building 0.9s (12/12) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.16kB 0.0s => resolve image config for docker.io/docker/dockerfile:1 0.6s => CACHED @.**:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.0s => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 232B 0.0s => [1/5] FROM registry.access.redhat.com/ubi9/nodejs-18:1 0.0s => [internal] load build context 0.0s => => transferring context: 4.14MB 0.0s => CACHED [2/5] WORKDIR /opt/app-root/src 0.0s => CACHED [3/5] COPY app/package.json app/npm-shrinkwrap.json* ./ 0.0s => CACHED [4/5] RUN npm install 0.0s => CACHED [5/5] COPY --chown=1001:0 app/ . 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:eea9c1c50552dcc5c2824dfc2aa10afac49a19325ce2ffd2852948ee23ed2a23 0.0s => => naming to docker.io/library/anpr-connector:1-4-1 0.0s

----------------------------------------------------------------------

Running validatei2ConnectVersions tool

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating versions for the connector: bag-connector

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating i2 Connect Server version

----------------------------------------------------------------------

Expected i2 Connect Server version: latest Declared i2 Connect Server version: ^2.3.0 npm notice npm notice New major version of npm available! 9.8.1 -> 10.4.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0https://urldefense.com/v3/__https://github.com/npm/cli/releases/tag/v10.4.0__;!!HzYX23eHnp2Wbe4!XPWFJ7iE8H5pzi7sEIes0wXXAhgvv7VIfqebsRTEX6jJmzikhPRbQrmjUtT64-mNh_-5Orkt8ZrZZ0kxcyfFTGSoe7Eiqg$ npm notice Run npm install -g @.*** to update! npm notice

----------------------------------------------------------------------

Validating connector version

----------------------------------------------------------------------

Expected connector version: 1.2.0 Declared connector version: 1.2.0

----------------------------------------------------------------------

Building connector image: bag-connector:1-2-0

----------------------------------------------------------------------

[+] Building 0.4s (12/12) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.16kB 0.0s => resolve image config for docker.io/docker/dockerfile:1 0.2s => CACHED @.**:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.0s => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 232B 0.0s => [1/5] FROM registry.access.redhat.com/ubi9/nodejs-18:1 0.0s => [internal] load build context 0.0s => => transferring context: 536.02kB 0.0s => CACHED [2/5] WORKDIR /opt/app-root/src 0.0s => CACHED [3/5] COPY app/package.json app/npm-shrinkwrap.json* ./ 0.0s => CACHED [4/5] RUN npm install 0.0s => CACHED [5/5] COPY --chown=1001:0 app/ . 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:62f1a82d52f8897afa3c922fd1e70bb3bff5cf8a3aeb4a3ce79cda9f80eff2cc 0.0s => => naming to docker.io/library/bag-connector:1-2-0 0.0s

----------------------------------------------------------------------

Running validatei2ConnectVersions tool

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating versions for the connector: bank-connector

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating i2 Connect Server version

----------------------------------------------------------------------

Expected i2 Connect Server version: latest Declared i2 Connect Server version: ^2.1.4 npm notice npm notice New major version of npm available! 9.8.1 -> 10.4.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0https://urldefense.com/v3/__https://github.com/npm/cli/releases/tag/v10.4.0__;!!HzYX23eHnp2Wbe4!XPWFJ7iE8H5pzi7sEIes0wXXAhgvv7VIfqebsRTEX6jJmzikhPRbQrmjUtT64-mNh_-5Orkt8ZrZZ0kxcyfFTGSoe7Eiqg$ npm notice Run npm install -g @.*** to update! npm notice

----------------------------------------------------------------------

Validating connector version

----------------------------------------------------------------------

Expected connector version: 1.1.0 Declared connector version: 1.1.0

----------------------------------------------------------------------

Building connector image: bank-connector:1-1-0

----------------------------------------------------------------------

[+] Building 0.6s (12/12) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.16kB 0.0s => resolve image config for docker.io/docker/dockerfile:1 0.4s => CACHED @.**:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.0s => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 232B 0.0s => [internal] load build context 0.0s => => transferring context: 322.33kB 0.0s => [1/5] FROM registry.access.redhat.com/ubi9/nodejs-18:1 0.0s => CACHED [2/5] WORKDIR /opt/app-root/src 0.0s => CACHED [3/5] COPY app/package.json app/npm-shrinkwrap.json* ./ 0.0s => CACHED [4/5] RUN npm install 0.0s => CACHED [5/5] COPY --chown=1001:0 app/ . 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:c415d71db12d4e9cc3e6651d47da051ee0076a23281819ae3be6d6f0603ce22e 0.0s => => naming to docker.io/library/bank-connector:1-1-0 0.0s

----------------------------------------------------------------------

Running validatei2ConnectVersions tool

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating versions for the connector: brreg-connector

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating i2 Connect Server version

----------------------------------------------------------------------

Expected i2 Connect Server version: latest Declared i2 Connect Server version: ^2.1.4 npm notice npm notice New major version of npm available! 9.8.1 -> 10.4.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0https://urldefense.com/v3/__https://github.com/npm/cli/releases/tag/v10.4.0__;!!HzYX23eHnp2Wbe4!XPWFJ7iE8H5pzi7sEIes0wXXAhgvv7VIfqebsRTEX6jJmzikhPRbQrmjUtT64-mNh_-5Orkt8ZrZZ0kxcyfFTGSoe7Eiqg$ npm notice Run npm install -g @.*** to update! npm notice

----------------------------------------------------------------------

Validating connector version

----------------------------------------------------------------------

Expected connector version: 1.1.0 Declared connector version: 1.1.0

----------------------------------------------------------------------

Building connector image: brreg-connector:1-1-0

----------------------------------------------------------------------

[+] Building 0.4s (12/12) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.16kB 0.0s => resolve image config for docker.io/docker/dockerfile:1 0.1s => CACHED @.**:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.0s => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 232B 0.0s => [1/5] FROM registry.access.redhat.com/ubi9/nodejs-18:1 0.0s => [internal] load build context 0.0s => => transferring context: 161.21kB 0.0s => CACHED [2/5] WORKDIR /opt/app-root/src 0.0s => CACHED [3/5] COPY app/package.json app/npm-shrinkwrap.json* ./ 0.0s => CACHED [4/5] RUN npm install 0.0s => CACHED [5/5] COPY --chown=1001:0 app/ . 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:ead611bba16a4a83d31f9830d5157bb69f345ca5b1b1e46173be35d333daab47 0.0s => => naming to docker.io/library/brreg-connector:1-1-0 0.0s

----------------------------------------------------------------------

Running validatei2ConnectVersions tool

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating versions for the connector: car-registration-connector

----------------------------------------------------------------------

----------------------------------------------------------------------

Validating i2 Connect Server version

----------------------------------------------------------------------

Expected i2 Connect Server version: latest Declared i2 Connect Server version: ^2.1.4 npm notice npm notice New major version of npm available! 9.8.1 -> 10.4.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0https://urldefense.com/v3/__https://github.com/npm/cli/releases/tag/v10.4.0__;!!HzYX23eHnp2Wbe4!XPWFJ7iE8H5pzi7sEIes0wXXAhgvv7VIfqebsRTEX6jJmzikhPRbQrmjUtT64-mNh_-5Orkt8ZrZZ0kxcyfFTGSoe7Eiqg$ npm notice Run npm install -g @.*** to update! npm notice

----------------------------------------------------------------------

Validating connector version

----------------------------------------------------------------------

Expected connector version: 1.1.1 Declared connector version: 1.1.1

----------------------------------------------------------------------

Building connector image: car-registration-connector:1-1-1

----------------------------------------------------------------------

[+] Building 0.7s (6/6) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.15kB 0.0s => resolve image config for docker.io/docker/dockerfile:1.3 0.2s => CACHED @.***:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 232B 0.0s => ERROR [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1-minimal 0.4s => [internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1 0.0s

[internal] load metadata for registry.access.redhat.com/ubi9/nodejs-18:1-minimal:

Dockerfile:19

17 | RUN npm install --production 18 | 19 | >>> FROM "${NODEJS_BASE_IMAGE}-minimal" 20 | 21 | # Install app dependencies

ERROR: failed to solve: registry.access.redhat.com/ubi9/nodejs-18:1-minimal: not found

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/i2group/analyze-containers/issues/22*issuecomment-1953877801__;Iw!!HzYX23eHnp2Wbe4!XPWFJ7iE8H5pzi7sEIes0wXXAhgvv7VIfqebsRTEX6jJmzikhPRbQrmjUtT64-mNh_-5Orkt8ZrZZ0kxcyfFTGS5uHHcHg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AXEY4PUQZTCE26C3XHTGB6TYURZABAVCNFSM6AAAAABDQW37Q2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTHA3TOOBQGE__;!!HzYX23eHnp2Wbe4!XPWFJ7iE8H5pzi7sEIes0wXXAhgvv7VIfqebsRTEX6jJmzikhPRbQrmjUtT64-mNh_-5Orkt8ZrZZ0kxcyfFTGTVx_2Qtw$. You are receiving this because you were mentioned.Message ID: @.***>

Matt-Hadfield-i2 commented 9 months ago

Hi @sdorresteijn88 ,

That was a bit of communication issue our side, that Dockerfile was for Node connectors and not i2 Connect Server connectors.

This one should work for i2 Connect Server connectors: Dockerfile-i2connect.zip

stvdo commented 9 months ago

@Matt-Hadfield-i2 thanks a lot, this solved the issue!

Matt-Hadfield-i2 commented 9 months ago

@sdorresteijn88 Version 2.9 has been released that includes the fix for this issue.

Thanks, Matt