Re: /dev/sdX passthrough to vm

2024-03-04 Thread Rohit Yadav
Hi Piotr,

Is should be possible via domain XML manupulation: 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/virtualization_administration_guide/sect-virtualization-adding_storage_devices_to_guests-adding_hard_drives_and_other_block_devices_to_a_guest

I'm not sure if extraconfig can allow that though, however, you can use the 
agent hooks feature to rewrite parts of the domain XML: 
https://github.com/apache/cloudstack/blob/main/agent/conf/agent.properties#L110



Regards.

 



From: Piotr Pisz 
Sent: Saturday, March 2, 2024 15:24
To: users@cloudstack.apache.org 
Subject: /dev/sdX passthrough to vm

Hi



Is it possible to add the /dev/sdx disk from host to the VM via extra
config?

Could I ask for an example?



Regards,

Piotr





Re: volume was locked forever as "migration in progress"

2024-03-04 Thread Nischal P
Hi Hideyuki

If the volume is stuck in Migration state, I suggest that you take a back
up of DB before proceeding to the next step.

1. Please check if the volume is present in the source storage or the
destination
2. Once its confirmed, please update the mysql database

3 .mysql> select id from volumes where name='NAME OF VOLUME';

4. mysql> update volumes set state='Ready' where id=ID;  - ID you get here
is from Step 3.

Please perform these steps carefully.


Thanks & Regards
Nischal


On Mon, Mar 4, 2024 at 9:49 PM  wrote:

> Hello
> I have already tried it, but the volume is still locked as before.
>
> Below is what I tried.
> Systemctl restart cloudstack-management
> vm.job.timeout=50
> job.expire. minutes=50
>
> kvm.storage.offline.migration.wait=120
>
> kvm.storage.online.migration.wait=120
>
> mergeVirtualMachineWithVolume=120
>
> mergewait=120
>
>  job.cancel.threshold.minutes=5
>
> job.expire.minutes=5
>
> I am very confused about this event.
> If anyone knows of an effective workaround, please let me know.
>
> Regards
> Hideyuki.C
>
> -Original Message-
> From: Kiran Chavala 
> Sent: Monday, March 4, 2024 3:25 PM
> To: users@cloudstack.apache.org
> Subject: Re: volume was locked forever as "migration in progress"
>
> Hi
>
> Currently there is no way to force cancel a struck async job.
>
> you have to restart the management service
>
> service cloudstack-management restart
>
> Regards
> Kiran
>
> From: h.chi...@bestnetllc.co.jp 
> Date: Monday, 4 March 2024 at 1:43 AM
> To: users@cloudstack.apache.org 
> Subject: volume was locked forever as "migration in progress"
> Hello community
>
>
>
> Do you know how to force cancel a stuck job?
>
>
>
> When the source KVM host went down during storage migration, the volume
> was locked forever as "migration in progress".
>
>
>
> thank you.
>
>
>
>


RE: volume was locked forever as "migration in progress"

2024-03-04 Thread h.chinda
Hello
I have already tried it, but the volume is still locked as before.

Below is what I tried.
Systemctl restart cloudstack-management
vm.job.timeout=50
job.expire. minutes=50

kvm.storage.offline.migration.wait=120

kvm.storage.online.migration.wait=120

mergeVirtualMachineWithVolume=120

mergewait=120

 job.cancel.threshold.minutes=5

job.expire.minutes=5

I am very confused about this event.
If anyone knows of an effective workaround, please let me know.

Regards
Hideyuki.C

-Original Message-
From: Kiran Chavala  
Sent: Monday, March 4, 2024 3:25 PM
To: users@cloudstack.apache.org
Subject: Re: volume was locked forever as "migration in progress"

Hi

Currently there is no way to force cancel a struck async job.

you have to restart the management service

service cloudstack-management restart

Regards
Kiran

From: h.chi...@bestnetllc.co.jp 
Date: Monday, 4 March 2024 at 1:43 AM
To: users@cloudstack.apache.org 
Subject: volume was locked forever as "migration in progress"
Hello community



Do you know how to force cancel a stuck job?



When the source KVM host went down during storage migration, the volume was 
locked forever as "migration in progress".



thank you.

 



Re: [PROPOSE] RM for Cloudstack Terraform Provider

2024-03-04 Thread Rohit Yadav
Thanks for stepping up and sharing your plan.

Regards.
 



From: Suresh Kumar Anaparti 
Sent: Monday, March 4, 2024 5:36:55 PM
To: users@cloudstack.apache.org 
Cc: d...@cloudstack.apache.org 
Subject: Re: [PROPOSE] RM for Cloudstack Terraform Provider

+1, on the timelines.

Nice to see terraform provider release after a long time, thanks for
volunteering Kiran!

Regards,
Suresh

On Mon, Mar 4, 2024 at 5:30 PM Kiran Chavala 
wrote:

