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

urlopen error: https://url.corp.redhat.com/rhel-guest-image-7-6-210-x86-64-qcow2 #401

Open
shyam-biradar opened this issue Mar 11, 2021 · 6 comments

Comments

@shyam-biradar
Copy link

shyam-biradar commented Mar 11, 2021

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

@fhubik
Copy link
Contributor

fhubik commented Mar 12, 2021

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).

@NileshChandelkar
Copy link

This is only accessible on Internal RH network.

@shyam-biradar
Copy link
Author

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

@shyam-biradar
Copy link
Author

One more query, which infrared github branch is stable?

@NileshChandelkar
Copy link

@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

@shyam-biradar
Copy link
Author

Thanks @NileshChandelkar . I will give a try.

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

3 participants