Bug 1585659 - Cloud Base image for Openstack produces endless errors.
Summary: Cloud Base image for Openstack produces endless errors.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 28
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-04 11:01 UTC by ricky.tigg
Modified: 2018-09-06 13:15 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-06 13:15:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
libvirt-client v. 4.1.0-2 – virsh: errors output – xml file (70.00 KB, application/x-tar)
2018-06-04 11:01 UTC, ricky.tigg
no flags Details
libvirt-client v. 4.1.0-2 – virsh: errors output – xml file (70.00 KB, text/plain)
2018-06-04 11:08 UTC, ricky.tigg
no flags Details

Description ricky.tigg 2018-06-04 11:01:46 UTC
Created attachment 1447390 [details]
libvirt-client v. 4.1.0-2 – virsh: errors output – xml file

Description of problem: Cloud Base image for Openstack produces endless errors.
Version-Release number of component: libvirt-client.x86_64 4.1.0-2.fc28 @fedora

Steps to Reproduce:
1. Obtain a Cloud Base image for Openstack (type: qcow2) from https://alt.fedoraproject.org/cloud/.
2. In terminal, execute commands on interactive Virsh:
virsh # start Fedora-Cloud-Base-28
Domain Fedora-Cloud-Base-28 started

virsh # console Fedora-Cloud-Base-28
Connected to domain Fedora-Cloud-Base-28
Escape character is ^]
...

Actual results: Most of the tested cases ended with an endless repetition of expression mentioned in Additional information. Even in tested cases which ended successfully, errors still occurred as illustrated in attachment libvirt-client_4.1.0-2_Fedora-Cloud-Base-28.

Expected results: No reasons for errors.

Additional info: attachment libvirt-client_4.1.0-2_dumpxml_Fedora-Cloud-Base-28

virsh # pool-dumpxml default
<pool type='dir'>
  <name>default</name>
  ...
  <target>
    <path>/var/lib/libvirt/images</path>
    ...
  </target>
</pool>

– In attachment error expression as model is:
'[  232.293940] cloud-init[678]: 2018-06-04 08:33:38,588 - url_helper.py[WARNING]: Calling 'http://192.168.122.1/latest/meta-data/instance-id' failed [76/120s]: request error [HTTPConnectionPool(host='192.168.122.1', port=80): Max retries exceeded with url: /latest/meta-data/instance-id (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3fcd29d828>: Failed to establish a new connection: [Errno 113] No route to host',))]'

Comment 1 ricky.tigg 2018-06-04 11:08:56 UTC
Created attachment 1447391 [details]
libvirt-client v. 4.1.0-2 – virsh: errors output – xml file

Comment 2 Pavel Hrdina 2018-09-06 13:15:59 UTC
This is not a bug in libvirt.  That cloud image is supposed to be used with openstack not with plain libvirt.  The reason why you see these errors is because there is "cloud-init" package installed inside that cloud image and it expect some services running on the network.


Note You need to log in before you can comment on or make changes to this bug.