Re: Multiple console proxy
Hi Abhishek, Please check these two global settings "consoleproxy.capacity.standby" and "consoleproxy.session.max" which are used to configure the number of viewer sessions and accordingly new CPVM VM will be spawned. In your case, it might have hit the maximum sessions and spawned a new CPVM. Regards, Harikrishna From: Abishek Sent: Sunday, October 10, 2021 9:51 AM To: users@cloudstack.apache.org Subject: Multiple console proxy Hello All, I am using cloudstack 4.15.2 with KVM hosts. Everything is working fine but I noticed that suddenly the a new console proxy was spawned. Now there are multiple console proxy. The old console proxy was working and is current is working fine. All the request are still being served from the old console proxy. Please find the logs below: 2021-10-08 14:47:50,802 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Zone 1 is ready to launch console proxy 2021-10-08 14:47:50,802 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Expand console proxy standby capacity for zone ABC 2021-10-08 14:47:50,804 INFO [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) No stopped console proxy is available, need to allocate a new console proxy 2021-10-08 14:47:50,805 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Assign console proxy from a newly started instance for request from data center : 1 2021-10-08 14:47:50,908 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Found existing network configuration for offering [Network Offering [1-Public-System-Public-Network]: Ntwk[200|Public|1] 2021-10-08 14:47:50,909 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Releasing lock for Acct[4422bff8-0c6f-11ec-90a1-b499baba5514-system] 2021-10-08 14:47:51,004 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Found existing network configuration for offering [Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3] 2021-10-08 14:47:51,004 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Releasing lock for Acct[4422bff8-0c6f-11ec-90a1-b499baba5514-system] 2021-10-08 14:47:51,008 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-e6a2d6db) (logid:358113cc) Zone 1 is ready to launch secondary storage VM 2021-10-08 14:47:51,095 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Found existing network configuration for offering [Network Offering [2-Management-System-Management-Network]: Ntwk[201|Management|2] 2021-10-08 14:47:51,095 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Releasing lock for Acct[4422bff8-0c6f-11ec-90a1-b499baba5514-system] 2021-10-08 14:47:51,188 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) allocating virtual machine from template:a7277096-e764-41e2-b890-405e88b85466 with hostname:v-100-VM and 3 networks 2021-10-08 14:47:51,192 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating entries for VM: VM[ConsoleProxy|v-100-VM] 2021-10-08 14:47:51,197 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating nics for VM[ConsoleProxy|v-100-VM] 2021-10-08 14:47:51,203 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating nic for vm VM[ConsoleProxy|v-100-VM] in network Ntwk[200|Public|1] with requested profile NicProfile[0-0-null-null-null] 2021-10-08 14:47:51,251 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating nic for vm VM[ConsoleProxy|v-100-VM] in network Ntwk[202|Control|3] with requested profile null 2021-10-08 14:47:51,260 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating nic for vm VM[ConsoleProxy|v-100-VM] in network Ntwk[201|Management|2] with requested profile null 2021-10-08 14:47:51,271 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) 2021-10-08 14:47:51,271 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating disks for VM[Co nsoleProxy|v-100-VM] 2021-10-08 14:47:51,272 INFO [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) adding disk object ROOT-100 t o v-100-VM 2021-10-08 14:47:51,311 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocation completed for VM: VM[ConsoleProxy|v-100-VM] 2021-10-08 14:47:51,315 DEBUG [c.c.a.ConsoleProxyAlertAdapter] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) received console proxy alert 2021-10-08 14:47:51,316 DEBUG [c.c.a.ConsoleProxyAlertAdapter] (consoleproxy-1:ctx-7620deae) (logid:4159ef3
Re: Root disk resizing
Did you configure LVM or standard partition on your / partition while creating the template. ? You also should not have any other partition after the / partition. I,e swap or any other. Vivek Kumar Sr. Manager - Cloud & DevOps IndiQus Technologies M +91 7503460090 www.indiqus.com > On 10-Oct-2021, at 2:05 PM, Ranjit Jadhav wrote: > > Hello folks, > > I have implemented cloudstack with Xenserver Host. The template has been > made out of VM with basic centos 7 and following package installed on it > > sudo yum -y cloud-init > sudo yum -y install cloud-utils-growpart > sudo yum -y install gdisk > > > After creating new VM with this template, root disk is created as per size > mention in template or we are able to increase it at them time of creation. > > But later when we try to increase root disk again, it increases disk space > but "/" partiton do not get autoresize. > > > Following parameters were passed in userdata > > #cloud-config > growpart: > mode: auto > devices: ["/"] > ignore_growroot_disabled: true > > > Thanks & Regards, > Ranjit
Multiple console proxy
Hello All, I am using cloudstack 4.15.2 with KVM hosts. Everything is working fine but I noticed that suddenly the a new console proxy was spawned. Now there are multiple console proxy. The old console proxy was working and is current is working fine. All the request are still being served from the old console proxy. Please find the logs below: 2021-10-08 14:47:50,802 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Zone 1 is ready to launch console proxy 2021-10-08 14:47:50,802 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Expand console proxy standby capacity for zone ABC 2021-10-08 14:47:50,804 INFO [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) No stopped console proxy is available, need to allocate a new console proxy 2021-10-08 14:47:50,805 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Assign console proxy from a newly started instance for request from data center : 1 2021-10-08 14:47:50,908 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Found existing network configuration for offering [Network Offering [1-Public-System-Public-Network]: Ntwk[200|Public|1] 2021-10-08 14:47:50,909 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Releasing lock for Acct[4422bff8-0c6f-11ec-90a1-b499baba5514-system] 2021-10-08 14:47:51,004 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Found existing network configuration for offering [Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3] 2021-10-08 14:47:51,004 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Releasing lock for Acct[4422bff8-0c6f-11ec-90a1-b499baba5514-system] 2021-10-08 14:47:51,008 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-e6a2d6db) (logid:358113cc) Zone 1 is ready to launch secondary storage VM 2021-10-08 14:47:51,095 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Found existing network configuration for offering [Network Offering [2-Management-System-Management-Network]: Ntwk[201|Management|2] 2021-10-08 14:47:51,095 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Releasing lock for Acct[4422bff8-0c6f-11ec-90a1-b499baba5514-system] 2021-10-08 14:47:51,188 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) allocating virtual machine from template:a7277096-e764-41e2-b890-405e88b85466 with hostname:v-100-VM and 3 networks 2021-10-08 14:47:51,192 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating entries for VM: VM[ConsoleProxy|v-100-VM] 2021-10-08 14:47:51,197 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating nics for VM[ConsoleProxy|v-100-VM] 2021-10-08 14:47:51,203 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating nic for vm VM[ConsoleProxy|v-100-VM] in network Ntwk[200|Public|1] with requested profile NicProfile[0-0-null-null-null] 2021-10-08 14:47:51,251 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating nic for vm VM[ConsoleProxy|v-100-VM] in network Ntwk[202|Control|3] with requested profile null 2021-10-08 14:47:51,260 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating nic for vm VM[ConsoleProxy|v-100-VM] in network Ntwk[201|Management|2] with requested profile null 2021-10-08 14:47:51,271 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) 2021-10-08 14:47:51,271 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocating disks for VM[Co nsoleProxy|v-100-VM] 2021-10-08 14:47:51,272 INFO [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) adding disk object ROOT-100 t o v-100-VM 2021-10-08 14:47:51,311 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Allocation completed for VM: VM[ConsoleProxy|v-100-VM] 2021-10-08 14:47:51,315 DEBUG [c.c.a.ConsoleProxyAlertAdapter] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) received console proxy alert 2021-10-08 14:47:51,316 DEBUG [c.c.a.ConsoleProxyAlertAdapter] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) New console proxy created, zone: ABC, proxy: v-100-VM, public IP: null, private IP: null 2021-10-08 14:47:51,376 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (consoleproxy-1:ctx-7620deae) (logid:4159ef33) Sync job-1336 execution on object VmWorkJobQueue.100 There were no power outage and the system vm was never shut down. Now when I try to delete the VM it will respawn. We have not made any configuration changes Cloudstack. Thank You.
Root disk resizing
Hello folks, I have implemented cloudstack with Xenserver Host. The template has been made out of VM with basic centos 7 and following package installed on it sudo yum -y cloud-init sudo yum -y install cloud-utils-growpart sudo yum -y install gdisk After creating new VM with this template, root disk is created as per size mention in template or we are able to increase it at them time of creation. But later when we try to increase root disk again, it increases disk space but "/" partiton do not get autoresize. Following parameters were passed in userdata #cloud-config growpart: mode: auto devices: ["/"] ignore_growroot_disabled: true Thanks & Regards, Ranjit