mohankumarpaluru / oracle-freetier-instance-creation

A script to create free instance
MIT License
150 stars 28 forks source link

How to check if script is running #13

Closed MohashinMubde closed 2 months ago

MohashinMubde commented 4 months ago

Not an issue, I am just wondering if there is a way to know if the script is actually running after the "Successful run" part. I just get paranoid about knowing whether its working or not after I close the terminal.

mohankumarpaluru commented 4 months ago

hey @MohashinMubde check if the launch_instance.log is getting populated every 1 min, if it is then it's running if the last entry is older than 1 min then it stopped running.

MohashinMubde commented 4 months ago

I just checked it, and there is literally nothing, is there anything I can do to check if something is wrong?

mohankumarpaluru commented 4 months ago

Could you please execute ps -ef | grep python to check if there's a process running with python3 main.py? If not found, please activate the virtual environment with source .venv/bin/activate and run python3 main.py from the project directory, and let me know the outcome. python3 main.py

MohashinMubde commented 4 months ago

Here is my outcome:

ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ ps -ef | grep python root 847 1 0 May12 ? 00:00:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers root 954 1 0 May12 ? 00:00:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal ubuntu 5411 4883 0 00:34 pts/0 00:00:00 grep --color=auto python

MohashinMubde commented 4 months ago

I just reran the script

mohankumarpaluru commented 4 months ago

I just reran the script

it's populating the logs now ? did you run it via setup_init.sh rerun

or the manual way I mentioned above ?

MohashinMubde commented 4 months ago

Its not populating the logs, I used setup_init.sh rerun.

I tried to do the manual way by doing source .venv/bin/activate and running python3 main.py, and here is my outcome:

ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ source .venv/bin/activate
(.venv) ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ python3 main.py
Traceback (most recent call last):
  File "/home/ubuntu/oracle-freetier-instance-creation/main.py", line 60, in <module>
    config = oci.config.from_file(oci_config_path)
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/config.py", line 120, in from_file
    invalid_key_file_path_checker(config, expanded_file_location, profile_name)
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/config.py", line 224, in invalid_key_file_path_checker
    raise InvalidKeyFilePath(message)
oci.exceptions.InvalidKeyFilePath: Config file /home/ubuntu/oracle-freetier-instance-creation/oci_config is invalid: the key_file's value '/home/ubuntu/oracle-freetier-instance-creation/oci_api_private_key.pem # TODO' at line 6 must be a valid file path. For more info about config file and how to get required information, see https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm
mohankumarpaluru commented 4 months ago

As per the logs you didn't save the API key file correctly

Also could you please do ls over your project directory and share the result here ? I would like to see why this error is not being catched

MohashinMubde commented 4 months ago

Here is the outcome of ls:

ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ ls
LICENSE              main.py                  requirements.txt
README.md            oci.env                  sample_oci_config
email_content.html   oci_api_private_key.pem  setup_and_info.log
launch_instance.log  oci_config               setup_init.sh

Was I supposed to remove the "-----Begin Private Key-----" and "-----End Private Key-----"?

mohankumarpaluru commented 4 months ago

Here is the outcome of ls:

ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ ls
LICENSE              main.py                  requirements.txt
README.md            oci.env                  sample_oci_config
email_content.html   oci_api_private_key.pem  setup_and_info.log
launch_instance.log  oci_config               setup_init.sh

Was I supposed to remove the "-----Begin Private Key-----" and "-----End Private Key-----"?

no you just need to paste it as it is. It's weird why it's throwing an error. could you do a ls -lah so we can see sizes ?

MohashinMubde commented 4 months ago

