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 E919F200828 for ; Fri, 13 May 2016 22:35:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E7950160A12; Fri, 13 May 2016 20:35:50 +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 3AD2C1602BE for ; Fri, 13 May 2016 22:35:50 +0200 (CEST) Received: (qmail 71287 invoked by uid 500); 13 May 2016 20:35:49 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 71271 invoked by uid 99); 13 May 2016 20:35:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2016 20:35:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CA1F0DFC6D; Fri, 13 May 2016 20:35:48 +0000 (UTC) From: wido To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request: CLOUDSTACK-8715: Add channel to Instances... Content-Type: text/plain Message-Id: <20160513203548.CA1F0DFC6D@git1-us-west.apache.org> Date: Fri, 13 May 2016 20:35:48 +0000 (UTC) archived-at: Fri, 13 May 2016 20:35:51 -0000 Github user wido commented on the pull request: https://github.com/apache/cloudstack/pull/1545#issuecomment-219152627 @swill Yes, running this in production on our cloud I just started an Instance and the Agent (backport to 4.8, clean merge) produced this XML: ``` i-2-25-VM bd93ca81-d976-41be-823c-6fc0ea013111 Ubuntu 12.04 (64-bit) Apache Software Foundation CloudStack KVM Hypervisor bd93ca81-d976-41be-823c-6fc0ea013111 hvm restart destroy destroy 4194304 2 1000 /usr/libexec/qemu-kvm d70d7e6e753d4a0ead5f 3fcb9970cf634251b1b9
``` There you see this channel added: ```
``` In the Ubuntu 14.04 the Guest Agent is running:
    root@vhosting-relay:~# ps aux|grep qemu
    root      2789  0.0  0.0  17468   700 ?        Ss   22:19   0:00 /usr/sbin/qemu-ga --daemonize -m virtio-serial -p /dev/virtio-ports/org.qemu.guest_agent.0
    root      2890  0.0  0.0  10460   908 pts/6    S+   22:20   0:00 grep qemu
    root@vhosting-relay:~#
    
From the HV I can send commands through libvirt:
    [root@n06 ~]# virsh qemu-agent-command i-2-25-VM '{"execute":"guest-ping"}'
    {"return":{}}
    
    [root@n06 ~]#
    
I also re-started a Console Proxy which has a additional channel, that works as well: ```
``` --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---