Re: Load balancer configurations - maxcon

2023-12-04 Thread Sina Kashipazha
<<< text/html; charset=utf-8: Unrecognized >>>


signature.asc
Description: OpenPGP digital signature


Re: new PMC member: Abhishek Kumar

2023-11-23 Thread Sina Kashipazha
Congrats, Abhishek! Well-deserved.



On Thursday, 23 November 2023 at 23:01, Rohit Yadav  
wrote:


> 

> 

> Congratulations Abhishek, well deserved!
> 

> 

> Regards.
> 

> 
> From: Daman Arora damans...@gmail.com
> 

> Sent: Thursday, November 23, 2023 17:46
> To: d...@cloudstack.apache.org d...@cloudstack.apache.org
> 

> Cc: users users@cloudstack.apache.org
> 

> Subject: Re: new PMC member: Abhishek Kumar
> 

> Many congrats Abhishek!
> 

> On Thu, Nov 23, 2023, 9:25 p.m. Wei ZHOU ustcweiz...@gmail.com wrote:
> 

> > Congratulations Abhishek!
> > 

> > 在 2023年11月23日星期四,Daan Hoogland daan.hoogl...@gmail.com 写道:
> > 

> > > The Project Management Committee (PMC) for Apache CloudStack
> > > has invited Abhishek Kumar to become a PMC member and we are pleased
> > > to announce that they have accepted.
> > > 

> > > Abhishek has contributed in the past and has shown effort to make the
> > > project run smoothly. He is also the Release Manager for the upcoming
> > > 4.19 release.
> > > 

> > > please join me in congratulating Abhishek
> > > 

> > > --
> > > Daan
> 

> 

> 


signature.asc
Description: OpenPGP digital signature


Re: [ANNOUNCEMENT] Apache CloudStack LTS Maintenance Release 4.18.1.0

2023-09-15 Thread Sina Kashipazha

Congrats! Well done Wei!



--- Original Message ---
On Friday, September 15th, 2023 at 3:56 PM, Nux  wrote:


> 

> 

> That's amazing! Thanks, Wei!
> 

> 

> 

> On 2023-09-15 14:44, Wei ZHOU wrote:
> 

> > The Apache CloudStack project is pleased to announce the release of
> > CloudStack 4.18.1.0.
> > 

> > The CloudStack 4.18.1.0 release is a maintenance release as part of
> > its 4.18.x LTS branch and contains around 200 fixes and
> > improvements since the CloudStack 4.18.0.0 release. Some of the
> > highlights include:
> > 

> > - Support Managed User Data in AutoScale VM groups
> > - Support CKS (CloudStack Kubernetes Cluster) in VPC tiers
> > - Support for VMware 8.0.0.x
> > - Several Hypervisor (VMware, KVM, XenServer) fixes and improvements
> > - Several UI fixes and improvements
> > - Several Network (L2, VXLAN, etc) fixes and improvements
> > - Several System VM (CPVM, SSVM) fixes and improvements
> > - Improve Solidfire storage plugin integration on VMware
> > - Support volume migration in ScaleIO/PowerFlex within and across
> > ScaleIO/PowerFlex storage clusters
> > - Volume encryption support for StorPool
> > - Fix CloudStack upgrade with some MySQL versions
> > - Fix guest OSes and guest OS mappings in CloudStack database
> > 

> > CloudStack LTS branches are supported for 18 months and will receive
> > updates for the first 12 months and only security updates in the last
> > 6 months.
> > 

> > Apache CloudStack is an integrated Infrastructure-as-a-Service (IaaS)
> > software platform that allows users to build feature-rich public and
> > private cloud environments. CloudStack includes an intuitive user
> > interface and rich API for managing the compute, networking, software,
> > and storage resources. The project became an Apache top-level project
> > in March, 2013.
> > 

> > More information about Apache CloudStack can be found at:
> > https://cloudstack.apache.org/
> > 

> > # Documentation
> > 

> > What's new in CloudStack 4.18.1.0:
> > https://docs.cloudstack.apache.org/en/4.18.1.0/releasenotes/about.html
> > 

> > The 4.18.1.0 release notes include a full list of issues fixed, as
> > well as upgrade instructions from previous versions of Apache
> > CloudStack, and can be found at:
> > https://docs.cloudstack.apache.org/en/4.18.1.0/releasenotes/
> > 

> > The official installation, administration, and API documentation for
> > each of the releases are available on our documentation page:
> > https://docs.cloudstack.apache.org/
> > 

> > # Downloads
> > 

> > The official source code for the 4.18.1.0 release can be downloaded
> > from our downloads page:
> > https://cloudstack.apache.org/downloads.html
> > 

> > In addition to the official source code release, individual
> > contributors have also made convenience binaries available on the
> > Apache CloudStack download page, and can be found at:
> > 

> > https://download.cloudstack.org/el/7/
> > https://download.cloudstack.org/el/8/
> > https://download.cloudstack.org/ubuntu/dists/
> > https://www.shapeblue.com/packages/

signature.asc
Description: OpenPGP digital signature


Re: Adding L2 network in a security group enabled zone

2023-08-23 Thread Sina Kashipazha
Hey Fariborz,

Have a look at the following PR, it is part of the 4.18.1 release. You might be 
able to back port it to CS 4.15.

https://github.com/apache/cloudstack/pull/7719


Kind regards,
Sina

--- Original Message ---
On Wednesday, August 23rd, 2023 at 16:47, Fariborz Navidan 
 wrote:


>
>
> Hello CS Ex[erts,
>
> We're running CS 4.15. Our infrastructure consists of one security group
> enabled zone. We want to have a L2 network with promiscuous mode enabled in
> addition to the currently configured shared guest network. However, CS
> tellls that only shared guest network is allowed in a security group
> enabled zone. Does this rule still exist in latest CS version or it allows
> adding L2 network in a SG-enabled zone?
>
> Thanks in advance.
> Regards.

signature.asc
Description: OpenPGP digital signature


Re: [PROPOSE] ACS 4.18.1.0 release

2023-08-07 Thread Sina Kashipazha
Hey Wei,


Thanks for taking care of the new release. For the next two weeks, my focus 
will be on assisting the community with the release of version 4.18.1.0. Please 
feel free to assign me to any pull requests or issues that require attention.

Kind regards,
Sina



--- Original Message ---
On Wednesday, August 2nd, 2023 at 03:22, Wei ZHOU  wrote:


>
>
> Hi all,
>
> Here is an update of Apache CloudStack 4.18.1.0 release:
>
> There are some open PRs and issues on github:
>
> 37 pull requests are open for review:
> https://github.com/apache/cloudstack/pulls?q=is%3Aopen+is%3Apr+milestone%3A4.18.1.0
>
> 66 issues are open (including 1 BLOCKER, 1 critical , 18 major, 39 minor
> issues):
> https://github.com/apache/cloudstack/issues?q=is%3Aopen+is%3Aissue+milestone%3A4.18.1.0
>
>
> We are busy with them. The processes need to be postponed for 2-4 weeks.
>
>
> -Wei
>
>
>
>
> On Thu, 4 May 2023 at 10:34, Wei ZHOU ustcweiz...@gmail.com wrote:
>
> > Hi all,
> >
> > Currently CloudStack 4.18.0.0 is the latest LTS release. There are some
> > bugs and pull requests with 4.18.0.0 [1], including the fix for the upgrade
> > issue if users use MySQL 5.6 and 5.7.
> >
> > I would like to propose the release of 4.18.1.0 and the timeline
> >
> > - from now till the end of July (3 months): accept bug fixes and minor
> > improvements [2]
> > - first week in Aug: stablisation efforts, accept only blocker and
> > critical bug fixes.
> > - Aug: start cutting RCs, vote and finish release work.
> >
> > I will push myself as the release manager (RM) of 4.18.1.0, if nobody
> > objects.
> > In case anyone wants to include a bug fix or a pull request in 4.18.1.0
> > milestone, please mention me (weizhouapache) on github.
> >
> > [1] https://github.com/apache/cloudstack/milestone/27
> > [2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/LTS
> >
> > Any suggestions ?
> >
> > Kind regards,
> > Wei

signature.asc
Description: OpenPGP digital signature


Re: CS scheduler not working properly?

2023-03-31 Thread Sina Kashipazha

Let me explain them case by case, I hope it answers your question :-)


First Round:

Migrate VM-1 from Node84 to Node85 -> Migration cancelled because Host does not 
have enough capacity for vm.

CloudStack started the VM on the source host (Node84)



Second Round:

Deploy 4GB ram on Node84 -> Unsuccessful, unable to create a deployment for VM 
instance.

CloudStack created the VM in error state. The VM is not usable and I can only 
expunge it.



Third Round:

Deploy 4GB (without specifying the host id) -> Unsuccessful, unable to create a 
deployment for VM instance

The result was the same as the second round, CloudStack created the VM in error 
state. The VM is not usable and I can only expunge it.





--- Original Message ---
On Friday, March 31st, 2023 at 8:55 AM, jordan j  wrote:


> 

> 

> Thank you Sina!
> 

> By unsuccessful do you mean that CS allows the operation but it gets
> performed unsuccessfully (hypervisor create task fails)? Or does CS just
> refuse the operation ?
> 

> Regards,
> Jordan
> 

> On Thu, Mar 30, 2023 at 7:12 PM Sina Kashipazha
> s.kashipa...@protonmail.com.invalid wrote:
> 

> > Hey Jordan,
> > 

> > It seems to be a race condition, I ran small scenario which failed. This
> > was my setup:
> > 

> > Node:
> > Node84: 8GB ram available, 4GB of that allocated to the VM-1
> > Node85: 8GB ram, NO VMs.{}
> > 

> > The following actions run at the same time using cmk:
> > 

> > Deploy 4GB ram on Node84
> > Migrate VM-1 from Node84 to Node85
> > Deploy 4GB (without specifying the host id)
> > 

> > First Round:
> > Deploy 4GB ram on Node84 -> Successful
> > Migrate VM-1 from Node84 to Node85 -> Migration cancelled because Host
> > does not have enough capacity for vm
> > Deploy 4GB (without specifying the host id) -> Successful
> > 

> > Second Round:
> > Deploy 4GB ram on Node84 -> Unsuccessful, unable to create a deployment
> > for VM instance
> > Migrate VM-1 from Node84 to Node85 -> Successful
> > Deploy 4GB (without specifying the host id) -> Successful
> > 

> > Third Round:
> > Deploy 4GB ram on Node84 -> Successful
> > Migrate VM-1 from Node84 to Node85 -> Successful
> > Deploy 4GB (without specifying the host id) -> Unsuccessful, unable to
> > create a deployment for VM instance
> > 

> > Fourth Round:
> > Same as first round.
> > 

> > Kind regards,
> > Sina
> > 

> > --- Original Message ---
> > On Thursday, March 30th, 2023 at 2:24 PM, jordan j yordan...@gmail.com
> > wrote:
> > 

> > > Hey everyone,
> > > 

> > > This week we are doing performance tests on the environment and we
> > > noticed
> > > something weird.
> > > 

> > > Setup:
> > > - Cloudstack 4.17.2 + XCP-NG advanced network with SG.
> > > - zone with 30 XCP hosts (in 30 clusters) each with 100 GB ram and 100
> > > cores
> > > - There is one compute offering with user dispersing planner. The
> > > offering
> > > has a local storage bound (no shared storage on servers) .
> > > 

> > > Using terraform we tried to deploy 60 instances, 49 GB of ram each and 50
> > > cores.
> > > Some of them were not deployed (about 5).
> > > Running the same task again and again eventually makes the failed
> > > instances
> > > be deployed eventually.
> > > 

> > > Wondering why this happens... looking at the logs i found out that the
> > > VMs
> > > fail because of not enough memory on the XCPs. Error comes from XAPI and
> > > not from Cloudstack which makes me conclude that Cloudstack allows the
> > > task
> > > but for some reason the scheduler/planner does not compute the memory
> > > resource properly. I wonder if there is a race condition problem where 2
> > > instances are assigned the same host server and what happens is sa both
> > > get
> > > created there is memory just for one of them.
> > > 

> > > Tried to simulate the issue by simultaneously creating instances from the
> > > GUI on a group of 2 servers but it seems GUI-created-instances even if
> > > launched together are executed in order so the scheduler detects when
> > > there
> > > is no more RAM and the rest of the processes are stopped.
> > > 

> > > Has anyone experienced such a problem?
> > > 

> > > Regards,
> > > Jordan

signature.asc
Description: OpenPGP digital signature


Re: Issues building cloudstack

2023-03-30 Thread Sina Kashipazha

Hey Pierre,


I had the same issue when I configured a new VM to build CloudStack. I've Java 
11 and Java 17 installed. Java and javac commands pointed to the java 11 but 
Maven used java 17. I configured the JAVA_PATH environment variable and it 
worked.

Check the first output lines of the`mvn clean install -P systemvm,developer` 
command. I will show which version of java it is using.




--- Original Message ---
On Thursday, March 30th, 2023 at 17:06, Pierre Le Fevre  wrote:


> 

> 

> Aha! Thanks Daan :) Got it to build and run now.
> Didn't know maven had an internal version of java.
> 