> Hi All,
>
> Greetings
>
> I'd like to propose and put myself forward as the release manager for
> v0.5.0 release of  cloudstack-terraform-provider(
> https://github.com/apache/cloudstack-terraform-provider)  if no
> objections are there.
>
>
> Since the last release of the cloudstack-terraform-provider (v0.4.0) was
> in 2022. I am proposing to have the v0.5.0 as a quicker release.
>
>
> I am also proposing the keep the scope of v0.5 release minimal and it
> should only contain minor improvements and bug fixes
>
>
> Regarding timeline for the v0.5.0 release, I am targeting it by March 25th
> 2024.
>
> We can have a alpha release of v0.5.0 by March 18th 2024 which allows the
> community users to test and report any issues.
>
>
> After the v0.5 release we can spend some more time on adding new features
> and improvements to the cloudstack-terraform-provider and do a proper
> release of v0.6.0 in the coming months
>
>
> Please ping me (@kiranchavala) on GitHub, in case you want to include any
> Issue/PR in the v0.5.0 release.
>
> Please let me know if you have any thoughts/comments.
>
>
>
> [1]
> https://github.com/apache/cloudstack-terraform-provider/compare/v0.4.0...main
>
> [2] https://github.com/apache/cloudstack-terraform-provider/milestone/2
>
> [3] https://github.com/apache/cloudstack-terraform-provider/issues
>
>
>
>
>
> Regards
> Kiran
>
>
>
>


Re: [PROPOSE] RM for Cloudstack Terraform Provider

2024-03-04 Thread Suresh Kumar Anaparti
+1, on the timelines.

Nice to see terraform provider release after a long time, thanks for
volunteering Kiran!

Regards,
Suresh

On Mon, Mar 4, 2024 at 5:30 PM Kiran Chavala 
wrote:

> Hi All,
>
> Greetings
>
> I'd like to propose and put myself forward as the release manager for
> v0.5.0 release of  cloudstack-terraform-provider(
> https://github.com/apache/cloudstack-terraform-provider)  if no
> objections are there.
>
>
> Since the last release of the cloudstack-terraform-provider (v0.4.0) was
> in 2022. I am proposing to have the v0.5.0 as a quicker release.
>
>
> I am also proposing the keep the scope of v0.5 release minimal and it
> should only contain minor improvements and bug fixes
>
>
> Regarding timeline for the v0.5.0 release, I am targeting it by March 25th
> 2024.
>
> We can have a alpha release of v0.5.0 by March 18th 2024 which allows the
> community users to test and report any issues.
>
>
> After the v0.5 release we can spend some more time on adding new features
> and improvements to the cloudstack-terraform-provider and do a proper
> release of v0.6.0 in the coming months
>
>
> Please ping me (@kiranchavala) on GitHub, in case you want to include any
> Issue/PR in the v0.5.0 release.
>
> Please let me know if you have any thoughts/comments.
>
>
>
> [1]
> https://github.com/apache/cloudstack-terraform-provider/compare/v0.4.0...main
>
> [2] https://github.com/apache/cloudstack-terraform-provider/milestone/2
>
> [3] https://github.com/apache/cloudstack-terraform-provider/issues
>
>
>
>
>
> Regards
> Kiran
>
>
>
>


[PROPOSE] RM for Cloudstack Terraform Provider

2024-03-04 Thread Kiran Chavala
Hi All,

Greetings

I'd like to propose and put myself forward as the release manager for v0.5.0 
release of  
cloudstack-terraform-provider(https://github.com/apache/cloudstack-terraform-provider)
  if no objections are there.


Since the last release of the cloudstack-terraform-provider (v0.4.0) was in 
2022. I am proposing to have the v0.5.0 as a quicker release.


I am also proposing the keep the scope of v0.5 release minimal and it should 
only contain minor improvements and bug fixes


Regarding timeline for the v0.5.0 release, I am targeting it by March 25th 2024.

We can have a alpha release of v0.5.0 by March 18th 2024 which allows the 
community users to test and report any issues.


After the v0.5 release we can spend some more time on adding new features and 
improvements to the cloudstack-terraform-provider and do a proper release of 
v0.6.0 in the coming months


Please ping me (@kiranchavala) on GitHub, in case you want to include any 
Issue/PR in the v0.5.0 release.

Please let me know if you have any thoughts/comments.



[1] 
https://github.com/apache/cloudstack-terraform-provider/compare/v0.4.0...main

[2] https://github.com/apache/cloudstack-terraform-provider/milestone/2

[3] https://github.com/apache/cloudstack-terraform-provider/issues





Regards
Kiran

 



RE: delete old SystemVM Templates

2024-03-04 Thread Gabriel Ortiga Fernandes
Hello Swen,

As mentioned, you can delete it by changing the type to USER. Additionally, 
this Pull Request: (https://github.com/apache/cloudstack/pull/8556) aims to add 
a new parameter to the 'deleteTemplate' API to allow these templates to be 
deletable without needing the extra step.

Kind regards, GaOrtiga.