Re: configdrive not working in 4.16

2021-11-17 Thread Wei ZHOU
Hi Piotr, Any error in agent.log around 2021-11-17 14:47:27 ? -Wei On Wed, 17 Nov 2021 at 20:56, Piotr Pisz wrote: > Hi Wei, > > > > This if from management.log: > > > > 2021-11-17 14:47:27,334 DEBUG [c.c.a.t.Request] > (Work-Job-Executor-1:ctx-16dd5098 job-4912/job-4915 ctx-e883b663) > (logid

RE: configdrive not working in 4.16

2021-11-17 Thread Piotr Pisz
Hi Wei, This if from management.log: 2021-11-17 14:47:27,334 DEBUG [c.c.a.t.Request] (Work-Job-Executor-1:ctx-16dd5098 job-4912/job-4915 ctx-e883b663) (logid:b59e4ee2) Seq 11-7692992588478939146: Sending { Cmd , MgmtId: 260497154630684, via: 11(s-163-VM), Ver: v1, Flags: 100011, [{"com

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-17 Thread vas...@gmx.de
hi, all hosts are enabled and running fine. Am Mi., 17. Nov. 2021 um 19:59 Uhr schrieb Wei ZHOU : > Hi, > > Are the hosts Disabled or Enabled ? > > -Wei > > On Wed, 17 Nov 2021 at 16:54, vas...@gmx.de wrote: > >> In the DB the records are there, entrys / values are correct BUT >> "capacity_stat

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-17 Thread Wei ZHOU
Hi, Are the hosts Disabled or Enabled ? -Wei On Wed, 17 Nov 2021 at 16:54, vas...@gmx.de wrote: > In the DB the records are there, entrys / values are correct BUT > "capacity_state" is "Disabled". > > Which is a bit odd to understand, as i didn't made any further changes. > My process was to p

Re: configdrive not working in 4.16

2021-11-17 Thread Wei ZHOU
Hi Piotr, Can you search HandleConfigDriveIsoCommand in agent.log and see if there are any errors in when processing the command ? -Wei On Wed, 17 Nov 2021 at 16:25, Piotr Pisz wrote: > Hi Wei, > > My KVM is CentOS 8.4 (upgrade from 4.15.2 without problems). VMs run on > Ceph/RBD, NFS is from

Re: mysql password change?

2021-11-17 Thread James Steele
Thanks Wei that has worked great: systemctl stop cloudstack-management mysql -u root -p ALTER USER 'cloud'@'localhost' IDENTIFIED BY 'newPassword'; flush privileges; exit #test new password: mysql -u cloud -p newPassword #re-setup cloudstack: cloudstack-setup-databases cloud:newPassword@localhos

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-17 Thread vas...@gmx.de
In the DB the records are there, entrys / values are correct BUT "capacity_state" is "Disabled". Which is a bit odd to understand, as i didn't made any further changes. My process was to put them into maintenance-mode, perform the upgrade to 4.16, restart the agent and then got them out of mainten

RE: configdrive not working in 4.16

2021-11-17 Thread Piotr Pisz
Hi Wei, My KVM is CentOS 8.4 (upgrade from 4.15.2 without problems). VMs run on Ceph/RBD, NFS is from Ganesha. 2021-11-17 16:20:20,074 DEBUG [kvm.resource.KVMHAChecker] (pool-1486-thread-1:null) (logid:901784ad) Checking heart beat with KVMHAChecker for host IP [192.168.10.41] in pools [nfs.pi

Re: configdrive not working in 4.16

2021-11-17 Thread Wei ZHOU
Hi Piotr, Any errors in agent.log if you use KVM ? -Wei On Wed, 17 Nov 2021 at 15:44, Piotr Pisz wrote: > Hi, > > I have upgraded to 4.16 and am having trouble booting my VM on L2 network > with ConfigDrive. I would have a request for help. > > > > Regards, > > Piotr > > > > > > > > 2021-11-17

Re: mysql password change?

2021-11-17 Thread Wei ZHOU
Hi James, You can refer to mysql tutorials on how to change the password of a mysql user. When it is done and verified, you need to regenerate the db.properties (backup it !) by command cloudstack-setup-databases cloud:cloud@localhost -i 10.25.x.x Do NOT pass 'deploy-as' parameter ! If it does n

Re: Dynamic VM Scaling KVM

2021-11-17 Thread Abishek
Hi Wei, I am using Centos 7.9 with KVM. Thank You. On Wed, 17 Nov 2021 at 17:53, Wei ZHOU wrote: > Hi Abishek, > > I cannot give your advice on it as I did not install qemu-kvm-ev to replace > qemu-kvm before. > > I suspect that the issue you faced is caused by qemu-kvm. qemu-kvm-ev > supports

RE: configdrive not working in 4.16

2021-11-17 Thread Piotr Pisz
Hi, On 4.15, this behavior occurred when Primary Storage was overflowing to the size of the 'disabled threshold'. Here the size of the indicator does not matter. Asking ConfigDrive to release NicProfile[136-83-cd11d70e-92a1-4e93-be1a-be2bb6f308c6-192.168.40.243-null] Verifying image storage [1]

Re: Questions regarding config-files during upgrade to CS4.16

2021-11-17 Thread vas...@gmx.de
Thanks Wei - don't be worried - i kept my old config files and indeed it works out well. Sometimes "lazyness" might have it's benefits ;-) Beside the topic from the other letter regarding my cpu-core count isn't present at the dashboard anymore. Am Mi., 17. Nov. 2021 um 13:04 Uhr schrieb Wei ZHOU

configdrive not working in 4.16

2021-11-17 Thread Piotr Pisz
Hi, I have upgraded to 4.16 and am having trouble booting my VM on L2 network with ConfigDrive. I would have a request for help. Regards, Piotr 2021-11-17 14:47:27,229 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-1:ctx-16dd5098 job-4912/job-4915 ctx-e883b663) (logid:b59e4ee2

mysql password change?

2021-11-17 Thread James Steele
Hello all, after having setup cloudstack following Rohits fab guide here: https://rohityadav.cloud/blog/cloudstack-kvm/ I realise I may have followed the guide a little too closely. When setting up cloudstack management I entered: cloudstack-setup-databases cloud:cloud@localhost --deploy-as=root:R

configdrive not working in 4.16

2021-11-17 Thread Piotr Pisz
Hi, I have upgraded to 4.16 and am having trouble booting my VM on L2 network with ConfigDrive. I would have a request for help. Regards, Piotr 2021-11-17 14:47:27,229 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-1:ctx-16dd5098 job-4912/job-4915 ctx-e883b663) (logid:b59e4

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-17 Thread vas...@gmx.de
Sadly: Nothing at all. Not even a error. Am Mi., 17. Nov. 2021 um 13:10 Uhr schrieb Wei ZHOU : > I do not have this issue. > > If you use cmk/cloudmonkey, can you share the result of the following > command ? > > cmk list capacity type=90 > > -Wei > > > On Wed, 17 Nov 2021 at 12:01, vas...@gmx.d

Re: Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-17 Thread Wei ZHOU
I do not have this issue. If you use cmk/cloudmonkey, can you share the result of the following command ? cmk list capacity type=90 -Wei On Wed, 17 Nov 2021 at 12:01, vas...@gmx.de wrote: > Hi everyone, > > so far the upgrade to 4.16 worked well and everything seems working fine. > What i no

Re: Dynamic VM Scaling KVM

2021-11-17 Thread Wei ZHOU
Hi Abishek, I cannot give your advice on it as I did not install qemu-kvm-ev to replace qemu-kvm before. I suspect that the issue you faced is caused by qemu-kvm. qemu-kvm-ev supports more advanced features than qemu-kvm. cc @Daniel, what hypervisor did you use to test the dynamic scaling ? -We

Re: Questions regarding config-files during upgrade to CS4.16

2021-11-17 Thread Wei ZHOU
Hi Chris, When you upgrade, do NOT overwrite existing configuration files. Normally it should work with the new version as well. The backup of configs and databases are used only when you face some issues in upgrading (for example config files are overwritten by mistake, some DB exceptions) , the

Re: Questions regarding config-files during upgrade to CS4.16

2021-11-17 Thread vas...@gmx.de
Hi Wei, thanks for your suggestions. Regarding the database - that's what i did (in addition to the usual back-up of the dabase during normal operation). And this "step" is explicit mentioned in the upgrade instructions. How ever regarding the configuration files, there i was a bit "suprised". It

Re: Questions regarding config-files during upgrade to CS4.16

2021-11-17 Thread Wei ZHOU
Hi Chris, It would be good to backup all the folder /etc/cloudstack/management/ and database before upgrade. -Wei On Wed, 17 Nov 2021 at 11:54, vas...@gmx.de wrote: > Thank you Rohit for your answer, will keep that in mind for further > upgrades ahead! > Regards, > > Chris > > Am Mi., 17. Nov.

Missing "CPU Core"-Graph on Dashboard after upgrading to CS4.16

2021-11-17 Thread vas...@gmx.de
Hi everyone, so far the upgrade to 4.16 worked well and everything seems working fine. What i noticed is, that for my root - admin the Dashboard doesn't show the CPU-Cores Graph anymore. Is there a way to display this again at the Dashboard? Regards, Chris

Re: Questions regarding config-files during upgrade to CS4.16

2021-11-17 Thread vas...@gmx.de
Thank you Rohit for your answer, will keep that in mind for further upgrades ahead! Regards, Chris Am Mi., 17. Nov. 2021 um 11:04 Uhr schrieb Rohit Yadav < rohit.ya...@shapeblue.com>: > Hi Chris, > > That's typical of a Linux package manager to ask questions when during an > upgrade the config f

Re: Dynamic VM Scaling KVM

2021-11-17 Thread Abishek
HI Wei, I have not tested with qemu-kvm-ev. I am willing to try but what effect will it have on my existing setup when I install qemu-kvm-ev in my existing qemu-kvm. Should I have to remove qemu-kvm and install qemu-kvm-ev? In the previous test I was able to start the machine with Fixed Offering b

Re: Questions regarding config-files during upgrade to CS4.16

2021-11-17 Thread Rohit Yadav
Hi Chris, That's typical of a Linux package manager to ask questions when during an upgrade the config files change. You most likely want to keep the original config than package maintainers, esp for db.properties, server.properties. It's a good idea to backup them before upgrading, and then ma

Re: Dynamic VM Scaling KVM

2021-11-17 Thread Wei ZHOU
Hi Abishek, Have you tested with qemu-kvm-ev instead of qemu-kvm ? -Wei On Wed, 17 Nov 2021 at 10:00, Abishek wrote: > Hello Wei, > > I am very grateful for your response. In my test environment I first > created a service offering of Custom Constrained (minCore=1, maxCore=10, > minRam=1GB, ma

Re: Dynamic VM Scaling KVM

2021-11-17 Thread Abishek
Hello Wei, I am very grateful for your response. In my test environment I first created a service offering of Custom Constrained (minCore=1, maxCore=10, minRam=1GB, maxRam=12GB, CPUSpeed=2000) with dynamic scaling enabled. But every time I tried to start the VM under this ServiceOffering I got the

Re: Cloudstack Kubernetes Issue

2021-11-17 Thread Pearl d'Silva
Hi, Could you please share which version of Kubernetes you are trying to deploy. From ACS 4.16 onward, k8s versions > 1.20 are only supported. Thanks, Pearl From: Seth Lyons Sent: Wednesday, November 17, 2021 2:51 AM To: users@cloudstack.apache.org Subject: C

Cloudstack Kubernetes Issue

2021-11-17 Thread Seth Lyons
Hello, I am running Cloudstacks 4.16 and trying to deploy the Kubernetes add on. When I add the service it is stuck in the Starting state, but I see that two instances are created and seem to be running when viewed through the console proxy. I see this error in the logs which seems related: 202