RE: Packer and Cloudstack

2019-04-05 Thread Andrija Panic
We have internal repo for this - builds for centos 6,7 ubuntu 14,16,18 and can be easily tuned to support different SCSI and NIC controllers for other hypervisors (atm build targets building vmware templates). Were thinking making this public at some point in time... andrija.pa...@shapeblue.com 

Re: Packer and Cloudstack

2019-04-05 Thread Nux!
It'd be nice to share with the mailing list, though.. ;-) -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Ivan Kudryavtsev" > To: "users" > Sent: Friday, 5 April, 2019 16:06:35 > Subject: Re: Packer and Cloudstack > Hi, Swen. > We u

Re: Network metrics

2019-04-05 Thread Rakesh v
This include stats from virtual router as well since libvirt exporter use virsh libraries to fetch details. For libvirt, virual router is just another VM and so it will exporter those stats also. Run virsh list and you will see virual router entry and using dommemstats or other commands you can

Re: Network metrics

2019-04-05 Thread Nux!
What exactly did you have in mind? I mean other than bytes in and out. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Riepl, Gregor (SWISS TXT)" > To: "users" > Sent: Friday, 5 April, 2019 16:09:18 > Subject: Re: Network metrics >>

Re: Network metrics

2019-04-05 Thread Riepl, Gregor (SWISS TXT)
> You can use "libvirt exporter" to export all stats like cpu utilization, > memory consumption, disk read/write, network read/write and export it to > prometheus. From prometheus you can use grafana or other monitoring tools > to see all stats. We use exporter merger third party tool to merge all

Re: Packer and Cloudstack

2019-04-05 Thread Ivan Kudryavtsev
Hi, Swen. We use Packer for building templates (Ubuntu 16, 18, CentOS 7, Debian 9). Please contact me directly and I share what you need. пт, 5 апр. 2019 г. в 10:54, Swen - swen.io : > Hi all, > > does anybody have experience with Packer (www.packer.io)? I want to create > templates using Packer

Packer and Cloudstack

2019-04-05 Thread Swen - swen.io
Hi all, does anybody have experience with Packer (www.packer.io)? I want to create templates using Packer and Cloudstack is supported. But I cannot find a way to use a preseed file to create a Debian/Ubuntu template. Thanks for any help! cu Swen

Re: Shutdown VM

2019-04-05 Thread Rakesh Venkatesh
Disable the HA for the vm by changing filed in vm_instance table and shutdown the vm. The cloudstack wont restart it. That worked for me On Fri, Apr 5, 2019 at 1:25 PM Alex Adati wrote: > Hello, > > I'm using a computational offering with HA enabled, and would like to know > if there is any way

Re: Network metrics

2019-04-05 Thread Rakesh Venkatesh
Hello Gregor You can use "libvirt exporter" to export all stats like cpu utilization, memory consumption, disk read/write, network read/write and export it to prometheus. From prometheus you can use grafana or other monitoring tools to see all stats. We use exporter merger third party tool to mer

Re: Network metrics

2019-04-05 Thread Riepl, Gregor (SWISS TXT)
> How I got stats for all VMs, including system ones, was to install > Prometheus, both the cloudstack and the libvirt exporter. > I know it's "outside" Cloudstack, but may prove useful. It looks like the Prometheus exporter is limited to per-zone statistics, though? https://cwiki.apache.org/conf

Re: Network metrics

2019-04-05 Thread Nux!
Hi, How I got stats for all VMs, including system ones, was to install Prometheus, both the cloudstack and the libvirt exporter. I know it's "outside" Cloudstack, but may prove useful. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "

Re: FreeNAS Secondary Storage anyone?

