Re: 4.16.0.0 release
Hi Nicolas, It will be better if you add 2FA function in this version due cyber security issues, And reCapcha connector also. CVM & SSVM need to be secured from DDOS attack with auto block ip sources configuration , One of our CVM faced many times DDOS attacks with no configuration possibilities to auto block sources ip of attacker, Management UI can be secured by Cloudflare also ip table of management can be configured for various types of actions but CVM can’t secured by Cloudflare proxy. BR Ahmed. > On 13 Sep 2021, at 10:44 PM, Nicolas Vazquez > wrote: > > Hi All, > > We are looking forward to cutting RC1 soon. Kindly share or ping me this week > if there are any issues or pull requests that we should include in 4.16.0.0. > > > Regards, > > Nicolas Vazquez > > >
4.16.0.0 release
Hi All, We are looking forward to cutting RC1 soon. Kindly share or ping me this week if there are any issues or pull requests that we should include in 4.16.0.0. Regards, Nicolas Vazquez
Re: [VOTE] Standard string lib
Hi Mario, thanks for the reply. This was sent to the wrong mail list. If you want to join the voting, please, follow the official thread in DEV mail list: https://lists.apache.org/thread.html/rf8c21f7d8af2c85369c7ce2f8205dc8f1b24ebd0a24417ba501b79a0%40%3Cdev.cloudstack.apache.org%3E Best regards, Daniel On 2021/09/13 14:58:04, mario juliano grande-balletta wrote: > +1 > > yes, go for it! > > good idea > > > > > > > > On Mon, 2021-09-13 at 14:54 +, Daniel Augusto Veronezi Salvador > wrote: > > Hi All, > > > > We had a discussion about standardizing the string libs we're using > > (https://lists.apache.org/thread.html/r806cd10b3de645c150e5e0e3d845c5a380a700197143f57f0834d758%40%3Cdev.cloudstack.apache.org%3E). > > > > As I proposed, I'm opening this voting thread to see if all are in favor of > > using "commons.lang3" as the String standard library and for String > > operations not convered on "commons.lang3", we use our StringUtils. Then, > > if the vote passes, I will create the PR to address this change in the code > > base by removing unnecessary libraries, and changing the code to use > > "commons.lang3". > > > > [ ] +1 approve > > [ ] +0 no opinion > > [ ] -1 disapprove (and reason why) > > > > Best regards, > > Daniel > > > > >
Re: [VOTE] Standard string lib
Hi all, I sent it to the wrong mail list, please disregard this thread, thanks. Best regards, Daniel On 13/09/2021 11:54, Daniel Augusto Veronezi Salvador wrote: Hi All, We had a discussion about standardizing the string libs we're using (https://lists.apache.org/thread.html/r806cd10b3de645c150e5e0e3d845c5a380a700197143f57f0834d758%40%3Cdev.cloudstack.apache.org%3E). As I proposed, I'm opening this voting thread to see if all are in favor of using "commons.lang3" as the String standard library and for String operations not convered on "commons.lang3", we use our StringUtils. Then, if the vote passes, I will create the PR to address this change in the code base by removing unnecessary libraries, and changing the code to use "commons.lang3". [ ] +1 approve [ ] +0 no opinion [ ] -1 disapprove (and reason why) Best regards, Daniel
Re: [VOTE] Standard string lib
+1 yes, go for it! good idea On Mon, 2021-09-13 at 14:54 +, Daniel Augusto Veronezi Salvador wrote: > Hi All, > > We had a discussion about standardizing the string libs we're using > (https://lists.apache.org/thread.html/r806cd10b3de645c150e5e0e3d845c5a380a700197143f57f0834d758%40%3Cdev.cloudstack.apache.org%3E). > > As I proposed, I'm opening this voting thread to see if all are in favor of > using "commons.lang3" as the String standard library and for String > operations not convered on "commons.lang3", we use our StringUtils. Then, if > the vote passes, I will create the PR to address this change in the code base > by removing unnecessary libraries, and changing the code to use > "commons.lang3". > > [ ] +1 approve > [ ] +0 no opinion > [ ] -1 disapprove (and reason why) > > Best regards, > Daniel > >
[VOTE] Standard string lib
Hi All, We had a discussion about standardizing the string libs we're using (https://lists.apache.org/thread.html/r806cd10b3de645c150e5e0e3d845c5a380a700197143f57f0834d758%40%3Cdev.cloudstack.apache.org%3E). As I proposed, I'm opening this voting thread to see if all are in favor of using "commons.lang3" as the String standard library and for String operations not convered on "commons.lang3", we use our StringUtils. Then, if the vote passes, I will create the PR to address this change in the code base by removing unnecessary libraries, and changing the code to use "commons.lang3". [ ] +1 approve [ ] +0 no opinion [ ] -1 disapprove (and reason why) Best regards, Daniel
RE: virtual router stuck on starting - cloudstack 4.15.1 with kvm
Hi, Yes, please see : root@usa-nyc-kvm-001:/var/lib/libvirt/images# libvirtd -v 2021-09-13 14:33:40.944+: 75403: info : libvirt version: 6.0.0, package: 0ubuntu8.13 (Frode Nordahl Fri, 16 Jul 2021 05:16:36 +) 2021-09-13 14:33:40.944+: 75403: info : hostname: usa-nyc-kvm-001 2021-09-13 14:33:40.944+: 75403: debug : virLogParseOutputs:1654 : outputs=1:stderr 2021-09-13 14:33:40.944+: 75403: debug : virLogParseOutput:1492 : output=1:stderr 2021-09-13 14:33:40.944+: 75403: info : libvirt version: 6.0.0, package: 0ubuntu8.13 (Frode Nordahl Fri, 16 Jul 2021 05:16:36 +) 2021-09-13 14:33:40.944+: 75403: info : hostname: usa-nyc-kvm-001 2021-09-13 14:33:40.944+: 75403: info : virObjectNew:251 : OBJECT_NEW: obj=0x55935a296b60 classname=virAccessManager 2021-09-13 14:33:40.944+: 75403: debug : virAccessManagerNewDriver:111 : Initialized with stack 2021-09-13 14:33:40.944+: 75403: info : virObjectNew:251 : OBJECT_NEW: obj=0x55935a297f90 classname=virAccessManager 2021-09-13 14:33:40.944+: 75403: debug : virAccessManagerNewDriver:111 : Initialized with none 2021-09-13 14:33:40.944+: 75403: info : virObjectRef:386 : OBJECT_REF: obj=0x55935a296b60 2021-09-13 14:33:40.944+: 75403: info : virObjectUnref:348 : OBJECT_UNREF: obj=0x55935a296b60 2021-09-13 14:33:40.944+: 75403: debug : main:1177 : Decided on pid file path '/run/libvirtd.pid' 2021-09-13 14:33:40.944+: 75403: debug : main:1187 : Decided on socket paths '/run/libvirt/libvirt-sock', '/run/libvirt/libvirt-sock-ro' and '/run/libvirt/libvirt-admin-sock' 2021-09-13 14:33:40.944+: 75403: error : virPidFileAcquirePath:367 : Failed to acquire pid file '/run/libvirtd.pid': Resource temporarily unavailable 2021-09-13 14:33:40.944+: 75403: debug : virFileClose:110 : Closed fd 3 root@usa-nyc-kvm-001:/var/lib/libvirt/images# /usr/bin/qemu-system-x86_64 --version QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.17) Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers root@usa-nyc-kvm-001:/var/lib/libvirt/images# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 20.04.2 LTS Release:20.04 Codename: focal CPU : vendor_id : AuthenticAMD cpu family : 23 model : 49 model name : AMD EPYC 7552 48-Core Processor BTW: the SSVM and Proxy console is running fine on this node.. Thank you! -Original Message- From: Andrija Panic Sent: Monday, September 13, 2021 4:40 PM To: users Subject: Re: virtual router stuck on starting - cloudstack 4.15.1 with kvm Can you share qemu/libvirt version/flavour? On Mon, 13 Sept 2021 at 14:18, wrote: > Hello, > > > > I'm trying to understand this error, I created new network with > VPC in a new zone where I added KVM hypervisor, and I have this issue. > > > > > > 2021-09-13 11:36:18,621 DEBUG > [resource.virtualnetwork.VirtualRoutingResource] > (agentRequest-Handler-1:null) (logid:42d715f2) Trying to connect to > 169.254.52.234 > > 2021-09-13 11:36:21,684 DEBUG > [resource.virtualnetwork.VirtualRoutingResource] > (agentRequest-Handler-1:null) (logid:42d715f2) Could not connect to > 169.254.52.234 > > > > Here is the full log : https://pastebin.com/0NwsccUc > > > > root@usa-nyc-kvm-001:~# telnet 169.254.156.179 3922 > > Trying 169.254.156.179... > > telnet: Unable to connect to remote host: Connection refused ( before > connection refused, I get no route to host, for sure the nic is not up > ) > > root@usa-nyc-kvm-001:~# virsh list > > Id NameState > > --- > > 2v-4048-VM running > > 4s-4050-VM running > > 7r-4092-VM running > > > > root@usa-nyc-kvm-001:~# > > > > > > If I check the log inside the router, I see this (the router is also > responding very slow, waiting a lot to connect on it via virsh console): > > > > r-4092-VM login: root > > Password: > > > > Login timed out after 60 seconds. > > > > > >__?.o/ Apache CloudStack SystemVM 4.15.1 > > ( )#https://cloudstack.apache.org > > (___(_) Debian GNU/Linux 10 r-4093-VM ttyS0 > > > > r-4093-VM login: root > > Password: > > Linux r-4093-VM 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) > x86_64 > > > > > > > > root@r-4093-VM:~# cat /var/log/cloud.log > > Mon 13 Sep 2021 11:50:55 AM UTC Executing cloud-early-config > > Mon 13 Sep 2021 11:50:55 AM UTC Bootstrapping systemvm appliance > > Mon 13 Sep 2021 11:50:57 AM UTC Starting guest services for kvm > > Mon 13 Sep 2021 11:51:04 AM UTC acpiphp and pci_hotplug module already > compiled in > > Mon 13 Sep 2021 11:52:59 AM UTC Received a new non-empty cmdline file > from qemu-guest-agent > > Mon 13 Sep 2021 11:52:59 AM UTC Booting from cloudstack, remove old > configuration files in /etc/cloudstack/ > > Mon 13 Sep 2021 11:54:30 AM UTC Configuring systemvm type=vpcrouter > > Mon 13 Sep 2021 11:54:30 AM UTC Setting up VPC virtual router system > vm > > Mon
Problems with primary storage
Hello Cloudstack users, did someone already encounter the following error on the host with ACS 4.15.0 with kvm and NFS primary storage? 2021-09-13 14:24:59,266 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:d6052098) Attempting to create volume 9bff8743-50ac-47b8-9cab-ef6a0ce2f7bd (NetworkFilesystem) in pool 6084b901-436e-3571-9af6-0ff12a085dd0 with size (2.44 GB) 262144 2021-09-13 14:24:59,282 ERROR [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:d6052098) Failed to create /mnt/6084b901-436e-3571-9af6-0ff12a085dd0/9bff8743-50ac-47b8-9cab-ef6a0ce2f7bd due to a failed executing of qemu-img: qemu-img: /mnt/6084b901-436e-3571-9af6-0ff12a085dd0/9bff8743-50ac-47b8-9cab-ef6a0ce2f7bd: Failed to lock byte 101Formatting '/mnt/6084b901-436e-3571-9af6-0ff12a085dd0/9bff8743-50ac-47b8-9cab-ef6a0ce2f7bd', fmt=qcow2 size=262144 cluster_size=65536 preallocation=off lazy_refcounts=off refcount_bits=16 Regards, Benjamin IBYKUS AG für Informationstechnologie, Erfurt / HRB 516855 - D-Jena / Vorstand: Thomas Winter (Vorstandsvorsitzender), Eckehart Klingner, Nikola Spannaus Vorsitzender des Aufsichtsrates: Stephan Behr
Re: virtual router stuck on starting - cloudstack 4.15.1 with kvm
Can you share qemu/libvirt version/flavour? On Mon, 13 Sept 2021 at 14:18, wrote: > Hello, > > > > I'm trying to understand this error, I created new network with VPC > in > a new zone where I added KVM hypervisor, and I have this issue. > > > > > > 2021-09-13 11:36:18,621 DEBUG > [resource.virtualnetwork.VirtualRoutingResource] > (agentRequest-Handler-1:null) (logid:42d715f2) Trying to connect to > 169.254.52.234 > > 2021-09-13 11:36:21,684 DEBUG > [resource.virtualnetwork.VirtualRoutingResource] > (agentRequest-Handler-1:null) (logid:42d715f2) Could not connect to > 169.254.52.234 > > > > Here is the full log : https://pastebin.com/0NwsccUc > > > > root@usa-nyc-kvm-001:~# telnet 169.254.156.179 3922 > > Trying 169.254.156.179... > > telnet: Unable to connect to remote host: Connection refused ( before > connection refused, I get no route to host, for sure the nic is not up ) > > root@usa-nyc-kvm-001:~# virsh list > > Id NameState > > --- > > 2v-4048-VM running > > 4s-4050-VM running > > 7r-4092-VM running > > > > root@usa-nyc-kvm-001:~# > > > > > > If I check the log inside the router, I see this (the router is also > responding very slow, waiting a lot to connect on it via virsh console): > > > > r-4092-VM login: root > > Password: > > > > Login timed out after 60 seconds. > > > > > >__?.o/ Apache CloudStack SystemVM 4.15.1 > > ( )#https://cloudstack.apache.org > > (___(_) Debian GNU/Linux 10 r-4093-VM ttyS0 > > > > r-4093-VM login: root > > Password: > > Linux r-4093-VM 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) > x86_64 > > > > > > > > root@r-4093-VM:~# cat /var/log/cloud.log > > Mon 13 Sep 2021 11:50:55 AM UTC Executing cloud-early-config > > Mon 13 Sep 2021 11:50:55 AM UTC Bootstrapping systemvm appliance > > Mon 13 Sep 2021 11:50:57 AM UTC Starting guest services for kvm > > Mon 13 Sep 2021 11:51:04 AM UTC acpiphp and pci_hotplug module already > compiled in > > Mon 13 Sep 2021 11:52:59 AM UTC Received a new non-empty cmdline file from > qemu-guest-agent > > Mon 13 Sep 2021 11:52:59 AM UTC Booting from cloudstack, remove old > configuration files in /etc/cloudstack/ > > Mon 13 Sep 2021 11:54:30 AM UTC Configuring systemvm type=vpcrouter > > Mon 13 Sep 2021 11:54:30 AM UTC Setting up VPC virtual router system vm > > Mon 13 Sep 2021 11:54:31 AM UTC Setting up apache web server for VPC > > Mon 13 Sep 2021 11:55:05 AM UTC Processors = 1 Enable service = 0 > > Mon 13 Sep 2021 11:55:05 AM UTC cloud: disable rp_filter > > Mon 13 Sep 2021 11:55:05 AM UTC disable rpfilter > > Mon 13 Sep 2021 11:55:05 AM UTC cloud: enable_fwding = 1 > > Mon 13 Sep 2021 11:55:05 AM UTC enable_fwding = 1 > > Mon 13 Sep 2021 11:55:05 AM UTC cloud: enabling passive FTP for guest VMs > > Mon 13 Sep 2021 11:55:06 AM UTC Finished setting up systemvm > > Mon 13 Sep 2021 11:55:06 AM UTC Finished setting up systemvm > > 2021-09-13 11:55:13,823 INFO update_config.py :: Processing incoming > file => cmd_line.json > > 2021-09-13 11:55:13,856 INFO Processing JSON file cmd_line.json > > 2021-09-13 11:55:13,858 INFO Continuing with the processing of file > '/var/cache/cloud/cmd_line.json' > > 2021-09-13 11:55:13,877 INFO Command of type cmdline received > > 2021-09-13 11:55:13,897 INFO Command of type ips received > > 2021-09-13 11:55:13,923 INFO Executing: ip addr show dev eth0 > > 2021-09-13 11:55:13,975 INFO Executing: ip addr show dev eth0 > > 2021-09-13 11:55:13,979 INFO Address found in DataBag ==> > {u'public_ip': > u'169.254.41.129', u'one_to_one_nat': False, u'nic_dev_id': u'0', > u'network': u'169.254.0.0/16', u'netmask': u'255.255.0.0', u'source_nat': > False, u'broadcast': u'169.254.255.255', u'add': True, u'nw_type': > u'control', u'device': u'eth0', u'cidr': u'169.254.41.129/16', u'gateway': > u'', u'size': u'16'} > > 2021-09-13 11:55:13,979 INFO Address 169.254.41.129/16 on device eth0 > already configured > > 2021-09-13 11:55:13,984 INFO Executing: ip addr show |grep -v secondary > > 2021-09-13 11:55:14,010 INFO Wrote edited file > /etc/dnsmasq.d/cloud.conf > > 2021-09-13 11:55:14,010 INFO Updated file in-cache configuration > > 2021-09-13 11:55:14,010 INFO Nothing to commit. The /etc/dhcphosts.txt > file did not change > > 2021-09-13 11:55:14,010 INFO Nothing to commit. The > /var/lib/misc/dnsmasq.leases file did not change > > 2021-09-13 11:55:14,010 INFO Nothing to commit. The /etc/dhcpopts.txt > file did not change > > 2021-09-13 11:55:14,010 INFO Attempting to delete entries from > dnsmasq.leases file for VMs which are not on dhcphosts file > > 2021-09-13 11:55:14,010 ERRORCaught error while trying to delete > entries > from dnsmasq.leases file: [Errno 2] No such file or directory: > '/etc/dhcphosts.txt' > > 2021-09-13 11:55:14,034 INFO Wrote edited file /etc/hosts > > 2021-09-13 11:55:14,044 INFO Updated file in-cache configuration > > 2021-09-13
virtual router stuck on starting - cloudstack 4.15.1 with kvm
Hello, I'm trying to understand this error, I created new network with VPC in a new zone where I added KVM hypervisor, and I have this issue. 2021-09-13 11:36:18,621 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Trying to connect to 169.254.52.234 2021-09-13 11:36:21,684 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Could not connect to 169.254.52.234 Here is the full log : https://pastebin.com/0NwsccUc root@usa-nyc-kvm-001:~# telnet 169.254.156.179 3922 Trying 169.254.156.179... telnet: Unable to connect to remote host: Connection refused ( before connection refused, I get no route to host, for sure the nic is not up ) root@usa-nyc-kvm-001:~# virsh list Id NameState --- 2v-4048-VM running 4s-4050-VM running 7r-4092-VM running root@usa-nyc-kvm-001:~# If I check the log inside the router, I see this (the router is also responding very slow, waiting a lot to connect on it via virsh console): r-4092-VM login: root Password: Login timed out after 60 seconds. __?.o/ Apache CloudStack SystemVM 4.15.1 ( )#https://cloudstack.apache.org (___(_) Debian GNU/Linux 10 r-4093-VM ttyS0 r-4093-VM login: root Password: Linux r-4093-VM 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 root@r-4093-VM:~# cat /var/log/cloud.log Mon 13 Sep 2021 11:50:55 AM UTC Executing cloud-early-config Mon 13 Sep 2021 11:50:55 AM UTC Bootstrapping systemvm appliance Mon 13 Sep 2021 11:50:57 AM UTC Starting guest services for kvm Mon 13 Sep 2021 11:51:04 AM UTC acpiphp and pci_hotplug module already compiled in Mon 13 Sep 2021 11:52:59 AM UTC Received a new non-empty cmdline file from qemu-guest-agent Mon 13 Sep 2021 11:52:59 AM UTC Booting from cloudstack, remove old configuration files in /etc/cloudstack/ Mon 13 Sep 2021 11:54:30 AM UTC Configuring systemvm type=vpcrouter Mon 13 Sep 2021 11:54:30 AM UTC Setting up VPC virtual router system vm Mon 13 Sep 2021 11:54:31 AM UTC Setting up apache web server for VPC Mon 13 Sep 2021 11:55:05 AM UTC Processors = 1 Enable service = 0 Mon 13 Sep 2021 11:55:05 AM UTC cloud: disable rp_filter Mon 13 Sep 2021 11:55:05 AM UTC disable rpfilter Mon 13 Sep 2021 11:55:05 AM UTC cloud: enable_fwding = 1 Mon 13 Sep 2021 11:55:05 AM UTC enable_fwding = 1 Mon 13 Sep 2021 11:55:05 AM UTC cloud: enabling passive FTP for guest VMs Mon 13 Sep 2021 11:55:06 AM UTC Finished setting up systemvm Mon 13 Sep 2021 11:55:06 AM UTC Finished setting up systemvm 2021-09-13 11:55:13,823 INFO update_config.py :: Processing incoming file => cmd_line.json 2021-09-13 11:55:13,856 INFO Processing JSON file cmd_line.json 2021-09-13 11:55:13,858 INFO Continuing with the processing of file '/var/cache/cloud/cmd_line.json' 2021-09-13 11:55:13,877 INFO Command of type cmdline received 2021-09-13 11:55:13,897 INFO Command of type ips received 2021-09-13 11:55:13,923 INFO Executing: ip addr show dev eth0 2021-09-13 11:55:13,975 INFO Executing: ip addr show dev eth0 2021-09-13 11:55:13,979 INFO Address found in DataBag ==> {u'public_ip': u'169.254.41.129', u'one_to_one_nat': False, u'nic_dev_id': u'0', u'network': u'169.254.0.0/16', u'netmask': u'255.255.0.0', u'source_nat': False, u'broadcast': u'169.254.255.255', u'add': True, u'nw_type': u'control', u'device': u'eth0', u'cidr': u'169.254.41.129/16', u'gateway': u'', u'size': u'16'} 2021-09-13 11:55:13,979 INFO Address 169.254.41.129/16 on device eth0 already configured 2021-09-13 11:55:13,984 INFO Executing: ip addr show |grep -v secondary 2021-09-13 11:55:14,010 INFO Wrote edited file /etc/dnsmasq.d/cloud.conf 2021-09-13 11:55:14,010 INFO Updated file in-cache configuration 2021-09-13 11:55:14,010 INFO Nothing to commit. The /etc/dhcphosts.txt file did not change 2021-09-13 11:55:14,010 INFO Nothing to commit. The /var/lib/misc/dnsmasq.leases file did not change 2021-09-13 11:55:14,010 INFO Nothing to commit. The /etc/dhcpopts.txt file did not change 2021-09-13 11:55:14,010 INFO Attempting to delete entries from dnsmasq.leases file for VMs which are not on dhcphosts file 2021-09-13 11:55:14,010 ERRORCaught error while trying to delete entries from dnsmasq.leases file: [Errno 2] No such file or directory: '/etc/dhcphosts.txt' 2021-09-13 11:55:14,034 INFO Wrote edited file /etc/hosts 2021-09-13 11:55:14,044 INFO Updated file in-cache configuration 2021-09-13 11:55:14,044 INFO Updated hosts file 2021-09-13 11:55:14,046 INFO Executing: systemctl restart dnsmasq 2021-09-13 11:55:15,409 INFO Service dnsmasq restart 2021-09-13 11:55:15,453 INFO Executing: ip addr show |grep -v secondary 2021-09-13 11:55:15,832 INFO Nothing to commit. The /etc/dnsmasq.d/cloud.conf file did not change
Re: Groovy Script error while changing guest cpu model.
guest.cpu.mode=host-passthrough should work like a charm if it doesn't work, this means the regression is in the CloudStack code and it prevents setting the property. Make sure you have set the correct line end character in UNIX format. On Mon, Sep 13, 2021 at 7:00 PM Wei ZHOU wrote: > Hi Abishek, > > It is better to share your agent.properties > > -Wei > > On Mon, 13 Sept 2021 at 13:39, avi wrote: > > > Hello Ivan, > > > > But I am still getting qemu virtual cpu in guest VM's(Windows). Did > > everything as documented. I want the VM's to have same CPU as the host > > machines Will it be possible? > > > > Thank You. > > > > On 2021/09/13 07:55:39, Ivan Kudryavtsev wrote: > > > That is just fine. Go ahead, it's not an error. > > > > > > On Mon, Sep 13, 2021 at 2:24 PM avi wrote: > > > > > > > Hello All, > > > > > > > > I am using cloudstack 4.15.1 with KVM host. I was playing with > changing > > > > guest cpu model and tested out > > > > host-passthrough and host-model but I was unable to succed. I changed > > the > > > > parameter in the agent config file as documented but I received > > following > > > > error on both hosts: > > > > 12:07:43,928 INFO [kvm.storage.LibvirtStorageAdaptor] > > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch > storage > > pool > > > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > > > 12:07:44,092 INFO [kvm.storage.LibvirtStorageAdaptor] > > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch > storage > > pool > > > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > > > '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is > not > > > > available. Transformations will not be applied. > > > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting > engine > > is > > > > not initialized. Data transformation skipped. > > > > 12:07:44,800 WARN [kvm.resource.LibvirtKvmAgentHook] > > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > > > '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not > > > > available. Transformations will not be applied. > > > > 12:07:44,801 WARN [kvm.resource.LibvirtKvmAgentHook] > > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting > engine > > is > > > > not initialized. Data transformation skipped. > > > > > > > > I only changed the option guest.cpu.mode in the agent file of both > > host. > > > > And restarted the agent and libvirtd. The host os is Centos 7. The > > machine > > > > starts sucessfully but the cpu is still set to qemu virtual cpu. Did > I > > miss > > > > something during the configuration. Both the KVM host are of same > > > > specification. > > > > I will be grateful for any help. > > > > > > > > Thank You. > > > > > > > > > > > > > >
Re: Groovy Script error while changing guest cpu model.
Hi Abishek, It is better to share your agent.properties -Wei On Mon, 13 Sept 2021 at 13:39, avi wrote: > Hello Ivan, > > But I am still getting qemu virtual cpu in guest VM's(Windows). Did > everything as documented. I want the VM's to have same CPU as the host > machines Will it be possible? > > Thank You. > > On 2021/09/13 07:55:39, Ivan Kudryavtsev wrote: > > That is just fine. Go ahead, it's not an error. > > > > On Mon, Sep 13, 2021 at 2:24 PM avi wrote: > > > > > Hello All, > > > > > > I am using cloudstack 4.15.1 with KVM host. I was playing with changing > > > guest cpu model and tested out > > > host-passthrough and host-model but I was unable to succed. I changed > the > > > parameter in the agent config file as documented but I received > following > > > error on both hosts: > > > 12:07:43,928 INFO [kvm.storage.LibvirtStorageAdaptor] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage > pool > > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > > 12:07:44,092 INFO [kvm.storage.LibvirtStorageAdaptor] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage > pool > > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > > '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not > > > available. Transformations will not be applied. > > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine > is > > > not initialized. Data transformation skipped. > > > 12:07:44,800 WARN [kvm.resource.LibvirtKvmAgentHook] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > > '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not > > > available. Transformations will not be applied. > > > 12:07:44,801 WARN [kvm.resource.LibvirtKvmAgentHook] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine > is > > > not initialized. Data transformation skipped. > > > > > > I only changed the option guest.cpu.mode in the agent file of both > host. > > > And restarted the agent and libvirtd. The host os is Centos 7. The > machine > > > starts sucessfully but the cpu is still set to qemu virtual cpu. Did I > miss > > > something during the configuration. Both the KVM host are of same > > > specification. > > > I will be grateful for any help. > > > > > > Thank You. > > > > > > > > >
Re: Groovy Script error while changing guest cpu model.
Hi, this means that you used wrong cpu specification in the config. These hooks do nothing about that, especially because they are not present. пн, 13 сент. 2021 г., 18:40 avi : > Hello Ivan, > > But I am still getting qemu virtual cpu in guest VM's(Windows). Did > everything as documented. I want the VM's to have same CPU as the host > machines Will it be possible? > > Thank You. > > On 2021/09/13 07:55:39, Ivan Kudryavtsev wrote: > > That is just fine. Go ahead, it's not an error. > > > > On Mon, Sep 13, 2021 at 2:24 PM avi wrote: > > > > > Hello All, > > > > > > I am using cloudstack 4.15.1 with KVM host. I was playing with changing > > > guest cpu model and tested out > > > host-passthrough and host-model but I was unable to succed. I changed > the > > > parameter in the agent config file as documented but I received > following > > > error on both hosts: > > > 12:07:43,928 INFO [kvm.storage.LibvirtStorageAdaptor] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage > pool > > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > > 12:07:44,092 INFO [kvm.storage.LibvirtStorageAdaptor] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage > pool > > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > > '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not > > > available. Transformations will not be applied. > > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine > is > > > not initialized. Data transformation skipped. > > > 12:07:44,800 WARN [kvm.resource.LibvirtKvmAgentHook] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > > '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not > > > available. Transformations will not be applied. > > > 12:07:44,801 WARN [kvm.resource.LibvirtKvmAgentHook] > > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine > is > > > not initialized. Data transformation skipped. > > > > > > I only changed the option guest.cpu.mode in the agent file of both > host. > > > And restarted the agent and libvirtd. The host os is Centos 7. The > machine > > > starts sucessfully but the cpu is still set to qemu virtual cpu. Did I > miss > > > something during the configuration. Both the KVM host are of same > > > specification. > > > I will be grateful for any help. > > > > > > Thank You. > > > > > > > > >
Hi (Again)
Hey All, So, I’ve moved over to the Dark Side, and I’m now purely a user of CloudStack with Ticketmaster/Live Nation. I’m mostly going to be all about breaking things rather than fixing them …Starting off with: As root admin I can list all VMs including ones in projects via cmk -list virtualmachines projectid=-1 Is there a way to do the same in the UI? Cheers! Paul. This message is confidential and may be legally privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system; you must not copy or disclose the contents of this message or any attachment to any other person. We may monitor email traffic and the content of internal and external messages sent to and from us to ensure compliance with internal policies and for the purposes of security. Ticketmaster UK Limited. Registered Office: 30 St John Street, London EC1M 4AY. Registered in England and Wales. Company Number 02662632.
Re: Groovy Script error while changing guest cpu model.
Hello Ivan, But I am still getting qemu virtual cpu in guest VM's(Windows). Did everything as documented. I want the VM's to have same CPU as the host machines Will it be possible? Thank You. On 2021/09/13 07:55:39, Ivan Kudryavtsev wrote: > That is just fine. Go ahead, it's not an error. > > On Mon, Sep 13, 2021 at 2:24 PM avi wrote: > > > Hello All, > > > > I am using cloudstack 4.15.1 with KVM host. I was playing with changing > > guest cpu model and tested out > > host-passthrough and host-model but I was unable to succed. I changed the > > parameter in the agent config file as documented but I received following > > error on both hosts: > > 12:07:43,928 INFO [kvm.storage.LibvirtStorageAdaptor] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > 12:07:44,092 INFO [kvm.storage.LibvirtStorageAdaptor] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not > > available. Transformations will not be applied. > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is > > not initialized. Data transformation skipped. > > 12:07:44,800 WARN [kvm.resource.LibvirtKvmAgentHook] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not > > available. Transformations will not be applied. > > 12:07:44,801 WARN [kvm.resource.LibvirtKvmAgentHook] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is > > not initialized. Data transformation skipped. > > > > I only changed the option guest.cpu.mode in the agent file of both host. > > And restarted the agent and libvirtd. The host os is Centos 7. The machine > > starts sucessfully but the cpu is still set to qemu virtual cpu. Did I miss > > something during the configuration. Both the KVM host are of same > > specification. > > I will be grateful for any help. > > > > Thank You. > > > > >
Re: Groovy Script error while changing guest cpu model.
Hello Ivan, But the VM's (Windows) just keep showing the qemu virtual cpu. I want to have the actual CPU parameters available for the VM's and I could not achieve it. Thank You. On 2021/09/13 07:55:39, Ivan Kudryavtsev wrote: > That is just fine. Go ahead, it's not an error. > > On Mon, Sep 13, 2021 at 2:24 PM avi wrote: > > > Hello All, > > > > I am using cloudstack 4.15.1 with KVM host. I was playing with changing > > guest cpu model and tested out > > host-passthrough and host-model but I was unable to succed. I changed the > > parameter in the agent config file as documented but I received following > > error on both hosts: > > 12:07:43,928 INFO [kvm.storage.LibvirtStorageAdaptor] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > 12:07:44,092 INFO [kvm.storage.LibvirtStorageAdaptor] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool > > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not > > available. Transformations will not be applied. > > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is > > not initialized. Data transformation skipped. > > 12:07:44,800 WARN [kvm.resource.LibvirtKvmAgentHook] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > > '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not > > available. Transformations will not be applied. > > 12:07:44,801 WARN [kvm.resource.LibvirtKvmAgentHook] > > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is > > not initialized. Data transformation skipped. > > > > I only changed the option guest.cpu.mode in the agent file of both host. > > And restarted the agent and libvirtd. The host os is Centos 7. The machine > > starts sucessfully but the cpu is still set to qemu virtual cpu. Did I miss > > something during the configuration. Both the KVM host are of same > > specification. > > I will be grateful for any help. > > > > Thank You. > > > > >
RE: [!!Mass Mail]Recalculate zone resources
Also, I tried use Force Reconnect but nothing changed. In op_host_capacity I can see: mysql> select * from op_host_capacity where host_id = 1; ++-++++---+---+-+---++-+-+ | id | host_id | data_center_id | pod_id | cluster_id | used_capacity | reserved_capacity | total_capacity | capacity_type | capacity_state | update_time | created | ++-++++---+---+-+---++-+-+ | 21 | 1 | 1 | 1 | 1 | 0 | 0 |788966947328 | 0 | Enabled| 2021-09-13 10:11:59 | 2021-09-03 21:10:00 | | 22 | 1 | 1 | 1 | 1 | 0 | 0 | 335200 | 1 | Enabled| 2021-09-13 09:34:46 | 2021-09-03 21:10:00 | | 17 | 1 | 1 | 1 | 1 | 1448238645248 | 0 | 107532206997504 | 3 | Enabled| 2021-09-13 09:02:44 | 2021-06-15 14:29:33 | | 20 | 1 | 1 | 1 | 1 | 0 | 0 | 160 |90 | Disabled | 2021-09-13 09:34:46 | 2021-09-03 21:10:00 | ++-++++---+---+-+---++-+-+ 4 rows in set (0.00 sec) -Original Message- From: Дикевич Евгений Александрович [mailto:evgeniy.dikev...@becloud.by] Sent: Monday, September 13, 2021 11:29 AM To: users@cloudstack.apache.org Subject: [!!Mass Mail]Recalculate zone resources Hi all! ACS 4.14.1 How I can recalculate zone resources? I have 4 hosts in zone. All of them have 80 cpu (160 threads). After I put 1 host in maintenance mode and then bring them up I see in dashboard only 480 threads. Host marked as Up. Внимание! Это электронное письмо и все прикрепленные к нему файлы являются конфиденциальными и предназначены исключительно для использования лицом (лицами), которому (которым) оно предназначено. Если Вы не являетесь лицом (лицами), которому (которым) предназначено это письмо, не копируйте и не разглашайте его содержимое и удалите это сообщение и все вложения из Вашей почтовой системы. Любое несанкционированное использование, распространение, раскрытие, печать или копирование этого электронного письма и прикрепленных к нему файлов, кроме как лицом (лицами) которому (которым) они предназначены, является незаконным и запрещено. Принимая во внимание, что передача данных посредством Интернет не является безопасной, мы не несем никакой ответственности за любой потенциальный ущерб, причиненный в результате ошибок при передаче данных или этим сообщением и прикрепленными к нему файлами. Attention! This email and all attachments to it are confidential and are intended solely for use by the person (or persons) referred to (mentioned) as the intended recipient (recipients). If you are not the intended recipient of this email, do not copy or disclose its contents and delete the message and any attachments to it from your e-mail system. Any unauthorized use, dissemination, disclosure, printing or copying of this e-mail and files attached to it, except by the intended recipient, is illegal and is prohibited. Taking into account that data transmission via Internet is not secure, we assume no responsibility for any potential damage caused by data transmission errors or this message and the files attached to it.
Re: All VM domains in KVM suddenly terminated and VMs cannot start
looks like your ssl keys got corrupted, I suggest removing them and re-adding the hosts (as a first try. Hope this is not your production environment. On Sat, Sep 4, 2021 at 12:20 PM Fariborz Navidan wrote: > Hello, > > All VM domains in KVM suddenly terminated but CloudStack was thinking they > are running as states were not updated in the database. I just forcefully > stopped them and now they cannot start due to insufficient capacity. Below > is the agent log. i tried restarting systemd-machind, libvirtd and agent. > Also checked all ports. Port 8250 is open. > > in:null) (logid:) Connecting to 79.143.86.149:8250 > 2021-09-04 12:16:02,000 INFO [utils.nio.Link] (main:null) (logid:) Conf > file found: /etc/cloudstack/agent/agent.properties > > > > > > > > 2021-09-04 12:16:02,255 ERROR [utils.nio.Link] (main:null) (logid:) SSL > error caught during unwrap data: Received fatal alert: certificate_unknown, > for local address=/79.143.86.149:53860, remote address=/79.143.86.149:8250 > . > The client may have invalid ca-certificates. > 2021-09-04 12:16:02,255 ERROR [utils.nio.NioClient] (main:null) (logid:) > SSL Handshake failed while connecting to host: 79.143.86.149 port: 8250 > 2021-09-04 12:16:02,255 ERROR [utils.nio.NioConnection] (main:null) > (logid:) Unable to initialize the threads. > java.io.IOException: SSL Handshake failed while connecting to host: > 79.143.86.149 port: 8250 > at com.cloud.utils.nio.NioClient.init(NioClient.java:67) > at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95) > at com.cloud.agent.Agent.start(Agent.java:293) > at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455) > at > com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:422) > at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406) > at com.cloud.agent.AgentShell.start(AgentShell.java:512) > at com.cloud.agent.AgentShell.main(AgentShell.java:547) > 2021-09-04 12:16:02,255 INFO [utils.nio.NioClient] (main:null) (logid:) > NioClient connection closed > 2021-09-04 12:16:02,255 INFO [cloud.agent.Agent] (main:null) (logid:) > Attempted to connect to the server, but received an unexpected exception, > trying again... > com.cloud.utils.exception.NioConnectionException: SSL Handshake failed > while connecting to host: 79.143.86.149 port: 8250 > at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101) > at com.cloud.agent.Agent.start(Agent.java:293) > at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455) > at > com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:422) > at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406) > at com.cloud.agent.AgentShell.start(AgentShell.java:512) > at com.cloud.agent.AgentShell.main(AgentShell.java:547) > Caused by: java.io.IOException: SSL Handshake failed while connecting to > host: 79.143.86.149 port: 8250 > at com.cloud.utils.nio.NioClient.init(NioClient.java:67) > at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95) > ... 6 more > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2021-09-04 12:16:07,256 INFO [cloud.agent.Agent] (main:null) (logid:) > Connecting to host:79.143.86.149 > 2021-09-04 12:16:07,256 INFO [utils.nio.NioClient] (main:null) (logid:) > Connecting to 79.143.86.149:8250 > 2021-09-04 12:16:07,257 INFO [utils.nio.Link] (main:null) (logid:) Conf > file found: /etc/cloudstack/agent/agent.properties > 2021-09-04 12:16:07,521 ERROR [utils.nio.Link] (main:null) (logid:) SSL > error caught during unwrap data: Received fatal alert: certificate_unknown, > for local address=/79.143.86.149:53862, remote address=/79.143.86.149:8250 > . > The client may have invalid ca-certificates. > 2021-09-04 12:16:07,521 ERROR [utils.nio.NioClient] (main:null) (logid:) > SSL Handshake failed while connecting to host: 79.143.86.149 port: 8250 > 2021-09-04 12:16:07,521 ERROR [utils.nio.NioConnection] (main:null) > (logid:) Unable to initialize the threads. > java.io.IOException: SSL Handshake failed while connecting to host: > 79.143.86.149 port: 8250 > at com.cloud.utils.nio.NioClient.init(NioClient.java:67) > at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95) > at com.cloud.agent.Agent.start(Agent.java:293) > at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455) > at > com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:422) > at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406) > at com.cloud.agent.AgentShell.start(AgentShell.java:512) > at com.cloud.agent.AgentShell.main(AgentShell.java:547) > 2021-09-04 12:16:07,522 INFO [utils.nio.NioClient] (main:null) (logid:) > NioClient connection closed > 2021-09-04 12:16:07,522 INFO [cloud.agent.Agent] (main:null) (logid:) > Attempted to connect to the server, but received an
Re: [VOTE] Apache CloudStack 4.15.2.0 (RC2)
+1 (binding) With help from my colleagues Bobby and Vladi, I performed the following tests: * Fresh installation + smoketests (RC1 & RC2): * CentOS7 ms + CentOS 7 kvm - all pass * CentOS7 ms + XCP-ng 8.2 - all pass * Ubuntu 18.04 ms + Ubuntu 20.04 kvm - all pass except failures in few vm_lifecycle test cases around vm migration with storage (env specific, they passed in other KVM-combinations) * CentOS 7 ms + VMware6.7 - all pass * CentOS7 ms + XenServer71 - all pass * Manual tests: (RC2) * CentOS8 ms + Vmware 7 + SSL enabled UI+systemvms - all pass, manually tested VM lifecycle + novnc * Ubuntu 20.04 ms + CentOS 8 KVM + SSL enabled UI+systemvms + CKS - all pass, manually tested VM lifecycle, CKS cluster deployment + kubectl listing etc., novnc+ssl * Execute high-level 4.15.2 UI smoketests https://github.com/apache/cloudstack-primate/blob/master/.github/ISSUE_TEMPLATE/smoke_test_plan.md (with VMware env) as admin and user accounts - pass * Upgrade tests: (manual, RC1) * Pre-upgrade: deploy resources (vm, volumes, templates, project, vpc, network+rules etc) and register 4.15.1 systemvmtemplate as necessary * Post-upgrade: switch to JRE11 in case of very old releases wherever necessary + restart services, repeat basic resource lifecycles (VM, volumes, network, template etc); test ssh access to guest VM pre upgrade with old/new VRs + novnc/console * Upgrades covered: * CentOS7 ms + ACS 4.15.1 + VMware6.5 (no systemvmtemplate registeration required pre-upgrade) * CentOS7 ms + ACS 4.14.1 + XenServer 7.1 * CentOS7 ms + ACS 4.13.1 + CentOS7 KVM * Ubuntu 18.04 ms + ACS 4.13.1 + XCP-ng 7.4 * CentOS7 ms + ACS 4.11.3 + VMware 6.5 * Changes since RC1: Only UI changes, five UI bugfix PRs manually tested, and manually tested-confirmed in RC2 (https://github.com/apache/cloudstack/commits/4.15) All backend smoke tests were repeated with RC2. Since RC2 had no backend changes, upgrade tests were not repeated. Regards. From: Rohit Yadav Sent: Friday, September 10, 2021 21:26 To: d...@cloudstack.apache.org Cc: users@cloudstack.apache.org Subject: Re: [VOTE] Apache CloudStack 4.15.2.0 (RC2) Typo and correction: For users convenience, the packages from this release candidate (RC2) will be available here shortly: https://download.cloudstack.org/testing/4.15.2.0-RC2/ Regards. From: Rohit Yadav Sent: Friday, September 10, 2021 21:21 To: d...@cloudstack.apache.org Cc: users@cloudstack.apache.org Subject: [VOTE] Apache CloudStack 4.15.2.0 (RC2) All, I've created a 4.15.2.0 release, with the following artifacts up for a vote: Git Branch and Commit SHA: https://github.com/apache/cloudstack/tree/4.15.2.0-RC20210910T2119 Commit: 4aaa850b63c34e0f312002f79bf9e4f699bf314a Source release (checksums and signatures are available at the same location): https://dist.apache.org/repos/dist/dev/cloudstack/4.15.2.0/ PGP release keys (signed using 5ED1E1122DC5E8A4A45112C2484248210EE3D884): https://dist.apache.org/repos/dist/release/cloudstack/KEYS The vote will be open for a week until 17 September 2021. For sanity in tallying the vote, can PMC members please be sure to indicate "(binding)" with their vote? [ ] +1 approve [ ] +0 no opinion [ ] -1 disapprove (and reason why) For users convenience, the packages from this release candidate (RC1) will be available here shortly: https://download.cloudstack.org/testing/4.15.2.0-RC2/ There is no new systemvmtemplate for 4.15.2, the 4.15.1 systemvmtemplate can be used from here: https://download.cloudstack.org/systemvm/4.15/ Docs are not published yet but upgrade notes are similar to the one below without the requirement of registering a new systemvmtemplate: https://github.com/apache/cloudstack-documentation/tree/4.15/source/upgrading/upgrade Regards.
Recalculate zone resources
Hi all! ACS 4.14.1 How I can recalculate zone resources? I have 4 hosts in zone. All of them have 80 cpu (160 threads). After I put 1 host in maintenance mode and then bring them up I see in dashboard only 480 threads. Host marked as Up. Внимание! Это электронное письмо и все прикрепленные к нему файлы являются конфиденциальными и предназначены исключительно для использования лицом (лицами), которому (которым) оно предназначено. Если Вы не являетесь лицом (лицами), которому (которым) предназначено это письмо, не копируйте и не разглашайте его содержимое и удалите это сообщение и все вложения из Вашей почтовой системы. Любое несанкционированное использование, распространение, раскрытие, печать или копирование этого электронного письма и прикрепленных к нему файлов, кроме как лицом (лицами) которому (которым) они предназначены, является незаконным и запрещено. Принимая во внимание, что передача данных посредством Интернет не является безопасной, мы не несем никакой ответственности за любой потенциальный ущерб, причиненный в результате ошибок при передаче данных или этим сообщением и прикрепленными к нему файлами. Attention! This email and all attachments to it are confidential and are intended solely for use by the person (or persons) referred to (mentioned) as the intended recipient (recipients). If you are not the intended recipient of this email, do not copy or disclose its contents and delete the message and any attachments to it from your e-mail system. Any unauthorized use, dissemination, disclosure, printing or copying of this e-mail and files attached to it, except by the intended recipient, is illegal and is prohibited. Taking into account that data transmission via Internet is not secure, we assume no responsibility for any potential damage caused by data transmission errors or this message and the files attached to it.
Re: Groovy Script error while changing guest cpu model.
That is just fine. Go ahead, it's not an error. On Mon, Sep 13, 2021 at 2:24 PM avi wrote: > Hello All, > > I am using cloudstack 4.15.1 with KVM host. I was playing with changing > guest cpu model and tested out > host-passthrough and host-model but I was unable to succed. I changed the > parameter in the agent config file as documented but I received following > error on both hosts: > 12:07:43,928 INFO [kvm.storage.LibvirtStorageAdaptor] > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > 12:07:44,092 INFO [kvm.storage.LibvirtStorageAdaptor] > (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool > 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not > available. Transformations will not be applied. > 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is > not initialized. Data transformation skipped. > 12:07:44,800 WARN [kvm.resource.LibvirtKvmAgentHook] > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script > '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not > available. Transformations will not be applied. > 12:07:44,801 WARN [kvm.resource.LibvirtKvmAgentHook] > (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is > not initialized. Data transformation skipped. > > I only changed the option guest.cpu.mode in the agent file of both host. > And restarted the agent and libvirtd. The host os is Centos 7. The machine > starts sucessfully but the cpu is still set to qemu virtual cpu. Did I miss > something during the configuration. Both the KVM host are of same > specification. > I will be grateful for any help. > > Thank You. > >
Groovy Script error while changing guest cpu model.
Hello All, I am using cloudstack 4.15.1 with KVM host. I was playing with changing guest cpu model and tested out host-passthrough and host-model but I was unable to succed. I changed the parameter in the agent config file as documented but I received following error on both hosts: 12:07:43,928 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt 12:07:44,092 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:a59f3a95) Trying to fetch storage pool 0420bb0c-6e77-3a53-994a-8907905cd465 from libvirt 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not available. Transformations will not be applied. 12:07:44,309 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is not initialized. Data transformation skipped. 12:07:44,800 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied. 12:07:44,801 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-5:null) (logid:a59f3a95) Groovy scripting engine is not initialized. Data transformation skipped. I only changed the option guest.cpu.mode in the agent file of both host. And restarted the agent and libvirtd. The host os is Centos 7. The machine starts sucessfully but the cpu is still set to qemu virtual cpu. Did I miss something during the configuration. Both the KVM host are of same specification. I will be grateful for any help. Thank You.
RE: Timed out /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patch.sh
HI Wei, You were right, something was wrong with the template, I re added. Thank you. -Original Message- From: Wei ZHOU Sent: Friday, September 10, 2021 5:15 PM To: users Subject: Re: Timed out /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patch.sh Hi Cristian, Can you check if the SSVM uses the correct systemvm template ? -Wei On Fri, 10 Sept 2021 at 16:11, wrote: > Hello, > > > > Any idea from where I get this time out? > > > > 2021-09-10 14:09:52,630 WARN [kvm.resource.LibvirtComputingResource] > (agentRequest-Handler-2:null) (logid:e7bed45c) Timed out: > /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patch.sh -n > s-4041-VM -c template=domP type=secstorage > host=10.100.25.250,172.11.0.2 port=8250 name=s-4041-VM zone=5 pod=5 > guid=s-4041-VM workers=5 > resource=com.cloud.storage.resource.PremiumSecondaryStorageResource > instance=SecStorage sslcopy=false role=templateProcessor mtu=1500 > eth2ip=23.29.xxx.xxx eth2mask=255.255.255.224 gateway=23.29.xxx.xxx > public.network.device=eth2 eth0ip=169.254.159.216 eth0mask=255.255.0.0 > eth1ip=10.100.22.165 eth1mask=255.255.255.0 localgw=10.100.22.4 > private.network.device=eth1 internaldns1=10.100.22.4 dns1=8.8.8.8 > nfsVersion=null . Output is: > > 2021-09-10 14:09:52,632 ERROR [kvm.resource.LibvirtComputingResource] > (agentRequest-Handler-2:null) (logid:e7bed45c) Passing cmdline > failed:timeout > > > > > > Regards, > > Cristian > >