Re: Feature Cloudstack 4.15

2021-09-08 Thread Rohit Yadav
Hi Benoit, Yes, it's possible to write a backup and recovery plugin. The framework exposes interfaces that your plugin or an external service managed by the plugin can execute/implement. For example, taking backup, restoring backup to primary storage etc. Depending on what/how you're integratin

Re: XCP-ng Backup Cloudstack 4.15

2021-09-08 Thread Rohit Yadav
+1 what Yordan shared, in addition The B&R framework is extensible with the provider model, that is you can write plugins. The framework assumes that plugin is responsible for actually carrying out the operation, i.e. execution. The plugin however can either choose to do those operations or del

Re: RE: Remove host from MySQL?

2021-09-08 Thread James Steele
Thanks for that reply Jordan, when I did that, I got: mysql> delete from host where id=12; ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`cloud`.`vm_instance`, CONSTRAINT `fk_vm_instance__last_host_id` FOREIGN KEY (`last_host_id`) REFERENCES `host` (

Secondary storage missing in one host.

2021-09-08 Thread Abishek
Hell All, I have setup cloudstack 4.15.1 with 2 KVM host machine. Everything is working fine but I was unable to migrate systsem vm's to host 2. All is working fine on host 1. Error is as follows: (s-7-VM) Resource [Host:9] is unreachable: Host 9: Unable to prepare for migration due to com.clou

Re: High increase in bandwidth usage

2021-09-08 Thread Saurabh Rapatwar
Hi I am facing the same problem. Please suggest any solution group members. Thanks in advance On Tue, 7 Sep, 2021, 11:30 pm R R, wrote: > I installed a cloudstack server on a bare metal server (all in one > installation). The bandwidth usage was normal. After a couple days, the > bandwidth usa

RE: High increase in bandwidth usage

2021-09-08 Thread Alex Mattioli
Hi, That would be bandwidth between which hosts? Also, what exactly would you call normal and excessive bandwidth usage? Regards Alex -Original Message- From: Saurabh Rapatwar Sent: 08 September 2021 16:46 To: users@cloudstack.apache.org Cc: d...@cloudstack.apache.org Subject: R

Re: Secondary storage missing in one host.

2021-09-08 Thread Daan Hoogland
Abishek, can you install a VM directly on host 2? and can you mount the secondary storage by hand? On Wed, Sep 8, 2021 at 4:45 PM Abishek wrote: > Hell All, > > I have setup cloudstack 4.15.1 with 2 KVM host machine. Everything is > working fine but I was unable to migrate systsem vm's to host 2

Re: Secondary storage missing in one host.

2021-09-08 Thread Wei ZHOU
Hi Abishek, It is not needed to mount secondary storage on kvm hosts during vm migration. Can you post more lines in agent.log ? -Wei On Wed, 8 Sept 2021 at 16:45, Abishek wrote: > Hell All, > > I have setup cloudstack 4.15.1 with 2 KVM host machine. Everything is > working fine but I was unab

Re: [VOTE] Apache CloudStack 4.15.2.0 (RC1)

2021-09-08 Thread Daan Hoogland
signing correct, archive contents sane (no further testing done) +1 (binding) On Tue, Sep 7, 2021 at 2:53 PM Rohit Yadav wrote: > 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.1

Re: High increase in bandwidth usage

2021-09-08 Thread Hean Seng
This should not happen, Cloudstack Is just web application, it does not consume any bandwidth . The one consume bandwidth is the VM inside . On Wed, Sep 8, 2021 at 10:52 PM Alex Mattioli wrote: > Hi, > > That would be bandwidth between which hosts? Also, what exactly would > you call normal

Re: Remove host from MySQL?

2021-09-08 Thread Wei ZHOU
Hi James, You can update db by sql Update vm_instance set last_host_id =NULL where last_host_id=12; -Wei On Tuesday, 7 September 2021, James Steele wrote: > Thanks for that reply Jordan, > > when I did that, I got: > > mysql> delete from host where id=12; > ERROR 1451 (23000): Cannot delete o

RE: RE: Remove host from MySQL?

2021-09-08 Thread Yordan Kostov
This means in table vm_instance there are VM instances that are still noted to reside on that host. From what I have seen that is a common ACS behavior. What you need to do is go to that table, filter by host and make a list of those VMs. Find if they really exist as you don’t want to remove real

RE: RE: Remove host from MySQL?

2021-09-08 Thread Yordan Kostov
Just saw Wei response, I suggest you take his approach as it is safer than mine. Best regards, Jordan -Original Message- From: Yordan Kostov Sent: 09 септември 2021 г. 8:41 To: users@cloudstack.apache.org Subject: RE: RE: Remove host from MySQL? [X] This message came from outside you

Re: Secondary storage missing in one host.

2021-09-08 Thread Abishek
Yes I was able to install the VM in the second host but was not able to migrate the system vm to second host. Also I was able to mount the secondary storage in the 2nd host. I was messing around with adding new secondary storage and migrating the content to new storage. I think the issue was cau

Re: Secondary storage missing in one host.

2021-09-08 Thread Abishek
Hello Wei, I was playing around with adding new secondary storage and migrating the secondary storage to new storage and then the issue arised. But I reverted the process and everything started working fine. I am working on a test environment and I have deleted the host yesterday and I don't ha