Bug 1590310 - Service qemu-guest-agent fails to start.
Summary: Service qemu-guest-agent fails to start.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 28
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-12 12:11 UTC by ricky.tigg
Modified: 2018-06-13 13:12 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-06-13 13:12:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journalctl (2.60 KB, text/plain)
2018-06-12 12:11 UTC, ricky.tigg
no flags Details

Description ricky.tigg 2018-06-12 12:11:36 UTC
Created attachment 1450494 [details]
journalctl

Description of problem: Service qemu-guest-agent fails to start.

Version-Release number of component in guest: qemu-guest-agent.x86_64                 2:2.11.1-2.fc28 @anaconda

How reproducible: Enable component (successful command).

Actual results: Subsequent commands –systemctl status/start qemu-guest-agent– produce error messages:

$ systemctl status qemu-guest-agent
● qemu-guest-agent.service - QEMU Guest Agent
   Loaded: loaded (/usr/lib/systemd/system/qemu-guest-agent.service; enabled; v>
   Active: inactive (dead)

kesä 12 13:03:58 tuure systemd[1]: Dependency failed for QEMU Guest Agent.
kesä 12 13:03:58 tuure systemd[1]: qemu-guest-agent.service: Job qemu-guest-age>
kesä 12 13:10:06 tuure systemd[1]: Dependency failed for QEMU Guest Agent.
kesä 12 13:10:06 tuure systemd[1]: qemu-guest-agent.service: Job qemu-guest-age>

$ sudo systemctl start qemu-guest-agent
[sudo] salasana henkilölle yk: 
A dependency job for qemu-guest-agent.service failed. See 'journalctl -xe' for details.

Expected results: no reason for errors messages
Additional info: Attachment

Comment 1 Cole Robinson 2018-06-12 13:36:53 UTC
Are you trying to run it inside a properly configured VM? The guest agent service won't start unless there's a org.qemu.guest_agent.0 virtio channel attached

Comment 2 ricky.tigg 2018-06-12 19:51:02 UTC
I Just changed actual set on a shutdown domain following manual procedure on section 11.1.1.1 at  
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/pdf/virtualization_deployment_and_administration_guide/Red_Hat_Enterprise_Linux-7-Virtualization_Deployment_and_Administration_Guide-en-US.pdf.

virsh # edit <domain>
...
    '<channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>'
to
    '<channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>'

At last this service allowed for being started.


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