Here is the outcome of ls -lah:

ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ ls -lah
total 96K
drwxrwxr-x 4 ubuntu ubuntu 4.0K May 13 00:52 .
drwxr-x--- 6 ubuntu ubuntu 4.0K May 13 00:27 ..
drwxrwxr-x 8 ubuntu ubuntu 4.0K May 12 17:29 .git
-rw-rw-r-- 1 ubuntu ubuntu 3.1K May 12 17:29 .gitignore
drwxrwxr-x 5 ubuntu ubuntu 4.0K May 12 17:45 .venv
-rw-rw-r-- 1 ubuntu ubuntu 1.1K May 12 17:29 LICENSE
-rw-rw-r-- 1 ubuntu ubuntu 9.8K May 12 17:29 README.md
-rw-rw-r-- 1 ubuntu ubuntu  17K May 12 17:29 email_content.html
-rw-rw-r-- 1 ubuntu ubuntu    0 May 13 00:45 launch_instance.log
-rw-rw-r-- 1 ubuntu ubuntu  16K May 12 17:29 main.py
-rw-rw-r-- 1 ubuntu ubuntu  659 May 12 19:04 oci.env
-rw-rw-r-- 1 ubuntu ubuntu 1.7K May 12 17:39 oci_api_private_key.pem
-rw-rw-r-- 1 ubuntu ubuntu  347 May 12 17:41 oci_config
-rw-rw-r-- 1 ubuntu ubuntu   26 May 12 17:29 requirements.txt
-rw-rw-r-- 1 ubuntu ubuntu  204 May 12 17:29 sample_oci_config
-rw-rw-r-- 1 ubuntu ubuntu    0 May 13 00:45 setup_and_info.log
-rwxrwxr-x 1 ubuntu ubuntu 1.3K May 12 17:29 setup_init.sh
mohankumarpaluru commented 4 months ago

everything looks fine not sure why it's throwing an error, could you try getting a new api key and using that private key ? make sure it doesn't add any extra characters while you paste it.

MohashinMubde commented 4 months ago

I have created a new API key from My Profile and it is the same thing. Is there something wrong with my setup?

mohankumarpaluru commented 4 months ago

not sure what's causing the issue because everything looks fine, can you make delete the repo directory and redo the setup ?

MohashinMubde commented 4 months ago

I have tried to reinstall the directory and rerun it. However, it will not let me run the script due to some errors. I have tried running it twice:

ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ ./setup_init.sh
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:2 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:4 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1427 kB]
Get:6 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1671 kB]
Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [852 kB]
Get:8 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [310 kB]
Get:9 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1914 kB]
Get:10 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [325 kB]
Get:11 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1073 kB]
Fetched 7802 kB in 5s (1420 kB/s)                            
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
12 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-venv is already the newest version (3.10.6-1~22.04).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Requirement already satisfied: pip in ./.venv/lib/python3.10/site-packages (22.0.2)
Collecting pip
  Using cached pip-24.0-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 22.0.2
    Uninstalling pip-22.0.2:
      Successfully uninstalled pip-22.0.2
Successfully installed pip-24.0
Collecting wheel
  Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (59.6.0)
Using cached wheel-0.43.0-py3-none-any.whl (65 kB)
Installing collected packages: wheel
Successfully installed wheel-0.43.0
Collecting oci (from -r requirements.txt (line 1))
  Downloading oci-2.126.3-py3-none-any.whl.metadata (5.2 kB)
Collecting paramiko (from -r requirements.txt (line 2))
  Using cached paramiko-3.4.0-py3-none-any.whl.metadata (4.4 kB)
Collecting python-dotenv (from -r requirements.txt (line 3))
  Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)
Collecting certifi (from oci->-r requirements.txt (line 1))
  Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
Collecting cryptography<43.0.0,>=3.2.1 (from oci->-r requirements.txt (line 1))
  Using cached cryptography-42.0.7-cp39-abi3-manylinux_2_28_x86_64.whl.metadata (5.3 kB)
Collecting pyOpenSSL<25.0.0,>=17.5.0 (from oci->-r requirements.txt (line 1))
  Using cached pyOpenSSL-24.1.0-py3-none-any.whl.metadata (12 kB)
