Re: Network "restart required - yes"

2018-10-03 Thread Rohit Yadav
Hi Andrija, Since you're running an older ACS 4.8.x version, the rolling restart VPC code does not apply for you. Performing restart of a vpc network (tier, and when cleanup is not selected) will not restart the VPC VR but only re-apply the networking rules. When due to a failed shutdown of

Re: system VM has no ips

2018-10-03 Thread Rohit Yadav
Hi Yordan, Can you test the latest 4.11.2.0 RC2, deploy a fresh environment or upgrade your test environment and see if you can reproduce the issue? - Rohit From: Yordan Kostov Sent: Monday, October 1, 2018 12:26:48 PM To: u

Re: Urgent: MySQLIntegrityConstraintViolationException: Duplicate entry

2018-10-03 Thread Rohit Yadav
Hi Ugo, Most likely your database is not corrupt, but only few entries had the duplicate keys (IDs). CloudStack should GC failed async jobs and mark jobs to be removed when mgmt server is shutdown. Unless you're seeing any errors you should be okay, however, do keep backups. - Rohit

Re: Unable to deploy/restart VM

2018-10-03 Thread Rohit Yadav
Hi Nicolas, What is the version of CloudStack you're using? You get this error when the cluster cpu/memory thresholds have been exceeded and the cluster will be skipped by the deployment planner for deploying the VM. Check if the cluster where you were trying to deploy the VM has enough CPU an

Re: How to configure TLS on ACS 4.11.1 Web UI

2018-10-03 Thread Rohit Yadav
Hi Netlynker, You're right we've to fix the docs, as we've moved to using embedded jetty as our webserver. The configuration can be found in /etc/cloudstack/management/server.properties: https://github.com/apache/cloudstack/blob/master/client/conf/server.properties.in#L35 You just need to cr

Re: Unable to migrate instance to new host

2018-10-03 Thread Rohit Yadav
Hi Jevgeni, After upgrading to 4.11.1.0, by default we require that hosts are secured using a new CA framework. To do that you can run provisionCertificate API against all your KVM hosts and CPVM/SSVM hosts which will secure and onboard them to use CloudStack issued x509 certificates. By def

Re: Live Migration From VMware to KVM?

2018-10-03 Thread Rohit Yadav
That's not possible (yet), but you can shutdown VM in vmware and import the vmdks to a KVM host which will be mostly a manual or semi-automated exercise. It will get tricky if there are multiple vmdks (differential disks) which will require you to coalesce those vmdks before you import them to K

Re: Storage volumes of destroyed VMs are left

2018-10-03 Thread Rohit Yadav
There is new/upcoming feature to allow users to delete volumes/disks when destroying a VM: https://github.com/apache/cloudstack/pull/2793 The reason we don't do that now is to allow users to recover the VMs if they want to. - Rohit

Re: cloudstack-usage does not start

2018-10-03 Thread Rohit Yadav
Hi Ugo, The usage server is unable to find the 'key' file, make sure to create a symlink to the key file. Are you trying to run the usage server on a server that does not have management server installed? If that's the case, you'll need to copy the key and db.properties file from the managemen

Re: Is that safe to put public IP directly on Virtual Router/ System VMs?

2018-10-03 Thread Rohit Yadav
Hi Netlynker, Yes, you can. You can have your physical network hardware put stricter ingress/egress rules as well, or you can route to management server and CPVM/SSVM services via a loadbalancer. A lot of people do have their VRs exposed to the public Internet, for example I see: https://www

Re: Local Upload to Storage - Volumes

2018-10-03 Thread Rohit Yadav
Hi Richard, Setup a valid SSL certificate for SSVM/CPVM usage (go to UI->infra->setup ssl/tls certificate). The upload template/volume from local storage tries to perform a POST http request on a https enabled endpoint (the ssvm url) which is why it fails. The other reason could be a bug. Debug

Re: VR DHCP issue

2018-10-03 Thread Rohit Yadav
Restart the network with cleanup=true, check if the new VR has the necessary dhcp settings? - Rohit From: Alessandro Caviglione Sent: Monday, October 1, 2018 4:32:41 PM To: [email protected] Subject: Re: VR DHCP iss

Re: How to move existing VR to new Public IP Range

2018-10-03 Thread Rohit Yadav
Ideally, with the new public IP range added, when you acquire a new public IP the VR should be configured to use that new public (acquired) IP. You should n't need to do anything. - Rohit From: Netlynker Sent: Tuesday, Octobe

Re: VR IP Association Command

2018-10-03 Thread Rohit Yadav
The Start(Command) is the initial command that is sent to start a VM, the IpAssoc is used to associate a (new) nic/IP in a VR. On initial programming (say deploying a fresh VR, or a VR after restartNetwork with cleanup=true is called), the IpAssoc is sent that would configure all the necessary n

RE: system VM has no ips

2018-10-03 Thread Yordan Kostov
Hello Rohit, Sure! Where can I get a package of 4.11.2 and does it come with new version of the system vm template or should I use the same from 4.11.1? Best regards, Jordan -Original Message- From: Rohit Yadav [mailto:[email protected]] Sent: Wednesday, Octob

Re: Network "restart required - yes"

2018-10-03 Thread Andrija Panic
Thx Rohit! On Wed, Oct 3, 2018, 14:27 Rohit Yadav wrote: > Hi Andrija, > > > Since you're running an older ACS 4.8.x version, the rolling restart VPC > code does not apply for you. Performing restart of a vpc network (tier, and > when cleanup is not selected) will not restart the VPC VR but only

Re: Storage volumes of destroyed VMs are left

2018-10-03 Thread Ivan Kudryavtsev
Fariborz, please clarify: - it doesn't remove root volume - it doesn't remove backing file for root volume - it doesn't remove data volumes which were attached to VM Depending on what to choose there are different answers: 1. bug 2. ok if other backing file users 3. by design, as Rohit said there

Re: Unable to deploy/restart VM

2018-10-03 Thread Ivan Kudryavtsev
Hi, Nicolas. Any chance you are using local storage for VM volumes and decreased memory on a certain node? Local storage-based VMs don't have certain migration features to be rebalanced across the nodes. E.g. if you have DATA-volumes attached it cannot be migrated. ср, 3 окт. 2018 г. в 8:35, Rohit

RE: Unable to deploy/restart VM

2018-10-03 Thread Nicolas Bouige
Hi Ivan and Rohit, Thanks for your answer, The issue is closed, i juste added a new Host to CS ( move from three host to four host) the CPU allocated was 150% on two of three host on my cluster and CS didn't allow to deploy vm on the whole cluster , even if one host as enought ressources, as t

Container service CS 4.11.1

2018-10-03 Thread Nicolas Bouige
Hello All, Did anyone try to install the Cloudstack Container Service, without any specific troubles, on Cloudstack 4.11.1 and XCP-NG 7.4 ? And if yes, with which usage case ? Thanks ! Best regards, N.B [SignatureBouige]

Re: system VM has no ips

2018-10-03 Thread Boris Stoyanov
HI Jordan, There’s an RC2 vote going on for 4.11.2, here’s the packages: Additional information: For users' convenience, I've built packages from c64591bdd2fd677c9a0ca1970d61d1be9f222326 and published RC2 repository here: http://packages.shapeblue.com/testing/41120rc2/ 4.11.2 systemvm template

RE: system VM has no ips

2018-10-03 Thread Yordan Kostov
Hello Bobi, Thank you for the links.Yes I am based in Sofia. I am quite new to ACS but I really like it so far and as soon as I learn to handle it properly I hope to turn it into production at some point. So there is a lot of room for testing and giving feedback :). Be