-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Auto Updates, CI
-
None
-
3
-
Not Needed
-
Iteration Jellyfish
Problem Statement/Rationale
Server package tests are broken because of the install_compass script. When running the script manually I see that https://compass.mongodb.com/api/v2/download/latest/compass/stable/linux_rpm returns 404
[ec2-user@ip-10-122-57-183 ~]$ sudo install_compass Retrieving the Compass package from https://compass.mongodb.com/api/v2/download/latest/compass/stable/linux_rpm Unable to download MongoDB Compass, please check your internet connection. If the issue persists go to https://www.mongodb.com/download-center?jmp=hero#compass to download the compass installer for your platform. Traceback (most recent call last): File "/bin/install_compass", line 144, in download_file response = urlopen(url) File "/usr/lib64/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/lib64/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python3.6/urllib/request.py", line 570, in error return self._call_chain(*args) File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/lib64/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/bin/install_compass", line 373, in download_and_install_compass download_file(url=url, filename=filename) File "/bin/install_compass", line 156, in download_file raise FileDownloadError('Unable to download MongoDB Compass, please check your internet' \ FileDownloadError: Unable to download MongoDB Compass, please check your internet connection. If the issue persists go to https://www.mongodb.com/download-center?jmp=hero#compass to download the compass installer for your platform. Cleaning up... Done! A log file for this installation can be found at /tmp/install_compass.log Please see our documentation for how to download and install Compass manually: https://docs.mongodb.com/compass/current/install/#download-and-install-compass
Steps to Reproduce
On rhel80
curl -LO https://mciuploads.s3.amazonaws.com/mongodb-mongo-master/enterprise-rhel-80-64-bit-suggested/c7ef5a02d1c6ec0c7300c5e176df7fc7298e945c/artifacts/mongodb_mongo_master_enterprise_rhel_80_64_bit_suggested_c7ef5a02d1c6ec0c7300c5e176df7fc7298e945c_22_08_19_17_36_41-packages.tgz tar zxf mongodb_mongo_master_enterprise_rhel_80_64_bit_suggested_c7ef5a02d1c6ec0c7300c5e176df7fc7298e945c_22_08_19_17_36_41-packages.tgz sudo yum install -y `find . -name "*server*.rpm"` sudo yum install -y `find . -name "*tools-extra*.rpm"` sudo install_compass
Expected Results
Script returns rc 0
Actual Results
See logs above
Additional Notes
It stopped working between 7/01/2022 and 7/22/2022. Might be related to KANOPY-144 based on the scope of the ticket and the time it was implemented
- is duplicated by
-
COMPASS-8032 Unable to extract compass logs
- Closed