RE: database connection lost

2022-12-20 Thread Gary Dixon
Thanks all I just checked and mysql wait timeout is set to 28800 The strange thing is we take mysqldumps every 15 minutes - but we see the db connection only gets lost around every 7 and half hours apart not every 15 minutes. I am going to set the mysql wait_timeout to 3600 as suggested in

Re: database connection lost

2022-12-20 Thread Ricardo Pertuz
Hi Gary, We had the same problem and increasing the wait timeout solved it. From: Gary Dixon Sent: Tuesday, December 20, 2022, 9:31 AM To: users@cloudstack.apache.org Subject: RE: database connection lost Thanks Wei Yes we are seeing the exact same errors in

RE: database connection lost

2022-12-20 Thread Gary Dixon
Thanks Wei Yes we are seeing the exact same errors in the cs mgmt. logs - we will set the MySQL global wait timeout to a higher value and see if it resolves our issue What's the error message ? There was a github issue may help you:

Re: database connection lost

2022-12-20 Thread Wei ZHOU
What's the error message ? There was a github issue may help you: https://github.com/apache/cloudstack/issues/4657 -Wei On Tuesday, 20 December 2022, Gary Dixon wrote: > Hi Vivek > > We are using the --single-transaction flag and --skip-lock-tables flag > Could there be something other than

RE: database connection lost

2022-12-20 Thread Gary Dixon
Hi Vivek We are using the --single-transaction flag and --skip-lock-tables flag Could there be something other than mysqldumps causing the cs mgmt. server to be losing the connection to the database ? BR Gary Hello, You can use --single-transaction Option while taking the dump or you can

Re: database connection lost

2022-12-20 Thread Vivek Kumar
Hello, You can use --single-transaction Option while taking the dump or you can schedule to take dump from a slave server if you have. Regards, Vivek Kumar On Tue, Dec 20, 2022, 7:25 PM Gary Dixon wrote: > Hi all > > > > CS v4.15.2 > > Hypervisor = KVM > > > > We have started to experience an

Re: Cannot create VM from Template Error

2022-12-20 Thread Wei ZHOU
The logs shows com.cloud.utils.exception.CloudRuntimeException: Failed to copy /mnt/14205cea-e7ab-39c7-b8d1-0cea6cf65976/10666dea-0eae-3a43-a673-b07c587bf86b.qcow2 to fa27384f-e4c8-4c34-8243-c32c7107b739 Any error log on the host (id=36) ? -Wei On Tuesday, 20 December 2022, Granwille Strauss

RE: database connection lost

2022-12-20 Thread Gary Dixon
Hi Wei We thought that without locking tables the mysql dumps may be inconsistent ? Hi, You can dump databases without locking tables. -Wei On Tuesday, 20 December 2022, Gary Dixon wrote: > Hi all > > > > CS v4.15.2 > > Hypervisor = KVM > > > > We have started to experience an issue on a

Re: database connection lost

2022-12-20 Thread Wei ZHOU
Hi, You can dump databases without locking tables. -Wei On Tuesday, 20 December 2022, Gary Dixon wrote: > Hi all > > > > CS v4.15.2 > > Hypervisor = KVM > > > > We have started to experience an issue on a frequent basis where the CS > mgmt. service is losing the connection to the database and

database connection lost

2022-12-20 Thread Gary Dixon
Hi all CS v4.15.2 Hypervisor = KVM We have started to experience an issue on a frequent basis where the CS mgmt. service is losing the connection to the database and believe it is being caused by mysqldumps locking the tables. Looking at the db.properties file there are tuning parameters : #

Re: define SSVM, SCVM and VR offerings for zone

2022-12-20 Thread Sadi
Hello Jordan ACS has three global configurations for defining system VM offerings: - consoleproxy.service.offering - secstorage.service.offering - router.service.offering For console and secondary storage system VMs, those configurations are global, meaning that the offering defined there will

Re: compute cannot be used if rot disk size is 0

2022-12-20 Thread jordan j
Managed to test the case on 4.17.2. The issue does not seem to be present anymore! Best regards, Jordan On Sun, Nov 13, 2022 at 12:26 PM jordan j wrote: > I am on it, but it will take some time due to the conference next week. > > Regards, > Jordan > > On Wed, Nov 9, 2022 at 7:21 AM

Re: Year in Review Blog - Input welcomed!

2022-12-20 Thread Ivet Petrova
Hi Alex, Can you please explain in 3-4 sentence why it is important? What is the use case there? Kind regards, On 20 Dec 2022, at 12:23, Alex Mattioli mailto:alex.matti...@shapeblue.com>> wrote: +1 to what Marco said and adding one quite important feature. * Associated Networks -

Re: Cannot create VM from Template Error

2022-12-20 Thread Granwille Strauss
Hi Wei I will log on Github. In the meantime, I processed "forced" delete for template so that I can get it removed from CM. Is it safe to remove images stored in primary, which are not related to VMs, since you mentioned templates are also stored in primary? On 12/20/22 12:48, Wei ZHOU

Re: Cannot create VM from Template Error

2022-12-20 Thread Wei ZHOU
This seems to be a bug. Please file a github issue. If the template is still used by active vms, you can find the template on primary storage. -Wei On Tue, 20 Dec 2022 at 07:50, Granwille Strauss wrote: > Hi > > I can confirm it is indeed deleted. So in short, the error that said > something

RE: Year in Review Blog - Input welcomed!

2022-12-20 Thread Alex Mattioli
+1 to what Marco said and adding one quite important feature. * Associated Networks - Self-service Shared Networks and Private Gateways. (4.17) Cheers Alex -Original Message- From: Marco Sinhoreli Sent: 19 December 2022 11:59 To: market...@cloudstack.apache.org;

Re: Cannot create VM from Template Error

2022-12-20 Thread Nux
Hi, Can you open a GitHub issue for this please? Make sure to specify all the relevant technical details, versions of stuff etc. --- Nux www.nux.ro [12] On 2022-12-20 06:49, Granwille Strauss wrote: Hi I can confirm it is indeed deleted. So in short, the error that said something in