hello
after creating a VM based on the doc:
https://docs.openvz.org/openvz_users_guide.webhelp/_creating_virtual_machines.html
:
prlctl create thd-dhcpntp --distribution centos7 --vmtype vm
prlctl installtools dhcpntp
prlctl set dhcpntp --device-set net0 --ipadd 10.10.10.10/24
prlctl set dhcpntp --nameserver 10.10.10.1
if finally try to enter it, but it fails :
# prlctl enter dhcpntp
Operation failed. Failed to execute the operation. (Details: Guest agent
is not responding: QEMU guest agent is not connected)
after searchs, I deducted that I need qemu-guest-agent, so installed
itwith yum (qemu-guest-agent-2.3.0-4.vl7.1.x86_64
)
but qemu-guest-agent cannot start
# systemctl start qemu-guest-agent.service
A dependency job for qemu-guest-agent.service failed. See 'journalctl
-xe' for details.
# systemctl status qemu-guest-agent.service
qemu-guest-agent.service - QEMU Guest Agent
Loaded: loaded (/usr/lib/systemd/system/qemu-guest-agent.service;
enabled; vendor preset: enabled)
Active: inactive (dead)
journalctl -f :
août 27 17:17:31 thd-vz1 systemd[1]: Dependency failed for QEMU Guest Agent.
août 27 17:17:31 thd-vz1 systemd[1]: Job qemu-guest-agent.service/start
failed with result 'dependency'.
août 27 17:56:18 vz1 systemd[1]: Job
dev-virtio\x2dports-org.qemu.guest_agent.0.device/start timed out.
août 27 17:56:18 vz1 systemd[1]: Timed out waiting for device
dev-virtio\x2dports-org.qemu.guest_agent.0.device.
août 27 17:56:18 vz1 systemd[1]: Dependency failed for QEMU Guest Agent.
août 27 17:56:18 vz1 systemd[1]: Job qemu-guest-agent.service/start
failed with result 'dependency'.
août 27 17:56:18 vz1 systemd[1]: Job
dev-virtio\x2dports-org.qemu.guest_agent.0.device/start failed with
result 'timeout'.
août 27 17:56:18 vz1 polkitd[841]: Unregistered Authentication Agent for
unix-process:12814:241254 (system bus name :1.32, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
(disconnected from bus)
I am surprised that the virtuozzo installation ISO doesn't include
qemu-guest-agent if it is needed (?)
what could be wrong here ?
regards.
Ps: my versions
# cat /etc/redhat-release
Virtuozzo Linux release 7.2
# uname -a
Linux vz1 3.10.0-327.18.2.vz7.15.2 #1 SMP Fri Jul 22 14:48:06 MSK 2016
x86_64 x86_64 x86_64 GNU/Linux
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users