Collecting python-dateutil<3.0.0,>=2.5.3 (from oci->-r requirements.txt (line 1))
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2016.10 (from oci->-r requirements.txt (line 1))
  Using cached pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)
Collecting circuitbreaker<2.0.0,>=1.3.1 (from oci->-r requirements.txt (line 1))
  Using cached circuitbreaker-1.4.0-py3-none-any.whl
Collecting bcrypt>=3.2 (from paramiko->-r requirements.txt (line 2))
  Using cached bcrypt-4.1.3-cp39-abi3-manylinux_2_28_x86_64.whl.metadata (9.5 kB)
Collecting pynacl>=1.5 (from paramiko->-r requirements.txt (line 2))
  Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (8.6 kB)
Collecting cffi>=1.12 (from cryptography<43.0.0,>=3.2.1->oci->-r requirements.txt (line 1))
  Using cached cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.5.3->oci->-r requirements.txt (line 1))
  Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting pycparser (from cffi>=1.12->cryptography<43.0.0,>=3.2.1->oci->-r requirements.txt (line 1))
  Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading oci-2.126.3-py3-none-any.whl (26.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 26.4/26.4 MB 3.7 MB/s eta 0:00:00
Using cached paramiko-3.4.0-py3-none-any.whl (225 kB)
Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB)
Using cached bcrypt-4.1.3-cp39-abi3-manylinux_2_28_x86_64.whl (283 kB)
Using cached cryptography-42.0.7-cp39-abi3-manylinux_2_28_x86_64.whl (3.8 MB)
Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
Using cached pyOpenSSL-24.1.0-py3-none-any.whl (56 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached pytz-2024.1-py2.py3-none-any.whl (505 kB)
Using cached certifi-2024.2.2-py3-none-any.whl (163 kB)
Using cached cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pytz, circuitbreaker, six, python-dotenv, pycparser, certifi, bcrypt, python-dateutil, cffi, pynacl, cryptography, pyOpenSSL, paramiko, oci
Successfully installed bcrypt-4.1.3 certifi-2024.2.2 cffi-1.16.0 circuitbreaker-1.4.0 cryptography-42.0.7 oci-2.126.3 paramiko-3.4.0 pyOpenSSL-24.1.0 pycparser-2.22 pynacl-1.5.0 python-dateutil-2.9.0.post0 python-dotenv-1.0.1 pytz-2024.1 six-1.16.0
Unhandled Exception Occurred.
ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ ./setup_init.sh
Previous Log files deleted.
Hit:1 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://iad-ad-3.clouds.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
12 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-venv is already the newest version (3.10.6-1~22.04).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Requirement already satisfied: pip in ./.venv/lib/python3.10/site-packages (24.0)
Requirement already satisfied: wheel in ./.venv/lib/python3.10/site-packages (0.43.0)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (59.6.0)
Requirement already satisfied: oci in ./.venv/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (2.126.3)
Requirement already satisfied: paramiko in ./.venv/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (3.4.0)
Requirement already satisfied: python-dotenv in ./.venv/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (1.0.1)
Requirement already satisfied: certifi in ./.venv/lib/python3.10/site-packages (from oci->-r requirements.txt (line 1)) (2024.2.2)
Requirement already satisfied: cryptography<43.0.0,>=3.2.1 in ./.venv/lib/python3.10/site-packages (from oci->-r requirements.txt (line 1)) (42.0.7)
Requirement already satisfied: pyOpenSSL<25.0.0,>=17.5.0 in ./.venv/lib/python3.10/site-packages (from oci->-r requirements.txt (line 1)) (24.1.0)
Requirement already satisfied: python-dateutil<3.0.0,>=2.5.3 in ./.venv/lib/python3.10/site-packages (from oci->-r requirements.txt (line 1)) (2.9.0.post0)
Requirement already satisfied: pytz>=2016.10 in ./.venv/lib/python3.10/site-packages (from oci->-r requirements.txt (line 1)) (2024.1)
Requirement already satisfied: circuitbreaker<2.0.0,>=1.3.1 in ./.venv/lib/python3.10/site-packages (from oci->-r requirements.txt (line 1)) (1.4.0)
Requirement already satisfied: bcrypt>=3.2 in ./.venv/lib/python3.10/site-packages (from paramiko->-r requirements.txt (line 2)) (4.1.3)
Requirement already satisfied: pynacl>=1.5 in ./.venv/lib/python3.10/site-packages (from paramiko->-r requirements.txt (line 2)) (1.5.0)
Requirement already satisfied: cffi>=1.12 in ./.venv/lib/python3.10/site-packages (from cryptography<43.0.0,>=3.2.1->oci->-r requirements.txt (line 1)) (1.16.0)
Requirement already satisfied: six>=1.5 in ./.venv/lib/python3.10/site-packages (from python-dateutil<3.0.0,>=2.5.3->oci->-r requirements.txt (line 1)) (1.16.0)
Requirement already satisfied: pycparser in ./.venv/lib/python3.10/site-packages (from cffi>=1.12->cryptography<43.0.0,>=3.2.1->oci->-r requirements.txt (line 1)) (2.22)
Unhandled Exception Occurred.
ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ 
mohankumarpaluru commented 4 months ago

there should be a file called unhandled error can you paste its contents here ?

MohashinMubde commented 4 months ago

I cannot find the file you mentioned. If there is a specific location, please let me know. Here is my results after ls:

ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ ls
LICENSE             images_list.json         oci_config
README.md           launch_instance.log      requirements.txt
email_content.html  main.py                  sample_oci_config
id_rsa.pub          oci.env                  setup_and_info.log
id_rsa_private      oci_api_private_key.pem  setup_init.sh
mohankumarpaluru commented 4 months ago

I think it's the same issue again, can you do source and run python3 main.py ?

MohashinMubde commented 4 months ago

I tried running source .venv/bin/activate and running python3 main.py. However, after running python3 main.py, nothing happens (after waiting for a few minutes). Only after I do ^C does something come up. I ran it twice just to make sure:

ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ source .venv/bin/activate
(.venv) ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ python3 main.py
^CTraceback (most recent call last):
  File "/home/ubuntu/oracle-freetier-instance-creation/main.py", line 398, in launch_instance
    launch_instance_response = compute_client.launch_instance(
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/core/compute_client.py", line 6236, in launch_instance
    return self.base_client.call_api(
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/base_client.py", line 535, in call_api
    response = self.request(request, allow_control_chars, operation_name, api_reference_link)
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/base_client.py", line 726, in request
    self.raise_service_error(request, response, service_code, message, operation_name, api_reference_link, target_service, request_endpoint, client_version, timestamp, deserialized_data)
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/base_client.py", line 891, in raise_service_error
    raise exceptions.ServiceError(
oci.exceptions.ServiceError: {'target_service': 'compute', 'status': 500, 'code': 'InternalError', 'opc-request-id': '4ECB3275A7B8418EAB387A2AF5119499/5807160236A14E4E6CA1E5B1141A27E9/3C4FB1C08A3340AF3411B281C20288FB', 'message': 'Out of host capacity.', 'operation_name': 'launch_instance', 'timestamp': '2024-05-14T03:31:44.301252+00:00', 'client_version': 'Oracle-PythonSDK/2.126.3', 'request_endpoint': 'POST https://iaas.us-ashburn-1.oraclecloud.com/20160918/instances', 'logging_tips': 'To get more info on the failing request, refer to https://docs.oracle.com/en-us/iaas/tools/python/latest/logging.html for ways to log the request/response details.', 'troubleshooting_tips': "See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_500__500_internalerror for more information about resolving this error. Also see https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/LaunchInstance for details on this operation's requirements. If you are unable to resolve this compute issue, please contact Oracle support and provide them this full error message."}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/oracle-freetier-instance-creation/main.py", line 442, in <module>
    launch_instance()
  File "/home/ubuntu/oracle-freetier-instance-creation/main.py", line 438, in launch_instance
    handle_errors("launch_instance", data, logging_step5)
  File "/home/ubuntu/oracle-freetier-instance-creation/main.py", line 262, in handle_errors
    time.sleep(WAIT_TIME)
KeyboardInterrupt

(.venv) ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ python3 main.py

^CTraceback (most recent call last):
  File "/home/ubuntu/oracle-freetier-instance-creation/main.py", line 398, in launch_instance
    launch_instance_response = compute_client.launch_instance(
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/core/compute_client.py", line 6236, in launch_instance
    return self.base_client.call_api(
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/base_client.py", line 535, in call_api
    response = self.request(request, allow_control_chars, operation_name, api_reference_link)
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/base_client.py", line 726, in request
    self.raise_service_error(request, response, service_code, message, operation_name, api_reference_link, target_service, request_endpoint, client_version, timestamp, deserialized_data)
  File "/home/ubuntu/oracle-freetier-instance-creation/.venv/lib/python3.10/site-packages/oci/base_client.py", line 891, in raise_service_error
    raise exceptions.ServiceError(
oci.exceptions.ServiceError: {'target_service': 'compute', 'status': 500, 'code': 'InternalError', 'opc-request-id': '34725EA5E5124BF7A3515D26E13F7599/AFA7BA52FA3FBCBFBD532D80C82FF5C4/4FF1E5BCCCB6634E7B29D657BC67F362', 'message': 'Out of host capacity.', 'operation_name': 'launch_instance', 'timestamp': '2024-05-14T03:33:19.078494+00:00', 'client_version': 'Oracle-PythonSDK/2.126.3', 'request_endpoint': 'POST https://iaas.us-ashburn-1.oraclecloud.com/20160918/instances', 'logging_tips': 'To get more info on the failing request, refer to https://docs.oracle.com/en-us/iaas/tools/python/latest/logging.html for ways to log the request/response details.', 'troubleshooting_tips': "See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_500__500_internalerror for more information about resolving this error. Also see https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/LaunchInstance for details on this operation's requirements. If you are unable to resolve this compute issue, please contact Oracle support and provide them this full error message."}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/oracle-freetier-instance-creation/main.py", line 442, in <module>
    launch_instance()
  File "/home/ubuntu/oracle-freetier-instance-creation/main.py", line 438, in launch_instance
    handle_errors("launch_instance", data, logging_step5)
  File "/home/ubuntu/oracle-freetier-instance-creation/main.py", line 262, in handle_errors
    time.sleep(WAIT_TIME)
KeyboardInterrupt

(.venv) ubuntu@autocreatevm:~/oracle-freetier-instance-creation$ 
mohankumarpaluru commented 4 months ago

can you check the launch_instance.log , if it's populating everyi minute then it's an issue with the setup sh script

MohashinMubde commented 4 months ago

Ok, it is populated now.

2024-05-14 03:24:00,489 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
2024-05-14 03:25:01,470 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
2024-05-14 03:26:02,707 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
2024-05-14 03:27:03,676 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
2024-05-14 03:28:04,690 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
2024-05-14 03:29:05,658 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
2024-05-14 03:30:06,775 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
2024-05-14 03:31:07,843 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
2024-05-14 03:31:44,301 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
2024-05-14 03:32:08,875 - INFO - Command: launch_instance--
Output: {'status': 500, 'code': 'InternalError', 'message': 'Out of host capaci>
mohankumarpaluru commented 4 months ago

run in the background with

nohup python3 main.py > /dev/null 2>&1 &

or I just pushed a temporary fix to setup sh , update it and rerun it with setup_init.sh rerun

MohashinMubde commented 4 months ago

Ok, great! Thank you so much for your help. It's populating now after I did the pull. I can close my terminal without any issues now correct?