cloudstack/debian
Wido den Hollander 8da0556f63 kvm/cloudstack-guest-tool: Tool to query Qemu Guest Agent (#3519)
Using this tool on a hypervisor admins can query KVM Instances running
on that hypervisor if they have the Qemu Guest Agent installed.

All System VMs have this and they can be queried.

For example:

$ cloudstack-guest-tool i-2-25-VM

This will print some information about network and filesystem status.

root@hv-138-a05-23:~# ./cloudstack-guest-tool s-11-VM --command info|jq
{
  "network": [
    {
      "ip-addresses": [
        {
          "prefix": 8,
          "ip-address": "127.0.0.1",
          "ip-address-type": "ipv4"
        }
      ],
      "name": "lo",
      "hardware-address": "00:00:00:00:00:00"
    },
    {
      "ip-addresses": [
        {
          "prefix": 16,
          "ip-address": "169.254.242.169",
          "ip-address-type": "ipv4"
        }
      ],
      "name": "eth0",
      "hardware-address": "0e:00:a9:fe:f2:a9"
    },
 ...
 ...
  "filesystem": [
    {
      "mountpoint": "/var",
      "disk": [
        {
          "bus": 0,
          "bus-type": "virtio",
          "target": 0,
          "unit": 0,
          "pci-controller": {
            "slot": 7,
            "bus": 0,
            "domain": 0,
            "function": 0
          }
        }
      ],
      "type": "ext4",
      "name": "vda6"
    },

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2019-09-10 09:31:03 -07:00
..
source Fixes problem with having to change the "-SNAPSHOT" string in debian/rules for releases, deb packaging was broken in master due to this in a merge with release version. Fixes some warnings generated by dpkg-buildpackage regarding upstream tarball an source versioning Reduces source tarball from 669MB to 183MB (it was including .git), now build is faster and takes up less space 2015-05-25 16:45:50 +02:00
changelog Updating pom.xml version numbers for release 4.14.0.0-SNAPSHOT 2019-09-07 09:57:46 +01:00
cloudstack-agent.dirs CLOUDSTACK-9462: Systemd support for Ubuntu 16.04 2016-08-25 14:18:51 +05:30
cloudstack-agent.install deb: Remove Ubuntu 14.04 LTS support and update DEB dependencies (#2828) 2018-09-18 16:01:37 +05:30
cloudstack-agent.postinst systemd: fix services to allow TLS configurations via java.security.ciphers (#3163) 2019-02-04 19:51:30 -02:00
cloudstack-cli.install CLOUDSTACK-1415: Debian & Ubuntu packaging work 2013-02-27 15:44:46 +00:00
cloudstack-common.install CLOUDSTACK-8638: install update_host_passwd.sh in cloudstack-common installation 2015-08-07 15:06:17 +02:00
cloudstack-docs.install CLOUDSTACK-1415: Debian & Ubuntu packaging work 2013-02-27 15:44:46 +00:00
cloudstack-integration-tests.install packaging: Marvin and integration-tests packages 2016-07-20 16:31:23 +05:30
cloudstack-management.install deb: Remove Ubuntu 14.04 LTS support and update DEB dependencies (#2828) 2018-09-18 16:01:37 +05:30
cloudstack-management.postinst CLOUDSTACK-10137: Only link log4j if not already present (#2316) 2017-11-10 19:59:59 +05:30
cloudstack-management.preinst CLOUDSTACK-10012: Migrate to Embedded Jetty 2017-11-03 23:57:25 +05:30
cloudstack-marvin.install packaging: Marvin and integration-tests packages 2016-07-20 16:31:23 +05:30
cloudstack-marvin.postinst CLOUDSTACK-10012: Migrate to Embedded Jetty 2017-11-03 23:57:25 +05:30
cloudstack-usage.dirs CLOUDSTACK-9462: Systemd support for Ubuntu 16.04 2016-08-25 14:18:51 +05:30
cloudstack-usage.install deb: Remove Ubuntu 14.04 LTS support and update DEB dependencies (#2828) 2018-09-18 16:01:37 +05:30
cloudstack-usage.postinst CLOUDSTACK-10012: Migrate to Embedded Jetty 2017-11-03 23:57:25 +05:30
cloudstack-usage.preinst debian: remove old usage jars during upgrade (#2552) 2018-04-09 17:21:06 +05:30
compat packging: Raise compat mode to 9 (#2307) 2017-11-06 18:18:53 +05:30
control debian: install `file` as cloudstack-management dependency (#3436) 2019-06-29 00:24:10 +05:30
copyright fixing license statement in debian 2012-07-20 14:09:16 -04:00
dirs Source code committed 2010-08-11 09:13:29 -07:00
rules kvm/cloudstack-guest-tool: Tool to query Qemu Guest Agent (#3519) 2019-09-10 09:31:03 -07:00