Open bhuvi11 opened 2 years ago
Seems like the docker images did not get created . This usually happens when the machine does not have sufficient storage to create docker images or due to any build issue that occurs during the image creation . Please confirm that the machine has enough free space , also check the maven log and error log files generated by the installer to identify the build issues , if any.
Hello @Akashbhaskaran , I see the docker images in the ECR. Three docker images are created but I am not sure why it says image not found.
Yeah , 9 docker images are required . It says docker image not found while trying to push to ecr . So the remaining 6 did not get created in the machine. It's trying to push something to ecr which does not exist on your local.
Hello @Akashbhaskaran,
This is the only error i get.
Traceback (most recent call last):
File "/home/ec2-user/pacbot/installer/data/terraform/scripts_and_files/scripts/create_docker_image_and_push_to_ecr.py", line 80, in
It says image missing , but i see this image in ECR.
This is the maven log [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ pacbot --- [INFO] Installing /home/ec2-user/pacbot/pom.xml to /root/.m2/repository/com/tmobile/pacbot/1.0.0-SNAPSHOT/pacbot-1.0.0-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] api-commons ....................................... SUCCESS [8.843s] [INFO] commons ........................................... SUCCESS [5.498s] [INFO] PacMan Commons Projects ........................... SUCCESS [0.040s] [INFO] admin-service ..................................... SUCCESS [7.091s] [INFO] asset-service ..................................... SUCCESS [4.180s] [INFO] config ............................................ SUCCESS [0.558s] [INFO] compliance-service ................................ SUCCESS [5.138s] [INFO] notification-service .............................. SUCCESS [3.141s] [INFO] statistics-service ................................ SUCCESS [1.657s] [INFO] auth-service ...................................... SUCCESS [1.525s] [INFO] vulnerability-service ............................. SUCCESS [2.832s] [INFO] PacMan Api Projects ............................... SUCCESS [0.049s] [INFO] inventoryFetch .................................... SUCCESS [43.173s] [INFO] data-shipper ...................................... SUCCESS [4.146s] [INFO] awsrules .......................................... SUCCESS [26.877s] [INFO] pacman-rule-engine ................................ SUCCESS [20.925s] [INFO] pacman-cloud-notifications ........................ SUCCESS [10.973s] [INFO] recommendation-enricher ........................... SUCCESS [2.602s] [INFO] pacman-qualys-enricher ............................ SUCCESS [2.263s] [INFO] azure-discovery ................................... SUCCESS [2.453s] [INFO] PacMan Jobs Projects .............................. SUCCESS [0.010s] [INFO] PacBot UI ......................................... SUCCESS [1:34.286s] [INFO] PacMan ............................................ SUCCESS [0.004s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4:09.301s [INFO] Finished at: Mon Oct 18 09:45:46 UTC 2021 [INFO] Final Memory: 244M/871M [INFO] ------------------------------------------------------------------------
Does the local machine have sufficient free space for creating the remaining images ?
Currently, we are using an EC2 instance with 20GB storage.
@bhuvi11 I solved this issue by updating the dockerfile in installer/resources/pacbot_app/files/api_docker_ssl
Hello @Akashbhaskaran,
I am getting below errors while installing PacBot
1)
2)
3)
4)
PLease help