2019-04-05 Thread Nux!
Ok, found the problem and bug: - it seems with NFS v4 everyone and their fuckin dog can mount a share, even with an address not in the exports ACL (input/output errors on everything then on) - Cloudstack (Adv+SG) uses the guest network instead of the management network to mount the share (most

Re: FreeNAS Secondary Storage anyone?

2019-04-05 Thread Nux!
E pur non si muove... Mounting the share as nfs4 under CentOS works just fine and ids are 0/0. On the Debian sec stor VM it mounts, but operations lead to "input output error". -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Nux!" >

Re: FreeNAS Secondary Storage anyone?

2019-04-05 Thread Nux!
Indeed, apparently you also need to enable "NFSv3 ownership model for NFSv4" in Services/NFS, but that seems to have done the trick. Cheers -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Nux!" > To: "asender" > Cc: "users" > Sent

Re: Network metrics

2019-04-05 Thread Riepl, Gregor (SWISS TXT)
Hi Boris, > I don’t think you could directly query for a VR, but you could specify a > network ID and it’ll list you all the metrics of VMs on that network. Then I > suppose you could work out a summary from that list. > https://cloudstack.apache.org/api/apidocs-4.12/apis/listVirtualMachinesMetr

Re: FreeNAS Secondary Storage anyone?

2019-04-05 Thread Nux!
Hi, I had already tried that and failed. I'll try again, maybe I overlooked some detail. Thanks -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "asender" > To: "users" > Cc: "Nux!" > Sent: Friday, 5 April, 2019 00:46:04 > Subject:

RE: Shutdown VM

2019-04-05 Thread Andrija Panic
No. CloudStack is not aware that you did shutdown VM from inside OS - CloudStack will consider a VM crashed, and will start it again. Best Andrija andrija.pa...@shapeblue.com  www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Al

Re: CloudStack NoVNC solution in Leaseweb

2019-04-05 Thread Sven Vogel
Hi Wei Zhou, That would be great. Thanks for that! Greetings Sven __ Sven Vogel Teamlead Platform EWERK RZ GmbH Br?hl 24, D-04109 Leipzig P +49 341 42649 - 11 F +49 341 42649 - 18 s.vo...@ewerk.com www.ewerk.com Gesch?ftsf?hrer: Dr. Erik Wende, Hendrik Schubert, Frank Richter, Gerhard Hoye

Re: Shutdown VM

2019-04-05 Thread Alex Adati
Hello, I'm using a computational offering with HA enabled, and would like to know if there is any way to shut down the VM by the operating system. Thank's. Em sex, 5 de abr de 2019 às 04:54, Riepl, Gregor (SWISS TXT) < gregor.ri...@swisstxt.ch> escreveu: > > You should be using a computer offer

AW: Resource type for an ACL? (API)

2019-04-05 Thread peter.muryshkin
Hi, Anurag, I have tested so far only as domain admin. kind regards Peter Von: Anurag A [anuraga.i...@gmail.com] Gesendet: Freitag, 5. April 2019 12:45 An: users@cloudstack.apache.org Cc: anurag.awas...@shapeblue.com Betreff: Re: Resource type for an ACL?

Re: Resource type for an ACL? (API)

2019-04-05 Thread Anurag A
Typo - Just to clarify - you are able to create tags as root admin and domain admins but not as user? On Fri, Apr 5, 2019 at 4:11 PM Anurag A wrote: > Hi Peter, > > Just to clarify - you unable to create tags as root admin and domain > admins but not as user? > > That seems expected and there a

Re: Resource type for an ACL? (API)

2019-04-05 Thread Anurag A
Hi Peter, Just to clarify - you unable to create tags as root admin and domain admins but not as user? That seems expected and there are some open issues around that too - https://github.com/apache/cloudstack/issues/2823 May be someone else has more inputs on this so you can wait for their respo

Re: Network metrics

2019-04-05 Thread Boris Stoyanov
Hi Gregor, I don’t think you could directly query for a VR, but you could specify a network ID and it’ll list you all the metrics of VMs on that network. Then I suppose you could work out a summary from that list. https://cloudstack.apache.org/api/apidocs-4.12/apis/listVirtualMachinesMetrics.htm

AW: Resource type for an ACL? (API)

2019-04-05 Thread peter.muryshkin
Hi, Anurag, thank you for your quick response - as I've found out, I am actually NOT able to create a tag. Error message: "The user is not allowed to request the API command or the API command does not exist" But, I tried it as a root user of an account - is tagging then allowed for the glob

RE: pci passthrough

2019-04-05 Thread Andrija Panic
Hi Piotr, Have a look at a video from last London User Group that explains (beside other new things) passing extra configuration flags for KVM VM, which might give you an idea how you can achieve PCI passthrough: https://www.shapeblue.com/cloudstack-european-user-group-cseug-roundup-london-marc

Network metrics

2019-04-05 Thread Riepl, Gregor (SWISS TXT)
Hi, I recently discovered that CloudStack exposes certain VM metrics like disk I/O, network bandwidth, CPU load and (if the HV agent is installed) memory usage. Presumably, these are fetched directly from the hypervisor. However: I found no way to get the same statistics for system VMs, in part

Re: Shutdown VM

2019-04-05 Thread Riepl, Gregor (SWISS TXT)
> You should be using a computer offering with HA enabled. > When you’re using this option, cloudstack will start vm until you shutdown it > by cloudstack interface (UI or api). I think you meant: You should NOT be using a compute offering with HA enabled, right?