Re: [D] Hello World! [cloudstack]

2023-12-13 Thread via GitHub


GitHub user borisstoyanov added a comment to the discussion: Hello World!

I don't think you understand me correct Daan, there's no mention of voting 
here. What I've said is about the concerns raised in discussion and vote 
threads earlier on mailing lists. 

GitHub link: 
https://github.com/apache/cloudstack/discussions/8343#discussioncomment-7850459


This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org



Re: get networks associated to a vm

2023-12-13 Thread Francisco Arencibia Quesada
awesome Pearl, thank you much, that worked like a charm.

Regards

On Wed, Dec 13, 2023 at 6:32 PM Pearl d'Silva 
wrote:

> Hi Francisco,
>
> You could probably use listNics to get all the associated networks for the
> virtual machine:
>
> cloudmonkey list nics
> virtualmachineid=41e5be92-cc95-4a52-aa47-908af828b303
> filter=networkname,networkid
>
> Regards,
> Pearl
>
> 
> From: Francisco Arencibia Quesada 
> Sent: December 13, 2023 12:27 PM
> To: users@cloudstack.apache.org 
> Subject: get networks associated to a vm
>
> Hello guys,
> I have been trying to find a way to use cloudmonkey to get all the networks
> associated with a VM, something like this:
> cloudmonkey list networks
> virtualmachineid=a9a97f97-9930-429a-b747-efbf7c5fc125 filter=id,name
> listall=true
> The thing is, the virtualmachineid parameter does not exist, and it outputs
> information that is not useful. If you have any idea how to achieve this,
> please let me know.
>
> Regards
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>
>
>
>

-- 
*Francisco Arencibia Quesada.*
*DevOps Engineer*


Re: get networks associated to a vm

2023-12-13 Thread Pearl d'Silva
Hi Francisco,

You could probably use listNics​ to get all the associated networks for the 
virtual machine:

cloudmonkey list nics virtualmachineid=41e5be92-cc95-4a52-aa47-908af828b303 
filter=networkname,networkid​

Regards,
Pearl


From: Francisco Arencibia Quesada 
Sent: December 13, 2023 12:27 PM
To: users@cloudstack.apache.org 
Subject: get networks associated to a vm

Hello guys,
I have been trying to find a way to use cloudmonkey to get all the networks
associated with a VM, something like this:
cloudmonkey list networks
virtualmachineid=a9a97f97-9930-429a-b747-efbf7c5fc125 filter=id,name
listall=true
The thing is, the virtualmachineid parameter does not exist, and it outputs
information that is not useful. If you have any idea how to achieve this,
please let me know.

Regards
--
*Francisco Arencibia Quesada.*
*DevOps Engineer*

 



get networks associated to a vm

2023-12-13 Thread Francisco Arencibia Quesada
Hello guys,
I have been trying to find a way to use cloudmonkey to get all the networks
associated with a VM, something like this:
cloudmonkey list networks
virtualmachineid=a9a97f97-9930-429a-b747-efbf7c5fc125 filter=id,name
listall=true
The thing is, the virtualmachineid parameter does not exist, and it outputs
information that is not useful. If you have any idea how to achieve this,
please let me know.

Regards
-- 
*Francisco Arencibia Quesada.*
*DevOps Engineer*


Re: new committer Vladimir Petrov

2023-12-13 Thread Pearl d'Silva
Congratulations Vladi!

Regards,
Pearl

From: Suresh Kumar Anaparti 
Sent: December 13, 2023 3:37 AM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: Re: new committer Vladimir Petrov

Congratulations Vladi...

Regards,
Suresh

On Wed, Dec 13, 2023 at 11:19 AM Slavka Peleva
 wrote:
>
> Congrats Vladi! :)
>
>
> On Wed, Dec 13, 2023 at 7:38 AM Jithin Raju 
> wrote:
>
> > Congratulations Vladi !
> >
> > -Jithin
> >
> > From: Daman Arora 
> > Date: Wednesday, 13 December 2023 at 11:06 AM
> > To: d...@cloudstack.apache.org 
> > Cc: users 
> > Subject: Re: new committer Vladimir Petrov
> > Congrats Vladimir!
> >
> > On Wed, Dec 13, 2023, 11:05 a.m. Harikrishna Patnala <
> > harikrishna.patn...@shapeblue.com> wrote:
> >
> > > Congratulations Vladi !
> > >
> > > Regards,
> > > Harikrishna
> > >
> > > From: Daan Hoogland 
> > > Date: Tuesday, 12 December 2023 at 3:22 PM
> > > To: dev , users 
> > > Subject: new committer Vladimir Petrov
> > > community,
> > >
> > > The PMC has decided Vladi to become a committer and he has gracefully
> > > accepted. Please join me in welcoming Vladi to the project as
> > > committer.
> > > Congratulations Vladi
> > >
> > > --
> > > Daan
> > >
> > >
> > >
> > >
> >
> >
> >
> >

 



Re: [PROPOSE] ACS 4.19.0.0 release

2023-12-13 Thread Abhishek Kumar
Hi all,

Due to some privately sent requests to postpone the code freeze, I propose 
postponing the code freeze date by a day.
Also, we already have a possible blocker [1] reported on the main branch so 
looking into getting that fixed.

I'll send an email tomorrow to announce the code freeze and will move the 
remaining open items to the next milestone.
We will still work towards cutting RC1 in the coming week.

Regards,
Abhishek

[1] https://github.com/apache/cloudstack/issues/8352



From: Abhishek Kumar 
Sent: 07 December 2023 18:02
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: Re: [PROPOSE] ACS 4.19.0.0 release

Hi all,

To update you on the status of the 4.19.0.0 milestone [1], currently, we have 
nearly 127 open items in the milestone.
Many of them have not seen any update or progress lately so we will have to 
move them out of the milestone. Also, quite a few are now just waiting for 
integration test results or in the final phase.
Based on this, I would like to propose,

  *
Code freeze on the main branch starting 13 Dec 2023, accepting only 
critical/blocker issues (if any)
  *   Cut RC1 in the week of 18-24 Dec 2023

Please let me know your thoughts.

Also, if you have a PR/issue marked for the 4.19.0.0/4.18.2 milestone please 
keep an eye on any updates on it.
Some of us have also got our feature/improvements already merged but 
documentation for the same is still pending so kindly make sure to progress on 
that.

Regards,
Abhishek

[1] https://github.com/apache/cloudstack/milestone/24


From: Abhishek Kumar 
Sent: 21 November 2023 17:11
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: Re: [PROPOSE] ACS 4.19.0.0 release

Hi all,

Thanks a lot Daan for cleaning up the 4.19.0.0 milestone [1].
Now we have around 123 open items in the milestone. We still have some 
interesting features and enhancements in progress.
In addition to this, we are seeing some recurring test failures on the PRs 
including health-check which would need some work.
Also, rest of this week a lot of us will be busy with CloudStack Collab 2023.
Considering these I propose moving the timeline to the following,

  *   Announce code freeze in early December 2023
  *   Cut RC1 thereafter in the first half of December 2023

Thank you for your understanding and support. Looking forward to meeting 
community folks in person in the next few days.


Regards,
Abhishek

[1] https://github.com/apache/cloudstack/milestone/24

From: Daan Hoogland 
Sent: 10 November 2023 15:22
To: d...@cloudstack.apache.org 
Cc: users@cloudstack.apache.org 
Subject: Re: [PROPOSE] ACS 4.19.0.0 release

After consulting with Abhishek I have started to move PRs and issues out of
the 4.19 and 4.18.2 milestones. I think we are not going to make the dates
mentioned anyway but want to reduce the delay as much as possible.

Please be responsive on your PRs and issues if you want them in, I will not
touch the milestones of any item that has had activity in the last week.

hope you all forgive me one day,

On Thu, Oct 26, 2023 at 12:50 PM Abhishek Kumar <
abhishek.ku...@shapeblue.com> wrote:

> Hi all,
>
> Update on the current state of the 4.19.0.0 milestone. Currently, there
> are still 179 open items in the 4.19.0.0 milestone [1]. We still have many
> exciting new features which need some work in the form code-changes or
> review and testing.
> Also, there are some issues and PRs in 4.18.2.0 milestone [2] which are
> marked major in severity.
> Based on this I would like to propose moving the earlier suggested
> timeline further and the revised timeline can be,
>
> - Announce code freeze around mid of the next month, November 2023
> - RC1 can be expected thereafter in the second half of November 2023
>
> If you have got an active PR with a new feature or fix that you would like
> to see in 4.19.0.0 release please comment with your interest on the Github
> item.
>
> Regards,
> Abhishek
>
> [1] https://github.com/apache/cloudstack/milestone/24
> [2] https://github.com/apache/cloudstack/milestone/29
> 
> From: Abhishek Kumar 
> Sent: 11 October 2023 12:49
> To: d...@cloudstack.apache.org ;
> users@cloudstack.apache.org 
> Subject: Re: [PROPOSE] ACS 4.19.0.0 release
>
> Hi all,
>
> Update on the current state of the 4.19.0.0 milestone. Currently, there
> are around 189 open items in the 4.19.0.0 milestone with 73 open PRs and
> 116 open issues.
> Also, there are some issues and PRs in 4.18.2.0 milestone which are marked
> major in severity.
> Considering these and the fact that there are some interesting new
> features in the milestone that still need some changes, review, or testing
> we may see some deviation in the earlier suggested timeline.
>
>   *   Code freeze can be expected towards the end of the month, October
> 2023
>   *   RC1 can be expected thereafter in the month of 

Re: Cloudstack Agent 4.18.1 metrics issue

2023-12-13 Thread Joan g
Thanks Wei, Unsuspending helped

Cheers
Jon :)

On Wed, Dec 13, 2023 at 4:07 PM Wei ZHOU  wrote:

> yes.
>
> the domain state is not supported in libvirt-java
> I just created a PR
> https://gitlab.com/libvirt/libvirt-java/-/merge_requests/40
>
>
> -Wei
>
> On Wed, 13 Dec 2023 at 11:36, Joan g  wrote:
>
> > yes. restarting libvirtd does not help.
> >
> > "virsh list" command output. Is the "pmsuspended" causing  issue ?
> >
> > root@kvm-1:~# virsh list
> >  IdName   State
> > ---
> >  11i-2-281-VMrunning
> >  25i-2-228-VMrunning
> >  27i-2-230-VMrunning
> >  52i-2-483-VMrunning
> >  121   i-2-585-VMpmsuspended
> >  122   i-2-584-VMrunning
> >  123   i-2-590-VMrunning
> >  139   i-2-635-VMrunning
> >  145   i-2-479-VMrunning
> >  164   i-8-703-VM running
> >
> >
> > Jon
> >
> > On Wed, Dec 13, 2023 at 3:48 PM Wei ZHOU  wrote:
> >
> > > Can you restart libvirtd ? If it does not work, can you share the
> result
> > of
> > > "virsh list" command ?
> > >
> > >
> > >
> > > -Wei
> > >
> > > On Wed, 13 Dec 2023 at 09:48, Joan g  wrote:
> > >
> > > > Hi Wei.
> > > >
> > > > OS : Ubuntu 20.04.6 LTS
> > > >
> > > > root@kvm-1:~# virsh version
> > > > Compiled against library: libvirt 6.0.0
> > > > Using library: libvirt 6.0.0
> > > > Using API: QEMU 6.0.0
> > > > Running hypervisor: QEMU 4.2.1
> > > >
> > > > Regards,
> > > > Jon
> > > >
> > > > On Wed, Dec 13, 2023 at 2:10 PM Wei ZHOU 
> > wrote:
> > > >
> > > > > What's the OS and libvirt/qemu version ?
> > > > >
> > > > > -Wei
> > > > >
> > > > > On Wed, 13 Dec 2023 at 09:30, Joan g  wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > Recently below is getting logged in my cloudstack agent and the
> > > manager
> > > > > is
> > > > > > not able to get any VM metrics. Can Someone help on below
> > > > > >
> > > > > > 2023-12-13 03:23:37,318 WARN  [cloud.agent.Agent]
> > > > > > (agentRequest-Handler-1:null) (logid:58ef1261) Caught:
> > > > > > java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds
> for
> > > > > length
> > > > > > 7
> > > > > > at org.libvirt.DomainInfo.(Unknown Source)
> > > > > > at org.libvirt.Domain.getInfo(Unknown Source)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getVmStat(LibvirtComputingResource.java:4176)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:53)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:37)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1848)
> > > > > > at com.cloud.agent.Agent.processRequest(Agent.java:662)
> > > > > > at
> > > > > > com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1082)
> > > > > > at com.cloud.utils.nio.Task.call(Task.java:83)
> > > > > > at com.cloud.utils.nio.Task.call(Task.java:29)
> > > > > > at
> > > > > >
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> > > > > > at java.base/java.lang.Thread.run(Thread.java:829)
> > > > > >
> > > > > > Regards,
> > > > > > Jon
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: Cloudstack Agent 4.18.1 metrics issue

2023-12-13 Thread Wei ZHOU
yes.

the domain state is not supported in libvirt-java
I just created a PR
https://gitlab.com/libvirt/libvirt-java/-/merge_requests/40


-Wei

On Wed, 13 Dec 2023 at 11:36, Joan g  wrote:

> yes. restarting libvirtd does not help.
>
> "virsh list" command output. Is the "pmsuspended" causing  issue ?
>
> root@kvm-1:~# virsh list
>  IdName   State
> ---
>  11i-2-281-VMrunning
>  25i-2-228-VMrunning
>  27i-2-230-VMrunning
>  52i-2-483-VMrunning
>  121   i-2-585-VMpmsuspended
>  122   i-2-584-VMrunning
>  123   i-2-590-VMrunning
>  139   i-2-635-VMrunning
>  145   i-2-479-VMrunning
>  164   i-8-703-VM running
>
>
> Jon
>
> On Wed, Dec 13, 2023 at 3:48 PM Wei ZHOU  wrote:
>
> > Can you restart libvirtd ? If it does not work, can you share the result
> of
> > "virsh list" command ?
> >
> >
> >
> > -Wei
> >
> > On Wed, 13 Dec 2023 at 09:48, Joan g  wrote:
> >
> > > Hi Wei.
> > >
> > > OS : Ubuntu 20.04.6 LTS
> > >
> > > root@kvm-1:~# virsh version
> > > Compiled against library: libvirt 6.0.0
> > > Using library: libvirt 6.0.0
> > > Using API: QEMU 6.0.0
> > > Running hypervisor: QEMU 4.2.1
> > >
> > > Regards,
> > > Jon
> > >
> > > On Wed, Dec 13, 2023 at 2:10 PM Wei ZHOU 
> wrote:
> > >
> > > > What's the OS and libvirt/qemu version ?
> > > >
> > > > -Wei
> > > >
> > > > On Wed, 13 Dec 2023 at 09:30, Joan g  wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > Recently below is getting logged in my cloudstack agent and the
> > manager
> > > > is
> > > > > not able to get any VM metrics. Can Someone help on below
> > > > >
> > > > > 2023-12-13 03:23:37,318 WARN  [cloud.agent.Agent]
> > > > > (agentRequest-Handler-1:null) (logid:58ef1261) Caught:
> > > > > java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds for
> > > > length
> > > > > 7
> > > > > at org.libvirt.DomainInfo.(Unknown Source)
> > > > > at org.libvirt.Domain.getInfo(Unknown Source)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getVmStat(LibvirtComputingResource.java:4176)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:53)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:37)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1848)
> > > > > at com.cloud.agent.Agent.processRequest(Agent.java:662)
> > > > > at
> > > > > com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1082)
> > > > > at com.cloud.utils.nio.Task.call(Task.java:83)
> > > > > at com.cloud.utils.nio.Task.call(Task.java:29)
> > > > > at
> > > > > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> > > > > at java.base/java.lang.Thread.run(Thread.java:829)
> > > > >
> > > > > Regards,
> > > > > Jon
> > > > >
> > > >
> > >
> >
>


Re: Cloudstack Agent 4.18.1 metrics issue

2023-12-13 Thread Joan g
yes. restarting libvirtd does not help.

"virsh list" command output. Is the "pmsuspended" causing  issue ?

