Cannot install on Fedora 39
Closed this issue · 3 comments
When installing (mirror-registry version v1.3.10) on fedora 3, get the following error:
TASK [mirror_appliance : Waiting up to 3 minutes for Quay to become alive at https://registry3.example.com:8443/health/instance] ************************************************************
FAILED - RETRYING: [steve@fedora]: Waiting up to 3 minutes for Quay to become alive at https://registry3.example.com:8443/health/instance (10 retries left).
...
https://registry3.example.com:8443/health/instance (1 retries left).
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: HTTPSConnection.__init__() got an unexpected keyword argument 'cert_file'
fatal: [steve@fedora]: FAILED! => {"attempts": 10, "changed": false, "elapsed": 0, "msg": "Status code was -1 and not [200]: An unknown error occurred: HTTPSConnection.__init__() got an une
xpected keyword argument 'cert_file'", "redirected": false, "status": -1, "url": "https://registry3.example.com:8443/health/instance"}
The following worked from the command line:
curl -k https://registry3.example.com:8443/health/instance
The following worked also - after installing the rootCA.pem file into sys trust - from the commands line:
curl https://registry3.example.com:8443/health/instance
I would expect the playbook to complete, create the init user etc, but it stops there since it can't verify the reg. is up.
Hmm, so the general focus of mirror registry has been on bootstrapping OpenShift, so we originally targeted RHEL. I don't see us adding support for Fedora in the near future, but if a PR comes in that adds support we'll be happy to take a look.
Ok. But where should I look?
This very simple playbook seems to give the error when running on Fedora (RHEL is ok)
Any ideas how to troubleshoot?
Hi, I'm trying to compile myself own installer, and it does work on fedora40.
The Operating system info:
$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation
How I customize mirror-registry:
- change
EE_BASE_IMAGE
andEE_BUILDER_IMAGE
image version:EE_BASE_IMAGE=registry.redhat.io/ansible-automation-platform/ee-minimal-rhel8:2.16 EE_BUILDER_IMAGE=registry.redhat.io/ansible-automation-platform/ansible-builder-rhel8:3.0
2. execute make command:
```shell
make build-online-zip #OR make build-offline-zip
```
3. install mirror-registry from the genereted tar file.