Skip to content

wrong openshift_installer_url  #59

Open
@zhelezovartem

Description

@zhelezovartem

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}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions