Re: Cloudstack GPU

2021-07-26 Thread Edward St Pierre
Hi,

I believe we have got the RTX 8000 arriving, and I was planning on testing
with the Nvidia vGPU manager.

Ed

On Mon, 26 Jul 2021 at 15:41, Alex Mattioli 
wrote:

> Hi Edward,
> Which model of GPUs are you using? Going for passthrough?
> Thanks
> Alex
>
>
>
>
> -Original Message-
> From: Edward St Pierre 
> Sent: 26 July 2021 16:29
> To: users@cloudstack.apache.org
> Subject: Re: Cloudstack GPU
>
> Hi,
>
> I am looking into implementing vGPU with KVM after reading this article:
>
> https://lab.piszki.pl/cloudstack-kvm-and-running-vm-with-vgpu/
>
> And checking out specific notes here:
>
> https://docs.nvidia.com/grid/latest/grid-vgpu-release-notes-generic-linux-kvm/index.html
>
> Ed
>
>
> On Mon, 26 Jul 2021 at 14:44, Rohit Yadav 
> wrote:
>
> > Hi Alex,
> >
> > I've heard/seen some users using GPUs with XenServer for graphical
> > rendering and I remember somebody discussing about GPU in KVM which is
> > possible by using the extraconfig feature while deploying VM (the only
> > limitation is on KVM you cannot share one GPU across VMs; however if
> > your server has multiple GPUs you can assign them to one or more VMs).
> >
> > I found this old wiki:
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+su
> > pport+for+CloudStack+Guest+VMs (GPU models are enterprise Nvidia
> > based)
> >
> >
> > Regards.
> >
> > 
> > From: Alex Mattioli 
> > Sent: Thursday, July 22, 2021 19:07
> > To: users@cloudstack.apache.org ;
> > d...@cloudstack.apache.org 
> > Subject: Cloudstack GPU
> >
> > Hi all,
> > Anyone out there using GPUs with Cloudstack?
> > If so, with which hypervisor and GPU?
> >
> > Thanks,
> > Alex
> >
> >
> >
> >
> >
> >
> >
>


RE: Cloudstack GPU

2021-07-26 Thread Alex Mattioli
Thanks Rohit,
Those are the articles I'm basing my ideas on as well, looks like the only 
available alternative is passthrough, with it's limitations.

Am wondering if anyone out there is actually running this in production.

Cheers,
Alex

 


-Original Message-
From: Rohit Yadav  
Sent: 26 July 2021 15:44
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Re: Cloudstack GPU

Hi Alex,

I've heard/seen some users using GPUs with XenServer for graphical rendering 
and I remember somebody discussing about GPU in KVM which is possible by using 
the extraconfig feature while deploying VM (the only limitation is on KVM you 
cannot share one GPU across VMs; however if your server has multiple GPUs you 
can assign them to one or more VMs).

I found this old wiki: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs
 (GPU models are enterprise Nvidia based)


Regards.


From: Alex Mattioli 
Sent: Thursday, July 22, 2021 19:07
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Subject: Cloudstack GPU

Hi all,
Anyone out there using GPUs with Cloudstack?
If so, with which hypervisor and GPU?

Thanks,
Alex




 




RE: Cloudstack GPU

2021-07-26 Thread Alex Mattioli
Hi Edward,
Which model of GPUs are you using? Going for passthrough?
Thanks
Alex

 


-Original Message-
From: Edward St Pierre  
Sent: 26 July 2021 16:29
To: users@cloudstack.apache.org
Subject: Re: Cloudstack GPU

Hi,

I am looking into implementing vGPU with KVM after reading this article:

https://lab.piszki.pl/cloudstack-kvm-and-running-vm-with-vgpu/

And checking out specific notes here:
https://docs.nvidia.com/grid/latest/grid-vgpu-release-notes-generic-linux-kvm/index.html

Ed


On Mon, 26 Jul 2021 at 14:44, Rohit Yadav  wrote:

> Hi Alex,
>
> I've heard/seen some users using GPUs with XenServer for graphical 
> rendering and I remember somebody discussing about GPU in KVM which is 
> possible by using the extraconfig feature while deploying VM (the only 
> limitation is on KVM you cannot share one GPU across VMs; however if 
> your server has multiple GPUs you can assign them to one or more VMs).
>
> I found this old wiki:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+su
> pport+for+CloudStack+Guest+VMs (GPU models are enterprise Nvidia 
> based)
>
>
> Regards.
>
> 
> From: Alex Mattioli 
> Sent: Thursday, July 22, 2021 19:07
> To: users@cloudstack.apache.org ; 
> d...@cloudstack.apache.org 
> Subject: Cloudstack GPU
>
> Hi all,
> Anyone out there using GPUs with Cloudstack?
> If so, with which hypervisor and GPU?
>
> Thanks,
> Alex
>
>
>
>
>
>
>


RE: [!!Mass Mail]Re: Scale Running VM.

2021-07-26 Thread Дикевич Евгений Александрович
Hi all!
I have same question.
I can scale only CPU but not RAM.

In Global Settings:
enable.dynamic.scale.vm - true
scale.retry - 2

In template:
Dynamically Scalable - Yes

XCP tools is installed.

-Original Message-
From: Harikrishna Patnala [mailto:harikrishna.patn...@shapeblue.com]
Sent: Monday, July 19, 2021 2:43 PM
To: users@cloudstack.apache.org
Subject: [!!Mass Mail]Re: Scale Running VM.

If you got till here I believe you have already enabled global setting and 
marked the template as dynamically scalable.

Please check if host license supports dynamic scaling or not. In the host 
license view on xenserver you can check that using "restrict_dmc" flag. If it 
is set to true then dynamic scaling cannot be done on VM.

If it is false, then other thing you can check is "guest_os_details" table for 
"xenserver.dynamicMin" and "xenserver.dynamicMax" under the guest OS id used in 
the template. If entries are not there try using a different template having 
these entries or insert recommended values for that OS.

Regards,
Harikrishna


From: Abishek 
Sent: Sunday, July 18, 2021 12:53 PM
To: users@cloudstack.apache.org 
Subject: Scale Running VM.

Hello EveryOne,

Is it possible to scale a running vm with host XCP-ng 8.2 and cloudstack 
4.15.1. I am testing it for production enviromnment.
I tried enabling it but received the following error:
Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to scale vm 
due to Catch exception com.cloud.utils.exception.CloudRuntimeException when 
scaling VM:i-2-5-VM due to com.cloud.utils.exception.CloudRuntimeException: 
Cannot scale up the vm because of memory constraint violation: 0 <= 
memory-static-min(4294967296) <= memory-dynamic-min(8589934592) <= 
memory-dynamic-max(8589934592) <= memory-static-max(4294967296)

Where can I set these min max values.  If any one can point me to the 
documentation if its possible then I will be very grateful.
Thank You.




Внимание!
Это электронное письмо и все прикрепленные к нему файлы являются 
конфиденциальными и предназначены исключительно для использования лицом 
(лицами), которому (которым) оно предназначено. Если Вы не являетесь лицом 
(лицами), которому (которым) предназначено это письмо, не копируйте и не 
разглашайте его содержимое и удалите это сообщение и все вложения из Вашей 
почтовой системы. Любое несанкционированное использование, распространение, 
раскрытие, печать или копирование этого электронного письма и прикрепленных к 
нему файлов, кроме как лицом (лицами) которому (которым) они предназначены, 
является незаконным и запрещено. Принимая во внимание, что передача данных 
посредством Интернет не является безопасной, мы не несем никакой 
ответственности за любой потенциальный ущерб, причиненный в результате ошибок 
при передаче данных или этим сообщением и прикрепленными к нему файлами.

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: Cloudstack GPU

2021-07-26 Thread Edward St Pierre
Hi,

I am looking into implementing vGPU with KVM after reading this article:

https://lab.piszki.pl/cloudstack-kvm-and-running-vm-with-vgpu/

And checking out specific notes here:
https://docs.nvidia.com/grid/latest/grid-vgpu-release-notes-generic-linux-kvm/index.html

Ed


On Mon, 26 Jul 2021 at 14:44, Rohit Yadav  wrote:

> Hi Alex,
>
> I've heard/seen some users using GPUs with XenServer for graphical
> rendering and I remember somebody discussing about GPU in KVM which is
> possible by using the extraconfig feature while deploying VM (the only
> limitation is on KVM you cannot share one GPU across VMs; however if your
> server has multiple GPUs you can assign them to one or more VMs).
>
> I found this old wiki:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs
> (GPU models are enterprise Nvidia based)
>
>
> Regards.
>
> 
> From: Alex Mattioli 
> Sent: Thursday, July 22, 2021 19:07
> To: users@cloudstack.apache.org ;
> d...@cloudstack.apache.org 
> Subject: Cloudstack GPU
>
> Hi all,
> Anyone out there using GPUs with Cloudstack?
> If so, with which hypervisor and GPU?
>
> Thanks,
> Alex
>
>
>
>
>
>
>


Re: Cloudstack GPU

2021-07-26 Thread Rohit Yadav
Hi Alex,

I've heard/seen some users using GPUs with XenServer for graphical rendering 
and I remember somebody discussing about GPU in KVM which is possible by using 
the extraconfig feature while deploying VM (the only limitation is on KVM you 
cannot share one GPU across VMs; however if your server has multiple GPUs you 
can assign them to one or more VMs).

I found this old wiki: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs
 (GPU models are enterprise Nvidia based)


Regards.


From: Alex Mattioli 
Sent: Thursday, July 22, 2021 19:07
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Subject: Cloudstack GPU

Hi all,
Anyone out there using GPUs with Cloudstack?
If so, with which hypervisor and GPU?

Thanks,
Alex




 



Re: [DISCUSS] VMware network rate for network and VMs

2021-07-26 Thread Abhishek Kumar
Hi Vivek,

Thank you for your response.
I understand the scenarios you have explained but the issue I face right now is 
that portgroup for user VMs is not updated when network offering (with network 
rate difference) for that network is changed from ACS.
I tried to show that here, https://youtu.be/Kdaad9c1Fq4

I've also gone through the code and on network offering change, currently ACS 
just stops and destroys the running VR, creates a new portgroup (for new 
network rate) and starts new VR on that portgroup. And user VMs continue 
running on the existing portgroup.

Similarly, for different NICs of the VM, it can have different network rate 
depending on default and non-default NIC.
eg:
VM, v1 is created with a compute offering having network rate, 350Mbps
It has three networks:
n1 with network offering having network rate 400Mbps (default NIC)
n2 with network offering having network rate 500Mbps
n3 with network offering having no rate specified, defaulted to 
"network.throttling.rate" 200Mbps. "vm.network.throttling.rate" is set to 
375Mbps

Now, three nics of the VM will have portgroups with following network rates:
NIC1 (default) - 350Mbps (taken from compute offering)
NIC2 - 500Mbps (taken from n/w offering)
NIC3 - 200Mbps(taken from n/w offering)

Therefore, my point is both network rate from compute offering and value of 
vm.network.throttling.rate doesn't affect all the NICs of the VM and are 
honored just by the default NIC.

Regards,
Abhishek


From: Vivek Kumar 
Sent: 26 July 2021 15:32
To: CloudStack Users Mailing list 
Cc: d...@cloudstack.apache.org 
Subject: Re: [DISCUSS] VMware network rate for network and VMs

Hello Abhishek,

Everything is useful and it completely depends on your requirements..!

  *   Is having VM-level (using compute offering and global setting for
VMs) useful? Having a higher network rate for VMs and a lower network rate
for VRs(network) will make it useless.

Ans - Yes definitely it's useful, so consider a scenerio where you want to
provide a higher speed of data transfer between VMs in same network  (
Guest traffic ) but lower speed for public traffic or may be on the
different network.


  *   Should there be a single portgroup in vCenter based on the network
rate of VRs/network especially in the case when the network rate for VRs is
lower?

Ans -  ACS create separate port group for each config, single port groups
can't controller multiple QoS. So let's suppose if you create a VM with 500
Mbps network rate, ACS will create a port group and will put 500Mbps in
network rate, so if you create other VMs under the same network and same
compute offering it will out under the same, but the moment you change your
network offering i.e 200 Mbps then it will create a separate port group
with 200 Mbps network rate and will attach same to the VM.


  *   Even while using different network rates, should there be consistency
across different NICs of user VMs? Currently, compute offering and global
setting only affects the default NIC of the user VMs.

Ans- As I said, it create separate port group as per the network rate and
VLAN.

Regards
Vivek Kumar

On Mon, 26 Jul, 2021, 15:04 Abhishek Kumar, 
wrote:

> Hi all,
>
> I've been working on fixing/refactoring VMware portgroup reconfigure on
> network offering change, https://github.com/apache/cloudstack/pull/5181
> While working on it I found different portgroups on the same VLAN can be
> used based on the different network rates used in the network offering of
> the network and compute offering of the user VMs. Below are my findings:
>
>   *   Network offerings will control network rate only for VR(s) and
> non-default NICs of the user VMs.
>   *   Default network rate for VRs and non-default NICs of the user VMs
> can be controlled by global setting, "network.throttling.rate".
>
>   *   For the default NIC of user VMs, the network rate is controlled by
> the compute offerings of the VM.
>
>   *   For the default NIC of user VMs, the default network rate can be
> controlled using the global setting,"vm.network.throttling.rate".
>
> So now my queries are:
>
>   *   Is having VM-level (using compute offering and global setting for
> VMs) useful? Having a higher network rate for VMs and a lower network rate
> for VRs(network) will make it useless.
>   *   Should there be a single portgroup in vCenter based on the network
> rate of VRs/network especially in the case when the network rate for VRs is
> lower?
>   *   Even while using different network rates, should there be
> consistency across different NICs of user VMs? Currently, compute offering
> and global setting only affects the default NIC of the user VMs.
>
> Please share your thoughts and ideas. It will be interesting to know how
> others configure network throttling for networks and VMs.
>
> Regards,
> Abhishek
>
>
>
>
>

 