> Have a great evening
> Pierre
> 

> On Thu, 30 Mar 2023 at 15:53, Daan Hoogland daan.hoogl...@gmail.com wrote:
> 

> > there is a suspect for your problem, you use jdk 11 but your maven is using
> > jdk 17 under the hood.
> > 

> > On Thu, Mar 30, 2023 at 3:47 PM Pierre Le Fevre pierr...@kth.se wrote:
> > 

> > > Hi Daan,
> > > Here are my versions:
> > > 

> > > ➜ cloudstack git:(main) ✗ mvn --version
> > > Apache Maven 3.8.5 (Red Hat 3.8.5-3)
> > > Maven home: /usr/share/maven
> > > Java version: 17.0.6, vendor: Red Hat, Inc., runtime:
> > > /usr/lib/jvm/java-17-openjdk-17.0.6.0.10-1.fc37.x86_64
> > > Default locale: en_US, platform encoding: UTF-8
> > > OS name: "linux", version: "6.2.8-200.fc37.x86_64", arch: "amd64",
> > > family:
> > > "unix"
> > > ➜ cloudstack git:(main) ✗ java --version
> > > openjdk 11.0.18 2023-01-17
> > > OpenJDK Runtime Environment (Red_Hat-11.0.18.0.10-1.fc37) (build
> > > 11.0.18+10)
> > > OpenJDK 64-Bit Server VM (Red_Hat-11.0.18.0.10-1.fc37) (build 11.0.18+10,
> > > mixed mode, sharing)
> > > ➜ cloudstack git:(main) ✗ javac --version
> > > javac 11.0.18
> > > 

> > > I have JDK 17 installed but switched java and javac to use 11 using sudo
> > > update-alternatives --config java(c)
> > > 

> > > Thanks,
> > > Pierre
> > > 

> > > On Thu, 30 Mar 2023 at 15:42, Daan Hoogland daan.hoogl...@gmail.com
> > > wrote:
> > > 

> > > > Pierre it looks like an issue with the JDK, but just to be sure, what
> > > > maven
> > > > version do you use? Can you give the output of
> > > > $ mvs --version
> > > > 

> > > > On Thu, Mar 30, 2023 at 3:19 PM Pierre Le Fevre pierr...@kth.se
> > > > wrote:
> > > > 

> > > > > Hi all :)
> > > > > Been using cloudstack for a while so thought I could contribute some,
> > > > > however I'm running into some issues with building the project for
> > > > > local
> > > > > development.
> > > > > 

> > > > > Following the instructions in INSTALL.md, using JDK 11 and MySQL 8
> > > > > (on
> > > > > Fedora 37)
> > > > > mvn clean install -P systemvm,developer
> > > > > mvn -P developer -pl developer -Ddeploydb
> > > > > mvn -pl :cloud-client-ui jetty:run
> > > > > 

> > > > > When running these, my build seems to get stuck at some tests in
> > > > > CloudStack
> > > > > Utils. I've tried building in IntelliJ, which gets further but seems
> > > > > all
> > > > > config is not correct so it fails later on.
> > > > > 

> > > > > Is there something obvious I am missing? First time working in such a
> > > > > big
> > > > > maven project :)
> > > > > 

> > > > > All the best
> > > > > Pierre
> > > > > 

> > > > > Test failures during build
> > > > > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
> > > > > elapsed:
> > > > > 0.046 s <<< FAILURE! - in
> > 

> > org.apache.cloudstack.utils.reflectiontostringbuilderutils.ReflectionToStringBuilderUtilsTest
> > 

> > > > > [ERROR]
> > 

> > org.apache.cloudstack.utils.reflectiontostringbuilderutils.ReflectionToStringBuilderUtilsTest
> > 

> > > > > Time elapsed: 0.046 s <<< ERROR!
> > > > > java.lang.ExceptionInInitializerError
> > > > > at
> > 

> > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
> > 

> > > > > at
> > 

> > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
> > 

> > > > > at
> > 

> > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> > 

> > > > > at
> > 

> > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
> > 

> > > > > Caused by: java.lang.reflect.InaccessibleObjectException: Unable to
> > > > > make
> > > > > static void java.util.Arrays.rangeCheck(int,int,int) accessible:
> > > > > module
> > > > > java.base does not "opens java.util" to unnamed module @7f0db310
> > > > > at
> > 

> > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
> > 

> > > > > at
> > 

> > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
> > 

> > > > > at
> > 

> > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> > 

> > > > > at
> > 

> > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
> > 

> > > > > *Stacktrace of jetty command in terminal *
> > > > > mvn -pl :cloud-client-ui jetty:run
> > > > > [...]
> > > > > org.spring

Re: CS scheduler not working properly?

2023-03-30 Thread Sina Kashipazha
Hey Jordan,

It seems to be a race condition, I ran small scenario which failed. This was my 
setup:

Node:
Node84: 8GB ram available, 4GB of that allocated to the VM-1
Node85: 8GB ram, NO VMs.{}
 

The following actions run at the same time using cmk:
 

Deploy 4GB ram on Node84
Migrate VM-1 from Node84 to Node85
Deploy 4GB (without specifying the host id)
 

First Round:
Deploy 4GB ram on Node84 -> Successful
Migrate VM-1 from Node84 to Node85 -> Migration cancelled because Host does not 
have enough capacity for vm
Deploy 4GB (without specifying the host id) -> Successful
 

Second Round:
Deploy 4GB ram on Node84 -> Unsuccessful, unable to create a deployment for VM 
instance
Migrate VM-1 from Node84 to Node85 -> Successful
Deploy 4GB (without specifying the host id) -> Successful
 

Third Round:
Deploy 4GB ram on Node84 -> Successful
Migrate VM-1 from Node84 to Node85 -> Successful
Deploy 4GB (without specifying the host id) -> Unsuccessful, unable to create a 
deployment for VM instance
 

Fourth Round:
Same as first round.

Kind regards,
Sina

--- Original Message ---
On Thursday, March 30th, 2023 at 2:24 PM, jordan j  wrote:


>
>
> Hey everyone,
>
> This week we are doing performance tests on the environment and we noticed
> something weird.
>
> Setup:
> - Cloudstack 4.17.2 + XCP-NG advanced network with SG.
> - zone with 30 XCP hosts (in 30 clusters) each with 100 GB ram and 100 cores
> - There is one compute offering with user dispersing planner. The offering
> has a local storage bound (no shared storage on servers) .
>
> Using terraform we tried to deploy 60 instances, 49 GB of ram each and 50
> cores.
> Some of them were not deployed (about 5).
> Running the same task again and again eventually makes the failed instances
> be deployed eventually.
>
> Wondering why this happens... looking at the logs i found out that the VMs
> fail because of not enough memory on the XCPs. Error comes from XAPI and
> not from Cloudstack which makes me conclude that Cloudstack allows the task
> but for some reason the scheduler/planner does not compute the memory
> resource properly. I wonder if there is a race condition problem where 2
> instances are assigned the same host server and what happens is sa both get
> created there is memory just for one of them.
>
> Tried to simulate the issue by simultaneously creating instances from the
> GUI on a group of 2 servers but it seems GUI-created-instances even if
> launched together are executed in order so the scheduler detects when there
> is no more RAM and the rest of the processes are stopped.
>
> Has anyone experienced such a problem?
>
> Regards,
> Jordan

signature.asc
Description: OpenPGP digital signature


Re: [ANNOUNCE] New VP of Apache CloudStack - Rohit Yadav

2023-03-29 Thread Sina Kashipazha
   Congratulations Rohit!And thank you Simon.Best regards,Sina On Thu, Mar 30, 2023 at 08:00, Suresh Kumar Anaparti  wrote:  Congratulations Rohit, All the best!and thank you Simon...Regards,SureshOn Thu, Mar 30, 2023 at 9:07 AM Simon Weller  wrote:>> All,>> I'm very pleased to announce that the ASF board has accepted the nomination> of Rohit Yadav to be the new VP of the Apache CloudStack project.>> It has been my pleasure to serve as the VP over the past year, and I'd like> to thank the community for all of the support.>> Rohit, congratulations and I wish you the best as you take on this new role.>> -Simon




signature.asc
Description: OpenPGP digital signature


Re: AW: Getting Usage Response from deleted Root-Disk: Cloudstack 4.16.1

2023-03-21 Thread Sina Kashipazha

Hi,

Can you please share output of the following SQL query?

select * from volumes where uuid =  \G


--- Original Message ---
On Tuesday, March 21st, 2023 at 08:47, m...@swen.io  wrote:


> 

> 

> Hi,
> 

> can you please provide more information?
> 

> Regards, Swen
> 

> -Ursprüngliche Nachricht-
> Von: Joan g joang...@gmail.com
> 

> Gesendet: Dienstag, 21. März 2023 06:53
> An: users@cloudstack.apache.org
> Betreff: Getting Usage Response from deleted Root-Disk: Cloudstack 4.16.1
> 

> Hi,
> 

> I am using cloudstack 4.16 and usage records are generated and wrong hours 
> are available for cloudstack deleted root disks in usage response.
> 

> Can someone explain to me how to stop those invalid responses ?

signature.asc
Description: OpenPGP digital signature


Re: [4.18][RELEASE] RC1 up for vote

2023-02-17 Thread Sina Kashipazha
Hey Daan,


Thanks for the RC. Before saying anything, I should mention that I don't have 
any votes here :-)


I've tested some functionalities of the release. I found two issues one is 
related to the redundant virtual networks, and another one is related to the 
service offering creation. I've created the following issues for them. Feel 
free to include or exclude them from the 4.18. They require some changes in the 
UI. Nothing is wrong with the backend.

https://github.com/apache/cloudstack/issues/7259
https://github.com/apache/cloudstack/issues/7260


We had another discussion about removing the ability of users to delete their 
accounts. I've created the following PR for that. Again, feel free to include 
or exclude it from the 4.18.

https://github.com/apache/cloudstack/issues/7219

Kind regards,
Sina
--- Original Message ---
On Friday, February 17th, 2023 at 15:22, Daan Hoogland 
 wrote:


> It is almost my end of week, but I will monitor this thread over the weekend 
> , so feel free to add fixes to the list. RC2 will be at the earliest on 
> monday.
> 

> Have a nice weekend,
> 

> On Fri, Feb 17, 2023 at 2:22 PM Daan Hoogland  wrote:
> 

> > Bryan, I am open to low-risk fixes that people want in RC2. send me a pr 
> > number or mark it for milestone 4.18.0.0. I will move it to another 
> > milestone if we decide it is too risky.
> > 

> > On Fri, Feb 17, 2023 at 2:13 PM Bryan Lima  wrote:
> > 

> > > Hi all,
> > > 

> > > As there will be a need for RC2, I found a small bug regarding the Quota 
> > > enable config introduced in PR #6690.
> > > 

> > > Even when the user has the plugin enabled, it will be displayed as 
> > > disabled, as presented in the image below. This is because in the 
> > > QuotaSummaryResponse, the parameter QuotaEnabled was not set. This is a 
> > > one line fix, if you guys think is worth to put in release 4.18.0.0, let 
> > > me know.
> > > 

> > > 

> > > 

> > > On 16/02/2023 18:44, Nicolas Vazquez wrote:
> > > 

> > > > Hi all,
> > > > 

> > > > Unfortunately I have to vote -1, found the console access was not 
> > > > working for XCPng/Xen, staying Connecting indefinitely. Have produced a 
> > > > fix for it: https://github.com/apache/cloudstack/pull/7243
> > > > 

> > > > Regards,
> > > > Nicolas Vazquez
> > > > 

> > > > 

> > > > From: João Jandre Paraquetti 
> > > > Date: Thursday, 16 February 2023 at 17:21
> > > > To: users@cloudstack.apache.org , 
> > > > d...@cloudstack.apache.org 
> > > > Subject: Re: [4.18][RELEASE] RC1 up for vote
> > > > +1
> > > > 

> > > > Tested VM creation, migration, deletion, scaling, VM restart, VM
> > > > snapshot and restore from snapshot.
> > > > Tested volume creation, attach, detach, migration, deletion, volume
> > > > snapshot and restore from snapshot.
> > > > Tested registering a k8s ISO and creating a k8s cluster using the
> > > > community ISO 1.24.0, also tested basic operations using k8s.
> > > > 

> > > > Best regards,
> > > > João Jandre (JoaoJandre)
> > > > 

> > > > On 15/02/2023 04:49, Daan Hoogland wrote:
> > > > 

> > > > > Rohit, I started building them and they should be ready but I haven´t 
> > > > > made
> > > > > them publicly available yet. I'll look at that today
> > > > > 

> > > > > On Wed, Feb 15, 2023 at 2:46 AM Rohit Yadav 
> > > > > 
> > > > > wrote:
> > > > > 

> > > > > > Thanks Daan, are there convenience packages available somewhere we 
> > > > > > can
> > > > > > test?
> > > > > > 

> > > > > > Regards.
> > > > > > 

> > > > > > Regards.
> > > > > > 
> > > > > > From: Wei ZHOU 
> > > > > > Sent: Wednesday, February 15, 2023 1:05:43 AM
> > > > > > To: users@cloudstack.apache.org ;
> > > > > > d...@cloudstack.apache.org 
> > > > > > Subject: Re: [4.18][RELEASE] RC1 up for vote
> > > > > > 

> > > > > > Thanks Daan.
> > > > > > 

> > > > > > The docker image of cloudstack-simulator for 4.18.0.0-RC1 can be 
> > > > > > found at
> > > > > > 

> > > > > > https://hub.docker.com/repository/docker/apache/cloudstack-simulator/general
> > > > > > 

> > > > > > -Wei
> > > > > > 

> > > > > > 

> > > > > > 

> > > > > > 

> > > > > > On Tue, 14 Feb 2023 at 10:31, Daan Hoogland 
> > > > > > 
> > > > > > wrote:
> > > > > > 

> > > > > > > Hi All,
> > > > > > > 

> > > > > > > I've created a 4.18.0.0 release candidate, with the following
> > > > > > > artifacts up for a vote:
> > > > > > > 

> > > > > > > Git Branch and Commit
> > > > > > > SH:
> > > > > > 

> > > > > > https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.18.0.0-RC20230214T0955
> > > > > > 

> > > > > > > Commit: c3a27df15a535d877b34a10564651fffb032f756
> > > > > > > 

> > > > > > > Source release (checksums and signatures are available at the 
> > > > > > > following
> > > > > > > location):https://dist.apache.org/repos/dist/dev/cloudstack/4.18.0.0/
> > > > > > > 

> > > > > > > PGP release keys (signed using
> > > > > > > ):https://dist.apache.org/repos/dist/relea

Re: Increase Virtual Router Disk Size, Cannot start instances

2022-10-14 Thread Sina Kashipazha

Hey Bs Serge,


We had the same issue with the router VM. We noticed that it happens due to 
large log files. After further investigation, we noticed that the logrotate 
service doesn't work in the router VM. We restarted that service, and it has 
worked since then.

Kind regards,
Sina



--- Original Message ---
On Thursday, September 29th, 2022 at 17:08, Bs Serge  
wrote:


> 

> 

> Cloudstack: 4.17.0.1
> Hypervisor: KVM
> OS: Centos 8
> 

> I couldn't start instances and I checked management logs and found this
> error " Unable to apply dhcp entry on router", "No space left on device",
> 

> and I noticed in virtual router health checks saw a red flag "Insufficient
> free space is 0 MB", then I SSHed inside it and found that the root / has
> 3.5G and is 100% used.
> 

> So I'm wondering how do I resize the virtual router disk space to increase
> it? preferably without destroying it
> 

> Any thoughts or comments would be appreciated!
> 

> Best regards,

signature.asc
Description: OpenPGP digital signature


Re: Proper procedure to delete orphan volumes from a dead Primary Storage

2022-10-14 Thread Sina Kashipazha
Hey Antoine,

We had the same issue. We found volumes that no longer exists on primary 
storage but they were visible in the UI. We sat the removed filed to now() in 
volumes table and the issue resolved.


Kind regards,
Sina



--- Original Message ---
On Thursday, September 29th, 2022 at 17:27, Antoine Boucher 
 wrote:


> 

> 

> I have a few VM less volumes in Destroy state in no longer existing (dead) 
> Primary storage.
> 

> Since I’m unable to remove volumes from the GUI. What would be the proper 
> procedure to remove the entries from the db?
> 

> Would I just delete the appropriate row of the “volumes” and “volume_view” 
> tables ? Or alternatively change the value of one of the fileds?
> 

> Regards,
> Antoine

signature.asc
Description: OpenPGP digital signature


Re: [DISCUSS] release and release manager 4.18

2022-09-20 Thread Sina Kashipazha

Sorry to interrupt. I'm curious to know how is the release procedure. Is it 
possible for me to help or should I be a PMC member?

--- Original Message ---
On Tuesday, September 20th, 2022 at 4:52 PM, Simon Weller 
 wrote:


>
>
> +1 to Daan :-)
> 
> From: Rohit Yadav rohit.ya...@shapeblue.com
>
> Sent: Tuesday, September 20, 2022 9:43 AM
> To: users@cloudstack.apache.org users@cloudstack.apache.org; dev 
> d...@cloudstack.apache.org
>
> Subject: Re: [DISCUSS] release and release manager 4.18
>
> EXTERNAL EMAIL: This message originated outside of ENA. Use caution when 
> clicking links, opening attachments, or complying with requests. Click the 
> "Phish Alert Report" button above the email, or contact MIS, regarding any 
> suspicious message.
>
>
>
> +1 thanks for volunteering as 4.18 RM Daan.
>
> Regards.
>
> Regards.
> 
> From: Daan Hoogland daan.hoogl...@gmail.com
>
> Sent: Tuesday, September 20, 2022 7:53:53 PM
> To: dev d...@cloudstack.apache.org; users users@cloudstack.apache.org
>
> Subject: [DISCUSS] release and release manager 4.18
>
> Hello everybody,
> As Abhishek is wrapping up the 4.17.1 release. I´d like to start the
> discussion about 4.18. Nobody has volunteered as the next release manager
> yet and I'd like to give the community the opportunity to prevent it
> becoming me. My idea is that we will have set a feature freeze date and
> then a target date for the first RC. Iḿ not proposing one now as mine would
> probably be too tight a deadline for new features and there are some big
> ones out there that we'd want in.
> Please let us all know what you have in the pipeline and what you want in
> and what time you need, so we can discuss if it is feasible for 4.18.
> Also please come forward if you want this task of triaging issues and PRs
> and tagging them to go in the release.
> thanks
>
> --
> Daan
>

signature.asc
Description: OpenPGP digital signature


Re: How to renew an expired agent cert

2022-08-22 Thread Sina Kashipazha
Hey Joshua,

You can provision host certificate through the API call (with cloud monkey) or 
UI.

Have a look at the following links:

http://docs.cloudstack.apache.org/en/4.17.0.0/adminguide/hosts.html#securing-process

https://cloudstack.apache.org/api/apidocs-4.17/apis/provisionCertificate.html



Kind regards,
Sina




--- Original Message ---
On Monday, August 22nd, 2022 at 8:18 PM, Joshua Schaeffer 
 wrote:


> 

> 

> Running ACS 4.15.1.0 on Ubuntu 20.04.
> 

> I have a cloudstack-agent service that isn't able to start. It looks like 
> libvirtd won't start because of an expired cert:
> 

> user@cmp02:/etc/cloudstack/agent# systemctl start cloudstack-agent.service
> A dependency job for cloudstack-agent.service failed. See 'journalctl -xe' 
> for details.
> root@bllcloudcmp02:/etc/cloudstack/agent# journalctl -xe
> -- A start job for unit libvirtd.service has begun execution.
> --
> -- The job identifier is 2331.
> Aug 22 18:09:56 bllcloudcmp02 libvirtd[13168]: libvirt version: 6.0.0, 
> package: 0ubuntu8.12 (Christian Ehrhardt christian.ehrha...@canonical.com 
> Tue, 20 Jul 2021 14:13:56 +0200)
> 

> Aug 22 18:09:56 bllcloudcmp02 libvirtd[13168]: hostname: bllcloudcmp02
> Aug 22 18:09:56 bllcloudcmp02 libvirtd[13168]: The server certificate 
> /etc/pki/libvirt/servercert.pem has expired
> Aug 22 18:09:56 bllcloudcmp02 systemd[1]: libvirtd.service: Main process 
> exited, code=exited, status=6/NOTCONFIGURED
> 

> I checked and that file is a symlink to the /etc/cloudstack/agent/cloud.crt 
> file which is in fact expired. I tried to run "Provision Host Security Keys" 
> (I think that is what I'm supposed to run) but because the agent is down and 
> can't be started it fails:
> 

> 2022-08-22 17:52:12,809 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
> (API-Job-Executor-45:ctx-48e9c6f9 job-1105) (logid:574cb963) Executing 
> AsyncJobVO {id:1105, userId: 2, accountId: 2, instanceType: Host, instanceId: 
> null, cmd: 
> org.apache.cloudstack.api.command.admin.ca.ProvisionCertificateCmd, cmdInfo: 
> {"response":"json","ctxUserId":"2","hostid":"7dae2837-270a-4080-934e-59f633b1ec42","httpmethod":"GET","ctxStartEventId":"8442","ctxDetails":"{\"interface
>  
> com.cloud.host.Host\":\"7dae2837-270a-4080-934e-59f633b1ec42\"}","ctxAccountId":"2","cmdEventType":"CA.CERTIFICATE.PROVISION"},
>  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
> null, initMsid: 90520733511963, completeMsid: null, lastUpdated: null, 
> lastPolled: null, created: null, removed: null}
> 2022-08-22 17:52:12,902 DEBUG [c.c.a.ApiServlet] 
> (qtp330739404-491:ctx-6cf11e9c) (logid:fcee2f79) ===START=== 172.16.44.18 -- 
> GET 
> jobId=574cb963-9411-47da-aabd-e0ae2123013c&command=queryAsyncJobResult&response=json
> 2022-08-22 17:52:12,946 ERROR [o.a.c.c.CAManagerImpl] 
> (API-Job-Executor-45:ctx-48e9c6f9 job-1105 ctx-3460a193) (logid:574cb963) 
> Host/agent is not available or operation timed out, failed to setup keystore 
> and generate CSR for host/agent id=21, due to:
> com.cloud.exception.AgentUnavailableException: Resource [Host:21] is 
> unreachable: Host 21: Host with specified id is not in the right state: Alert
> at 
> com.cloud.agent.manager.ClusteredAgentManagerImpl.getAttache(ClusteredAgentManagerImpl.java:574)
> at com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.java:448)
> at com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.java:361)
> at 
> org.apache.cloudstack.ca.CAManagerImpl.generateKeyStoreAndCsr(CAManagerImpl.java:208)
> at 
> org.apache.cloudstack.ca.CAManagerImpl.provisionCertificate(CAManagerImpl.java:189)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> at 
> org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
> at 
> com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
> at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
> at 
> org.spri

Re: VM Migrations failures

2022-07-26 Thread Sina Kashipazha
Hey Curios,

Did you find any work around for this issue?

Kind regards,
Sina



--- Original Message ---
On Monday, March 28th, 2022 at 19:07, Curious Pandora  wrote:


> 

> 

> Hello,
> 

> We are in the process of migrating some of our VMs to a new zone wide NFS
> primary storage.
> 

> Some of the live and offline migrations went smoothly. However, no more
> migrations can take place at the moment.
> 

> For an offline migration the host selected to do it by the scheduler
> reports in cloudstack agent.log
> 

> 2022-03-28 19:32:08,636 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:21246b44) Trying to fetch storage pool
> e7f12bcd-9fae-388d-bbbe-cf0984e7776d from libvirt
> 2022-03-28 19:32:08,696 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:21246b44) Attempting to create volume
> 8f59974a-e5f8-4ba3-9808-3db35f3f3 af1.qcow2 (NetworkFilesystem) in
> pool e7f12bcd-9fae-388d-bbbe-cf0984e7776d with size (80.00 GB) 85899345920
> 2022-03-28 19:32:08,841 ERROR [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:21246b44) Failed to create
> /mnt/e7f12bcd-9fae-388d-bbbe-cf0984e7776d/8f
> 59974a-e5f8-4ba3-9808-3db35f3f3af1.qcow2 due to a failed executing of
> qemu-img: qemu-img:
> /mnt/e7f12bcd-9fae-388d-bbbe-cf0984e7776d/8f59974a-e5f8-4ba3-9808-3db35f3f3af1.qcow2:
> 

> Image is not in qcow2 formatFormatting
> '/mnt/e7f12bcd-9fae-388d-bbbe-cf0984e7776d/8f59974a-e5f8-4ba3-9808-3db35f3f3af1.qcow2',
> fmt=qcow2 size=85899345920 cluster_size=65536 preallocation=off
> lazy_refcounts=off refcount_bits=16
> 2022-03-28 19:32:08,928 ERROR [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:21246b44) Failed to convert
> /san/primary/vm_vol1/2dbd1ee3-9ae7-4e0c-b52 e-c9767ea33208 to
> /mnt/e7f12bcd-9fae-388d-bbbe-cf0984e7776d/8f59974a-e5f8-4ba3-9808-3db35f3f3af1.qcow2
> the error was: qemu-img:
> /mnt/e7f12bcd-9fae-388d-bbbe-cf0984e7776d/8f59974a-e5f8-4ba3-9808-3db35f3f3af1.qcow2:
> error while converting qcow2: Image is not in qcow2 format
> 2022-03-28 19:32:08,928 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:21246b44) Attempting to remove storage
> pool e7f12bcd-9fae-388d-bbbe-cf0 984e7776d from libvirt
> 2022-03-28 19:32:08,931 INFO [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:null) (logid:21246b44) Storage pool
> e7f12bcd-9fae-388d-bbbe-cf0984e7776d has no corr esponding secret.
> Not removing any secret.
> 

> Checking the image in question with qemu-img info and is indeed a qcow2
> image.
> image: /san/primary/vm_vol1/2dbd1ee3-9ae7-4e0c-b52e-c9767ea33208
> file format: qcow2
> virtual size: 80 GiB (85899345920 bytes)
> disk size: 28 GiB
> cluster_size: 65536
> Format specific information:
> compat: 1.1
> lazy refcounts: false
> refcount bits: 16
> corrupt: false
> 

> Online migrations with volumes also fail. The new volumes remain in
> "Migrating" state for ever and the job fails.
> 

> The environment is ubuntu 20.04.
> 

> --
> p4nd0ra - the curious

signature.asc
Description: OpenPGP digital signature


RE: [!!Mass Mail]Re: Migration between regions

2021-10-20 Thread Sina Kashipazha
Hi!

I'm not sure if this feature supported by cloudstack!

‐‐‐ Original Message ‐‐‐

On Wednesday, October 20th, 2021 at 10:56, Дикевич Евгений Александрович 
 wrote:

> Hi!
> 

> We want to change CS-1 with their public network (PN-1) and management 
> servers/vms to another CS-2 with another public network (PN-2)
> 

> -Original Message-
> 

> From: Sina Kashipazha [mailto:s.kashipa...@protonmail.com.INVALID]
> 

> Sent: Wednesday, October 20, 2021 11:48 AM
> 

> To: users@cloudstack.apache.org
> 

> Subject: [!!Mass Mail]Re: Migration between regions
> 

> Hey Evgeniy,
> 

> Do you want to migrate between two physical locations or upgrade your system 
> to a newer version? We usually do the physical migration in the following 
> order:
> 

