Open kpiwko opened 6 years ago
After installing gnu-tar via brew (brew install gnu-tar
) and making it to appear first in PATH, I was running into different issue.
Resolved by:
brew install socat
@aidenkeating thoughts on this issue? Is it something you've seen/heard of when adding the socat install on mac?
@david-martin Thinking this might be a requirement of the Ansible unarchive
module. We should be able to use the default BSD tar packaged with macOS by default.
@kpiwko @david-martin Managed to reproduce. A fix has been made here (https://github.com/aidenkeating/install-socat/pull/1). The role will now use bsdtar
which should be installed on macOS by default.
You'll need to delete your local mcp-standalone/installer/roles/install-socat
and run the installer again to get the updated role.
@aidenkeating Not sure I can verify on LInux. Either way, here's what's output for me, which is fine
TASK [install-socat : Check socat exists] ************************************************************************************
skipping: [localhost]
TASK [install-socat : Create download directory] *****************************************************************************
skipping: [localhost]
TASK [install-socat : Retrieve and unpack] ***********************************************************************************
skipping: [localhost]
TASK [install-socat : Configure] *********************************************************************************************
skipping: [localhost]
TASK [install-socat : Make] **************************************************************************************************
skipping: [localhost]
TASK [install-socat : Move to install directory] *****************************************************************************
skipping: [localhost]
TASK [install-socat : file] **************************************************************************************************
skipping: [localhost]
TASK [oc-cluster-up : Create alias for lo0 (macos)] **************************************************************************
skipping: [localhost]
TASK [oc-cluster-up : Create alias for lo0 (linux)] **************************************************************************
ok: [localhost]
cat /etc/redhat-release
Fedora release 25 (Twenty Five)
@david-martin Ah yep, install-socat
will only run on macOS.
@maleck13 Would you mind giving this a run ensuring gnu-tar
is uninstalled? tar --version
should output bsdtar........
Let me try to check the fix. I should be able to get to it in 2 hours.
Following error has been printed out while running installer on a macOS: