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

Open
#401 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
ansible

Research direction

Start with the virsh plugin playbook at /root/.infrared/plugins/virsh/main.yml and reproduce the shown infrared virsh command on the listed operating systems. Trace the task named "download base image for node" and the URL-resolution failure, then verify that the base image download completes successfully without the reported urlopen error.

Written by the indexing model from the issue text.

Description

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

Dominant language
Jinja
Stars
105
Forks
100
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from redhat-openstack/infrared

All issues in redhat-openstack/infrared

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.