root@kvm-1:~# virsh list
 IdName   State
---
 11i-2-281-VMrunning
 25i-2-228-VMrunning
 27i-2-230-VMrunning
 52i-2-483-VMrunning
 121   i-2-585-VMpmsuspended
 122   i-2-584-VMrunning
 123   i-2-590-VMrunning
 139   i-2-635-VMrunning
 145   i-2-479-VMrunning
 164   i-8-703-VM running


Jon

On Wed, Dec 13, 2023 at 3:48 PM Wei ZHOU  wrote:

> Can you restart libvirtd ? If it does not work, can you share the result of
> "virsh list" command ?
>
>
>
> -Wei
>
> On Wed, 13 Dec 2023 at 09:48, Joan g  wrote:
>
> > Hi Wei.
> >
> > OS : Ubuntu 20.04.6 LTS
> >
> > root@kvm-1:~# virsh version
> > Compiled against library: libvirt 6.0.0
> > Using library: libvirt 6.0.0
> > Using API: QEMU 6.0.0
> > Running hypervisor: QEMU 4.2.1
> >
> > Regards,
> > Jon
> >
> > On Wed, Dec 13, 2023 at 2:10 PM Wei ZHOU  wrote:
> >
> > > What's the OS and libvirt/qemu version ?
> > >
> > > -Wei
> > >
> > > On Wed, 13 Dec 2023 at 09:30, Joan g  wrote:
> > >
> > > > Hi,
> > > >
> > > > Recently below is getting logged in my cloudstack agent and the
> manager
> > > is
> > > > not able to get any VM metrics. Can Someone help on below
> > > >
> > > > 2023-12-13 03:23:37,318 WARN  [cloud.agent.Agent]
> > > > (agentRequest-Handler-1:null) (logid:58ef1261) Caught:
> > > > java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds for
> > > length
> > > > 7
> > > > at org.libvirt.DomainInfo.(Unknown Source)
> > > > at org.libvirt.Domain.getInfo(Unknown Source)
> > > > at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getVmStat(LibvirtComputingResource.java:4176)
> > > > at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:53)
> > > > at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:37)
> > > > at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> > > > at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1848)
> > > > at com.cloud.agent.Agent.processRequest(Agent.java:662)
> > > > at
> > > > com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1082)
> > > > at com.cloud.utils.nio.Task.call(Task.java:83)
> > > > at com.cloud.utils.nio.Task.call(Task.java:29)
> > > > at
> > > > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> > > > at
> > > >
> > > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> > > > at
> > > >
> > > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> > > > at java.base/java.lang.Thread.run(Thread.java:829)
> > > >
> > > > Regards,
> > > > Jon
> > > >
> > >
> >
>


Re: Cloudstack Agent 4.18.1 metrics issue

2023-12-13 Thread Wei ZHOU
Can you restart libvirtd ? If it does not work, can you share the result of
"virsh list" command ?



-Wei

On Wed, 13 Dec 2023 at 09:48, Joan g  wrote:

> Hi Wei.
>
> OS : Ubuntu 20.04.6 LTS
>
> root@kvm-1:~# virsh version
> Compiled against library: libvirt 6.0.0
> Using library: libvirt 6.0.0
> Using API: QEMU 6.0.0
> Running hypervisor: QEMU 4.2.1
>
> Regards,
> Jon
>
> On Wed, Dec 13, 2023 at 2:10 PM Wei ZHOU  wrote:
>
> > What's the OS and libvirt/qemu version ?
> >
> > -Wei
> >
> > On Wed, 13 Dec 2023 at 09:30, Joan g  wrote:
> >
> > > Hi,
> > >
> > > Recently below is getting logged in my cloudstack agent and the manager
> > is
> > > not able to get any VM metrics. Can Someone help on below
> > >
> > > 2023-12-13 03:23:37,318 WARN  [cloud.agent.Agent]
> > > (agentRequest-Handler-1:null) (logid:58ef1261) Caught:
> > > java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds for
> > length
> > > 7
> > > at org.libvirt.DomainInfo.(Unknown Source)
> > > at org.libvirt.Domain.getInfo(Unknown Source)
> > > at
> > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getVmStat(LibvirtComputingResource.java:4176)
> > > at
> > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:53)
> > > at
> > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:37)
> > > at
> > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> > > at
> > >
> > >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1848)
> > > at com.cloud.agent.Agent.processRequest(Agent.java:662)
> > > at
> > > com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1082)
> > > at com.cloud.utils.nio.Task.call(Task.java:83)
> > > at com.cloud.utils.nio.Task.call(Task.java:29)
> > > at
> > > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> > > at
> > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> > > at
> > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> > > at java.base/java.lang.Thread.run(Thread.java:829)
> > >
> > > Regards,
> > > Jon
> > >
> >
>


Re: [D] Hello World! [cloudstack]

2023-12-13 Thread via GitHub


GitHub user weizhouapache added a comment to the discussion: Hello World!

Hi Bobby,

I thought replying to emails directly should work. same as github pull
request/issues.
I have no idea if the integration with the @users mailing list is feasible
or not. Not every email address is linked to a github account.

ps: this reply is sent via email.


-Wei


On Wed, 13 Dec 2023 at 10:13, Boris Stoyanov - a.k.a Bobby <
***@***.***> wrote:

> is there a way to make it two-way integrated with users@, for example not
> only a copy is being sent to users@, but if someone replies there we get
> the response here?
> Certainly this is much better experience than emails, having the two-way
> integration would address all concerns people had during discussing and
> voting.
>
> —
> Reply to this email directly, view it on GitHub
> ,
> or unsubscribe
> 
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>


GitHub link: 
https://github.com/apache/cloudstack/discussions/8343#discussioncomment-7840371


This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org



Re: [D] Hello World! [cloudstack]

2023-12-13 Thread via GitHub


GitHub user weizhouapache added a comment to the discussion: Hello World!

Hi Bobby,

I thought replying to emails directly should work. same as github pull
request/issues.
I have no idea if the integration with the @users mailing list is feasible
or not. Not every email address is linked to a github account.

ps: this reply is sent via email.


-Wei

On Wed, 13 Dec 2023 at 10:13, Boris Stoyanov - a.k.a Bobby <
***@***.***> wrote:

> is there a way to make it two-way integrated with users@, for example not
> only a copy is being sent to users@, but if someone replies there we get
> the response here?
> Certainly this is much better experience than emails, having the two-way
> integration would address all concerns people had during discussing and
> voting.
>
> —
> Reply to this email directly, view it on GitHub
> ,
> or unsubscribe
> 
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>


GitHub link: 
https://github.com/apache/cloudstack/discussions/8343#discussioncomment-7840255


This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org



Re: running Windows VM on Ubuntu 22 KVM

2023-12-13 Thread Nux
This is already possible. Stop the VM, go to Settings, change the 
rootDiskController and/or dataDiskController as you please.


https://i.imgur.com/ns7Cdzm.jpg

On 2023-12-13 06:16, Pratik Chandrakar wrote:

Hi Wei,
I think lots of users are unaware of PV OS Type to improve the 
performance,

I was also facing the same problem with Windows Machine and thanks to
this thread I also got better disk performance. So instead of changing 
the

OS type can ACS provide an option within the UI to change the
virtualization/driver (e.g. scsi/ide) mode in a stopped VM?

On Mon, Dec 11, 2023 at 4:14 PM Wei ZHOU  wrote:

If the OS type is "Windows Server ", the VM will be started with 
an

E1000 nic device and IDE disk.

You need to change to "Windows PV", vm will have virtio NIC and disk.
If you want better disk performance, you can try with "Other PV 
Virtio-SCSI

(64-bit)", which might require some changes on your windows templates.

-Wei


On Mon, 11 Dec 2023 at 11:34,  wrote:

> Thx, Wei, I used OS Type Windows Server 2022 (64-bit). Is this not
working?
>
> -Ursprüngliche Nachricht-
> Von: Wei ZHOU 
> Gesendet: Montag, 11. Dezember 2023 11:29
> An: users@cloudstack.apache.org
> Betreff: Re: running Windows VM on Ubuntu 22 KVM
>
> You can stop the vm, change the OS type to "Windows PV" and then start
the
> vm.
>
> -Wei
>
> On Mon, 11 Dec 2023 at 11:17,  wrote:
>
> > Hi all,
> >
> >
> >
> > I am kind of new to use KVM for Windows VMs and run into some problems.
> >
> > I used an English template for Windows Server 2022 and installed a VM
> > successfully via Cloudstack. Everything looks good and the NIC is
> > working Intel PRO 1000 emulation.
> >
> > As far as I understand you need to install the VirtIO driver to get a
> > better performance from your VM. I downloaded the ISO from:
> >
> > https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stabl
> > e-virt
> > io/virtio-win.iso
> >  > le-virtio/virtio-win.iso>
> >
> > And installed them inside the Windows Sever VM successfully. But even
> > after a reboot of the VM it looks like it is still using the emulated
> > Intel PRO
> > 1000 NIC and also QEMU ATA drivers for disk access.
> >
> >
> >
> > Did I miss something? Do I need to install anything on the KVM host,
too?
> > Performance is very poor inside the Wind VM.
> >
> >
> >
> > Thx for any help!
> >
> >
> >
> > Regards,
> >
> > Swen
> >
> >
>
>
>



Re: [D] Hello World! [cloudstack]

2023-12-13 Thread via GitHub


GitHub user DaanHoogland added a comment to the discussion: Hello World!

voting should not be on users, but on dev@ @borisstoyanov . also I do not think 
we should do voting here, anything discussed here can be taken to the list, can 
it?

GitHub link: 
https://github.com/apache/cloudstack/discussions/8343#discussioncomment-7840090


This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org



Re: [D] Hello World! [cloudstack]

2023-12-13 Thread via GitHub


GitHub user rohityadavcloud added a comment to the discussion: Hello World!

Yes, looks like we can pin upto 4-5 discussions on the 
https://github.com/apache/cloudstack/discussions

GitHub link: 
https://github.com/apache/cloudstack/discussions/8343#discussioncomment-7840023


This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org



Re: [D] Hello World! [cloudstack]

2023-12-13 Thread via GitHub


GitHub user borisstoyanov added a comment to the discussion: Hello World!

Also we could probably pin a locked discussion on top in the 'discussions' tab 
where we describe what and where to find all discussions and this is a 
secondary option for discussing at the moment? 

GitHub link: 
https://github.com/apache/cloudstack/discussions/8343#discussioncomment-7839934


This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org



Re: [D] Hello World! [cloudstack]

2023-12-13 Thread via GitHub


GitHub user borisstoyanov added a comment to the discussion: Hello World!

is there a way to make it two-way integrated with users@, for example not only 
a copy is being sent to users@, but if someone replies there we get the 
response here? 
Certainly this is much better experience than emails, having the two-way 
integration would address all concerns people had during discussing and voting. 

GitHub link: 
https://github.com/apache/cloudstack/discussions/8343#discussioncomment-7839905


This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org



Re: Cloudstack Agent 4.18.1 metrics issue

2023-12-13 Thread Joan g
Hi Wei.

OS : Ubuntu 20.04.6 LTS

root@kvm-1:~# virsh version
Compiled against library: libvirt 6.0.0
Using library: libvirt 6.0.0
Using API: QEMU 6.0.0
Running hypervisor: QEMU 4.2.1

Regards,
Jon

On Wed, Dec 13, 2023 at 2:10 PM Wei ZHOU  wrote:

> What's the OS and libvirt/qemu version ?
>
> -Wei
>
> On Wed, 13 Dec 2023 at 09:30, Joan g  wrote:
>
> > Hi,
> >
> > Recently below is getting logged in my cloudstack agent and the manager
> is
> > not able to get any VM metrics. Can Someone help on below
> >
> > 2023-12-13 03:23:37,318 WARN  [cloud.agent.Agent]
> > (agentRequest-Handler-1:null) (logid:58ef1261) Caught:
> > java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds for
> length
> > 7
> > at org.libvirt.DomainInfo.(Unknown Source)
> > at org.libvirt.Domain.getInfo(Unknown Source)
> > at
> >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getVmStat(LibvirtComputingResource.java:4176)
> > at
> >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:53)
> > at
> >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:37)
> > at
> >
> >
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> > at
> >
> >
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1848)
> > at com.cloud.agent.Agent.processRequest(Agent.java:662)
> > at
> > com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1082)
> > at com.cloud.utils.nio.Task.call(Task.java:83)
> > at com.cloud.utils.nio.Task.call(Task.java:29)
> > at
> > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> > at
> >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> > at
> >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> > at java.base/java.lang.Thread.run(Thread.java:829)
> >
> > Regards,
> > Jon
> >
>