> 1.  Set up a new host in the new location (Let's call it h1).
> 2.  Add host to cloudstack platform.
> 3.  Pick another host (h2) to migrate its VMs to the h1.
> 4.  Remove h2 from cloudstack.
> 5.  Move h2 to the new location.
> 6.  Repeat steps 1-5 until we move all hosts.
> 7.  Move management server and databases to the new location (This will cause 
> a small downtime. But it will not affect VMs) 8. Migrate storage to the new 
> location.
> 

> Kind regards,
> 

> Sina
> 

> ‐‐‐ Original Message ‐‐‐
> 

> On Monday, October 18th, 2021 at 10:02, Дикевич Евгений Александрович 
> evgeniy.dikev...@becloud.by wrote:
> 

> > Hi all!
> > 

> > Has anyone migrated between regions? We have old CS installation and
> > 

> > we want to migrate to new with new hosts and storages. How we can do
> > 

> > that? Can we migrate without downtime? In documentation I don't find
> > 

> > any information:(
> > 

> > Does new CS (4.15.x) support this functionality? We want to migrate from CS 
> > 4.14.1 + XCP-NG to CS 4.15.2 + XCP-NG.
> > 

> > Best regards, Evgeniy.
> > 

> > Внимание!
> > 

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

> > 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.

signature.asc
Description: OpenPGP digital signature


Re: Migration between regions

2021-10-20 Thread Sina Kashipazha
Hey Evgeniy,

Do you want to migrate between two physical locations or upgrade your system to 
a newer version? We usually do the physical migration in the following order:

1. Set up a new host in the new location (Let's call it h1).
2. Add host to cloudstack platform.
3. Pick another host (h2) to migrate its VMs to the h1.
4. Remove h2 from cloudstack.
5. Move h2 to the new location.
6. Repeat steps 1-5 until we move all hosts.
7. Move management server and databases to the new location (This will cause a 
small downtime. But it will not affect VMs)
8. Migrate storage to the new location.

Kind regards,
Sina


‐‐‐ Original Message ‐‐‐

On Monday, October 18th, 2021 at 10:02, Дикевич Евгений Александрович 
 wrote:

> Hi all!
>
> Has anyone migrated between regions? We have old CS installation and we want 
> to migrate to new with new hosts and storages. How we can do that? Can we 
> migrate without downtime? In documentation I don't find any information:(
>
> Does new CS (4.15.x) support this functionality? We want to migrate from CS 
> 4.14.1 + XCP-NG to CS 4.15.2 + XCP-NG.
>
> Best regards, Evgeniy.
>
> Внимание!
>
> Это электронное письмо и все прикрепленные к нему файлы являются 
> конфиденциальными и предназначены исключительно для использования лицом 
> (лицами), которому (которым) оно предназначено. Если Вы не являетесь лицом 
> (лицами), которому (которым) предназначено это письмо, не копируйте и не 
> разглашайте его содержимое и удалите это сообщение и все вложения из Вашей 
> почтовой системы. Любое несанкционированное использование, распространение, 
> раскрытие, печать или копирование этого электронного письма и прикрепленных к 
> нему файлов, кроме как лицом (лицами) которому (которым) они предназначены, 
> является незаконным и запрещено. Принимая во внимание, что передача данных 
> посредством Интернет не является безопасной, мы не несем никакой 
> ответственности за любой потенциальный ущерб, причиненный в результате ошибок 
> при передаче данных или этим сообщением и прикрепленными к нему файлами.
>
> 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.

signature.asc
Description: OpenPGP digital signature


Re: All cluster reboot when a Primary storage fails

2021-10-20 Thread Sina Kashipazha
Hey Daniel,

PR #4586 (https://github.com/apache/cloudstack/pull/4586) addressed your issue, 
as well. I'm currently working on it. Could you share with me how I can 
reproduce your reboot problem?

Kind regards,
Sina

‐‐‐ Original Message ‐‐‐

On Saturday, October 16th, 2021 at 05:40, Daniel Augusto Veronezi Salvador 
 wrote:

> Hi Mauro,
> 

> On KVM's monitor, when there is an inconsistency on the heartbeat's file
> 

> or heartbeat timeout is extrapolated several times, by default, the host
> 

> is restarted.
> 

> The PR 4586 (https://github.com/apache/cloudstack/pull/4586) already
> 

> addressed this issue by externalizing a property, which allows the
> 

> operator to decide if the host must be restarted or not (default is
> 

> 'true', meaning that the host will be restarted). However, this feature
> 

> will be available only after release 4.16.
> 

> Best regards,
> 

> Daniel Salvador
> 

> On 15/10/2021 20:43, Mauro Ferraro - G2K Hosting wrote:
> 

> > Hi guys, how are you?.
> > 

> > We are having this problems with ACS when a primary storages fails.
> > 

> > We have several primary storage with Linux and NFS server serving KVM
> > 

> > images. So every hosts have been mounted all the NFS servers because
> > 

> > in one Host can be running VMs from different storages. The main
> > 

> > problem of this, is when some storage fails because any reason all the
> > 

> > cluster gets crazy and start rebooting the hosts to reconnect with
> > 

> > this storage and all the VMs on the cluster, (including the VMs that
> > 

> > were working good) goes down becuase the conection to one storage fails.
> > 

> > If the problem with storage is permanent, the cluster never start
> > 

> > again and hosts will reboot indefinitely.
> > 

> > When this problem appears, the logs say this:
> > 

> > host heartbeat: kvmheartbeat.sh will reboot system because it was
> > 

> > unable to write the heartbeat to the storage.
> > 

> > Many users, edit the script kvmheartbeat.shto avoid the hosts reboot
> > 

> > or restart the agent on the host but i really not be sure that this is
> > 

> > the real solution.
> > 

> > Can someone help to propose a best solution at this high risk problem?.
> > 

> > Regards,
> > 

> > Mauro

signature.asc
Description: OpenPGP digital signature


Re: Run cloudstack-management in Docker

2020-05-30 Thread Sina Kashipazha
Hi Jerry,

Could you share your Dockerfiles?

Kind Regards,
Sina


> On 30 May 2020, at 17:08, li jerry  wrote:
> 
> Dear friends, if you have any experience in this area, please share.



Re: Mangement Server and hosts in different networks

2020-05-19 Thread Sina Kashipazha
Dear Augosto,

Here is the Cloudstack mailing list, not Openstack. Cloudstack and Openstack 
are doing the same thing but in a completely different way. You can see them as 
Android and iOS. It is better to ask your question in the Openstack mailing 
list.

Kind Regards,
Sina

> On 19 May 2020, at 22:06, i...@defendhosting.com wrote:
> 
> 
> Hello,
> 
> I want to start with openstack with 2 hosts/nodes, from OVH and of
> course 1 management server/master.
> 
> Must be all 3 servers linked with the product that OVH naed as "vlink"?.
> 
> Can I for example have the master in one datacenter (in a hetzner VPS
> for example), one host in OVH USA, and another host in OVH France?
> 
> Thank you in advance for your help!
> 
> Best wishes,
> 
> Augusto
> 
> 
> --
> El software de antivirus Avast ha analizado este correo electrónico en busca 
> de virus.
> https://www.avast.com/antivirus
>