TSVM installation is failing with an error - 1) Error occurred while pulling image from registry. Image name 2019-04-19 12:21:06,702 [ERROR] [Installer:435 - install_category()]: Installation of component 'configurator' failed. Error occured while pulling image from registry. Image name: 'bmcsoftware/truesight-config-configurator' Version: '3.0.01.852' 2) Database tablespace directory permission check failed 2019-08-19 02:31:12,392 [INFO] [PythonUtils:28 - load_module()]: Loading module 'component_ext' from directory '/opt/bmc/truesight/application/config/configurator' 2019-08-19 02:31:12,392 [INFO] [base_deployment_ext:193 - create_service()]: Starting service 'configurator' 2019-08-19 02:31:13,324 [INFO] [Installer:351 - check_tablespace_permission()]: Start tablespace directory check 2019-08-19 02:31:13,325 [INFO] [Installer:356 - check_tablespace_permission()]: Retrieved db_info 2019-08-19 02:31:13,326 [INFO] [ContainerManager:57 - check_tablespace_permission()]: check_tablespace_permision : create cmd 2019-08-19 02:31:13,435 [ERROR] [ContainerManager:80 - check_tablespace_permission()]: 500 Server Error: Internal Server Error ("Container d4a034311beafc67b6cd7cd8e284d138c27b1e22cba2c85a01277485b4ba7857 is not running: Exited (1) Less than a second ago") 2019-08-19 02:31:13,435 [INFO] [Installer:300 - install_components()]: Database tablespace directory permission check failed. 2019-08-19 02:31:13,435 [INFO] [Installer:301 - install_components()]: Stopping the installation of deployment 'application' 2019-08-19 02:31:13,435 [INFO] [base_deployment_ext:234 - stop_service()]: Stopping service 'configurator' |
Check#0: Always open the inputs_file.yml from the application, es and database installed location and check if the hostnames are either FQDN or valid IP addresses. Also check if the network prefix provided is not conflicting with localhost (127) or DB host, target TSSA/TSNA/SCCM hosts. This error occurs when TSVM installer is not able to connect to the docker registry. Check #1 - Make sure docker registry is up and running and you run the below curl command to fetch the docker repo: curl http://tsvm-app-hostname:5000/v2/_catalog Sample output: {"repositories":["bmcsoftware/truesight-app-vulnerability-management-drm","bmcsoftware/truesight-app-vulnerability-management-drw","bmcsoftware/truesight-app-vulnerability-management-portal","bmcsoftware/truesight-common-discovery-connector","bmcsoftware/truesight-common-exception-management","bmcsoftware/truesight-common-orchestration-connector","bmcsoftware/truesight-common-tagging","bmcsoftware/truesight-common-tsna-connector","bmcsoftware/truesight-common-tssa-connector","bmcsoftware/truesight-common-workmanager","bmcsoftware/truesight-config-configurator","bmcsoftware/truesight-infra-ext-consul","bmcsoftware/truesight-infra-ext-redis"]} Check#2 - Make sure that the docker registry is local to the TSVM app host. TSVM Installation doc link: Setting up the installation environment - Documentation for TrueSight Vulnerability Management 3.0 - BMC Documentation Check#3 - If the above 2 checks are cleared then enable debug by following the KB article: TSVM - How to enable debug in docker and tail the logs? Once you enable you can tail the logs. One of the issues could be related to the docker setup expecting only secure registries. This can be found in the logs if the registry link shows https URL. To fix this issue, edit and append the /etc/docker/daemon.json to include insecure registries for both hostname and IP addresses as below: “insecure-registries”: [“your-docker-fqdn:5000”,”xxx.xxx.xxx.xxx:5000”] Restart docker service and try to install again. Check#4 - If SELinux and Firewall are enabled - then sometimes the installer wont be able to connect to database and/or docker registry and throw same errors. Below steps can be taken to fix the db connection issue.
|