Re: Cloudstack Agent 4.18.1 metrics issue

2023-12-13 Thread Wei ZHOU
What's the OS and libvirt/qemu version ?

-Wei

On Wed, 13 Dec 2023 at 09:30, Joan g  wrote:

> Hi,
>
> Recently below is getting logged in my cloudstack agent and the manager is
> not able to get any VM metrics. Can Someone help on below
>
> 2023-12-13 03:23:37,318 WARN  [cloud.agent.Agent]
> (agentRequest-Handler-1:null) (logid:58ef1261) Caught:
> java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds for length
> 7
> at org.libvirt.DomainInfo.(Unknown Source)
> at org.libvirt.Domain.getInfo(Unknown Source)
> at
>
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getVmStat(LibvirtComputingResource.java:4176)
> at
>
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:53)
> at
>
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:37)
> at
>
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> at
>
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1848)
> at com.cloud.agent.Agent.processRequest(Agent.java:662)
> at
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1082)
> at com.cloud.utils.nio.Task.call(Task.java:83)
> at com.cloud.utils.nio.Task.call(Task.java:29)
> at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
>
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
>
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:829)
>
> Regards,
> Jon
>


Re: new committer Vladimir Petrov

2023-12-13 Thread Suresh Kumar Anaparti
Congratulations Vladi...

Regards,
Suresh

On Wed, Dec 13, 2023 at 11:19 AM Slavka Peleva
 wrote:
>
> Congrats Vladi! :)
>
>
> On Wed, Dec 13, 2023 at 7:38 AM Jithin Raju 
> wrote:
>
> > Congratulations Vladi !
> >
> > -Jithin
> >
> > From: Daman Arora 
> > Date: Wednesday, 13 December 2023 at 11:06 AM
> > To: d...@cloudstack.apache.org 
> > Cc: users 
> > Subject: Re: new committer Vladimir Petrov
> > Congrats Vladimir!
> >
> > On Wed, Dec 13, 2023, 11:05 a.m. Harikrishna Patnala <
> > harikrishna.patn...@shapeblue.com> wrote:
> >
> > > Congratulations Vladi !
> > >
> > > Regards,
> > > Harikrishna
> > >
> > > From: Daan Hoogland 
> > > Date: Tuesday, 12 December 2023 at 3:22 PM
> > > To: dev , users 
> > > Subject: new committer Vladimir Petrov
> > > community,
> > >
> > > The PMC has decided Vladi to become a committer and he has gracefully
> > > accepted. Please join me in welcoming Vladi to the project as
> > > committer.
> > > Congratulations Vladi
> > >
> > > --
> > > Daan
> > >
> > >
> > >
> > >
> >
> >
> >
> >


Cloudstack Agent 4.18.1 metrics issue

2023-12-13 Thread Joan g
Hi,

Recently below is getting logged in my cloudstack agent and the manager is
not able to get any VM metrics. Can Someone help on below

2023-12-13 03:23:37,318 WARN  [cloud.agent.Agent]
(agentRequest-Handler-1:null) (logid:58ef1261) Caught:
java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds for length 7
at org.libvirt.DomainInfo.(Unknown Source)
at org.libvirt.Domain.getInfo(Unknown Source)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getVmStat(LibvirtComputingResource.java:4176)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:53)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetVmStatsCommandWrapper.execute(LibvirtGetVmStatsCommandWrapper.java:37)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1848)
at com.cloud.agent.Agent.processRequest(Agent.java:662)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1082)
at com.cloud.utils.nio.Task.call(Task.java:83)
at com.cloud.utils.nio.Task.call(Task.java:29)
at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)

Regards,
Jon