infrared
infrared copied to clipboard
urlopen error: https://url.corp.redhat.com/rhel-guest-image-7-6-210-x86-64-qcow2
Command: infrared virsh --host-address $HOST --host-key $HOST_KEY --topology-nodes "undercloud:1,controller:1,compute:1"
Failed with 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'preallocation': u'metadata', u'import_url': None, u'path': None, u'cache': u'unsafe', u'dev': u'/dev/vda', u'size': u'55G'}, 'key': u'disk1'}) => {"attempts": 5, "changed": false, "dest": "/var/lib/libvirt/images/rhel-guest-image-7-6-210-x86-64-qcow2.original", "item": {"key": "disk1", "value": {"cache": "unsafe", "dev": "/dev/vda", "import_url": null, "path": null, "preallocation": "metadata", "size": "55G"}}, "msg": "Request failed: <urlopen error [Errno -2] Name or service not known>", "state": "absent", "url": "https://url.corp.redhat.com/rhel-guest-image-7-6-210-x86-64-qcow2"}
NO MORE HOSTS LEFT ********************************************************************************************************** to retry, use: --limit @/root/.infrared/plugins/virsh/main.retry
PLAY RECAP ****************************************************************************************************************** hypervisor : ok=101 changed=12 unreachable=0 failed=1 localhost : ok=4 changed=2 unreachable=0 failed=0
ERROR Playbook "/root/.infrared/plugins/virsh/main.yml" failed!
Infrared machine OS: RHEL 7
Virsh Host OS: Centos 7.9
Hey, image download links are not maintained by IR team(s) and change frequently, feel free to recheck correct links (note we can not share internal links in public repo) - it is also good oportunity to re-check the semantics of product (RHOS) to RHEL compatibility being deployed (as currently no deployment I am aware of is running on top of old 7.6 anymore).
This is only accessible on Internal RH network.
Hi @fhubik @NileshChandelkar Thanks for the information. I can try with upstrem rdo openstack. Where I need to mention it(use rdo images instead of redhat images) in scripts?
Or just changing infrared client OS to centos will take care of it?
Thanks, Shyam
One more query, which infrared github branch is stable?
@shyam-biradar You can use --image-url https://images.rdoproject.org/CentOS-8-x86_64-GenericCloud.qcow2
- Example:
infrared virsh --host-address $MYSERVER --host-key ~/.ssh/4SSH_KEY \
--topology-nodes undercloud:1,controller:1,compute:1,ceph:1 \
-e override.undercloud.cpu=4 \
-e override.controller.cpu=4 \
-e override.compute.cpu=2 \
-e override.controller.memory=20000 \
-e override.undercloud.memory=12000 \
-e override.compute.memory=8000 \
-e override.ceph.memory=8000 \
-e override.undercloud.disks.disk1.size=100G \
--image-url https://images.rdoproject.org/CentOS-8-x86_64-GenericCloud.qcow2 \
--host-memory-overcommit=True
Thanks @NileshChandelkar . I will give a try.