Skip to content

ocp4-libvirt installation preparation task is failing #3

@deenamanick

Description

@deenamanick

Hi,

Can you advise how to fix this issue?

deena@localhost libvirt-upi]$ ./jkit.py prep

PLAY [Pre-requisites Processes] **************************************************************************************************************************************************************

TASK [Install required packages] *************************************************************************************************************************************************************
ok: [127.0.0.1]

PLAY [Pre-requisites Processes] **************************************************************************************************************************************************************

TASK [debug] *********************************************************************************************************************************************************************************
ok: [127.0.0.1] => {
"rhcos_initramfs": {
"dest": "/var/lib/matchbox/assets/rhcos//4.3/rhcos-initramfs.img",
"src": "https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.3/4.3.0/rhcos-4.3.0-x86_64-installer-initramfs.img"
}
}

TASK [Create directories] ********************************************************************************************************************************************************************
ok: [127.0.0.1] => (item=/home/deena/.local)
changed: [127.0.0.1] => (item=/home/deena/.terraform.d)
changed: [127.0.0.1] => (item=/var/lib/matchbox/assets/rhcos/4.3)
ok: [127.0.0.1] => (item=/var/www/html)

TASK [Download terraform binary & libvirt provider] ******************************************************************************************************************************************
changed: [127.0.0.1] => (item={'src': ' https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_linux_amd64.zip', 'dest': '/home/deena/.local/bin'})
failed: [127.0.0.1] (item={'src': 'https://github.com/dmacvicar/terraform-provider-libvirt/releases/download/v0.6.1/terraform-provider-libvirt-0.6.1+git.1578064534.db13b678.Fedora_28.x86_64.tar.gz', 'dest': '/home/deena/.terraform.d/plugins'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dest": "/home/deena/.terraform.d/plugins", "src": "https://github.com/dmacvicar/terraform-provider-libvirt/releases/download/v0.6.1/terraform-provider-libvirt-0.6.1+git.1578064534.db13b678.Fedora_28.x86_64.tar.gz"}, "msg": "dest '/home/deena/.terraform.d/plugins' must be an existing dir"}
failed: [127.0.0.1] (item={'src': 'https://github.com/poseidon/terraform-provider-matchbox/releases/download/v0.3.0/terraform-provider-matchbox-v0.3.0-linux-amd64.tar.gz', 'dest': '/home/deena/.terraform.d/plugins'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dest": "/home/deena/.terraform.d/plugins", "src": "https://github.com/poseidon/terraform-provider-matchbox/releases/download/v0.3.0/terraform-provider-matchbox-v0.3.0-linux-amd64.tar.gz"}, "msg": "dest '/home/deena/.terraform.d/plugins' must be an existing dir"}
changed: [127.0.0.1] => (item={'src': 'https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.3.2/openshift-install-linux-4.3.2.tar.gz', 'dest': '/usr/bin'})
changed: [127.0.0.1] => (item={'src': 'https://github.com/poseidon/matchbox/archive/master.zip', 'dest': '/run/media/deena/268ae236-b727-46b4-825d-f7797f5e162c/ocp4-libvirt/UPI/libvirt-upi/prep'})

PLAY RECAP ***********************************************************************************************************************************************************************************
127.0.0.1 : ok=3 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Initializing the backend...

Successfully configured the backend "local"! Terraform will automatically
use this backend unless the backend configuration changes.

Error: libvirt_network.ocp_network: resource depends on non-existent module 'matchbox'

Error: libvirt_network.ocp_network: resource depends on non-existent module 'matchbox'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions