aws / aws-mwaa-local-runner

This repository provides a command line interface (CLI) utility that replicates an Amazon Managed Workflows for Apache Airflow (MWAA) environment locally.
MIT No Attribution
691 stars 702 forks source link

Unable to install MWAA local runner 2.7.2 in MacOs #344

Open edimar-cardoso opened 10 months ago

edimar-cardoso commented 10 months ago

Hello, I'm trying to install mwaa local runner in my machine (macOS) using Docker Desktop but I'm stucked in this error when I try to build image:

./mwaa-local-env build-image

---
228.9 + sudo mkdir mariadb_rpm
228.9 + sudo chown airflow /mariadb_rpm
228.9 ++ uname -p
228.9 + [[ x86_64 == \a\a\r\c\h\6\4 ]]
228.9 ++ uname -p
228.9 + wget https://mirror.mariadb.org/yum/11.1/fedora38-amd64/rpms/MariaDB-common-11.1.2-1.fc38.x86_64.rpm -P /mariadb_rpm
228.9 --2023-12-28 14:36:39--  https://mirror.mariadb.org/yum/11.1/fedora38-amd64/rpms/MariaDB-common-11.1.2-1.fc38.x86_64.rpm
229.0 Resolving mirror.mariadb.org (mirror.mariadb.org)... 162.55.42.214, 2a01:4f8:1c17:e53d::1
233.1 Connecting to mirror.mariadb.org (mirror.mariadb.org)|162.55.42.214|:443... connected.
234.1 HTTP request sent, awaiting response... 302 Found
234.4 Location: https://espejito.fder.edu.uy/mariadb/mariadb-11.1.3/yum/fedora/38/x86_64/rpms/MariaDB-common-11.1.2-1.fc38.x86_64.rpm [following]
234.4 --2023-12-28 14:36:45--  https://espejito.fder.edu.uy/mariadb/mariadb-11.1.3/yum/fedora/38/x86_64/rpms/MariaDB-common-11.1.2-1.fc38.x86_64.rpm
234.4 Resolving espejito.fder.edu.uy (espejito.fder.edu.uy)... 190.64.49.124, 2800:a8:c001::a
240.0 Connecting to espejito.fder.edu.uy (espejito.fder.edu.uy)|190.64.49.124|:443... connected.
240.6 ERROR: The certificate of 'espejito.fder.edu.uy' is not trusted.
240.6 ERROR: The certificate of 'espejito.fder.edu.uy' doesn't have a known issuer.
------
Dockerfile:35
--------------------
  33 |
  34 |     RUN chmod u+x /systemlibs.sh && /systemlibs.sh
  35 | >>> RUN chmod u+x /bootstrap.sh && /bootstrap.sh
  36 |     RUN chmod u+x /generate_key.sh && /generate_key.sh
  37 |     RUN chmod u+x /run-startup.sh
--------------------
ERROR: failed to solve: process "/bin/sh -c chmod u+x /bootstrap.sh && /bootstrap.sh" did not complete successfully: exit code: 5
kumpirusha commented 10 months ago

Are you using a VPN or another firewall?

weinerkervens commented 5 months ago

I'm facing the same issue @kumpirusha and it seems related to the script not being able to connect to mirror.nodesdirect.com. I'm using the terminal on VS Code and I don't have any VPN or Firewal set up on my system.

Screenshot 2024-06-08 at 09 31 44