Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3A06D200BCA for ; Mon, 21 Nov 2016 11:25:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 398F2160AF9; Mon, 21 Nov 2016 10:25:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 85078160AEC for ; Mon, 21 Nov 2016 11:24:59 +0100 (CET) Received: (qmail 53784 invoked by uid 500); 21 Nov 2016 10:24:58 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 53775 invoked by uid 500); 21 Nov 2016 10:24:58 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 53772 invoked by uid 99); 21 Nov 2016 10:24:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2016 10:24:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5C74C2C4C74 for ; Mon, 21 Nov 2016 10:24:58 +0000 (UTC) Date: Mon, 21 Nov 2016 10:24:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8715) Add support for qemu-guest-agent to libvirt provider MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 21 Nov 2016 10:25:00 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683121#comment-15683121 ] ASF GitHub Bot commented on CLOUDSTACK-8715: -------------------------------------------- Github user rhtyd commented on the issue: https://github.com/apache/cloudstack/pull/1545 @wido the Trillian env failed to run the tests for your latest PR due to following error: 2016-11-21 09:59:54,000 INFO [cloud.agent.AgentShell] (main:null) (logid:) Agent started 2016-11-21 09:59:54,005 INFO [cloud.agent.AgentShell] (main:null) (logid:) Implementation Version is 4.10.0.0-SNAPSHOT 2016-11-21 09:59:54,007 INFO [cloud.agent.AgentShell] (main:null) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties 2016-11-21 09:59:54,013 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to using properties file for storage 2016-11-21 09:59:54,016 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to the constant time backoff algorithm 2016-11-21 09:59:54,035 INFO [cloud.utils.LogUtils] (main:null) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml 2016-11-21 09:59:54,050 INFO [cloud.agent.AgentShell] (main:null) (logid:) Using default Java settings for IPv6 preference for agent connection 2016-11-21 09:59:54,211 INFO [cloud.agent.Agent] (main:null) (logid:) id is 2016-11-21 09:59:54,251 ERROR [cloud.agent.AgentShell] (main:null) (logid:) Unable to start agent: java.lang.NullPointerException at java.io.File.(File.java:277) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:786) at com.cloud.agent.Agent.(Agent.java:165) at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:397) at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:367) at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:351) at com.cloud.agent.AgentShell.start(AgentShell.java:456) at com.cloud.agent.AgentShell.main(AgentShell.java:491) Please modify the code to still work where an explicit path may not be defined, and that with your change KVM agent would run on CentOS6/7. Thanks. /cc @jburwell > Add support for qemu-guest-agent to libvirt provider > ---------------------------------------------------- > > Key: CLOUDSTACK-8715 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8715 > Project: CloudStack > Issue Type: New Feature > Security Level: Public(Anyone can view this level - this is the default.) > Components: KVM > Reporter: Sten Spans > Assignee: Wido den Hollander > Labels: kvm, libvirt, qemu, systemvm > Fix For: Future > > > The qemu guest agent is a newer part of qemu/kvm/libvirt which exposes quite a lot of useful functionality, which can only be provided by having an agent on the VM. This includes things like freezing/thawing filesystems (for backups), reading files on the guest, listing interfaces / ip addresses, etc. > This feature has been requested by users, but is currently not implemented. > http://users.cloudstack.apache.narkive.com/3TTmy3zj/enabling-qemu-guest-agent > The first change needed is to add the following to the XML generated for KVM virtual machines,: > > > > > This provides the communication channel between libvirt and the agent on the host. All in all a pretty simple change to LibvirtComputingResource.java / LibvirtVMDef.java > Secondly the qemu-guest-agent package needs to be added to the systemvm template. -- This message was sent by Atlassian JIRA (v6.3.4#6332)