Re: [DISCUSS] VMware network rate for network and VMs

2021-07-26 Thread Vivek Kumar
Hello Abhishek,

Everything is useful and it completely depends on your requirements..!

  *   Is having VM-level (using compute offering and global setting for
VMs) useful? Having a higher network rate for VMs and a lower network rate
for VRs(network) will make it useless.

Ans - Yes definitely it's useful, so consider a scenerio where you want to
provide a higher speed of data transfer between VMs in same network  (
Guest traffic ) but lower speed for public traffic or may be on the
different network.


  *   Should there be a single portgroup in vCenter based on the network
rate of VRs/network especially in the case when the network rate for VRs is
lower?

Ans -  ACS create separate port group for each config, single port groups
can't controller multiple QoS. So let's suppose if you create a VM with 500
Mbps network rate, ACS will create a port group and will put 500Mbps in
network rate, so if you create other VMs under the same network and same
compute offering it will out under the same, but the moment you change your
network offering i.e 200 Mbps then it will create a separate port group
with 200 Mbps network rate and will attach same to the VM.


  *   Even while using different network rates, should there be consistency
across different NICs of user VMs? Currently, compute offering and global
setting only affects the default NIC of the user VMs.

Ans- As I said, it create separate port group as per the network rate and
VLAN.

Regards
Vivek Kumar

On Mon, 26 Jul, 2021, 15:04 Abhishek Kumar, 
wrote:

> Hi all,
>
> I've been working on fixing/refactoring VMware portgroup reconfigure on
> network offering change, https://github.com/apache/cloudstack/pull/5181
> While working on it I found different portgroups on the same VLAN can be
> used based on the different network rates used in the network offering of
> the network and compute offering of the user VMs. Below are my findings:
>
>   *   Network offerings will control network rate only for VR(s) and
> non-default NICs of the user VMs.
>   *   Default network rate for VRs and non-default NICs of the user VMs
> can be controlled by global setting, "network.throttling.rate".
>
>   *   For the default NIC of user VMs, the network rate is controlled by
> the compute offerings of the VM.
>
>   *   For the default NIC of user VMs, the default network rate can be
> controlled using the global setting,"vm.network.throttling.rate".
>
> So now my queries are:
>
>   *   Is having VM-level (using compute offering and global setting for
> VMs) useful? Having a higher network rate for VMs and a lower network rate
> for VRs(network) will make it useless.
>   *   Should there be a single portgroup in vCenter based on the network
> rate of VRs/network especially in the case when the network rate for VRs is
> lower?
>   *   Even while using different network rates, should there be
> consistency across different NICs of user VMs? Currently, compute offering
> and global setting only affects the default NIC of the user VMs.
>
> Please share your thoughts and ideas. It will be interesting to know how
> others configure network throttling for networks and VMs.
>
> Regards,
> Abhishek
>
>
>
>
>


Re: implement an authentication challenge method (such as Recaptcha) in the CloudStack UI

2021-07-26 Thread Rohit Yadav
Hi Ahmed,

We have a feature to restrict no. of user logins before the user is 
locked/disabled via the global setting incorrect.login.attempts.allowed. If 
you've comfortable with frontend programming, you can extend the VueJS based UI 
to implement/add the recaptcha solution (send a PR too!).

In addition, we've a feature to limit API calls by a user that I've not tested 
but according to codebase there are these settings available to configure it: 
api.throttling.max, api.throttling.enabled, api.throttling.interval and 
api.throttling.cachesize - kindly test if it's useful for your use-case.

CloudStack lacks a general-purpose  2FA framework (backend/frontend or both), 
however, off-the-shelf 3rd party solutions do exist for bot-defence. For 
example, Cloudflare has a reverse-proxy based solution 
https://www.cloudflare.com/products/bot-management/ The way it works is that 
you use the Cloudflare DNS and enable option to proxy via CloudFlare, which 
will prompt spammers/bots/malicious users to show a captcha or human check 
(some puzzle or human challenge like select pics that have bikes etc) and if 
they only pass they'll be allowed to use the resource (i.e. the website url). 
You may experiment with solutions too as an immediate fix.


Regards.


From: ahmed jabbar 
Sent: Saturday, July 24, 2021 03:47
To: users@cloudstack.apache.org 
Subject: Re: implement an authentication challenge method (such as Recaptcha) 
in the CloudStack UI

Hi Nicolas,
Thank you very much for your reply,
Regarding ReCAPTCHA function it self it is simple , It’s just a standard script 
in html can be included in any web page including  ReCAPTCHA api valid account 
can be registered in
 https://developers.google.com/recaptcha/intro
But the question is how to include the script of ReCAPTCHA in cloudstack login 
page UI? And test it successfully.
So now  I invite the users if any body can deploy and test it in cloudstack as 
a paid task,
If any body interested in this task, please contact me on my email.
Thank you very much
Ahmed.




 

> On 23 Jul 2021, at 8:27 PM, Nicolas Vazquez  
> wrote:
>
> Hi Ahmed,
>
> I'm not aware about any work on it. I noticed there are some components 
> listed on Awesome Vue (https://github.com/vuejs/awesome-vue) which can be 
> used to integrate reCaptcha into CloudStack:
>
> https://github.com/drozdzynski/vue-grecaptcha
> https://github.com/DanSnow/vue-recaptcha
>
>
> Regards,
>
> Nicolas Vazquez
>
> 
> From: ahmed jabbar 
> Sent: Friday, July 23, 2021 1:59 PM
> To: users@cloudstack.apache.org 
> Subject: implement an authentication challenge method (such as Recaptcha) in 
> the CloudStack UI
>
>
>> Hi team,
>> I want to implement an authentication challenge method (such as Recaptcha) 
>> in the CloudStack UI,To protect UI from robot attempts .
>> Did anybody implement it before ?
>>
>>
>> BR
>> Ahmed
>
>
>


[DISCUSS] VMware network rate for network and VMs

2021-07-26 Thread Abhishek Kumar
Hi all,

I've been working on fixing/refactoring VMware portgroup reconfigure on network 
offering change, https://github.com/apache/cloudstack/pull/5181
While working on it I found different portgroups on the same VLAN can be used 
based on the different network rates used in the network offering of the 
network and compute offering of the user VMs. Below are my findings:

  *   Network offerings will control network rate only for VR(s) and 
non-default NICs of the user VMs.
  *   Default network rate for VRs and non-default NICs of the user VMs can be 
controlled by global setting, "network.throttling.rate".

  *   For the default NIC of user VMs, the network rate is controlled by the 
compute offerings of the VM.

  *   For the default NIC of user VMs, the default network rate can be 
controlled using the global setting,"vm.network.throttling.rate".

So now my queries are:

  *   Is having VM-level (using compute offering and global setting for VMs) 
useful? Having a higher network rate for VMs and a lower network rate for 
VRs(network) will make it useless.
  *   Should there be a single portgroup in vCenter based on the network rate 
of VRs/network especially in the case when the network rate for VRs is lower?
  *   Even while using different network rates, should there be consistency 
across different NICs of user VMs? Currently, compute offering and global 
setting only affects the default NIC of the user VMs.

Please share your thoughts and ideas. It will be interesting to know how others 
configure network throttling for networks and VMs.

Regards,
Abhishek


 



Re: Limit Host Resource.

2021-07-26 Thread avi
Thank You Vivek will test it out.

On 2021/07/26 06:17:07, Vivek Kumar  wrote: 
> Hello Abhishek, 
> 
> You can achieve n+1 redundancy  by putting limits on cluster level, Below are 
> the few settings which you can set on cluster level and global level as well. 
> So let’s say you have 4 host, then you can set limit on 70% for maintaining 
> the n+1 redundancy.
> 
> cluster.cpu.allocated.capacity.disablethreshold
> cluster.cpu.allocated.capacity.notificationthreshold
> cluster.memory.allocated.capacity.disablethreshold
> cluster.memory.allocated.capacity.notificationthreshold
> 
> 
> Regards,
> Vivek Kumar
> 
> 
> 
> > On 25-Jul-2021, at 12:16 PM, Abishek  wrote:
> > 
> > Hello Every One,
> > 
> > Is it possible to limit host resources in cloudstack 4.15.1. Lets say if a 
> > host CPU and memory resource is allocated about 90%, then do not allow the 
> > further new vm's to start on that host(choose another host).
> > Thank You
> 
> 


Re: Memory and CPU Failure

2021-07-26 Thread avi
Thank You Vivek.

On 2021/07/26 06:23:16, Vivek Kumar  wrote: 
> Hello Abhishek,
> 
> When you enable HA on your compute offering, CS will try to restart the VMs 
> on other available hosts as part of HA if any host goes down due to any 
> unplanned issue.  You will also need to enable HA on your hypervisor side as 
> well.  This will only work if your host goes down ( most of the time in case 
> of hardware failure, host usually go down if host continues to run the CS may 
> not restart or migrate the VM, so it’s better to set alerts on hardware 
> failure, so that you move your workload before host goes down ).
> 
> 
> 
> Regards,
> Vivek Kumar
> 
> 
> > On 25-Jul-2021, at 10:53 AM, Abishek  wrote:
> > 
> > Hello Every One,
> > 
> > Just for future planning I want to know what will happen when there is a 
> > CPU and memory failure in hosts.
> > Suppose a host is running at fully capacity of its 1.5TB of allocated RAM 
> > to vm's. Suddenly lets say 3 RAM went awol. Will the vms start to get 
> > migrated to another host or will cloudstack stop the VM's or will 
> > cloudstack run continuously with overprovisioning RAM. Also, same  scenario 
> > with CPU. What will be the cloudstack's response to memory and CPU failures.
> > 
> > Thank You. 
> 
> 


Re: cloudstack-sysvmadm access to 8096

2021-07-26 Thread Brian Fitzpatrick
Hi Wei,

Thanks for this. I still have it.

I initially upgraded from 4.15 to 4.15.1 but it failed as I didn't have the 
template. I downgraded back to 4.15 and first noticed then. I had the 404 
screen (as shown in your bug thread).

I re upgraded back to 4.15.1 but still have it. Not the 404 screen but the 
error x for input string: " ", an no hosts listed

I tried to change the Locale (as suggested) to en_US.UTF-8

(it was en-GB)

but I still get the error.

Thanks

Brian


-Original Message-
From: Wei ZHOU 
mailto:wei%20zhou%20%3custcweiz...@gmail.com%3e>>
Reply-To: users@cloudstack.apache.org
To: users@cloudstack.apache.org 
mailto:%22us...@cloudstack.apache.org%22%20%3cus...@cloudstack.apache.org%3e>>
Subject: Re: cloudstack-sysvmadm access to 8096
Date: Sat, 24 Jul 2021 18:32:24 +0200


CAUTION !


This email was NOT sent using a University of Chester account, so we are unable 
to verify the identity of the sender. Do not click links or open attachments 
unless you recognise the sender and know the content is safe.


=



Hi Brian,


It is a known issue in cloudstack 4.15.0, it should has been fixed in

4.15.1.0.



https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fpull%2F4900data=04%7C01%7Cb.fitzpatrick%40chester.ac.uk%7C0c39026de7404d017d9f08d94ec0a4ec%7C18843e6e1846456ca05c500f0aee12f6%7C0%7C0%7C637627412094010279%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000sdata=1PJ2HSyaBSXxLIoxIGqgWEeAU1K153poPvQs%2BAuF8cM%3Dreserved=0



-Wei


On Saturday, 24 July 2021, Brian Fitzpatrick <



b.fitzpatr...@chester.ac.uk

>

wrote:


Thanks Wei,


I have now managed to register the 4.15.1 template, re upgraded and ran

the cloudstack-sysvmadm scripts

remembering to set the API port back to 0


All seems ok except I still can't see any hosts listed under

infrastructure.


I don't get a 404 screen any more but no hosts listed and a x for input

string " " error


Brian


-Original Message-

From: Brian Fitzpatrick <



b.fitzpatr...@chester.ac.uk

mailto:brian%20fitzpatrick%20%3cb.fitzpatr...@chester.ac.uk>

brian%20fitzpatrick%20%3cb.fitzpatr...@chester.ac.uk

%3e>>

Reply-To:



users@cloudstack.apache.org

mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>

To:



users@cloudstack.apache.org

 <



users@cloudstack.apache.org

mailto:22us...@cloudstack.apache.org>

22us...@cloudstack.apache.org



%22%20%3cus...@cloudstack.apache.org

%3e>>

Subject: Re: cloudstack-sysvmadm access to 8096

Date: Fri, 23 Jul 2021 18:37:05 +



CAUTION !



This email was NOT sent using a University of Chester account, so we are

unable to verify the identity of the sender. Do not click links or open

attachments unless you recognise the sender and know the content is safe.



=




Hi Wei,



apt installed back to 4.15.0 versions



I seem now to have a problem registering the new systemvm template



I am using KVM, fill in the template for new url download as per

instruction, but appears to be a problem downloading 'Ready false'



Is there a way of force trying again?, I can't seem to delete it



Also, I appear to have lost my hosts list, they are running but the

infrastructure hosts page shows a '404 error' and 'Request Failed (431) For

input string " "'



Thanks very much for your help



Brian



-Original Message-


From: Wei ZHOU <


mailto:ustcweiz...@gmail.com>

ustcweiz...@gmail.com

>




ustcweiz...@gmail.com



mailto:wei%20zhou%20%3custcweiz...@gmail.com>

wei%20zhou%20%3custcweiz...@gmail.com

>




wei%20zhou%20%3custcweiz...@gmail.com



%3e>>


Reply-To:


mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>




users@cloudstack.apache.org



mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>




users@cloudstack.apache.org





To: users <


mailto:users@cloudstack.apache.org>

users@cloudstack.apache.org

>




users@cloudstack.apache.org



mailto:users%20%3cus...@cloudstack.apache.org>

users%20%3cus...@cloudstack.apache.org

>



Re: [RESULT][VOTE] New life to Terraform Provider CloudStack with Apache CloudStack project

2021-07-26 Thread Harikrishna Patnala
That's great to know and thanks for all the efforts Rohit.

For release management, I would like to volunteer myself for the RM. I'll 
create the first milestone and propose myself as RM on the mailing list.

Regards,
Harikrishna

From: Rohit Yadav 
Sent: Monday, July 26, 2021 11:58 AM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: Re: [RESULT][VOTE] New life to Terraform Provider CloudStack with 
Apache CloudStack project

All,

The IP clearance process has finally passed 
(https://github.com/apache/cloudstack/issues/5159) and codebase have been 
imported:
https://github.com/apache/cloudstack-terraform-provider
https://github.com/apache/cloudstack-go

As an immediate next step, we need:

  *   Minimal changes/fixes to work towards its first release and publication 
to Terraform registry for users to use (any RM volunteers?)
  *   I'll request ASF infra to enable Travis and Github issues on these repos.

Regards.


From: Rohit Yadav 
Sent: Monday, June 21, 2021 21:36
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: Re: [RESULT][VOTE] New life to Terraform Provider CloudStack with 
Apache CloudStack project

Update - the process has been slow due to getting major contributors to agree 
on code base relicensing and getting Hashicorp to transfer the repo to its 
original/major author Sander who now has relicensed the repositories under 
APLv2:
https://github.com/xanzy/terraform-provider-cloudstack
https://github.com/xanzy/go-cloudstack

We're in the final process of IP clearance post which the code base will be 
accepted and available in the following repositories by either a ASF member 
(Paul has volunteered) or an officer of PMC with suitable permissions:
https://github.com/apache/cloudstack-terraform-provider
https://github.com/apache/cloudstack-go

As some may realise there is a new dependency repo (the Go SDK repo) which I'm 
advised by Sander should go along with the donation as it's used by the 
Terraform repo and Sander has notified submission of software grants 
(https://www.apache.org/licenses/contributor-agreements.html#grants) for both 
the repos. I'll keep the thread open if anyone has any concerns or objections 
for the additional dependency repo.

Regards.

Regards,
Rohit Yadav


From: Rohit Yadav 
Sent: Thursday, April 22, 2021 1:16:07 PM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: Re: [RESULT][VOTE] New life to Terraform Provider CloudStack with 
Apache CloudStack project

Update - I've created the new repository on Github: 
https://github.com/apache/cloudstack-terraform-provider

... and logged request with ASF infra:
https://issues.apache.org/jira/browse/INFRA-21772


Regards.


From: Rohit Yadav 
Sent: Thursday, April 22, 2021 13:05
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: [RESULT][VOTE] New life to Terraform Provider CloudStack with Apache 
CloudStack project

Hi all,

After 120 hours, the vote [1] for accepting codebase of Terraform Provider for 
CloudStack by the Apache CloudStack project has passed with the following votes:

+1 (PMC / binding)
4 persons (Wido, Daan, Boris, Rohit)

+1 (non-binding)
5 persons (Nathan, Abhishek, Hari, Suresh, Nicolas)

0
none

-1 (non-binding)
1 person (Rene)

Thanks to everyone participating. Following this I'll request ASF infra with a 
new repository: https://github.com/apache/cloudstack-terraform-provider have 
access enabled for all committers/PMC with issues, pull request and wiki 
features.

[1] https://markmail.org/message/26yjsewj4tgq


Regards.

rohit.ya...@shapeblue.com
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue




rohit.ya...@shapeblue.com
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue










 



Re: [RESULT][VOTE] New life to Terraform Provider CloudStack with Apache CloudStack project

2021-07-26 Thread Rohit Yadav
All,

The IP clearance process has finally passed 
(https://github.com/apache/cloudstack/issues/5159) and codebase have been 
imported:
https://github.com/apache/cloudstack-terraform-provider
https://github.com/apache/cloudstack-go

As an immediate next step, we need:

  *   Minimal changes/fixes to work towards its first release and publication 
to Terraform registry for users to use (any RM volunteers?)
  *   I'll request ASF infra to enable Travis and Github issues on these repos.

Regards.


From: Rohit Yadav 
Sent: Monday, June 21, 2021 21:36
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: Re: [RESULT][VOTE] New life to Terraform Provider CloudStack with 
Apache CloudStack project

Update - the process has been slow due to getting major contributors to agree 
on code base relicensing and getting Hashicorp to transfer the repo to its 
original/major author Sander who now has relicensed the repositories under 
APLv2:
https://github.com/xanzy/terraform-provider-cloudstack
https://github.com/xanzy/go-cloudstack

We're in the final process of IP clearance post which the code base will be 
accepted and available in the following repositories by either a ASF member 
(Paul has volunteered) or an officer of PMC with suitable permissions:
https://github.com/apache/cloudstack-terraform-provider
https://github.com/apache/cloudstack-go

As some may realise there is a new dependency repo (the Go SDK repo) which I'm 
advised by Sander should go along with the donation as it's used by the 
Terraform repo and Sander has notified submission of software grants 
(https://www.apache.org/licenses/contributor-agreements.html#grants) for both 
the repos. I'll keep the thread open if anyone has any concerns or objections 
for the additional dependency repo.

Regards.

Regards,
Rohit Yadav


From: Rohit Yadav 
Sent: Thursday, April 22, 2021 1:16:07 PM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: Re: [RESULT][VOTE] New life to Terraform Provider CloudStack with 
Apache CloudStack project

Update - I've created the new repository on Github: 
https://github.com/apache/cloudstack-terraform-provider

... and logged request with ASF infra:
https://issues.apache.org/jira/browse/INFRA-21772


Regards.


From: Rohit Yadav 
Sent: Thursday, April 22, 2021 13:05
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: [RESULT][VOTE] New life to Terraform Provider CloudStack with Apache 
CloudStack project

Hi all,

After 120 hours, the vote [1] for accepting codebase of Terraform Provider for 
CloudStack by the Apache CloudStack project has passed with the following votes:

+1 (PMC / binding)
4 persons (Wido, Daan, Boris, Rohit)

+1 (non-binding)
5 persons (Nathan, Abhishek, Hari, Suresh, Nicolas)

0
none

-1 (non-binding)
1 person (Rene)

Thanks to everyone participating. Following this I'll request ASF infra with a 
new repository: https://github.com/apache/cloudstack-terraform-provider have 
access enabled for all committers/PMC with issues, pull request and wiki 
features.

[1] https://markmail.org/message/26yjsewj4tgq


Regards.

rohit.ya...@shapeblue.com
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue




rohit.ya...@shapeblue.com
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue







 



Re: Memory and CPU Failure

2021-07-26 Thread Vivek Kumar
Hello Abhishek,

When you enable HA on your compute offering, CS will try to restart the VMs on 
other available hosts as part of HA if any host goes down due to any unplanned 
issue.  You will also need to enable HA on your hypervisor side as well.  This 
will only work if your host goes down ( most of the time in case of hardware 
failure, host usually go down if host continues to run the CS may not restart 
or migrate the VM, so it’s better to set alerts on hardware failure, so that 
you move your workload before host goes down ).



Regards,
Vivek Kumar


> On 25-Jul-2021, at 10:53 AM, Abishek  wrote:
> 
> Hello Every One,
> 
> Just for future planning I want to know what will happen when there is a CPU 
> and memory failure in hosts.
> Suppose a host is running at fully capacity of its 1.5TB of allocated RAM to 
> vm's. Suddenly lets say 3 RAM went awol. Will the vms start to get migrated 
> to another host or will cloudstack stop the VM's or will cloudstack run 
> continuously with overprovisioning RAM. Also, same  scenario with CPU. What 
> will be the cloudstack's response to memory and CPU failures.
> 
> Thank You. 



Re: Limit Host Resource.

2021-07-26 Thread Vivek Kumar
Hello Abhishek, 

You can achieve n+1 redundancy  by putting limits on cluster level, Below are 
the few settings which you can set on cluster level and global level as well. 
So let’s say you have 4 host, then you can set limit on 70% for maintaining the 
n+1 redundancy.

cluster.cpu.allocated.capacity.disablethreshold
cluster.cpu.allocated.capacity.notificationthreshold
cluster.memory.allocated.capacity.disablethreshold
cluster.memory.allocated.capacity.notificationthreshold


Regards,
Vivek Kumar



> On 25-Jul-2021, at 12:16 PM, Abishek  wrote:
> 
> Hello Every One,
> 
> Is it possible to limit host resources in cloudstack 4.15.1. Lets say if a 
> host CPU and memory resource is allocated about 90%, then do not allow the 
> further new vm's to start on that host(choose another host).
> Thank You