Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong openshift_installer_url #59

Open
zhelezovartem opened this issue Jan 25, 2023 · 0 comments
Open

wrong openshift_installer_url #59

zhelezovartem opened this issue Jan 25, 2023 · 0 comments

Comments

@zhelezovartem
Copy link

MacOS 13.0.1

The current installer url is not valid.
There are no files downloaded with this url:

  openshift_installer_url = "https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${var.openshift_version}"

Running terraform apply with this url will return errors:

│ Error: local-exec provisioner error
│ 
│   with module.installer.null_resource.openshift_installer,
│   on install/installer.tf line 17, in resource "null_resource" "openshift_installer":
│   17:   provisioner "local-exec" {
│ 
│ Error running command 'tar zxvf ./installer-files//openshift-install-*-4*.tar.gz -C ./installer-files/': exit status 1. Output: tar:
│ Error opening archive: Failed to open './installer-files//openshift-install-*-4*.tar.gz'
│ 
╵
╷
│ Error: local-exec provisioner error
│ 
│   with module.installer.null_resource.openshift_client,
│   on install/installer.tf line 43, in resource "null_resource" "openshift_client":
│   43:   provisioner "local-exec" {
│ 
│ Error running command 'tar zxvf ./installer-files//openshift-client-*-4*.tar.gz -C ./installer-files/': exit status 1. Output: tar:
│ Error opening archive: Failed to open './installer-files//openshift-client-*-4*.tar.gz'

If I update the url this way, it works fine:

openshift_installer_url = "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/${var.openshift_version}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant