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

find: ‘/opt/analyze-containers/templates/config-development/configuration’: No such file or directory cp: cannot stat '/opt/analyze-containers/images/liberty_ubi_base/application/server-config/server.xml': No such file or directory #20

Closed stvdo closed 9 months ago

stvdo commented 9 months ago

i2 Analyze: 4.4.3 without FP containers: 2.8.0

I can't start i2 Analyze anymore after updating Docker Desktop on Windows.

I ran './bootstrap', 'deploy -c {{config nam}} -t clean' but the message 'cannot stat '/opt/analyze-containers/images/liberty_ubi_base/application/server-config/server.xml': No such file or directory' doesn't disappear.

New ANALYZE_CONTAINERS_ROOT_DIR root directory
ANALYZE_CONTAINERS_ROOT_DIR=/home/sdor/analyze-containers-280
vscode ➜ /home/sdor/analyze-containers-280 $ deploy -c config-demo -t clean
ok -- validation done

#----------------------------------------------------------------------
# Deployment Information:
#----------------------------------------------------------------------
ANALYZE_CONTAINERS_ROOT_DIR: /opt/analyze-containers
CONFIG_NAME: config-demo
DEPLOYMENT_PATTERN: i2c_istore
I2A_DEPENDENCIES_IMAGES_TAG: 4.4.3.0

#----------------------------------------------------------------------
# Checking Licenses Accepted
#----------------------------------------------------------------------
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done

#----------------------------------------------------------------------
# Stopping containers for other configs
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Stopping connector containers for other configs
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Update linked configurations
#----------------------------------------------------------------------

SUCCESS: Shared configurations have been linked.
cp: cannot stat '/opt/analyze-containers/images/liberty_ubi_base/application/server-config/server.xml': No such file or directory
vscode ➜ /home/sdor/analyze-containers-280 $ deploy -c config-demo
ok -- validation done

#----------------------------------------------------------------------
# Deployment Information:
#----------------------------------------------------------------------
ANALYZE_CONTAINERS_ROOT_DIR: /opt/analyze-containers
CONFIG_NAME: config-demo
DEPLOYMENT_PATTERN: i2c_istore
I2A_DEPENDENCIES_IMAGES_TAG: 4.4.3.0

#----------------------------------------------------------------------
# Checking Licenses Accepted
#----------------------------------------------------------------------
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done

#----------------------------------------------------------------------
# Stopping containers for other configs
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Stopping connector containers for other configs
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Update linked configurations
#----------------------------------------------------------------------

SUCCESS: Shared configurations have been linked.

#----------------------------------------------------------------------
# Updating deployment
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Checking all containers required for the deployment exist
#----------------------------------------------------------------------
solr1.config-demo_4.4.3 does NOT exist
zk1.config-demo_4.4.3 does NOT exist
liberty1.config-demo_4.4.3 does NOT exist
prometheus.config-demo_4.4.3 does NOT exist
grafana.config-demo_4.4.3 does NOT exist

#----------------------------------------------------------------------
# Some containers are missing, the deployment is NOT healthy.
#----------------------------------------------------------------------

Do you want to clean and recreate the deployment? This will permanently remove data from the deployment. (y/n) y
find: ‘/opt/analyze-containers/templates/config-development/configuration’: No such file or directory
cp: cannot stat '/opt/analyze-containers/images/liberty_ubi_base/application/server-config/server.xml': No such file or directory
vscode ➜ /home/sdor/analyze-containers-280 $ ./bootstrap
latest: Pulling from i2group/i2eng-analyze-containers-client
Digest: sha256:a8c47147c5502cc723560212d369377fa2c52f7f1cd715ee88c95021459fceba
Status: Image is up to date for i2group/i2eng-analyze-containers-client:latest
docker.io/i2group/i2eng-analyze-containers-client:latest
Using the latest version: 2.8.0
2.8.0: Pulling from i2group/i2eng-analyze-containers-client
Digest: sha256:a8c47147c5502cc723560212d369377fa2c52f7f1cd715ee88c95021459fceba
Status: Image is up to date for i2group/i2eng-analyze-containers-client:2.8.0
docker.io/i2group/i2eng-analyze-containers-client:2.8.0
sqlserver JDBC driver version 12.2.0 already exists.
postgres JDBC driver version 42.5.1 already exists.

#----------------------------------------------------------------------
# Installing config-dev environment
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Version 2.8.0 is already installed. Skipping
#----------------------------------------------------------------------
vscode ➜ /home/sdor/analyze-containers-280 $ deploy -c config-demo
ok -- validation done

#----------------------------------------------------------------------
# Deployment Information:
#----------------------------------------------------------------------
ANALYZE_CONTAINERS_ROOT_DIR: /opt/analyze-containers
CONFIG_NAME: config-demo
DEPLOYMENT_PATTERN: i2c_istore
I2A_DEPENDENCIES_IMAGES_TAG: 4.4.3.0

#----------------------------------------------------------------------
# Checking Licenses Accepted
#----------------------------------------------------------------------
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done
ok -- validation done

#----------------------------------------------------------------------
# Stopping containers for other configs
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Stopping connector containers for other configs
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Update linked configurations
#----------------------------------------------------------------------

SUCCESS: Shared configurations have been linked.

#----------------------------------------------------------------------
# Updating deployment
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# Checking all containers required for the deployment exist
#----------------------------------------------------------------------
solr1.config-demo_4.4.3 does NOT exist
zk1.config-demo_4.4.3 does NOT exist
liberty1.config-demo_4.4.3 does NOT exist
prometheus.config-demo_4.4.3 does NOT exist
grafana.config-demo_4.4.3 does NOT exist

#----------------------------------------------------------------------
# Some containers are missing, the deployment is NOT healthy.
#----------------------------------------------------------------------

Do you want to clean and recreate the deployment? This will permanently remove data from the deployment. (y/n) y
find: ‘/opt/analyze-containers/templates/config-development/configuration’: No such file or directory
cp: cannot stat '/opt/analyze-containers/images/liberty_ubi_base/application/server-config/server.xml': No such file or directory
vscode ➜ /home/sdor/analyze-containers-280 $ 
Matt-Hadfield-i2 commented 9 months ago

Hi @sdorresteijn88 ,

Can you try running create-dev-environment before doing another deploy.

It looks like the system has got into a broken state as part of the Docker update. Hopefully this will rebuild some of the images and unblock.

Thanks, Matt

stvdo commented 9 months ago

@Matt-Hadfield-i2 thank you! I was indeed looking for that command. Can it be that that it's replaced in the documentation by ./bootstrap?

https://i2group.github.io/analyze-containers/content/getting_started.html

Matt-Hadfield-i2 commented 9 months ago

I think I will add it to the troubleshooting or update documentation. The first time you install it you need to run the bootstrap command, but after it is installed I think create-dev-environment is better for fixing issues.

Thanks for your post.