redhat-openstack / infrared

Plugin based framework that aims to provide an easy-to-use CLI for Ansible based projects
https://infrared.readthedocs.io/en/latest/index.html
Apache License 2.0
100 stars 96 forks source link

HTTP Error 404: Not Found when downloading rhel-guest-image-7-5 file. #325

Closed FedericoRessi closed 6 years ago

FedericoRessi commented 6 years ago

When executing:

infrared virsh --host-address puma15 --host-key .ssh_key --topology-nodes undercloud:1,controller:1,compute:1

I got this below error:

TASK [download base image for node] *************************************************************************************************************************
FAILED - RETRYING: download base image for node (5 retries left).
FAILED - RETRYING: download base image for node (4 retries left).
FAILED - RETRYING: download base image for node (3 retries left).
FAILED - RETRYING: download base image for node (2 retries left).
FAILED - RETRYING: download base image for node (1 retries left).
failed: [hypervisor] (item={'value': {u'import_url': None, u'cache': u'unsafe', u'dev': u'/dev/vda', u'preallocation': u'metadata', u'path': None, u'size': u'55G'}, 'key': u'disk1'}) => {"attempts": 5, "changed": false, "dest": "/var/lib/libvirt/images/rhel-guest-image-7-5-146-x86-64-qcow2", "item": {"key": "disk1", "value": {"cache": "unsafe", "dev": "/dev/vda", "import_url": null, "path": null, "preallocation": "metadata", "size": "55G"}}, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "https://url.corp.redhat.com/rhel-guest-image-7-5-146-x86-64-qcow2"}

It looks like the this link is broken: https://url.corp.redhat.com/rhel-guest-image-7-5-146-x86-64-qcow2

FedericoRessi commented 6 years ago

This change introduced the problem. Please revert or fix it: https://github.com/redhat-openstack/infrared/commit/11b691698d4142ab2e8d437c12339d181586b23e

obaranov commented 6 years ago

@FedericoRessi, probably shorten url has been expired. I re-enabled it. Can you try now?