Re: Shared guest network assigned to multiple domains

2024-04-26 Thread Pearl d'Silva
I did not hit the issue with overlapping IP ranges as the network in the 
destination domain / account was initially created with a different vlan and 
then they were updated (or swapped) with the VLAN in the source domain. 
However, I did not test with IPv6.



 



From: Ruben Bosch 
Sent: April 26, 2024 10:58 AM
To: users@cloudstack.apache.org 
Subject: Re: Shared guest network assigned to multiple domains

Hi Pearl,

Thanks for the suggestion. Yes, assignVirtualMachine is an option, but in
this case the used network is not accessible by the destination
domain/account. Creating the same network twice also doesn't seem like an
option due to NetUtils.ipRangesOverlap. It also seems to not be a
possibility to create the same network without filling in the start/end IPs
for IPv4, because then another error is triggered for the IPv6 range
overlapping "The IPv6 range with tag: 1000 already has IPs that overlap
with the new range." (tested on 4.18.1). The VXLAN ID in this case remains
the same and the VLAN ID overlap check is disabled.

Regards,

Ruben Bosch

On Fri, Apr 26, 2024 at 4:21 PM Pearl d'Silva 
wrote:

> Hi Ruben,
>
> Have you tried the 'Assign Instance to Another Account'
> (assignVirtualMachine API) operation on the stopped VMs. This would help in
> moving the VM(s) from one domain/account to another. I did a small test to
> see if we could preserve the IP and it seemed to work but I may be wrong in
> my understanding. This was my setup:
>
> VM1 in domain /ROOT/dom1 deployed in shared network shdom1 with vlan: 700
> with CIDR: 10.70.70.1/24
>
> Created another domain /ROOT/dom2 and created a shared network shdom2 in
> this domain with vlan, say: 701 with CIDR: 10.70.70.1/24
>
> swap the vlans via DB updated:
> update networks set broadcast_uri = "vlan://701" where id = ;
> update networks set broadcast_uri = "vlan://700" where id = ;
> update vlan set vlan_id = 701 where id = ;
> update vlan set vlan_id = 700 where id = ;
>
> Stop the VM(s) in /ROOT/dom1 domain that need to be moved, and then use
> the Assign Instance to another Account to move VM to the destination domain
> and account.
>
> Regards,
> Pearl
>
>
>
> 
> From: Ruben Bosch 
> Sent: April 26, 2024 9:26 AM
> To: users@cloudstack.apache.org 
> Subject: Re: Shared guest network assigned to multiple domains
>
> Wei, the use cases may vary. In some cases it will be moved completely to a
> different domain+account, in other cases not.
>
> On Fri, Apr 26, 2024 at 2:48 PM Wei ZHOU  wrote:
>
> > Hi Ruben,
> >
> > Will you move all VMs on the network to another account, or just some
> > of the VMs ?
> >
> > -Wei
> >
> > On Fri, Apr 26, 2024 at 2:44 PM Ruben Bosch 
> wrote:
> > >
> > > Thanks Daan :-) Hope there are others with some ideas as well!
> > >
> > > On Fri, Apr 26, 2024 at 2:42 PM Daan Hoogland  >
> > > wrote:
> > >
> > > > ok, from what I know now I have exhausted my clues. Hope you get your
> > > > migration done expediently.
> > > >
> > > > On Fri, Apr 26, 2024 at 2:29 PM Ruben Bosch 
> > wrote:
> > > > >
> > > > > Hmm, that might be possible. However we would like to automate as
> > much as
> > > > > possible. Changing existing IPs to unused ones is not an option,
> no.
> > > > >
> > > > > On Fri, Apr 26, 2024 at 2:25 PM Daan Hoogland <
> > daan.hoogl...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > ok, and you probably can't redistribute the IPs in the domain or
> > > > > > define the order of migration to be in line with the range?
> > > > > >
> > > > > > On Fri, Apr 26, 2024 at 2:01 PM Ruben Bosch <
> ruben.bo...@cldin.eu>
> > > > wrote:
> > > > > > >
> > > > > > > The target domain already exists with VMs running in it
> > > > > > >
> > > > > > > On Fri, Apr 26, 2024 at 1:46 PM Daan Hoogland <
> > > > daan.hoogl...@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > so probably a stupoid suggestion, but why ot rename the
> domain
> > > > then?
> > > > > > > >
> > > > > > > > On Fri, Apr 26, 2024 at 1:04 PM Ruben Bosch <
> > ruben.bo...@cldin.eu>
> > > > > > wrote:
> > > > > > > > >
> > > > > > > > > Hi Daan, cases may var

Re: Shared guest network assigned to multiple domains

2024-04-26 Thread Pearl d'Silva
Hi Ruben,

Have you tried the 'Assign Instance to Another Account' (assignVirtualMachine 
API) operation on the stopped VMs. This would help in moving the VM(s) from one 
domain/account to another. I did a small test to see if we could preserve the 
IP and it seemed to work but I may be wrong in my understanding. This was my 
setup:

VM1 in domain /ROOT/dom1 deployed in shared network shdom1 with vlan: 700 with 
CIDR: 10.70.70.1/24

Created another domain /ROOT/dom2 and created a shared network shdom2 in this 
domain with vlan, say: 701 with CIDR: 10.70.70.1/24

swap the vlans via DB updated:
update networks set broadcast_uri = "vlan://701" where id = ;
update networks set broadcast_uri = "vlan://700" where id = ;
update vlan set vlan_id = 701 where id = ;
update vlan set vlan_id = 700 where id = ;

Stop the VM(s) in /ROOT/dom1 domain that need to be moved, and then use the 
Assign Instance to another Account to move VM to the destination domain and 
account.

Regards,
Pearl
 



From: Ruben Bosch 
Sent: April 26, 2024 9:26 AM
To: users@cloudstack.apache.org 
Subject: Re: Shared guest network assigned to multiple domains

Wei, the use cases may vary. In some cases it will be moved completely to a
different domain+account, in other cases not.

On Fri, Apr 26, 2024 at 2:48 PM Wei ZHOU  wrote:

> Hi Ruben,
>
> Will you move all VMs on the network to another account, or just some
> of the VMs ?
>
> -Wei
>
> On Fri, Apr 26, 2024 at 2:44 PM Ruben Bosch  wrote:
> >
> > Thanks Daan :-) Hope there are others with some ideas as well!
> >
> > On Fri, Apr 26, 2024 at 2:42 PM Daan Hoogland 
> > wrote:
> >
> > > ok, from what I know now I have exhausted my clues. Hope you get your
> > > migration done expediently.
> > >
> > > On Fri, Apr 26, 2024 at 2:29 PM Ruben Bosch 
> wrote:
> > > >
> > > > Hmm, that might be possible. However we would like to automate as
> much as
> > > > possible. Changing existing IPs to unused ones is not an option, no.
> > > >
> > > > On Fri, Apr 26, 2024 at 2:25 PM Daan Hoogland <
> daan.hoogl...@gmail.com>
> > > > wrote:
> > > >
> > > > > ok, and you probably can't redistribute the IPs in the domain or
> > > > > define the order of migration to be in line with the range?
> > > > >
> > > > > On Fri, Apr 26, 2024 at 2:01 PM Ruben Bosch 
> > > wrote:
> > > > > >
> > > > > > The target domain already exists with VMs running in it
> > > > > >
> > > > > > On Fri, Apr 26, 2024 at 1:46 PM Daan Hoogland <
> > > daan.hoogl...@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > so probably a stupoid suggestion, but why ot rename the domain
> > > then?
> > > > > > >
> > > > > > > On Fri, Apr 26, 2024 at 1:04 PM Ruben Bosch <
> ruben.bo...@cldin.eu>
> > > > > wrote:
> > > > > > > >
> > > > > > > > Hi Daan, cases may vary. For our first migration in the end
> all
> > > VMs
> > > > > will
> > > > > > > > move to the other domain.
> > > > > > > >
> > > > > > > > On Fri, Apr 26, 2024 at 12:32 PM Daan Hoogland <
> > > > > daan.hoogl...@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Ruben, do you need to move domainA completely to domainB
> or do
> > > you
> > > > > > > > > need to move *some* VMs from it?
> > > > > > > > >
> > > > > > > > > On Fri, Apr 26, 2024 at 11:00 AM Ruben Bosch <
> > > ruben.bo...@cldin.eu
> > > > > >
> > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > Hi all,
> > > > > > > > > >
> > > > > > > > > > We're looking into the following. We are using advanced
> > > > > networking
> > > > > > > on ACS
> > > > > > > > > > 4.16.1 (upgrading soon to 4.18.1). We have a guest
> network
> > > that
> > > > > is
> > > > > > > > > assigned
> > > > > > > > > > to a specific domain A (ROOT/foo/domainA). Now we will
> need
> > > to
> > > > > move
> > > > > > > VMs
> > > > > > > > > > from domain A to domain B (ROOT/bar/domainB) while
> > > preserving IP
> > > > > > > > > addresses.
> > > > > > > > > > We are exploring our options on how to make this a
> seamless
> > > > > > > transition.
> > > > > > > > > We
> > > > > > > > > > have found that:
> > > > > > > > > >
> > > > > > > > > > - we cannot add the network with the same parameters
> again,
> > > as it
> > > > > > > fails
> > > > > > > > > on
> > > > > > > > > > IP address start/end overlap check
> > > > > > > > > > - we cannot add the extra domain in the
> "domain_network_ref"
> > > > > table
> > > > > > > as it
> > > > > > > > > > yields no result
> > > > > > > > > > - we can assign the domain to ROOT and ensure no other
> users
> > > can
> > > > > > > claim
> > > > > > > > > IPs
> > > > > > > > > > by updating "state" in "user_ip_address"
> > > > > > > > > >
> > > > > > > > > > Are there any other options available that we can think
> of?
> > > I'm
> > > > > > > looking
> > > > > > > > > > forward to your input.
> > > > > > > > > >
> > > > > > > > > > Kind regards,
> > > > > > > > > >
> > > > > > > > > > Ruben Bosch
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > 

Re: Avoid re-redownloading URLs when migrating secondary storage

2024-04-25 Thread Pearl d'Silva
Hi Mevludin,

When migrating data to another secondary store, it only considers private 
templates and public templates with no url - those which are created from 
snapshots or volumes. Public templates with URLs are automatically 
synced(downloaded) on to the newly added secondary store. So, they aren't 
ideally getting duplicated on the new secondary store.

Regards,
Pearl
 



From: Mevludin Blazevic 
Sent: April 25, 2024 4:51 AM
To: users 
Subject: Avoid re-redownloading URLs when migrating secondary storage


Hi all,

it looks like with every secondary storage migration Cloudstack tries to 
re-download all templates with URLs instead of simply grabbing the already 
downloaded template from the old image store. If that's true, how to avoid that 
behaviour?

Mevludin




Re: Null Pointer Exception on Kubernetes Deploy with CloudMonkey

2024-04-15 Thread Pearl d'Silva
Hi Ricardo,

Was the network tier (of the VPC network) created without associating any ACL. 
Based on the NPE, it seems like it. This issue doesn't crop up when done via 
the UI, because creation of network tiers mandates associating an ACL.

Regards,
Pearl
 



From: Ricardo Pertuz 
Sent: April 15, 2024 2:05 PM
To: Vivek Kumar via users 
Subject: Null Pointer Exception on Kubernetes Deploy with CloudMonkey

Hi Community,

When using Cloudmonkey to create a Kubernetes Cluster we are getting a 
NullPointer Exception

Env
*
ACS: 4.19.0.1
Hyp: KVM
SO: Ubuntu 20

Logs
*

2024-04-15 12:55:08,360 ERROR [c.c.a.ApiServer] (qtp931675031-20:ctx-b9ffa6f7 
ctx-f16eb6b9 ctx-d99f7c6a) (logid:5accec2e) unhandled exception executing api 
command: [Ljava.lang.String;@50546e38
java.lang.NullPointerException
at 
com.cloud.kubernetes.cluster.KubernetesClusterManagerImpl.validateVpcTier(KubernetesClusterManagerImpl.java:414)
at 
com.cloud.kubernetes.cluster.KubernetesClusterManagerImpl.validateNetwork(KubernetesClusterManagerImpl.java:438)
at 
com.cloud.kubernetes.cluster.KubernetesClusterManagerImpl.getKubernetesClusterNetworkIfMissing(KubernetesClusterManagerImpl.java:845)
at 
com.cloud.kubernetes.cluster.KubernetesClusterManagerImpl.createManagedKubernetesCluster(KubernetesClusterManagerImpl.java:1221)
at 
org.apache.cloudstack.api.command.user.kubernetes.cluster.CreateKubernetesClusterCmd.create(CreateKubernetesClusterCmd.java:317)
at 
com.cloud.api.dispatch.CommandCreationWorker.handle(CommandCreationWorker.java:47)
at com.cloud.api.dispatch.DispatchChain.dispatch(DispatchChain.java:37)
at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:94)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:724)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:624)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:342)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:149)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:146)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:100)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at 
org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at 
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at 
org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at 

Re: New PMC member: Slavka Peleva

2024-04-10 Thread Pearl d'Silva
Congratulations Slavka!

Regards,
Pearl
 



From: Daan Hoogland 
Sent: April 10, 2024 7:19 AM
To: d...@cloudstack.apache.org ; slav...@apache.org 

Cc: users@cloudstack.apache.org 
Subject: Re: New PMC member: Slavka Peleva

welcome aboard @slav...@apache.org

On Wed, Apr 10, 2024 at 1:11 PM Ivet Petrova  wrote:
>
> Hello all,
>
> The Project Management Committee (PMC) for Apache CloudStack
> has invited Slavka Peleva to become a PMC member and we are pleased
> to announce that they have accepted.
>
> Slavka has contributed in the past and has shown effort to make the
> project run smoothly
>
> Please join me in congratulating Slavka!
>
>
> Best regards,
>
>
>
>


--
Daan


Re: [ANNOUNCE] Rene Peinthor as committer

2024-03-29 Thread Pearl d'Silva
Congratulations Rene!

Regards,
Pearl

 



From: Daan Hoogland 
Sent: Friday, March 29, 2024 4:11:52 AM
To: users ; dev 
Cc: PMC 
Subject: [ANNOUNCE] Rene Peinthor as committer

devs and users,

The PMC have asked Rene Peinthor to become a committer to the Apache
CloudStack project and they  have accepted.

Please join me in congratulating Rene.

--
Daan



Re: Still struggling for steps to build pls help

2024-03-25 Thread Pearl d'Silva
Hi,

Glad you could get that sorted. If there's anything you'd like to improve in 
the documentation you could raise a PR against 
https://github.com/apache/cloudstack-documentation or create issues probably at 
https://github.com/apache/cloudstack/issues since we don't seem to have the 
issues tab on the documentation repo.

Regards,
Pearl
 



From: Wingrunt Platform 
Sent: March 25, 2024 12:24 AM
To: users@cloudstack.apache.org 
Subject: Re: Still struggling for steps to build pls help

Finally got it. It was a combination of loopback and router switch filter
redirecting to a separate channel going to separate mac.
Much thanks to all who helped.

My next attempt is to dp a source compile. So far it is stuck only on the
70* directory,  spitting out some jar related issues. I will TS on it and
if there are questions, I will ask.

How can we improve the documentation a little bit ? Great products need
great documentation.

Thank you once again to all

Regards,
RSK

On Sat, Mar 23, 2024 at 2:10 AM Wei ZHOU  wrote:

> a. You do not need to configure it (nobody configures manually). Your
> issue is unrelated to the beans. The bean errors are misleading.
>
> b. Jetty, not tomcat
>
> c. the default http port is 8080 in
> /etc/cloudstack/management/server.properties
>
>
>
> -Wei
>
>
> On Sat, Mar 23, 2024 at 7:59 AM Wingrunt Platform 
> wrote:
> >
> > Just a few more questions.
> > a. You seem to have webApplicationContext.xml directive in your web.xml.
> Is
> > this to be available somewhere ? IF so where should it be ? if we install
> > directory apt install ?
> > b. The run time is an app server which I believe is tomcat for CS 4.19 .
> Is
> > this correct ?
> > c. My understanding is that you have embedded this within your CS which
> > opens port 8080. Right ?
> >
> > Thank you
> > Best
> > RSK
> > [Opensource will never die, even if you stab a thousand times; or place a
> > blue mirror to reflect the make believe sky]
> >
> >
> >
> > On Fri, Mar 22, 2024 at 5:54 PM Wingrunt Platform 
> > wrote:
> >
> > > @Pearl d'Silva Thank you.
> > > Yes Db host same as management server both pointing to localhost. Also
> > > tried specifically pointing to  cloud management ip No luck
> > > @Wei ZHOU  Thanks to you too.
> > >
> > > Thank you so much. Hopefully I will get there soon.
> > >
> > > Best
> > > RSK
> > >
> > >
> > > On Fri, Mar 22, 2024 at 8:45 AM Pearl d'Silva <
> pearl.dsi...@shapeblue.com>
> > > wrote:
> > >
> > >> Is your database running on the same server / host on which you are
> > >> trying to deploy the CloudStack setup? Can you verify the values of :
> > >> db.cloud.host - this should point to the DB host
> > >> cluster.node.IP - should point to the Management server (or the proper
> > >> loopback address)
> > >>
> > >> in the ./client/conf/db.properties.in file and rebuild the code if
> > >> you've built and deployed CloudStack from source. If you've set it up
> using
> > >> packages, verify the above mentioned values in
> > >> /etc/cloudstack/management/db.properties and restart the Management
> server
> > >> if anything is changed in the file.
> > >>
> > >> Regards,
> > >>
> > >>
> > >>
> > >> 
> > >> From: Wingrunt Platform 
> > >> Sent: March 21, 2024 4:06 PM
> > >> To: users@cloudstack.apache.org 
> > >> Subject: Re: Still struggling for steps to build pls help
> > >>
> > >> A friendly reminder. Racing against time :)
> > >> Thank you so much.
> > >> RSK
> > >>
> > >> On Wed, Mar 20, 2024 at 5:37 PM Wingrunt Platform  >
> > >> wrote:
> > >>
> > >> > Copied below - th management-server.log.
> > >> > Looking forward to hearing from you.
> > >> >
> > >> >
> > >> > 2024-03-20 17:17:18,407 DEBUG
> [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
> > >> > (main:null) (logid:) Trying to obtain module [nested-cloudstack]
> > >> context.
> > >> > 2024-03-20 17:17:18,407 DEBUG
> [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
> > >> > (main:null) (logid:) Trying to load module [nested-cloudstack]
> context.
> > >> > 2024-03-20 17:17:18,407 INFO
> [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
> > >> > (main:null) (logid:) Loadin

Re: Kubernetes node in different zones

2024-03-25 Thread Pearl d'Silva
Hi Francisco,

This isn't supported as part of the Managed Kubernetes service - CKS, but you 
may want to explore CAPC - CloudStack's Cluster API provider that implements 
the concept of failure domains through the use of multiple zones. I believe 
this is what you are talking about.

https://cluster-api-cloudstack.sigs.k8s.io/clustercloudstack/configuration#failure-domains

Regards,
Pearl
 



From: Kiran Chavala 
Sent: March 25, 2024 8:26 AM
To: users@cloudstack.apache.org 
Subject: Re: Kubernetes node in different zones

Hi Francisco

Currently its not possible to deploy nodes across zone.

The Kubernetes cluster is tied to a single zone


Regards
Kiran

From: Francisco Arencibia Quesada 
Date: Monday, 25 March 2024 at 3:56 PM
To: users@cloudstack.apache.org 
Subject: Kubernetes node in different zones
Good morning guys,

I'm testing K8s on Cloudstack, and I can't deploy the nodes across
different zones. Is there a way to do this? I'm using Cloudstack 4.18.1

Kind regards
Thank you in advance



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





Re: Still struggling for steps to build pls help

2024-03-22 Thread Pearl d'Silva
.startContext(ServletContextHandler.java:379)
> at
> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449)
> at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916)
> at
> org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288)
> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
> at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
> at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
> at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
> at
> org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:426)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
> at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
> at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
> at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
> at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
> at org.eclipse.jetty.server.Server.start(Server.java:423)
> at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
> at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
> at org.eclipse.jetty.server.Server.doStart(Server.java:387)
> at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
> at org.apache.cloudstack.ServerDaemon.start(ServerDaemon.java:199)
> at org.apache.cloudstack.ServerDaemon.main(ServerDaemon.java:112)
> Caused by:
> org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
> named 'DefaultConfigResources' available
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:874)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1358)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:309)
> ... 57 more
> 2024-03-20 17:17:18,432 DEBUG [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
> (main:null) (logid:) Trying to obtain module [bootstrap] context.
> 2024-03-20 17:17:18,432 DEBUG [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
> (main:null) (logid:) Could not get module [bootstrap] context bean.
> 2024-03-20 17:17:18,432 DEBUG [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
> (main:null) (logid:) Trying to obtain module [system] context.
>
>
> Thank you.
>
> On Wed, Mar 20, 2024 at 4:14 PM Pearl d'Silva 
> wrote:
>
>> It would be helpful if you could paste the entire stacktrace of the
>> exception thrown.
>>
>>
>>
>> 
>> From: Wingrunt Platform 
>> Sent: March 20, 2024 5:56 PM
>> To: users@cloudstack.apache.org 
>> Subject: Re: Still struggling for steps to build pls help
>>
>> Now I am getting 503 error going by your documentation. When I tried to do
>> simple installation, I was getting the same issue. Says uri /client/
>> status
>> 503 , Service Unavailable on SERVLET : 
>>
>> In log I get
>> Trying to obtain module [bootstrap] context
>> Could not get module [bootstrap]. context bean
>> Trying to obtain module [bootstrap] context
>>
>> Just above it gives an
>> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImp;l
>> Constructor threw exception.
>>
>> My DB is up and running
>>
>> Appreciate your help
>>
>> Thank you,
>> Regards,
>> RSK ..
>>
>> On Wed, Mar 20, 2024 at 2:50 PM Wei ZHOU  wrote:
>>
>> > You can refer to another page in the same repository As Pearl mentioned.
>> >
>> >
>> >
>> https://github.com/shapeblue/hackerbook/blob/main/2-dev.md#cloudstack-packaging
>> >
>> > If you want to support VMware, please add "noredist" flag. The
>> dependecies
>> > need to be installed.
>> >
>> > -Wei
>> >
>> >
>> > On Wednesday, March 20, 2024, Wingrunt Platform 
>> > wrote:
>> >
>> > > Any help with this please ? Documentation could be much better I
>> think.
>> > > Please let me know how to go about this. OR a source compile is
>> currently
>> > > not supported ? Thank you Regards, RSK
>> > >
>> > > On Tue, Mar 19, 2024 at 3:19 PM Wingrunt Platform > >
>> > > wrote:
>> > >
>> > > > Hi Team,
>> > > > I am tasked with evaluation of cloudstack and others such as
>> > openstack. I
>> > > > was able to get through with openstack but not cloudstack. I tried
>> all
>> > > that
>> > > > is in README . My versions
>> > > > a. cloudstack 4.19
>> > > > b. Java (tried 1.8 as per readme and also Java 11 and 17)
>> > > > c. It breaks at gmaven in package cloud-engine-schma
>> > > > d. Changed it to gmavenplus as there is no support for gmaven as of
>> > now.
>> > > > e. Groovy included in the pom
>> > > > f. Maven version 3.6.3
>> > > >
>> > > > I was able to install mysql appropriate version specified in README
>> and
>> > > in
>> > > > the online apache cloudstack docs. DBs are in good condition.
>> > > > It wouldn't build successfully with
>> > > > maven -P deps (This as per online somebody has said you have moved
>> away
>> > > > from this since 4.11 ?
>> > > > also tried that in README including -DskipTests
>> > > >
>> > > > Any latest documents that can help me build. Any help appreciated.
>> > > >
>> > > > Thank you,
>> > > > Regards,
>> > > > RSK
>> > > >
>> > >
>> >
>>
>


Re: [ANNOUNCE] New PMC Chair & VP Apache CloudStack Project - Daniel Salvador

2024-03-21 Thread Pearl d'Silva
Thanks Rohit for your work.

Congratulations Daniel!

Regards,
Pearl
 



From: Nux 
Sent: March 21, 2024 4:45 PM
To: d...@cloudstack.apache.org 
Cc: users ; priv...@cloudstack.apache.org 

Subject: Re: [ANNOUNCE] New PMC Chair & VP Apache CloudStack Project - Daniel 
Salvador

Thanks Rohit for you work this year and congratulations, Daniel!!!


On 2024-03-21 13:41, Rohit Yadav wrote:
> All,
>
> It gives me great pleasure to announce that the ASF board has
> accepted CloudStack PMC resolution of Daniel Augusto Veronezi Salvador
> as
> the next PMC Chair / VP of the Apache CloudStack project.
>
> I would like to thank everyone for the support I've received over the
> past
> year.
>
> Please join me in congratulating Daniel, the new CloudStack PMC Chair /
> VP.
>
> Best Regards,
> Rohit Yadav


Re: Still struggling for steps to build pls help

2024-03-20 Thread Pearl d'Silva
It would be helpful if you could paste the entire stacktrace of the exception 
thrown.
 



From: Wingrunt Platform 
Sent: March 20, 2024 5:56 PM
To: users@cloudstack.apache.org 
Subject: Re: Still struggling for steps to build pls help

Now I am getting 503 error going by your documentation. When I tried to do
simple installation, I was getting the same issue. Says uri /client/ status
503 , Service Unavailable on SERVLET : 

In log I get
Trying to obtain module [bootstrap] context
Could not get module [bootstrap]. context bean
Trying to obtain module [bootstrap] context

Just above it gives an
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImp;l
Constructor threw exception.

My DB is up and running

Appreciate your help

Thank you,
Regards,
RSK ..

On Wed, Mar 20, 2024 at 2:50 PM Wei ZHOU  wrote:

> You can refer to another page in the same repository As Pearl mentioned.
>
>
> https://github.com/shapeblue/hackerbook/blob/main/2-dev.md#cloudstack-packaging
>
> If you want to support VMware, please add "noredist" flag. The dependecies
> need to be installed.
>
> -Wei
>
>
> On Wednesday, March 20, 2024, Wingrunt Platform 
> wrote:
>
> > Any help with this please ? Documentation could be much better I think.
> > Please let me know how to go about this. OR a source compile is currently
> > not supported ? Thank you Regards, RSK
> >
> > On Tue, Mar 19, 2024 at 3:19 PM Wingrunt Platform 
> > wrote:
> >
> > > Hi Team,
> > > I am tasked with evaluation of cloudstack and others such as
> openstack. I
> > > was able to get through with openstack but not cloudstack. I tried all
> > that
> > > is in README . My versions
> > > a. cloudstack 4.19
> > > b. Java (tried 1.8 as per readme and also Java 11 and 17)
> > > c. It breaks at gmaven in package cloud-engine-schma
> > > d. Changed it to gmavenplus as there is no support for gmaven as of
> now.
> > > e. Groovy included in the pom
> > > f. Maven version 3.6.3
> > >
> > > I was able to install mysql appropriate version specified in README and
> > in
> > > the online apache cloudstack docs. DBs are in good condition.
> > > It wouldn't build successfully with
> > > maven -P deps (This as per online somebody has said you have moved away
> > > from this since 4.11 ?
> > > also tried that in README including -DskipTests
> > >
> > > Any latest documents that can help me build. Any help appreciated.
> > >
> > > Thank you,
> > > Regards,
> > > RSK
> > >
> >
>


Re: Still struggling for steps to build pls help

2024-03-19 Thread Pearl d'Silva
Hi,

Are you trying to build CloudStack from the source code? Could you please share 
the exact error you are seeing?

If it's just a setup you want to get up and running some other resources you 
can follow are:

  *
https://github.com/shapeblue/hackerbook/blob/main/1-user.md#installing-cloudstack
  *
You could alternatively use mbx: 
https://github.com/shapeblue/mbx/blob/main/README.md to setup a lab-like 
environment for testing.




Thanks,
Pearl
 



From: Wingrunt Platform 
Sent: March 19, 2024 6:19 PM
To: users@cloudstack.apache.org 
Subject: Still struggling for steps to build pls help

Hi Team,
I am tasked with evaluation of cloudstack and others such as openstack. I
was able to get through with openstack but not cloudstack. I tried all that
is in README . My versions
a. cloudstack 4.19
b. Java (tried 1.8 as per readme and also Java 11 and 17)
c. It breaks at gmaven in package cloud-engine-schma
d. Changed it to gmavenplus as there is no support for gmaven as of now.
e. Groovy included in the pom
f. Maven version 3.6.3

I was able to install mysql appropriate version specified in README and in
the online apache cloudstack docs. DBs are in good condition.
It wouldn't build successfully with
maven -P deps (This as per online somebody has said you have moved away
from this since 4.11 ?
also tried that in README including -DskipTests

Any latest documents that can help me build. Any help appreciated.

Thank you,
Regards,
RSK


Re: online demo environment

2024-03-19 Thread Pearl d'Silva
Hi Francisco,

We have a docker image by means of which one could deploy a simulator-based 
setup - https://github.com/apache/cloudstack/tree/main/tools/docker#readme.
However, if you have sufficient resources, you could use mbx to setup a lab 
like env, steps of which are 
defined:https://github.com/shapeblue/mbx/blob/main/README.md

Regards,
Pearl
 



From: Francisco Arencibia Quesada 
Sent: March 19, 2024 11:15 AM
To: users@cloudstack.apache.org 
Subject: online demo environment

Good morning, everyone,

Do you happen to know of a website similar to this
https://qa.cloudstack.cloud/simulator/, but with enough resources to
conduct some tests? Or perhaps something like a Vagrant or a Docker Compose
file to simulate CloudStack and at least one hypervisor?

Kind regards, and thanks in advance.


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


Re: Template ISO Cannot Be Deleted

2024-03-13 Thread Pearl d'Silva

Hi Granwille,

One possibility of the template /iso being in the Migrating state could be that 
an attempt to migrate resources from one secondary store to another would have 
been made which could have possibly left the iso is an incorrect state. Since 
you mention that the iso is not present in the secondary store, you could mark 
the iso as Destroyed in the template_store_ref table.

update template_store_ref set state='Destroyed', destroyed=1 where id = 
;

Correspondingly, update the vm_template table as well:

update vm_template set removed = now() where id = ;

Hope this helps.

Regards.



 

From: Granwille Strauss
Sent: Tuesday, March 12, 2024 11:29 AM
To: users@cloudstack.apache.org
Subject: Template ISO Cannot Be Deleted


Hi Guys

I am trying to delete an ISO from Cloudstack UI. But it keep ending with error 
"Failed to update state" when I try to delete it from my zone via UI. Here's a 
screenshot: https://tinyurl.com/282udj4s

In the database, when I run `select * from template_view\G;` I see two entries 
of the same template. Entry with  same ID 238. One shows the state is "Ready" 
but the other State is "Migrating". Both template_state show as "Active" and I 
can confirm both entries in the DB have the same uuid. However, take note in 
the UI, from the screenshot, you see it says "Not Ready".

The template ISO file does not seem to exist on my secondary storage so this is 
some database/UI glitch. What's the best way to have this removed/solved? 
Because each time I restart SSVM, I get failed to sync template error for this 
ISO that no longer exists.

I appreciate any assistance, thank you.

--
Regards / Groete

Granwille Strauss  // Senior Systems Admin

e: granwi...@namhost.com
m: +264 81 323 1260
w: www.namhost.com




Namhost Internet Services (Pty) Ltd,

24 Black Eagle Rd, Hermanus, 7210, RSA


The content of this message is confidential. If you have received it by 
mistake, please inform us by email reply and then delete the message. It is 
forbidden to copy, forward, or in any way reveal the contents of this message 
to anyone without our explicit consent. The integrity and security of this 
email cannot be guaranteed over the Internet. Therefore, the sender will not be 
held liable for any damage caused by the message. For our full privacy policy 
and disclaimers, please go to https://www.namhost.com/privacy-policy


Re: Duplicate entry

2024-03-12 Thread Pearl d'Silva
Hi Francisco,

You can look for the specific CPVM entry in the host table, using:

select * from cloud.host where guid = "Proxy.14416-ConsoleProxyResource'"\G

if the specific CPVM is no longer running/removed, you can set the guid to null:

update cloud.host set guid = null where id = ;

Regards.

 



From: Francisco Arencibia Quesada 
Sent: March 12, 2024 5:50 AM
To: users@cloudstack.apache.org 
Subject: Duplicate entry

Good morning guys,

I have this issue, and I don't know how to look for it in the database.
Any suggestions?

Thank you all.




Caused by: java.sql.SQLIntegrityConstraintViolationException:
Duplicate entry 'Proxy.14416-ConsoleProxyResource' for key 'guid'

at
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117)
at
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)

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


Re: new committer: Vishesh Jindal (vishesh)

2024-02-26 Thread Pearl d'Silva
Congratulations Vishesh.


 



From: Wei ZHOU 
Sent: February 26, 2024 9:14 AM
To: users@cloudstack.apache.org 
Cc: dev 
Subject: Re: new committer: Vishesh Jindal (vishesh)

Congratulations Vishesh!



On Monday, February 26, 2024, Daan Hoogland  wrote:

> users and devs,
>
> The Project Management Committee (PMC) for Apache CloudStack
> has invited Vishesh Jindal to become a committer and we are pleased
> to announce that they have accepted.
>
> Being a committer enables easier contribution to the
> project since there is no need to go via the patch
> submission process. This should enable better productivity.
>
> Please join me in congratulating Vishesh.
>
> --
> on behalf of the PMC, Daan
>


Re: Unable to start cloudstack.management server after initial installation successfully completed.

2024-02-10 Thread Pearl d'Silva
Hi Kapil,

Can you please check if your database server is running - i.e., you've done all 
the steps mentioned 
here:https://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html#install-the-database-on-the-management-server-node

Thanks,
Pearl
 



From: Kapil Bhuskute 
Sent: February 10, 2024 11:36 AM
To: users@cloudstack.apache.org 
Subject: Unable to start cloudstack.management server after initial 
installation successfully completed.

Hello,
I have successfully followed all the management server installation steps for 
the first time. I see the cloudstack.management service is also showing started 
and active, but with some errors causing the UI to give below 503 error. Can 
someone please help?

● cloudstack-management.service - CloudStack Management Server
   Loaded: loaded (/usr/lib/systemd/system/cloudstack-management.service; 
enabled; vendor preset: disabled)
   Active: active (running) since Sat 2024-02-10 15:55:09 UTC; 11min ago
Main PID: 13630 (java)
Tasks: 102 (limit: 3355442)
   Memory: 870.5M
   CGroup: /system.slice/cloudstack-management.service
   └─13630 /usr/bin/java 
-Djava.security.properties=/etc/cloudstack/management/java.security.ciphers 
-Djava.awt.headless=true -Dcom.sun.management.jmxremote=fa>

Feb 10 15:55:23  java[13630]: INFO  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module 
context [nested-cloudstack>
Feb 10 15:55:23  java[13630]: WARN  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start 
module [nested-cloudstack>
Feb 10 15:55:23  java[13630]: INFO  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module 
context [redfish] from URL>
Feb 10 15:55:23  java[13630]: INFO  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module 
context [redfish] from URL>
Feb 10 15:55:23  java[13630]: INFO  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module 
context [redfish] from URL>
Feb 10 15:55:23  java[13630]: INFO  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module 
context [redfish] from URL>
Feb 10 15:55:23  java[13630]: INFO  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module 
context [redfish] from URL>
Feb 10 15:55:23  java[13630]: INFO  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module 
context [redfish] from URL>
Feb 10 15:55:23  java[13630]: INFO  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module 
context [redfish] from URL>
Feb 10 15:55:23  java[13630]: WARN  
[o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start 
module [redfish] due to: >
~

The management logs are showing below messages:
[root@qcs01 ~]# grep -i -E 'error|exception' 
/var/log/cloudstack/management/management-server.log
2024-02-10 15:55:15,811 INFO  [c.c.u.d.T.Transaction] (main:null) (logid:) 
Using the following URI to connect to cloud database 
[jdbc:mysql://localhost:3306/cloud?autoReconnect=true=517=true=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'=UTC].
2024-02-10 15:55:19,952 ERROR [c.c.u.d.Merovingian2] (main:null) (logid:) 
Unable to get a new db connection
java.sql.SQLNonTransientConnectionException: Could not create connection to 
database server. Attempted reconnect 3 times. Giving up.
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
at 
com.cloud.utils.db.TransactionLegacy.getStandaloneConnectionWithException(TransactionLegacy.java:212)
Caused by: com.mysql.cj.exceptions.SSLParamsException: Cannot open file:NONE 
[NONE (No such file or directory)]
Caused by: java.io.FileNotFoundException: NONE (No such file or directory)
2024-02-10 15:55:19,958 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] 
(main:null) (logid:) Failed to start module [system] due to: [Error creating 
bean with name 'lockControllerListener' defined in URL 
[jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.0.0.jar!/META-INF/cloudstack/system/spring-server-system-context.xml]:
 Bean instantiation via constructor failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[com.cloud.server.LockControllerListener]: Constructor threw exception; nested 
exception is com.cloud.utils.exception.CloudRuntimeException: Unable to 
initialize a connection to the database for locking purposes].
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 

Re: [VOTE] Apache CloudStack 4.19.0.0 RC4

2024-01-31 Thread Pearl d'Silva
+1

Performed basic operations on Advanced zones and KVM hosts:

  1.  VM deployment on isolated networks
  2.  VM deployment on VPC
  3.  Creation of Firewall, port forward rules, LB rules
  4.  Migration of VM
  5.  Deployment of CKS cluster

Looks good to me.

Regards,
Pearl



 



From: Vladimir Petrov 
Sent: January 31, 2024 6:27 PM
To: users ; d...@cloudstack.apache.org 

Cc: PMC 
Subject: Re: [VOTE] Apache CloudStack 4.19.0.0 RC4

Hi all,

+1 based on some upgrade and manual smoke testing.

Best wishes,
Vladi




From: Abhishek Kumar 
Sent: 29 January 2024 08:58
To: users ; d...@cloudstack.apache.org 

Cc: PMC 
Subject: [VOTE] Apache CloudStack 4.19.0.0 RC4

Hi All,

I've created a 4.19.0.0 release (RC4), with the following artifacts up for
a vote:

Git Branch and Commit SH:
https://github.com/apache/cloudstack/tree/4.19.0.0-RC20240129T1021
Commit: 2746225b999612f156e421199e34ef8de98a3664

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

PGP release keys (signed using 65518106473A09D7AF26B384A70BD2EAA74E2866):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

For testing purposes, I have uploaded the different distro packages to:
http://download.cloudstack.org/testing/4.19.0.0-RC4/

Since 4.16 the system VM template registration is no longer mandatory
before upgrading, however, it can be downloaded from here if needed:
https://download.cloudstack.org/systemvm/4.19/

The vote will be open for 72 hours.

For sanity in tallying the vote, can PMC members please be sure to indicate
"(binding)" with their vote?

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Regards,
Abhishek


Re: Unsubscribe?

2024-01-22 Thread Pearl d'Silva
Hi,

To unsubscribe from this list specifically drop an email 
to:users-unsubscr...@cloudstack.apache.org

You can find further details 
here:https://cloudstack.apache.org/mailing-lists.html

Regards.



From: Practical XenServer 
Sent: January 22, 2024 4:38 PM
To: users@cloudstack.apache.org 
Subject: Unsubscribe?

How does one go about unsubscribing from this list?

TIA,
Eric Pretorious
Reno, Nevada

 



Re: new PMC member Harikrishna Patnala

2024-01-16 Thread Pearl d'Silva
Congratulations Hari!!

Regards,
Pearl

From: Vishesh Jindal 
Sent: January 16, 2024 5:08 AM
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Subject: Re: new PMC member Harikrishna Patnala

Congrats Hari!

From: Harikrishna Patnala 
Sent: Tuesday, January 16, 2024 2:55 PM
To: users@cloudstack.apache.org 
Cc: dev 
Subject: Re: new PMC member Harikrishna Patnala

Thank you everyone.

Regards,
Harikrishna


From: Wei ZHOU 
Sent: Tuesday, January 16, 2024 2:16:30 PM
To: users@cloudstack.apache.org 
Cc: dev 
Subject: Re: new PMC member Harikrishna Patnala

Congratulations Hari !

-Wei








 

On Mon, 15 Jan 2024 at 10:25, Daan Hoogland  wrote:

> users and dev,
>
> The PMC have invited Harikrishna to join their ranks and he has
> gracefully accepted. Please join me in congratulating Hari.
>
> --
> Daan
>


Re: Urgent - Cannot manage shared IP addresses in advanced zone

2024-01-11 Thread Pearl d'Silva
Hi,

Can you go to Zone -> Physical Network -> Traffic Types -> Public and check if 
the IP ranges added are visible there.

Thanks,
Pearl

From: Wei ZHOU 
Sent: January 11, 2024 10:53 AM
To: users@cloudstack.apache.org 
Subject: Re: Urgent - Cannot manage shared IP addresses in advanced zone

Do you use old or new UI ?

Do you use an advanced zone with or without security groups ?

On Thu, 11 Jan 2024 at 16:40, Fariborz Navidan 
wrote:

> Hello Friends,
>
> I have a very urgent problem with adding new shared IP address range (CIDR)
> in a advanced zone. We are running 4.15.0.0 and I had configured multiple
> shared IP address CIDRs in previous version 4.14. In 4.14, we could manage
> IP ranges by going to Zone -> Physical Network -> Guest -> IP ranges.
> However, in 4.15.0.0 I cannot find anywhere to manage my shared IP
> addresses. Previously added shared IP ranges are available to guest VMs but
> I cannot manage them anywhere in  the UI. I've tried going to
> Infrastructure -> Zone -> Physical Network -> Traffic Types -> Guest but
> could noty find existing IP ranges as well as Add IP range.
>
> Please advise me as soon as possible.
> Thanks in advance.
>
> Regards.
>

 



Re: New committer: Alexandre Mattioli

2024-01-10 Thread Pearl d'Silva
Congratulations Alex!

Regards,
Pearl

From: Nux 
Sent: January 10, 2024 5:27 PM
To: Dev ; Users 
Subject: New committer: Alexandre Mattioli

All,

The Project Management Committee (PMC) for Apache CloudStack
has invited Alexandre Mattioli to become a committer and we are pleased
to announce that they have accepted.

Alex has been instrumental in many features present today in Cloudstack,
with a focus on networking and VMWare:
- IPv6 static routing
- Edge Zones
- Autoscaling with VR
- VNF appliances
- VMWare NSX support
- Tungsten Fabric / OpenSDN
- Backup & recovery framework
- VLAN trunking and security policies in ESX
and so on.


Please join me in congratulating Alex!


 



Re: Template f2d39f0f-dc31-47a3-88a5-e02f0b892bcb failed to upload. Error details: Template f2d39f0f-dc31-47a3-88a5-e02f0b892bcb failed to upload as SSVM is either destroyed or SSVM agent not in 'Up'

2024-01-05 Thread Pearl d'Silva
Hi Brian,

Is it an SSL enabled environment? If not, can you prior uploading the iso from 
local, try placing https:// on the URL tab of the browser 
and accept the risk and then attempt to upload the iso. Let us know if it 
uploads the iso successfully then?

Regards,

From: Brian Fossmeyer 
Sent: January 5, 2024 3:03 PM
To: users@cloudstack.apache.org 
Subject: Re: Template f2d39f0f-dc31-47a3-88a5-e02f0b892bcb failed to upload. 
Error details: Template f2d39f0f-dc31-47a3-88a5-e02f0b892bcb failed to upload 
as SSVM is either destroyed or SSVM agent not in 'Up' state

Also, running the ssvm-check.sh shows that all is well with the SSVM

root@s-230-VM:/usr/local/cloud/systemvm# ./ssvm-check.sh

First DNS server is  10.30.50.1
PING 10.30.50.1 (10.30.50.1): 56 data bytes
64 bytes from 10.30.50.1: icmp_seq=0 ttl=254 time=0.344 ms
64 bytes from 10.30.50.1: icmp_seq=1 ttl=254 time=0.539 ms
--- 10.30.50.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.344/0.442/0.539/0.098 ms
Good: Can ping DNS server

Good: DNS resolves cloudstack.apache.org

nfs is currently mounted
Mount point is /mnt/SecStorage/c7d010a7-ec39-344f-afab-f7bff31a309f
Good: Can write to mount point

Management server is 10.50.11.10,10.50.11.20. Checking connectivity.
Good: Can connect to management server 10.50.11.10 port 8250
Good: Can connect to management server 10.50.11.20 port 8250

Good: Java process is running

Tests Complete. Look for ERROR or WARNING above.


Thanks,

Brian

From: Brian Fossmeyer 
Date: Friday, January 5, 2024 at 11:33 AM
To: users@cloudstack.apache.org 
Subject: Re: Template f2d39f0f-dc31-47a3-88a5-e02f0b892bcb failed to upload. 
Error details: Template f2d39f0f-dc31-47a3-88a5-e02f0b892bcb failed to upload 
as SSVM is either destroyed or SSVM agent not in 'Up' state
Also, as you can see from the SSVM, the qcow2 file is there, see the bottom.


root@s-230-VM:/var/log# tail -f cloud.log

2024-01-05 16:12:45,395 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-3:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:12:55,755 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-2:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:13:45,639 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-4:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:13:56,099 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-5:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:14:45,879 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-1:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:14:56,345 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-3:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:15:46,167 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-2:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:15:56,611 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-4:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:16:46,363 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-5:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:16:56,951 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-1:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:17:46,610 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-3:null) Determined host 10.22.1.10 corresponds to IP 
10.22.1.10

2024-01-05 16:17:46,928 INFO  [handler.logging.LoggingHandler] 
(nioEventLoopGroup-2-1:null) [id: 0xc2744c38, L:/0.0.0.0:8210] READ: [id: 
0x1bc34b72, L:/127.0.0.1:8210 - R:/127.0.0.1:33898]

2024-01-05 16:17:46,930 INFO  [handler.logging.LoggingHandler] 
(nioEventLoopGroup-2-1:null) [id: 0xc2744c38, L:/0.0.0.0:8210] READ COMPLETE

2024-01-05 16:17:46,936 INFO  [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-7:null) HEADER: SIGNATURE=xRbt2tIf27eRHe/H9MqxowS9QMI=

2024-01-05 16:17:46,937 INFO  [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-7:null) HEADER: 

Re: Cloudstack Error: Fail to enable Virtual Router services.

2024-01-05 Thread Pearl d'Silva
Hi Palash,

Can you try using cloudmonkey to first enable the virtualrouterelement (if it 
is currently disabled) before enabling the network service provider via UI. You 
can do it using:

cloudmonkey configure virtualrouterelement id= 
enabled=true

the virtual router element id can be found using the network service provider 
id on the UI (where you are attempting to enable the provider):
cloudmonkey list virtualrouterelement nspid=

Once the router element has been enabled, the network service provider would 
get enabled successfully.

Regards,
Pearl





From: Palash Biswas 
Sent: January 5, 2024 5:45 AM
To: users@cloudstack.apache.org 
Subject: Cloudstack Error: Fail to enable Virtual Router services.

Hi,

As current we able up Cloudstack with SystemVM (Console Proxy and SSVM), we are 
trying create isolated network and found out the network offering is empty. 
Hence, we go to our Cloudstack Zone -> Physical Network to do verification 
services and found out virtual router is not up. When we try manual start 
enable the services but it show fail with messages “(VirtualRouter) Provider is 
not ready, cannot Enable the provider, please configure the provider first”.

 Do anyone can kindly advise where the something or area that we can further 
troubleshoot look into it.

Attach a screenshot and management log.

Regards
Palash

[cid:18cd9389fb41348217f1]
[cid:18cd938e11a2548605c2]


 



Re: Migrate from native KVM to cloudstack

2024-01-03 Thread Pearl d'Silva
Hi Jimmy,

In ACS 4.19 (soon to release), we now have support to import VMs from KVM to 
CloudStack, which can make things a lot easier to migrate VMs to CloudStack 
from KVM. With this feature, one can import a qcow2 image from either local or 
shared storage or also import a libvirt domain from a KVM host.

Regards,
Pearl

From: Jimmy Huybrechts 
Sent: January 3, 2024 11:47 AM
To: users@cloudstack.apache.org 
Subject: Migrate from native KVM to cloudstack

What would be the easiest way to migrate a VM from native KVM with libvirt and 
virsh to Cloudstack with KVM?
Is this still shutdown vm, copy the qcow2 to disk on own pc, upload it to ACS 
as template, deploy vm from template, start it, once done remove the template?

--
Jimmy

 



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*

 



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: [VOTE] Adopt Github Discusssions as Users Forum

2023-12-08 Thread Pearl d'Silva
+1

Regards,
Pearl Dsilva


From: Rohit Yadav 
Sent: December 4, 2023 3:01 AM
To: d...@cloudstack.apache.org ; 
priv...@cloudstack.apache.org 
Cc: users@cloudstack.apache.org 
Subject: [VOTE] Adopt Github Discusssions as Users Forum

All,

Following the discussion thread on adopting Github Discussions as users forum 
[1], I put the following proposal for a vote:


  1.  Adopt and use Github Discussions as user forums.
  2.  The Github Discussions feature is tied with the 
users@cloudstack.apache.org mailing list (PR: 
https://github.com/apache/cloudstack/pull/8274).
  3.  Any project governance and decision-making thread such as voting, 
releases etc. should continue to use the project mailing lists.

Vote will be open for 120 hours (by Friday, 8th Dec).

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

[1] https://lists.apache.org/thread/hs0295hw9rnmhoh9l2qo5hc4b62hhvk8


Regards.




 



Re: different os in cluster

2023-12-04 Thread Pearl d'Silva
Hi Piotr,

Hosts within a cluster are expected to be homogenous: 
https://docs.cloudstack.apache.org/en/latest/conceptsandterminology/concepts.html?highlight=homogenous#cloud-infrastructure-overview
You could probably create another Cluster to add the ubuntu based hosts.

Regards,
Pearl

From: Vishesh Jindal 
Sent: December 4, 2023 10:57 AM
To: users@cloudstack.apache.org 
Subject: Re: different os in cluster

Hi Piotr,

I am not sure about the reason but CloudStack doesn't allow adding host with a 
different OS in a cluster.

Regards,
Vishesh



From: Piotr Pisz 
Sent: Monday, December 4, 2023 8:20 PM
To: users@cloudstack.apache.org 
Subject: different os in cluster

Hi,

Is there a limitation within the cluster that does not allow adding hosts with 
different OS?
We are in the process of replacing Redhat systems with Ubuntu and I have the 
following message:

Can't add host: x.x.x.x with hostOS, "Ubuntu"into a cluster, in which there are 
"CentOS Linux" hosts added.

Regards,
Piotr





 



Re: new PMC member: Abhishek Kumar

2023-11-23 Thread Pearl d'Silva
Congratulations Abhishek!!!
Well deserved!

Regards,
Pearl


From: Harikrishna Patnala 
Sent: November 23, 2023 4:01 AM
To: users@cloudstack.apache.org ; dev 

Subject: Re: new PMC member: Abhishek Kumar

Congratulations Abhishek, well deserved.

Regards,
Harikrishna



From: Daan Hoogland 
Sent: Thursday, November 23, 2023 9:41:52 AM
To: users ; dev 
Subject: new PMC member: Abhishek Kumar

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





 



Re: Service offerings for root domain visible by other domains

2023-11-20 Thread Pearl d'Silva
Hi Jimmy,

An offering that is set to be accessible by ROOT domain, is available to its 
children too. i.e., since Domain A is a child domain of ROOT, the offering - 
Admin Test that was created for ROOT domain, would be accessible to Domain A as 
well. Afaik, there currently is no way to restrict it only to the ROOT domain  
(or only to a specific domain). But to have offerings accessible only to a 
specific child domain(of ROOT) and its children, specify the child domain id.

Regards,
Pearl


From: Jimmy Huybrechts 
Sent: November 20, 2023 10:25 AM
To: users@cloudstack.apache.org 
Subject: Service offerings for root domain visible by other domains

Hi,

I’m trying to create some offerings now, according to the documentation I can 
set domains for which it should be visible, so I created one called “Admin 
Test” and assigned only ROOT to the offering, now logged in with my test 
account from domain A which is a domain admin for domain A (no access to root 
domain).

Now when I try to create an instance on my domain admin in domain A I can still 
see and even use Admin Test which should not be possible to even see for that 
domain admin.

Is there any option I should change for that? As to use that for customers it 
would be helpful if they can only see what they should see in offerings.

--
Jimmy

 



Re: Hiding disabled offerings

2023-11-07 Thread Pearl d'Silva
Hi Marty,

Disabling offerings doesn't really prevent them from being visible in the 
sub-domains. You could update the offering access and limit it to a specific 
domain or sub-domain.

Regards,

From: ma...@gonsource.com 
Sent: November 7, 2023 2:58 AM
To: users@cloudstack.apache.org 
Subject: Hiding disabled offerings

I have users who can see disabled service offerings in their Service
offerings screen. I disabled these at the root level, and the users are part
of a sub-domain, so they do not have admin rights.



Is there a permission I have set somewhere to cause this?



Marty


 



Re: Stuck in CentOS 5.5(64-bit) no GUI (KVM)

2023-10-30 Thread Pearl d'Silva
Hi Ricardo,

Has the systemvm template gotten downloaded/ installed properly, and are the 
SystemVMs - specifically the SSVM up and running? Deployment of VR shouldn't be 
affected by the state of CentOS image. Is there any exception thrown during the 
deployment of the router?

Regards

From: Ricardo Pertuz 
Sent: October 30, 2023 11:40 AM
To: users@cloudstack.apache.org 
Subject: Stuck in CentOS 5.5(64-bit) no GUI (KVM)

Hi team,

My new acs 4.18.1 installation got stuck downloading the image CentOS 
5.5(64-bit) no GUI (KVM) (NOT_DOWNLOADED) and now the VRs are not deploying, 
how can I resume or restart this images installation? Can I delete it?

Regards,


Ricardo Pertuz



 



Re: Project Limits

2023-09-29 Thread Pearl d'Silva
Hi Marty,

If you have a project in a domain with resource limit set greater that what the 
domain offers, then the resource limits of the domain apply within a project; 
i.e., taking your example, since the domain has a CPU limit of 20, despite the 
project having 40 CPUs as the upper limit, it will prevent creation of compute 
nodes once the 20 CPU mark (of the domain) is exceeded.

Regards,
Pearl

From: ma...@gonsource.com 
Sent: September 29, 2023 4:40 PM
To: users@cloudstack.apache.org 
Subject: Project Limits

Hello, community,



Quick question and clarification on my side. For projects, I know they have
their own resource limit settings. But is this limit technically set by the
domain? So, for example, if the domain has a limit of 20 CPUs, and the
project, in that domain, has 40 CPUs as a limit, will it stop the creation
of a compute node in the project if they hit the 20 limit or the 40 limit?



Thank you for the help.



Marty


 



Re: cloud stack 4.18.1 Kubernetes cluster goes into an error state

2023-09-21 Thread Pearl d'Silva
Hi,

Can you try logging in to the control and worker node(s) and check if 
deploy-kube-system service ran successfully. If not, please share any error 
logs you see in either /var/log/cloud-init-output.log

You can ssh into the control node using:
ssh -i  -p  cloud@

You can ssh into the worker nodes using the same command as above but use port 
numbers 2223 onward.

If you associated the k8s cluster with an ssh key use the corresponding private 
key, else use the ssh key of the management server found at ~cloud/.ssh/id_rsa.
To check the service ran properly first change to root user : sudo -i
Then run: systemctl status deploy-kube-system


Thanks,
Pearl




From: Stanley Burkee 
Sent: September 21, 2023 8:11 AM
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Subject: cloud stack 4.18.1 Kubernetes cluster goes into an error state

Hi Guys,

We are experiencing an issue with the Kubernetes cluster. Whenever a new
Kubernetes cluster is provisioned, it goes into an error state giving an
error that the desired number of nodes are in the ready state. But I can
see both control & worker nodes in a running state.

Screenshot links are given below for your reference.
https://drive.google.com/file/d/1QfRwl7W1rYrRlLDdFv7p14OG4AW4qEEj/view?usp=sharing
https://drive.google.com/file/d/1R6GP7qotBAV_X551aQVBh1ipCCThOahW/view?usp=sharing

I am using Cloudstack 4.18.1 KVM (Rocky Linux 8). And i have tested the
Kubernetes cluster with the following ISOs and I am getting the same error.
1.23.3
1.26.6
1.27.3
1.24.0

Thanks a lot in advance guys.

Best regards

Stanley Burkee

 



Re: Virtual Router Custom Image

2023-09-05 Thread Pearl d'Silva
Hi Francisco,

Since you are using  XenServer/XCP-ng hypervisor, can you try replacing the 
cloud-scripts.tgz file present at /opt/xensource/packages/resources/ on the 
hosts. And then either re-create the router / live-patch it.

Regards,

From: Francisco Arencibia Quesada 
Sent: September 5, 2023 1:04 PM
To: users@cloudstack.apache.org 
Subject: Re: Virtual Router Custom Image

Yes I did, I even destroyed the Virtual  router and recreate it ..


On Tue, 5 Sept 2023, 18:53 Wei ZHOU,  wrote:

> Did you restart the network with cleanup or stop/start the virtual router ?
>
> -Wei
>
> On Tue, 5 Sept 2023 at 17:26, Francisco Arencibia Quesada <
> arencibia.franci...@gmail.com> wrote:
>
> > Thanks for these amazing tips Wei,
> > I truly appreciate it.
> > I tried changing this /usr/share/cloudstack-common/vms/cloud-scripts.tgz
> > and
> > it didn't work, I have XCP-ng as  hypervisor.
> > Do you have any suggestions to make it work?
> >
> > Thanks a lot :)
> >
> > On Tue, Sep 5, 2023 at 11:55 AM Wei ZHOU  wrote:
> >
> > > Hi,
> > >
> > > Yes, it is possible, you can follow the instruction on
> > > https://github.com/apache/cloudstack/tree/main/tools/appliance
> > >
> > > If you use cloudstack 4.17 and above, an alternative way is
> > > replacing /usr/share/cloudstack-common/vms/cloud-scripts.tgz on the
> > > management servers and kvm hosts (if you use kvm).
> > >
> > > -Wei
> > >
> > >
> > > On Tue, 5 Sept 2023 at 11:51, Francisco Arencibia Quesada <
> > > arencibia.franci...@gmail.com> wrote:
> > >
> > > > Good morning all,
> > > >
> > > > We have to change /opt/cloud/bin/configure.py in Virtual Routers to
> > allow
> > > > vpn site2site behind a NAT. We are going to upgrade cloudstack and
> all
> > > > Virtual Routers, and we don't want to lose those changes. My question
> > is:
> > > > is it possible to create a custom template for the virtual router?
> Has
> > > > anyone faced something like this?
> > > >
> > > > Thanks to all.
> > > >
> > > > --
> > > > *Francisco Arencibia Quesada.*
> > > > *DevOps Engineer*
> > > >
> > >
> >
> >
> > --
> > *Francisco Arencibia Quesada.*
> > *DevOps Engineer*
> >
>

 



Re: set display_name as hostname to instances

2023-08-09 Thread Pearl d'Silva
Display name is solely for UI purposes. In order to set the host name of a VM 
to a desired value, you'll need to pass the name parameter(same as that of the 
displayname). If the name parameter is not passed, the hostname would default 
to VM-.

Regards,
Pearl

From: cristian.c@istream.today 
Sent: August 4, 2023 11:35 AM
To: users@cloudstack.apache.org 
Subject: RE: set display_name as hostname to instances

The metadata does not show the display name for local-hostname,  for both
parameters I see the name value of the VM, the deploy was made via API and I
provided only the display_name, where the display name is "displayname01".

As you see here, public and local have the same value, from vm name.

{"vm_ip_address":"51.89.84.82","vm_metadata":[["userdata","user-data",null],
["metadata","service-offering","S-2"],["metadata","availability-zone","DE-00
1"],["metadata","local-ipv4","51.89.xx.xx"],["metadata","local-hostname","VM
-c8c113e0-3277-425e-882b-44937413fd4a"],["metadata","public-ipv4","51.89.xx.
xx"],["metadata","public-hostname","VM-c8c113e0-3277-425e-882b-44937413fd4a"
],["metadata","instance-id","c8c113e0-3277-425e-882b-44937413fd4a"],["metada
ta","vm-id","c8c113e0-3277-425e-882b-44937413fd4a"]


Thank you,
Cristian

 


-Original Message-
From: Pearl d'Silva 
Sent: Friday, August 4, 2023 6:02 PM
To: users@cloudstack.apache.org
Subject: Re: set display_name as hostname to instances

If you are using the UI to create the VM, set the name of the VM - this
field sets the hostname and the display name. So you should see this value
in the local-hostname file in the VR metadata folder.
If you are using the API, explicitly set the name field.

Let us know if you see the desired name in the metadata after setting the
name parameter.

Thanks,
____
From: cristian.c@istream.today 
Sent: August 4, 2023 10:22 AM
To: users@cloudstack.apache.org 
Subject: RE: set display_name as hostname to instances

Hi Pearl,

   I will test this when I upgrade to 4.18.x I'm waiting for 4.18.1.

Thank you,
Cristian




-Original Message-
From: Pearl d'Silva 
Sent: Friday, August 4, 2023 4:24 PM
To: users@cloudstack.apache.org
Subject: Re: set display_name as hostname to instances

Hi Cristian,

In addition, in 4.18 a new feature - managed User data was introduced. This
can be used to register userdata with custom parameters - here, the
hostname. And when deploying the VM, the custom parameters could be set to
the desired values. You could refer to
https://www.shapeblue.com/cloudstack-managed-user-data/ for more
information.

Thanks,
Pearl

From: Rohit Yadav 
Sent: August 4, 2023 9:12 AM
To: users@cloudstack.apache.org 
Subject: Re: set display_name as hostname to instances

Hi Cristian,

I'm not sure, but could you try user data (cloud-init data) when you deploy
a VM. In there, you'll have flexibility to set the hostname of the VM to
whatever you'd like.


Regards.


From: cristian.c@istream.today 
Sent: Thursday, August 3, 2023 20:28
To: users@cloudstack.apache.org 
Subject: set display_name as hostname to instances

Hello,



Is there a method to set as hostnames to the instances the display name? I
did not see the display name in the metadata.



I am asking this because the display name allows any format, such as
fqdn.tld, and it does not matter if it's a duplicate or not.

Thank you,

Cristian











Re: set display_name as hostname to instances

2023-08-04 Thread Pearl d'Silva
If you are using the UI to create the VM, set the name of the VM - this field 
sets the hostname and the display name. So you should see this value in the 
local-hostname file in the VR metadata folder.
If you are using the API, explicitly set the name field.

Let us know if you see the desired name in the metadata after setting the name 
parameter.

Thanks,

From: cristian.c@istream.today 
Sent: August 4, 2023 10:22 AM
To: users@cloudstack.apache.org 
Subject: RE: set display_name as hostname to instances

Hi Pearl,

   I will test this when I upgrade to 4.18.x I'm waiting for 4.18.1.

Thank you,
Cristian

 


-Original Message-
From: Pearl d'Silva 
Sent: Friday, August 4, 2023 4:24 PM
To: users@cloudstack.apache.org
Subject: Re: set display_name as hostname to instances

Hi Cristian,

In addition, in 4.18 a new feature - managed User data was introduced. This
can be used to register userdata with custom parameters - here, the
hostname. And when deploying the VM, the custom parameters could be set to
the desired values. You could refer to
https://www.shapeblue.com/cloudstack-managed-user-data/ for more
information.

Thanks,
Pearl

From: Rohit Yadav 
Sent: August 4, 2023 9:12 AM
To: users@cloudstack.apache.org 
Subject: Re: set display_name as hostname to instances

Hi Cristian,

I'm not sure, but could you try user data (cloud-init data) when you deploy
a VM. In there, you'll have flexibility to set the hostname of the VM to
whatever you'd like.


Regards.


From: cristian.c@istream.today 
Sent: Thursday, August 3, 2023 20:28
To: users@cloudstack.apache.org 
Subject: set display_name as hostname to instances

Hello,



Is there a method to set as hostnames to the instances the display name? I
did not see the display name in the metadata.



I am asking this because the display name allows any format, such as
fqdn.tld, and it does not matter if it's a duplicate or not.

Thank you,

Cristian










Re: set display_name as hostname to instances

2023-08-04 Thread Pearl d'Silva
Hi Cristian,

In addition, in 4.18 a new feature - managed User data was introduced. This can 
be used to register userdata with custom parameters - here, the hostname. And 
when deploying the VM, the custom parameters could be set to the desired 
values. You could refer to 
https://www.shapeblue.com/cloudstack-managed-user-data/ for more information.

Thanks,
Pearl

From: Rohit Yadav 
Sent: August 4, 2023 9:12 AM
To: users@cloudstack.apache.org 
Subject: Re: set display_name as hostname to instances

Hi Cristian,

I'm not sure, but could you try user data (cloud-init data) when you deploy a 
VM. In there, you'll have flexibility to set the hostname of the VM to whatever 
you'd like.


Regards.


From: cristian.c@istream.today 
Sent: Thursday, August 3, 2023 20:28
To: users@cloudstack.apache.org 
Subject: set display_name as hostname to instances

Hello,



Is there a method to set as hostnames to the instances the display name? I
did not see the display name in the metadata.



I am asking this because the display name allows any format, such as
fqdn.tld, and it does not matter if it's a duplicate or not.

Thank you,

Cristian





 



Re: Cloudstack 4.18.0.0 - minreq.sysvmtemplate.version

2023-07-17 Thread Pearl D'Silva
Hi Wilken,

The `minreq.sysvmtemplate.version` has relevance in an upgraded
environment. While it does seem odd that for a freshly deployed setup of
v4.18.0 the value is set to 4.10.0, it does not have any issues or
side-effects because, when checking for the router version (as seen in
https://github.com/apache/cloudstack/blob/main/server/src/main/java/com/cloud/network/router/NetworkHelperImpl.java#L285-L288
) , we validate if the current router version (which in your case is
4.18.0) is greater than or equal 4.10.0 - which is true, and it will
proceed normally.

Regards,
Pearl



On Mon, Jul 17, 2023 at 5:55 AM W. Verleger - proIO GmbH <
w.verle...@proio.com> wrote:

> Hi,
>
> What does the global setting "minreq.sysvmtemplate.version" mean?
> In a new performed Cloudstack 4.18 installation it is set to 4.10.0.
>
>
> Best Regards,
>
> Wilken
>
>
> - proIO GmbH -
> Geschäftsführer: Swen Brüseke
> Sitz der Gesellschaft: Frankfurt am Main
>
> USt-IdNr. DE 267 075 918
> Registergericht: Frankfurt am Main - HRB 86239
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
> nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify
> the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material in
> this e-mail is strictly forbidden.
>
>

-- 
Pearl Dsilva


Re: Migration of Secondary Storage fails

2023-05-24 Thread Pearl D'Silva
Hi Mevludin,

Is there a migration in-progress for the secondary store in question. If
so, it could lead to templates (template_store_ref), volumes
(volume_store_ref) and snapshots (snapshot_store_ref) being in the
Migrating state.Templates (or any other data object) in the Allocated state
shouldn't be an issue. But for those in Migrating state, one could either
wait for the operation to complete / timeout, or set the respective records
(those that are in Migrating state) to Ready state. However, please verify
these steps on a test environment before proceeding to perform them on a
production system.

Thanks,
Pearl

On Wed, May 24, 2023 at 11:22 AM Mevludin Blazevic 
wrote:

> Hi all,
>
> while trying to migrate from one secondary storage to another, I get the
> following error: "Complete migration failed as there are data objects
> which are not Ready - i.e, they may be in Migrating, creating, copying,
> etc. states"
>
> On the UI, there are no Templates or ISOs which are not ready or in
> error state, I can only see in "template_store_ref" that there are some
> rows which consists of the states "allocated, migrating" etc. but most
> of them are linked to the same template_id which is ready.
>
> How to solve the issue? Is is safe to delete all table rows with the
> corresponding template states? Which tables I need to edit?
>
> Best,
> Mevludin
>


-- 
Pearl Dsilva


Re: CPVM VNC clipboard character mapping

2022-07-27 Thread Pearl d'Silva
Hi Gary,

Can you please check the specific VM's settings - specifically the keyboard 
setting. If it is pointing to 'us' change it to 'uk'. This would however 
require you to first shutdown the VM.

Regards,
Pearl

From: Gary Dixon 
Sent: Wednesday, July 27, 2022 8:42 PM
To: users@cloudstack.apache.org 
Subject: FW: CPVM VNC clipboard character mapping


Hi



Has anyone seen this behaviour before ?





Gary Dixon​
Technical Consultant
T:  0161 537 4980
W: www.quadris.co.uk
[cid:image144474.png@F5DAB9C0.A4AE5009]
The information contained in this e-mail from Quadris may be confidential and 
privileged for the private use of the named recipient.  The contents of this 
e-mail may not necessarily represent the official views of Quadris.  If you 
have received this information in error you must not copy, distribute or take 
any action or reliance on its contents.  Please destroy any hard copies and 
delete this message.

From: Gary Dixon 
Sent: 26 July 2022 08:57
To: users@cloudstack.apache.org
Subject: CPVM VNC clipboard character mapping



Hi everyone



I’m sure this must have been raised before but I am struggling to find any 
recent documentation for this issue.



We have ACS 4.15.2 on Ubuntu 20.04 for mgmt. and KVM hosts and I am seeing an 
issue where if I use the console proxy VNC viewer on any of my Windows based 
instances – certain characters are mapped incorrectly



For example if I put the following characters into the clipboard :



“@|



And then ‘send’ them into a notepad file on the guest – they map to the 
following characters :

@”#



However if I type the characters directly into the open notepad file on the 
guest – they do type correctly.

So it appears that the console proxy VNC viewer clipboard is translating the 
characters as ‘US’ keyboard rather than ‘UK’ keyboard.



I have been reading this thread about CPVM non US keyboard support but it seems 
out of date now : 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Support+for+non-US+keyboards+in+Console+Proxy



I’m sure there will be a straight forward fix for this issue – as at the mment 
we have to be careful about what characters we use in passwords – etc as they 
currently are pasting incorrectly using the vnc viewer clipboard.



Any advice would be greatly appreciated



BR



Gary Dixon​​

Technical Consultant

T:  0161 537 4980

W: www.quadris.co.uk

[cid:image001.png@01D8A0CC.EBEFE650]

The information contained in this e-mail from Quadris may be confidential and 
privileged for the private use of the named recipient.  The contents of this 
e-mail may not necessarily represent the official views of Quadris.  If you 
have received this information in error you must not copy, distribute or take 
any action or reliance on its contents.  Please destroy any hard copies and 
delete this message.



 



Re: Can I use OLD UI for ACS version 4.17

2022-07-07 Thread Pearl d'Silva
The old UI was deprecated as of ACS 4.15 and was completely removed in 4.16.

Regards,
Pearl

From: technologyrss.mail 
Sent: Thursday, July 7, 2022 12:25 PM
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Subject: Can I use OLD UI for ACS version 4.17

*Hi,*

is it possible use old UI for latest version of ACS?

--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter
 | YouTube
 | LinkedIn
*

*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* www.technologyrss.com

 



Re: How To Increase RAM on SSVM or CPVM

2022-06-19 Thread Pearl d'Silva
In addition, one could also override the default system offerings, by creating 
a new service offering and pass the uuid of the new offering to 
'consoleproxy.service.offering' or 'secstorage.service.offering' global 
settings. Changing these global settings would require the Management server(s) 
to be restarted and the VMs - SSVM / CPVM to be recreated.

Thanks,
Pearl


From: Harikrishna Patnala 
Sent: Monday, June 20, 2022 8:56 AM
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Subject: Re: How To Increase RAM on SSVM or CPVM

Hi,

  1.  Create a new system offering based on your RAM need and others
  2.  Stop the SSVM/CPVM
  3.  Scale the SSVM/CPVM to the newly created system offering

Hope this helps.

Thanks,
Harikrishna


From: technologyrss.mail 
Sent: Sunday, June 19, 2022 3:03 PM
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Subject: How To Increase RAM on SSVM or CPVM

Hi,

How To Increase RAM size on SSVM and CPVM.

--

*Thanks & Regards.*

*Support Admin*



*Facebook  | Twitter
 | YouTube
 | LinkedIn
*

*Address : *63-B, D.I.T Road, Malibagh Chowdhury Para

(Ground Floor of NCC Bank)

Dhaka-1219, Bangladesh

*Mob :* +88 01716915504

*Email :* support.ad...@technologyrss.com

*Web :* 
www.technologyrss.com>




 



Re: Terraform 0.4 error

2022-05-10 Thread Pearl d'Silva
Hi,

Can you check the following:

  *   can you try doing a 'terraform init -upgrade'
  *   If the above step doesn't help, in the directory where you are running 
terraform init - check if there exists a .terraform directory? If yes, can you 
clear it , and also delete the .terraform.lock.hcl file

Thanks,
Pearl



 

From: Niclas Lindblom
Sent: Tuesday, May 10, 2022 12:41 PM
To: users@cloudstack.apache.org
Subject: Terraform 0.4 error

Hello,

I am trying to run Terraform Init against a directory which has the version set 
to the latest provider

versions.tf

terraform {
  required_providers {
cloudstack = {
  source = "cloudstack/cloudstack"
  version = "0.4.0"
}
  }
}

I am getting an error message which seem to reference the previous version 0.3.0

Provider 
registry.terraform.io/terraform-providers/cloudstack
 v0.3.0 does not have a package available for your current platform, 
darwin_arm64

The .terraform directory has been deleted before running and the state is 
clean, does anyone know what’s going on here ? I can’t see that I have anything 
referencing the 0.3.0 version, though it was used previously. Is there a cash 
somewhere I might have missed ?

Thanks

Niclas


Re: Request Failed (530) - Cannot delete pool Primary as there are associated non-destroyed vols for this pool

2022-04-27 Thread Pearl d'Silva
Hi David,

The error message indicates that there are some volumes on the primary store 
that you are attempting to remove in the database. You can validate it by using:
select * from volumes where pool_id =  and removed is null;

If you have validated that the volumes returned by the above query have been 
either deleted or migrated, then you can mark them as removed in the db and 
proceed with removing the storage pool.

Thanks,
Pearl


From: David Larsen 
Sent: Wednesday, April 27, 2022 4:23 PM
To: users@cloudstack.apache.org 
Subject: Request Failed (530) - Cannot delete pool Primary as there are 
associated non-destroyed vols for this pool


Hi



We are replacing our old datastore with a newer and faster storage.

I have successfully created new volumes and successfully migrated every 
instance/volum, systemVM’s and Virtual routers to new volumes.

We have five volumes on the old storage system and five on the new storage 
system (vmware vmfs volumes).

After everything was migrated, we put the old volumes successfully in 
maintenance mode. The next step is to delete them from Cloudstack. We have 
successfully deleted volume2, volume3, volume4 and volume 5, but not volume1. 
When we try to delete it, we get this message:

“Request Failed (530) Cannot delete pool Primary as there are associated 
non-destroyed vols for this pool”



We have checked volume1 for any volume files, but we can’t find any. Found a 
few very old .vmdk files in a folder called “fcd”, but can’t find any reference 
to them in cloudstack…(?)

Volume1 is the first vmfs volume ever created on our Cloudstack solution and is 
the only vmfs5 volume left.



Anything we have missed?



We are running Cloudstack 4.15, vcenter/vsphere 6.7



Thanks ??



Med vennlig hilsen



David Larsen
Senior systemkonsulent



[cid:image001.png@01D85A32.9061E8F0]

ADCOM MOLDE, IT Data AS
Fabrikkvegen 13  | 6415 Molde
Mobil: 959 48 308 | Sentralbord: 71 25 06 40
david.lar...@adcom.no | 
www.adcom.no



[Miljøfyrtårn][cid:image003.png@01D85A32.9061E8F0]



Følg oss på sosiale medier: [Facebook icon] 
 [LinkedIn icon] 


P Tenk på miljøet før du skriver ut denne eposten





 



Re: Update Rules for Default Roles

2022-04-21 Thread Pearl d'Silva
Hi Ranjit,

You can create a new role based on role Domain Admin and then modify this 
custom Role.

Regards,
Pearl


From: Ranjit Jadhav 
Sent: Friday, April 22, 2022 10:35 AM
To: users@cloudstack.apache.org ; dev 

Subject: Update Rules for Default Roles

Hello Folks,

I am getting the below error while trying to update Rules for Role Domain
Admin, any suggestions on a workaround.

Request Failed (531)
Role permission cannot be added for Default roles

Any hint/solution will be of great help.

Thanks and regards,
Ranjit

 



Re: Volume Snapshot in VMware

2022-02-22 Thread Pearl d'Silva
Hi Vivek,

I believe the issue you mention is similar to 
https://github.com/apache/cloudstack/issues/5498 and has been fixed in 4.16.0.

Thanks,
Pearl


From: Nux! 
Sent: Tuesday, February 22, 2022 3:52 PM
To: users@cloudstack.apache.org 
Cc: Vivek Kumar 
Subject: Re: Volume Snapshot in VMware

Hi,

That sounds like a bug. Which versions of ACS/VMWare are you on?



On 2022-02-22 10:15, Vivek Kumar wrote:
> Hello Guys,
>
> We do have a feature in CloudStack to take a volume snapshot, it means
> it will take the copy of the disk and put into the secondary storage.
> But when we have VMware as hypervisor and when we do take volume
> snapshot it clone the entire VM and put into the secondary storage.
>
> So if I have 4-5 disks in a VM and if go to the particular disk and
> take volume snapshot, it clone the entire VM including all the disks
> and put into the secondary storage. Isn’t it consider only particular
> disk instead of all disks.
>
>
> Regards,
> Vivek Kumar

 



Re: [!!Mass Mail]Re: CSK with XCP-NG

2022-02-16 Thread Pearl d'Silva
Could you please try manually pulling the image kubernetesui/dashboard:v2.0.3 
using docker pull kubernetesui/dashboard:v2.0.3 and see if it throws any error?



From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 1:37 PM
To: users@cloudstack.apache.org 
Subject: RE: [!!Mass Mail]Re: CSK with XCP-NG

In describe pod:
https://www.yogile.com/6jbtq3vidh1/024407556l/share/?vsc=



 


-Original Message-
From: Pearl d'Silva [mailto:pearl.dsi...@shapeblue.com]
Sent: Wednesday, February 16, 2022 10:53 AM
To: users@cloudstack.apache.org
Subject: Re: [!!Mass Mail]Re: CSK with XCP-NG

Hi,

It seems like the kubernetes-dashboard pod isn't up and running and there's an 
explicit check in the code, that expects it to be running fine, which is why 
the CKS cluster isn't in the Running state. You could try deleting the 
dashboard pod and let it get recreated. And also check in the pod description 
why it is failing.

Thanks,

From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 1:14 PM
To: users@cloudstack.apache.org 
Subject: RE: [!!Mass Mail]Re: CSK with XCP-NG

I think all looks good

https://www.yogile.com/6jbtq3vidh1/21t/share/?vsc=






-Original Message-
From: Pearl d'Silva [mailto:pearl.dsi...@shapeblue.com]
Sent: Wednesday, February 16, 2022 10:39 AM
To: users@cloudstack.apache.org
Subject: Re: [!!Mass Mail]Re: CSK with XCP-NG

Could you try the following:

  1.  List the nodes and verify if they are in Ready state (kubectl get nodes)
  2.  List the pods (kubectl get po -A ) and check if all of them are running 
or you notice any CrashLoopBackoff, etc..
  3.  If you notice any resource - node/ pod not in the right state, either 
describe the resource (kubectl describe pod / node ...) or check the logs 
(kubectl logs pod_name -n )

Maybe these would give us a hint as to what may be going wrong.

Thanks,
Pearl


From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 12:55 PM
To: users@cloudstack.apache.org 
Subject: RE: [!!Mass Mail]Re: CSK with XCP-NG

Hi

I tried 1.21.3, 1.22.6, 1.23.3

setup-kube-system and deploy-kube-system services are completed successfully.

What I can check else?






-Original Message-
From: Pearl d'Silva [mailto:pearl.dsi...@shapeblue.com]
Sent: Wednesday, February 16, 2022 10:05 AM
To: users@cloudstack.apache.org
Subject: [!!Mass Mail]Re: CSK with XCP-NG

Hi,

Can you share the kubernetes version you are trying to deploy a cluster with; 
as from 4.16 onward k8s versions >= 1.20 are only supported. You can also login 
to the nodes using 'core' as the user:
ssh -i  -p  core@ ; if ssh key wasn't provided, use the 
management server's ssh key

Verify in the nodes if the 'setup-kube-system' & 'deploy-kube-system' services 
completed successfully.

Regards,
Pearl


From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 12:12 PM
To: users@cloudstack.apache.org 
Subject: CSK with XCP-NG

Hi all!

ACS 4.16 + XCP-NG with PreSetup Storage

Somebody tests CSK + XCP-NG?
When I try to deploy kubernetes cluster it stucks in "Starting" mode but I see 
than instances is deployed and firewall and port forwarding rules are created.
In log no any errors. Only just warning messages that Task has been pending.

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

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 tr

Re: [!!Mass Mail]Re: CSK with XCP-NG

2022-02-15 Thread Pearl d'Silva
Hi,

It seems like the kubernetes-dashboard pod isn't up and running and there's an 
explicit check in the code, that expects it to be running fine, which is why 
the CKS cluster isn't in the Running state. You could try deleting the 
dashboard pod and let it get recreated. And also check in the pod description 
why it is failing.

Thanks,

From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 1:14 PM
To: users@cloudstack.apache.org 
Subject: RE: [!!Mass Mail]Re: CSK with XCP-NG

I think all looks good

https://www.yogile.com/6jbtq3vidh1/21t/share/?vsc=



 


-Original Message-
From: Pearl d'Silva [mailto:pearl.dsi...@shapeblue.com]
Sent: Wednesday, February 16, 2022 10:39 AM
To: users@cloudstack.apache.org
Subject: Re: [!!Mass Mail]Re: CSK with XCP-NG

Could you try the following:

  1.  List the nodes and verify if they are in Ready state (kubectl get nodes)
  2.  List the pods (kubectl get po -A ) and check if all of them are running 
or you notice any CrashLoopBackoff, etc..
  3.  If you notice any resource - node/ pod not in the right state, either 
describe the resource (kubectl describe pod / node ...) or check the logs 
(kubectl logs pod_name -n )

Maybe these would give us a hint as to what may be going wrong.

Thanks,
Pearl


From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 12:55 PM
To: users@cloudstack.apache.org 
Subject: RE: [!!Mass Mail]Re: CSK with XCP-NG

Hi

I tried 1.21.3, 1.22.6, 1.23.3

setup-kube-system and deploy-kube-system services are completed successfully.

What I can check else?






-Original Message-
From: Pearl d'Silva [mailto:pearl.dsi...@shapeblue.com]
Sent: Wednesday, February 16, 2022 10:05 AM
To: users@cloudstack.apache.org
Subject: [!!Mass Mail]Re: CSK with XCP-NG

Hi,

Can you share the kubernetes version you are trying to deploy a cluster with; 
as from 4.16 onward k8s versions >= 1.20 are only supported. You can also login 
to the nodes using 'core' as the user:
ssh -i  -p  core@ ; if ssh key wasn't provided, use the 
management server's ssh key

Verify in the nodes if the 'setup-kube-system' & 'deploy-kube-system' services 
completed successfully.

Regards,
Pearl


From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 12:12 PM
To: users@cloudstack.apache.org 
Subject: CSK with XCP-NG

Hi all!

ACS 4.16 + XCP-NG with PreSetup Storage

Somebody tests CSK + XCP-NG?
When I try to deploy kubernetes cluster it stucks in "Starting" mode but I see 
than instances is deployed and firewall and port forwarding rules are created.
In log no any errors. Only just warning messages that Task has been pending.

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

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: [!!Mass Mail]Re: CSK with XCP-NG

2022-02-15 Thread Pearl d'Silva
Could you try the following:

  1.  List the nodes and verify if they are in Ready state (kubectl get nodes)
  2.  List the pods (kubectl get po -A ) and check if all of them are running 
or you notice any CrashLoopBackoff, etc..
  3.  If you notice any resource - node/ pod not in the right state, either 
describe the resource (kubectl describe pod / node ...) or check the logs 
(kubectl logs pod_name -n )

Maybe these would give us a hint as to what may be going wrong.

Thanks,
Pearl


From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 12:55 PM
To: users@cloudstack.apache.org 
Subject: RE: [!!Mass Mail]Re: CSK with XCP-NG

Hi

I tried 1.21.3, 1.22.6, 1.23.3

setup-kube-system and deploy-kube-system services are completed successfully.

What I can check else?



 


-Original Message-
From: Pearl d'Silva [mailto:pearl.dsi...@shapeblue.com]
Sent: Wednesday, February 16, 2022 10:05 AM
To: users@cloudstack.apache.org
Subject: [!!Mass Mail]Re: CSK with XCP-NG

Hi,

Can you share the kubernetes version you are trying to deploy a cluster with; 
as from 4.16 onward k8s versions >= 1.20 are only supported. You can also login 
to the nodes using 'core' as the user:
ssh -i  -p  core@ ; if ssh key wasn't provided, use the 
management server's ssh key

Verify in the nodes if the 'setup-kube-system' & 'deploy-kube-system' services 
completed successfully.

Regards,
Pearl


From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 12:12 PM
To: users@cloudstack.apache.org 
Subject: CSK with XCP-NG

Hi all!

ACS 4.16 + XCP-NG with PreSetup Storage

Somebody tests CSK + XCP-NG?
When I try to deploy kubernetes cluster it stucks in "Starting" mode but I see 
than instances is deployed and firewall and port forwarding rules are created.
In log no any errors. Only just warning messages that Task has been pending.

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

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: CSK with XCP-NG

2022-02-15 Thread Pearl d'Silva
Hi,

Can you share the kubernetes version you are trying to deploy a cluster with; 
as from 4.16 onward k8s versions >= 1.20 are only supported. You can also login 
to the nodes using 'core' as the user:
ssh -i  -p  core@ ; if ssh key wasn't provided, use the 
management server's ssh key

Verify in the nodes if the 'setup-kube-system' & 'deploy-kube-system' services 
completed successfully.

Regards,
Pearl


From: Дикевич Евгений Александрович 
Sent: Wednesday, February 16, 2022 12:12 PM
To: users@cloudstack.apache.org 
Subject: CSK with XCP-NG

Hi all!

ACS 4.16 + XCP-NG with PreSetup Storage

Somebody tests CSK + XCP-NG?
When I try to deploy kubernetes cluster it stucks in "Starting" mode but I see 
than instances is deployed and firewall and port forwarding rules are created.
In log no any errors. Only just warning messages that Task has been pending.

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

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: [VOTE] Release Apache CloudStack Terraform Provider v0.4.0

2022-01-30 Thread Pearl d'Silva
+1

Did some basic lifecycle operations on a VM, network - such as creation, update 
and destroy, adding secondary IP to a VM.
Performed the operations as an admin and a user.
Did similar operations in a project as a user. Also attempted resetting the VMs 
SSH key.
Encountered a small issue with respect to adding a secondary IP to a NIC for a 
VM deployed in a project, but I wouldn't categorize it as a blocker and can be 
addressed in the next release.


Thanks,
Pearl


From: Daan Hoogland 
Sent: Friday, January 28, 2022 9:29 PM
To: dev 
Cc: users@cloudstack.apache.org 
Subject: Re: [VOTE] Release Apache CloudStack Terraform Provider v0.4.0

+1 (binding)

performed similar tests as Rohit but in a dual zone and with a vpc in one
of the zones. Two different configurations one with one zone and one with
both. destroy went fine ;) in the vpc firewall rules would not create. I am
not sure this is a known issue, but the error message is clear, so I'm not
calling it a bug:

"Unable to create firewall rule for the IP address ID=204 as IP is not
associated with any network and no networkId is passed in"

The only weird thing is that the network is not an allowed parameter.


On Fri, Jan 28, 2022 at 9:55 AM Rohit Yadav 
wrote:

> +1 (binding)
>
> I checked the source tarball checksum and gpg signature, and using the RC1
> build was able to test a simple VM deployment in a zone in an isolated
> network with some firewall rules applied, against a KVM based ACS 4.16.0.0
> env.
>
> (note: in my testing, in the first run the firewall application met with
> some failure but on second try of terraform apply it worked, see run log
> below)
>
> Source tarball verification:
> gpg: Signature made Wed Jan 19 15:33:18 2022 IST
> gpg:using RSA key 1031D6946F8A7C4B0C3E9EEFAEA5313845ADC482
> gpg: Good signature from "Harikrishna Patnala (github gpg) <
> harikrishna.patn...@gmail.com>" [unknown]
> gpg: WARNING: This key is not certified with a trusted signature!
> gpg:  There is no indication that the signature belongs to the
> owner.
> Primary key fingerprint: 1031 D694 6F8A 7C4B 0C3E  9EEF AEA5 3138 45AD C482
>
> Run log for reference:
>
> # terraform apply
>
> Terraform used the selected providers to generate the following execution
> plan. Resource actions are indicated with the
> following symbols:
>   + create
>
> Terraform will perform the following actions:
>
>   # cloudstack_egress_firewall.default will be created
>   + resource "cloudstack_egress_firewall" "default" {
>   + id  = (known after apply)
>   + managed = false
>   + network_id  = (known after apply)
>   + parallelism = 2
>
>   + rule {
>   + cidr_list = [
>   + "10.200.0.0/24",
> ]
>   + icmp_code = (known after apply)
>   + icmp_type = (known after apply)
>   + ports = [
>   + "21",
>   + "22",
>   + "443",
>   + "80",
> ]
>   + protocol  = "tcp"
>   + uuids = (known after apply)
> }
> }
>
>   # cloudstack_firewall.default will be created
>   + resource "cloudstack_firewall" "default" {
>   + id= (known after apply)
>   + ip_address_id = (known after apply)
>   + managed   = false
>   + parallelism   = 2
>
>   + rule {
>   + cidr_list = [
>   + "0.0.0.0/0",
> ]
>   + icmp_code = (known after apply)
>   + icmp_type = (known after apply)
>   + ports = [
>   + "22",
>   + "443",
>   + "80",
> ]
>   + protocol  = "tcp"
>   + uuids = (known after apply)
> }
> }
>
>   # cloudstack_instance.web will be created
>   + resource "cloudstack_instance" "web" {
>   + display_name = "VM1Test"
>   + expunge  = true
>   + group= (known after apply)
>   + id   = (known after apply)
>   + ip_address   = (known after apply)
>   + name = "VM1Test"
>   + network_id   = (known after apply)
>   + project  = (known after apply)
>   + root_disk_size   = (known after apply)
>   + service_offering = "688de728-5d70-42b5-9913-someID"
>   + start_vm = true
>   + tags = (known after apply)
>   + template = "someID-1d5b-4335-a9e7-someID"
>   + zone = "someID-cf47-4b0b-8cf0-someID"
> }
>
>   # cloudstack_ipaddress.newIP1 will be created
>   + resource "cloudstack_ipaddress" "newIP1" {
>   + id= (known after apply)
>   + ip_address= (known after apply)
>   + is_portable   = false
>   + is_source_nat = (known after apply)
>   + network_id= (known after apply)
>   + project   = (known after apply)
>   + tags  = (known after apply)
> }
>
>   # 

Re: 4.16.0: Unpredictable failure to successfully complete deploy-kube-system on HA k8s clusters

2022-01-06 Thread Pearl d'Silva
Hi,

Could you please try running the deploy-kube-system script manually on the 
node. Maybe this would give us a hint as to what the issue could be. It could 
so happen that setup-kube-system service may have not completed successfully - 
particularly the 'kubeadm init' operation and deploy-kube-system requires 
setup-kube-system service to have run successfully. So, it also may be worth 
checking the status of the setup-kube-system service. Could also please share 
the Kubernetes version.

Thanks,
Pearl



From: William (B.J.) Lawson, MD 
Sent: Thursday, January 6, 2022 8:04 PM
To: users@cloudstack.apache.org 
Subject: 4.16.0: Unpredictable failure to successfully complete 
deploy-kube-system on HA k8s clusters

Good morning... we have two Cloudstack 4.16.0 environments where HA k8s
clusters (meaning clusters with > 1 control node) consistently fail to
provision successfully.

Clusters with 1 control reliably deploy their VMs, networking, and start...
however, when allocating 2+ control nodes, invariably the K8s cluster
remains indefinitely in the "Starting" state despite all of the VMs being
started.

Logging into the nodes reveals that not all of the nodes are running
deploy-kube-system successfully. The failed nodes lack a "success" file in
the core user's home directory. In every case, we can manually
re-run deploy-kube-system and the process will complete on that node.

When looking at the cloud-init.log file, we see:

###

2022-01-06 13:57:58,275 - subp.py[DEBUG]: Running command
['/var/lib/cloud/instance/scripts/runcmd'] with allowed return codes [0]
(shell=False, capture=False)
2022-01-06 13:57:58,296 - subp.py[DEBUG]: Unexpected error while running
command.
Command: ['/var/lib/cloud/instance/scripts/runcmd']
Exit code: 5
Reason: -
Stdout: -
Stderr: -
2022-01-06 13:57:58,296 - cc_scripts_user.py[WARNING]: Failed to run module
scripts-user (scripts in /var/lib/cloud/instance/scripts)
2022-01-06 13:57:58,296 - handlers.py[DEBUG]: finish:
modules-final/config-scripts-user: FAIL: running config-scripts-user with
frequency once-per-instance
2022-01-06 13:57:58,296 - util.py[WARNING]: Running module scripts-user
()
failed
2022-01-06 13:57:58,296 - util.py[DEBUG]: Running module scripts-user
()
failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 848, in
_run_modules
ran, _r = cc.run(run_name, mod.handle, func_args,
  File "/usr/lib/python3/dist-packages/cloudinit/cloud.py", line 54, in run
return self._runners.run(name, functor, args, freq, clear_on_fail)
  File "/usr/lib/python3/dist-packages/cloudinit/helpers.py", line 185, in
run
results = functor(*args)
  File
"/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py", line
45, in handle
subp.runparts(runparts_path)
  File "/usr/lib/python3/dist-packages/cloudinit/subp.py", line 384, in
runparts
raise RuntimeError(
RuntimeError: Runparts: 1 failures (runcmd) in 1 attempted commands
2022-01-06 13:57:58,300 - stages.py[DEBUG]: Running module
ssh-authkey-fingerprints ()
with frequency once-per-instance

###

Given that /var/lib/cloud/instance/scripts/runcmd contains the setup and
deploy scripts, this seems like evidence of the problem. However, other
than Exit code 5 we're not seeing much to go on.

We also have several other CS 4.16.0 environments where this problem does
*not* occur -- they are identically deployed with the same underlying
scripts.

Any thoughts or suggestions on where we can look to troubleshoot are
greatly appreciated!

--
William (B.J.) Lawson, MD

 



Re: Cloudstack 4.16 - GUI unable to submit SSL

2022-01-02 Thread Pearl d'Silva
Hi,

This seems to be an issue in 4.16.0 but has been addressed with: 
https://github.com/apache/cloudstack/pull/5682/ and should be available in 
4.16.1.

Thanks,
Pearl

[https://opengraph.githubassets.com/a85d63087cbc026a03525dcc5d491e900913e0ad6e2b09a6dd8eb27f392c60a8/apache/cloudstack/pull/5682]
UI : Fix SSL certificate submit button not working by dhslove · Pull Request 
#5682 · apache/cloudstack
Description This PR fixes an issue where clicking the Submit button in the SSL 
Certificates dialog in the Infrastructure Summary UI did not work. Types of 
changes Breaking change (fix o...
github.com



From: Deepak Kumar 
Sent: Monday, January 3, 2022 12:23 PM
To: users@cloudstack.apache.org 
Subject: Re: Cloudstack 4.16 - GUI unable to submit SSL

Hi  Hean Seng,

I am facing the same issue.

Thanks & Regards,
Deepak Kumar
IndiQus Global Technical Support
www.indiqus.com



 

On Sun, Jan 2, 2022 at 11:55 PM Hean Seng  wrote:

> Hi
>
> I am using Cloudstack 4.16 , Ubuntu 20 for Mgmt server.
>
> Infrastructure ->. Summary -> SSL Certification
>
> Entering all the SSL detail, and click submit ,  but the click has no
> responding .
> Clecking the MGMT log, and nothing seems processed .
>
> Tried on both  Chrome, Safari and same issue .
> Tried the same SSL to  Cloudstack 4.15 , and it has no issue submitting the
> SSL
>
> Anybody facing the same issue ?
>
>
> --
> Regards,
> Hean Seng
>

--
This message is intended only for the use of the individual or entity to
which it is addressed and may contain confidential and/or privileged
information. If you are not the intended recipient, please delete the
original message and any copy of it from your computer system. You are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited unless proper authorization has been
obtained for such action. If you have received this communication in error,
please notify the sender immediately. Although IndiQus attempts to sweep
e-mail and attachments for viruses, it does not guarantee that both are
virus-free and accepts no liability for any damage sustained as a result of
viruses.


Re: Bug at delete the storage secondary after migration to other.

2021-12-23 Thread Pearl d'Silva
Hi Gabriel,

It may be that despite the migration being reported as successful, a few 
resources (template/snapshot/volumes) may have been skipped. Migration of the 
file will be reported as skipped in the logs, however, the API reports to have 
completed successfully. This is an issue that is being currently worked on 
https://github.com/apache/cloudstack/issues/5654 and should be available in the 
next release of CloudStack. It would however be worth checking if there are any 
data objects left behind on the image store from which files were migrated by 
checking the template_store_ref, volume_store_ref, snapshot_store_ref tables to 
validate the same.

Regards,


From: Gabriel Medve 
Sent: Thursday, December 23, 2021 5:23 AM
To: users@cloudstack.apache.org 
Subject: Bug at delete the storage secondary after migration to other.

Hello

I have cloudstack 4.16, and use the function to migrate a secondary
storage to another. The migration was completed successfully, but when
trying to delete the old storage, it throws me the following error:

"Request Failed 431" Cannot delete image store witch active backup!

I have been researching the problem and it is supposed to be fixed in
https://github.com/apache/cloudstack/pull/4615 .

I re-generated the system vm in the new storage but it gives the same
error when trying to delete the old storage.

Could you verify them? . Thank you.

--


 



Re: SSH to CKS SystemVM instances

2021-12-02 Thread Pearl d'Silva
Hi Pieter,

To SSH to a CKS instance, you can use the following:

ssh -i  -p  core@

To get the port numbers of the worker nodes you can check the Port Forwarding 
tab of the Kubernetes cluster.

Thanks,
Pearl




From: Pieter Koorts 
Sent: Thursday, December 2, 2021 3:48 PM
To: "users@cloudstack.apache.org" 
Subject: SSH to CKS SystemVM instances

Hello,

This may be a slightly silly question but trying to SSH to a Kubernetes 
instance (setup by CKS) and when I do "ssh root@x.x.x.x" it reads my SSH key 
and then responds with:

Please login as the user "NONE" rather than the user "root".

How do we access the CKS instance via console or SSH for debugging?

Thank you

Pieter

 



[DISCUSS] SystemVM Optimizations

2021-11-29 Thread Pearl d'Silva
Hi All,

In 4.16 we introduced an enhancement that provided support for auto upgrades, 
where in one wouldn't have to register the systemVM template prior upgrading 
their environments. This however led to an increased size of the 
cloudstack-management package as the systemVM templates for all the hypervisors 
were bundled in it. We plan on further optimizing systemVMs and the related 
processes, among which include:

  *   introducing a live-patch API
  *   deprecating systemvm.iso
  *   devising means to reduce cloudstack-management package size, by not 
bundling systemvm templates for all the hypervisors
  *   improving the systemvm template build process

Rohit Yadav has put together a design document for the same: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SystemVM+Optimisations

Kindly review the document and provide your feedback.

Thanks,
Pearl Dsilva


 



Re: Cloudstack Kubernetes Issue

2021-11-17 Thread Pearl d'Silva
Hi,

Could you please share which version of Kubernetes you are trying to deploy. 
From ACS 4.16 onward, k8s versions > 1.20 are only supported.


Thanks,
Pearl


From: Seth Lyons 
Sent: Wednesday, November 17, 2021 2:51 AM
To: users@cloudstack.apache.org 
Subject: Cloudstack Kubernetes Issue

Hello,
I am running Cloudstacks 4.16 and trying to deploy the Kubernetes add on. When 
I add the service it is stuck in the Starting state, but I see that two 
instances are created and seem to be running when viewed through the console 
proxy.
I see this error in the logs which seems related:

2021-11-16 15:29:24,718 WARN  [c.c.k.c.a.KubernetesClusterActionWorker] 
(API-Job-Executor-12:ctx-aeed885c job-550 ctx-9066b68b) (logid:ac518757) Unable 
to retrieve VMs for Kubernetes cluster : Seth
2021-11-16 15:29:24,718 WARN  [c.c.k.c.a.KubernetesClusterActionWorker] 
(API-Job-Executor-12:ctx-aeed885c job-550 ctx-9066b68b) (logid:ac518757) Unable 
to retrieve control VM for Kubernetes cluster : Seth
2021-11-16 15:29:26,912 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-23:ctx-1628641a job-550/job-551 ctx-defc38ee) 
(logid:ac518757) STATS: Failed to alloc resource from host: 11 reservedCpu: 0, 
requested cpu: 4000, reservedMem: (0 bytes) 0, requested mem: (2.00 GB) 
2147483648
2021-11-16 15:29:34,893 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-24:ctx-efb62ae9 job-550/job-552 ctx-b435021d) 
(logid:ac518757) STATS: Failed to alloc resource from host: 11 reservedCpu: 0, 
requested cpu: 4000, reservedMem: (0 bytes) 0, requested mem: (2.00 GB) 
2147483648



[Photo]
[Logo]
Seth Lyons
DevOps Engineer | Automate io

[phone-icon]  (415) 757-4696
[phone-icon]  sly...@automateio.com
[phone-icon]  www.automateio.com
[Banner]



 



Re: ACS 4.15.1 Migration between NFS Secondary storage servers interrupted

2021-10-26 Thread Pearl d'Silva
One way to identify it would be to check the vm_template table for templates 
that are marked as public but do not have a url (i.e., null) - such templates 
should be migrated, but maybe skipped, as in 4.15, public templates aren't 
migrated as they get downloaded on all stores in a zone. However, such 
templates i.e., templates created from volumes / snapshots that are marked as 
public do not get synced. This was addressed in 
https://github.com/apache/cloudstack/pull/5404


Thanks,

From: benoit lair 
Sent: Tuesday, October 26, 2021 8:01 PM
To: users@cloudstack.apache.org 
Subject: Re: ACS 4.15.1 Migration between NFS Secondary storage servers 
interrupted

Hi Pearl,

I am checking the logs of the mgmt server
About the possibility the template came from a volume, is there way to
check this in database ?

Regards, Benoit

Le mar. 26 oct. 2021 à 14:53, Pearl d'Silva  a
écrit :

> Hi Benoit,
>
> Can you please check the logs to see if the specific data objects were
> skipped from being migrated because they couldn't be accomodated on the
> destination store. Also, were these templates that were left behind created
> from volumes / snapshots - in that case, in 4.15, it is a known issue to
> skip those files, and has been addressed in 4.16.
>
> Thanks,
> Pearl
> 
> From: benoit lair 
> Sent: Tuesday, October 26, 2021 5:35 PM
> To: users@cloudstack.apache.org ;
> d...@cloudstack.apache.org 
> Subject: Re: ACS 4.15.1 Migration between NFS Secondary storage servers
> interrupted
>
> Hello Guys,
>
> I have still the problem on ACS 4.15
> I am trying to migrate my first nfs secondary storage server to another nfs
> server
> ACS says in the events the migration is IMAGE.STORE.MIGRATE.DATA :
> Successfully
> completed migrating Image store data. Migrating files/data objects from :
> NFS Secondary storage 001 to: [NFS Secondary storage 002]
>
> However, there are still templates hosted on the primary nfs server
>
> any ideas why the migration does not work as expected ?
>
> Regards, Benoit
> Le mer. 20 oct. 2021 à 15:24, benoit lair  a écrit
> :
>
> > Hello,
> >
> > I am trying to migrate my first NFS secondary storage to a second NFS one
> > I asked for a migration with a migration policy "complete"
> > The job is working but finishes before migrating all the data
> >
> > I had to relaunch the migration which continues
> >
> > Any ideas ?
> >
> > Regards, Benoit
> >
>
>
>
>

 



Re: ACS 4.15.1 Migration between NFS Secondary storage servers interrupted

2021-10-26 Thread Pearl d'Silva
Hi Benoit,

Can you please check the logs to see if the specific data objects were skipped 
from being migrated because they couldn't be accomodated on the destination 
store. Also, were these templates that were left behind created from volumes / 
snapshots - in that case, in 4.15, it is a known issue to skip those files, and 
has been addressed in 4.16.

Thanks,
Pearl

From: benoit lair 
Sent: Tuesday, October 26, 2021 5:35 PM
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Subject: Re: ACS 4.15.1 Migration between NFS Secondary storage servers 
interrupted

Hello Guys,

I have still the problem on ACS 4.15
I am trying to migrate my first nfs secondary storage server to another nfs
server
ACS says in the events the migration is IMAGE.STORE.MIGRATE.DATA : Successfully
completed migrating Image store data. Migrating files/data objects from :
NFS Secondary storage 001 to: [NFS Secondary storage 002]

However, there are still templates hosted on the primary nfs server

any ideas why the migration does not work as expected ?

Regards, Benoit
Le mer. 20 oct. 2021 à 15:24, benoit lair  a écrit :

> Hello,
>
> I am trying to migrate my first NFS secondary storage to a second NFS one
> I asked for a migration with a migration policy "complete"
> The job is working but finishes before migrating all the data
>
> I had to relaunch the migration which continues
>
> Any ideas ?
>
> Regards, Benoit
>

 



Re: Failed to authentication SSH user root on host - repetitive error

2021-09-24 Thread Pearl d'Silva
Hi Cristian,

After going through your earlier mails again, and correct me if I am wrong, but 
I noticed in one of your mails you mentioned that the env that's causing issues 
was upgraded from a lower version, right? So, ideally when doing upgrades, 
prior to initiating the upgrade we first take a backup of the DB,  register the 
template (new systemVM template) following this 
https://docs.cloudstack.apache.org/en/latest/upgrading/upgrade/upgrade-4.15.html#update-system-vm-templates
 and then upgrade the environment. However, you mentioned that you used the 
cloud-install-sys-tmplt script to seed and register the template. I am not 
familiar if using that script during upgrades works (it may, but I haven't ever 
used that approach).
If it is possible, it would be advisable to rollback your env to the earlier 
version (disable your zone, destroy the systemVMs before that) and then follow 
the upgrade steps as mentioned in the documentation: 
https://docs.cloudstack.apache.org/en/latest/upgrading/index.html

Thanks,
Pearl



From: cristian.c@istream.today 
Sent: Friday, September 24, 2021 3:08 PM
To: users@cloudstack.apache.org 
Subject: RE: Failed to authentication SSH user root on host - repetitive error

Hi Pearl,

I just did a SSVM redeploy in the same environment, but different zone and
and I see the following differences :

"isManaged":"false"}},"name":"ROOT-2055","size":"(2.44 GB)"


Working zone - https://pastebin.com/raw/88N6Fg6z

"isManaged":"false"}},"name":"ROOT-2055","size":"(2.44 GB)

 datastore-6588","managed":"false","storagePort":"0","volumeSize":"(2.44 GB)

021-09-24 05:22:23,959 INFO  [c.c.h.v.r.VmwareResource]
(DirectAgent-437:ctx-2f1519ba fra-de-001.test.host, job-25099/job-35371,
cmd: StartCommand) (logid:d442432d) Mapped disk datastore UUID is not the
same as the cloned VM datastore UUID: fra-de-001 -
9d679070c7a6441592646bfbb82ef1b3



Not working zone - https://pastebin.com/raw/Um2uHgWM

"isManaged":"false"}},"name":"ROOT-2056","size":"(0 bytes)"here is 0
bytes...

 datastore-6694","managed":"false","storagePort":"0","volumeSize":"(0 bytes)
here is 0 bytes...

2021-09-24 05:00:55,594 INFO  [c.c.h.v.r.VmwareResource]
(DirectAgent-30:ctx-5e49d288 lnd-uk-002.test.host, job-25099/job-35365, cmd:
StartCommand) (logid:d442432d) Mapped disk size is not the same as the
cloned VM disk size: 0 - 262144( here I see this line, with disk
size 0 )

2021-09-24 05:00:55,594 INFO  [c.c.h.v.r.VmwareResource]
(DirectAgent-30:ctx-5e49d288 lnd-uk-002.test.host, job-25099/job-35365, cmd:
StartCommand) (logid:d442432d) Mapped disk datastore UUID is not the same as
the cloned VM datastore UUID: lnd-uk-002 - fb7b551a584e4b5192b8f371af56b303



I do not understand why I have here the size "0"


Regards,
Cristian

 


-Original Message-
From: Pearl d'Silva 
Sent: Friday, September 24, 2021 9:44 AM
To: users@cloudstack.apache.org
Subject: Re: Failed to authentication SSH user root on host - repetitive
error

By any chance, are there any old systemvm.isos in the secondary store, if
yes, can you please delete them. Based on the information you've provided,
it seems like, the key has been injected into systemvm.iso, but during boot
up, a script (cloud-early-config) that sets up the VM before bootstrapping /
patching isn't copying the auth key.
Can you try the steps mentioned under the VMWare section of the doc:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SystemVm.iso
and see if it helps.
SystemVm.iso - Apache Cloudstack - Apache Software
Foundation<https://cwiki.apache.org/confluence/display/CLOUDSTACK/SystemVm.i
so>
Mechanism of propagating systemvm.iso. Systemvm.iso gets propagated
differently for different hypervisors. It comes packaged as part of the
Cloudstack rpm or is built on dev environments with the command "mvn clean
install -P developer,systemvm" (More info on building cloudstack) .Once the
iso is at the appropriate location depending on the hypervisor it is
inserted as a cd drive and the ...
cwiki.apache.org
Thanks,
Pearl


From: cristian.c@istream.today 
Sent: Friday, September 24, 2021 11:45 AM
To: users@cloudstack.apache.org 
Subject: RE: Failed to authentication SSH user root on host - repetitive
error

Hi Pearl,

  I already did a check via console into the secondary storage vm, I saw
that there are not keys in authorized_keys.

 If I try to inject, I see this : /bin/bash
/usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh
/var/cloudstack/management/.ssh/id_rsa.pub
/var/cloudstack/management/.ssh/id_rsa
/usr/share/cloudstack-common/vms/systemvm.iso
moun

Re: Failed to authentication SSH user root on host - repetitive error

2021-09-24 Thread Pearl d'Silva
By any chance, are there any old systemvm.isos in the secondary store, if yes, 
can you please delete them. Based on the information you've provided, it seems 
like, the key has been injected into systemvm.iso, but during boot up, a script 
(cloud-early-config) that sets up the VM before bootstrapping / patching isn't 
copying the auth key.
Can you try the steps mentioned under the VMWare section of the doc: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SystemVm.iso
and see if it helps.
SystemVm.iso - Apache Cloudstack - Apache Software 
Foundation<https://cwiki.apache.org/confluence/display/CLOUDSTACK/SystemVm.iso>
Mechanism of propagating systemvm.iso. Systemvm.iso gets propagated differently 
for different hypervisors. It comes packaged as part of the Cloudstack rpm or 
is built on dev environments with the command "mvn clean install -P 
developer,systemvm" (More info on building cloudstack) .Once the iso is at the 
appropriate location depending on the hypervisor it is inserted as a cd drive 
and the ...
cwiki.apache.org
Thanks,
Pearl


From: cristian.c@istream.today 
Sent: Friday, September 24, 2021 11:45 AM
To: users@cloudstack.apache.org 
Subject: RE: Failed to authentication SSH user root on host - repetitive error

Hi Pearl,

  I already did a check via console into the secondary storage vm, I saw
that there are not keys in authorized_keys.

 If I try to inject, I see this : /bin/bash
/usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh
/var/cloudstack/management/.ssh/id_rsa.pub
/var/cloudstack/management/.ssh/id_rsa
/usr/share/cloudstack-common/vms/systemvm.iso
mount: /dev/loop0 is write-protected, mounting read-only
New public key is the same as the one in the systemvm.iso, not injecting it,
not modifying systemvm.iso


[root@cloud-emea systemvm]# cd /mnt/iso/
[root@cloud-emea iso]# ls
agent.zip  authorized_keys  cloud-scripts.tgz
[root@cloud-emea iso]# cat authorized_keys
ssh-rsa
B3NzaC1yc2EBIwAAAQEA0UEA0mRUzKbH1cHHY2GlsaQ18q1KvqfNSV/YqAScZhcPueIl
BbqwPUNznzfSiz/K/+DH8u5QkDIz+fC0Sx+x
xx+Bd1Y2U1TxlYee
+zUh6vszEDwmiq5nTkuCJP1T3o8QL3gUekAFjW7CECsIzLkA41Q8lY0L3qaHBRUJntGGIMtZ26AP
IWMC7NHD0wFge3DEN5UhFODcB1f9U7oqa10XqgORjbd88JPfFv/0j92xaaerNpJKw==
cl...@cloud-emea.test.host[root@cloud-emea iso]#

is the same key as I have in : /var/cloudstack/management/.ssh/id_rsa.pub

(For security reason I have replaced characters from ssh pub key)


  I'm stuck here, I do not understand the logic.


Regards,
Cristian

 


-Original Message-----
From: Pearl d'Silva 
Sent: Friday, September 24, 2021 8:05 AM
To: users@cloudstack.apache.org
Subject: Re: Failed to authentication SSH user root on host - repetitive
error

Hi Cristian,

The exception you are seeing is most likely to happen if the systemvm.iso
hasn't been injected with the Management server's key. One way to validate
it, would be to go to your secondary store - I presume you are working on a
VMware setup - mount the systemvm-4.15.2.iso and verify the authorized_keys
data with what's present on the MS at
/var/cloudstack/management/.ssh/id_rsa.pub.

Thanks,
Pearl


From: cristian.c@istream.today 
Sent: Thursday, September 23, 2021 9:50 PM
To: users@cloudstack.apache.org 
Subject: Failed to authentication SSH user root on host - repetitive error

Hello,





  I was not able to fix this error "Failed to authentication SSH" and
looks like a bug for me, I will explain here why.



  My setup before adding new ZONE:



1.  Cloudstack 4.15.2 + VMware 6.5 with 1 Basic Network Zone.  ( This is
an old setup, it was upgraded frequently, I think from 4.2 )
2.  I add new VMware zone, but this one with Advanced Networking, I end
with this repetitive error and nothing else.
3.  I decide to add a new zone, the same as I have at (2) with Advanced
Networking, everything works perfect, no issue at systemvm deploy, routers,
instances.
4.  I delete the zone from point (2)
5.  I add again the same zone, end with the same error.



   I have tried multiple things, delete the template, add again, inject,
nothing works, I end with the same error, over and over, and I do not see
the why.





021-09-23 11:53:54,666 ERROR [c.c.h.v.r.VmwareResource]
(DirectAgent-228:ctx-083b9265 lnd-uk-002.test.host, job-35231/job-35263,
cmd: SetupKeyStoreCommand) (logid:df4131be) Command failed due to Exception:
java.lang.Exception

Message: Failed to authentication SSH user root on host 10.15.0.204



2021-09-23 11:53:54,674 ERROR [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-19:ctx-808054ab job-35231/job-35263 ctx-eb7c37bb)
(logid:df4131be) Retrying after catching exception while trying to secure
agent for systemvm id=2025

com.cloud.utils.exception.CloudRuntimeException: Unable to read/process CSR:
Command failed due to Exception: ja

Re: Failed to authentication SSH user root on host - repetitive error

2021-09-23 Thread Pearl d'Silva
Hi Cristian,

The exception you are seeing is most likely to happen if the systemvm.iso 
hasn't been injected with the Management server's key. One way to validate it, 
would be to go to your secondary store - I presume you are working on a VMware 
setup - mount the systemvm-4.15.2.iso and verify the authorized_keys data with 
what's present on the MS at /var/cloudstack/management/.ssh/id_rsa.pub.

Thanks,
Pearl


From: cristian.c@istream.today 
Sent: Thursday, September 23, 2021 9:50 PM
To: users@cloudstack.apache.org 
Subject: Failed to authentication SSH user root on host - repetitive error

Hello,





  I was not able to fix this error "Failed to authentication SSH" and
looks like a bug for me, I will explain here why.



  My setup before adding new ZONE:



1.  Cloudstack 4.15.2 + VMware 6.5 with 1 Basic Network Zone.  ( This is
an old setup, it was upgraded frequently, I think from 4.2 )
2.  I add new VMware zone, but this one with Advanced Networking, I end
with this repetitive error and nothing else.
3.  I decide to add a new zone, the same as I have at (2) with Advanced
Networking, everything works perfect, no issue at systemvm deploy, routers,
instances.
4.  I delete the zone from point (2)
5.  I add again the same zone, end with the same error.



   I have tried multiple things, delete the template, add again, inject,
nothing works, I end with the same error, over and over, and I do not see
the why.





021-09-23 11:53:54,666 ERROR [c.c.h.v.r.VmwareResource]
(DirectAgent-228:ctx-083b9265 lnd-uk-002.test.host, job-35231/job-35263,
cmd: SetupKeyStoreCommand) (logid:df4131be) Command failed due to Exception:
java.lang.Exception

Message: Failed to authentication SSH user root on host 10.15.0.204



2021-09-23 11:53:54,674 ERROR [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-19:ctx-808054ab job-35231/job-35263 ctx-eb7c37bb)
(logid:df4131be) Retrying after catching exception while trying to secure
agent for systemvm id=2025

com.cloud.utils.exception.CloudRuntimeException: Unable to read/process CSR:
Command failed due to Exception: java.lang.Exception

Message: Failed to authentication SSH user root on host 10.15.0.204





  Here is the full log : https://pastebin.com/raw/fFfmquVB





  Maybe someone have a hint for me .



Regards,

Cristian






 



Re: Problem with Templates/ISO

2021-09-21 Thread Pearl d'Silva
Hi,

One of the reasons why the templates may not be showing up in the VM deployment 
wizard is because they aren't in the ready state. You can verify that by going 
into the respective template's info and in the zone tab you'd probably notice 
that the template(s) aren't in ready state. Ideally, once the SystemVMs, 
essentially, Secondary storage VM(SSVM) is up, it should sync the templates 
(the systemVM template (that you had initially seeded) and the built-in 
template). Do you see an errors in the management server logs that could be 
helpful.
Can you log into your database (cloud) and see if you see any entries in the 
template_store_ref table. I understand you are on a KVM based env, so,
select * from template_store_ref where template_id=4\G  - template_id = 4 - 
refers to a built-in template that gets downloaded.

Do you see any exceptions when trying to register a new template ?
For management server logs - look into 
/var/log/cloudstack/management/management-server.log
Another place to look at would be the SSVM (which plays an integral role in 
downloading templates)
Please refer to 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting
 to log into and debug the SSVM.  To increase the log level in your SSVM - you 
can run the following:
sed -i 's/INFO/DEBUG/g' /usr/local/cloud/systemvm/conf/log4j-cloud.xml and then 
restart the cloud service : systemctl restart cloud
In the SSVM, you can observe the logs at /var/log/cloud.log

To setup an SSL enabled env you could follow this link - 
https://www.shapeblue.com/securing-cloudstack-4-11-with-https-tls/ or as a 
temporary hack, you can enter the SSVMs IP Address in the browser's url field 
with https scheme (https://) and accept the risk, before trying to 
upload the template.

Hope this helps.

Thanks



From: DL 
Sent: Tuesday, September 21, 2021 10:51 AM
To: users@cloudstack.apache.org 
Subject: Re: Problem with Templates/ISO

The system VMs are up and running.
The Zone shows enabled.

I have another VM in VirtualBox serving as the gateway server for the 
cloudstack VM.
The gateway IP is 172.16.10.1. The cloudstack VM's IP is 172.16.10.2.
As instructed, the gateway server is only a gateway, not a DHCP server.
The cloudstack VM can use the gateway to access the Internet fine.
I can SSH from the gateway server into the cloudstack VM fine.

How do I make my env setup SSL enabled?
Am I supposed to see some existing Templates/ISOs when creating a new VM 
instance? Or am I supposed to create some Templates/ISOs by myself first?



On Tue, Sep 21, 2021 at 12:20 AM Pearl d'Silva 
mailto:pearl.dsi...@shapeblue.com>> wrote:
Hi Douglas,

Could you please let us know the following:

  *   Do you see the systemVMs are up and running (Infratructure -> System VMs)?
  *   Is the zone enabled? (Infrastructure -> Zones (specific zone's Allocation 
State))

Providing some insight into the state of your env - by answering the above 
questions, may help us diagnose the issue better wrt template registration 
failure. With regards to template/iso upload(from local) failure - this would 
be expected if your env setup isn't SSL enabled. The issues you may be facing 
could also be due to your infrastructure / network topology.
The Quick installation guide is up to date and should work, however if you are 
facing issues you may refer to 
https://github.com/shapeblue/hackerbook/blob/main/1-user.md to setup a basic 
env. Another resource you could look at is https://github.com/shapeblue/mbx - 
this will setup an env for you - please do follow the Readme. That said, if you 
see any issues with the documentation, you can report them i.e., create an 
issue/ pull request against the respective projects on GitHub and we can help 
improve them.

Thanks,
Pearl




From: DL mailto:douglasl...@gmail.com>>
Sent: Tuesday, September 21, 2021 12:43 AM
To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org> 
mailto:users@cloudstack.apache.org>>
Subject: Re: Problem with Templates/ISO

Hi Pearl,

Following your solution, I added the Secondary Storage, and now two
Templates and two ISOs shows under the Images tab.
However, I still couldn't see any Templates/ISOs in the Template/ISO
configuration page when I tried to create a new VM instance.

I tried to Register ISO also. If I use an online ISO, cloudstack would show
me that the url hostname cannot be resolved. (Of course, I can use the
browser to download the ISO fine)
If I want to upload an ISO from the local machine, cloudstack would report
an error saying that it cannot reach the management server (or some web
browser extensions may have blocked the request). I have a single machine
doing all the things. I also checked that all required processes are
running. My browser doesn't use any extensions.

I am using a CentOS 7 virtual machine within VirtualBox to follow the Q

Re: Problem with Templates/ISO

2021-09-20 Thread Pearl d'Silva
Hi Douglas,

Could you please let us know the following:

  *   Do you see the systemVMs are up and running (Infratructure -> System VMs)?
  *   Is the zone enabled? (Infrastructure -> Zones (specific zone's Allocation 
State))

Providing some insight into the state of your env - by answering the above 
questions, may help us diagnose the issue better wrt template registration 
failure. With regards to template/iso upload(from local) failure - this would 
be expected if your env setup isn't SSL enabled. The issues you may be facing 
could also be due to your infrastructure / network topology.
The Quick installation guide is up to date and should work, however if you are 
facing issues you may refer to 
https://github.com/shapeblue/hackerbook/blob/main/1-user.md to setup a basic 
env. Another resource you could look at is https://github.com/shapeblue/mbx - 
this will setup an env for you - please do follow the Readme. That said, if you 
see any issues with the documentation, you can report them i.e., create an 
issue/ pull request against the respective projects on GitHub and we can help 
improve them.

Thanks,
Pearl




From: DL 
Sent: Tuesday, September 21, 2021 12:43 AM
To: users@cloudstack.apache.org 
Subject: Re: Problem with Templates/ISO

Hi Pearl,

Following your solution, I added the Secondary Storage, and now two
Templates and two ISOs shows under the Images tab.
However, I still couldn't see any Templates/ISOs in the Template/ISO
configuration page when I tried to create a new VM instance.

I tried to Register ISO also. If I use an online ISO, cloudstack would show
me that the url hostname cannot be resolved. (Of course, I can use the
browser to download the ISO fine)
If I want to upload an ISO from the local machine, cloudstack would report
an error saying that it cannot reach the management server (or some web
browser extensions may have blocked the request). I have a single machine
doing all the things. I also checked that all required processes are
running. My browser doesn't use any extensions.

I am using a CentOS 7 virtual machine within VirtualBox to follow the Quick
Installation Guide (
http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html
).
I have made everything identical to that of the Quick Installation Guide.
However, I still encountered various issues.

The first issue is that after I configured the Zone, Pod, Cluster, etc, and
launched the Zone, every time (I have done this with multiple VMs) the
system would hang at the last step "Adding Host" forever. I really mean
forever. And it didn't even report what error it encountered. I have to
close the window. After this, I would see, the host has been added to the
Zone successfully. However, the Primary Storage and the Secondary Storage
were not added. I believe this is why I needed to add the Secondary Storage
(and also the Primary Storage) manually.
But after this, I still could not see/add any Templates/ISOs.


I didn't expect so many issues by just following the simplest Quick
Installation Guide.
Is there anything I should pay special attention to while following the
Quick Installation Guide?
Does the Quick Installation Guide still work for the latest version? I do
notice that the instructions don't mention some options I was faced with
during the installation/configuration process. I just chose default
options. Would this cause any issues?
Are there any better Installation Guides I should try instead?
Are there any existing clouds (built with CloudStack) that I can play with
for free (or with minimal costs)?

Sorry for asking so many questions. I just want to get started.

Best regards,


On Mon, Sep 20, 2021 at 12:55 AM Pearl d'Silva 
wrote:

> Hi Douglas,
>
>
> That seems to be the issue, you will need to add a store to the zone. You
> can do that either via UI / command line. On the UI, there is the "Add
> Secondary Storage" button, provide the zone, the server IP/name, and the
> path (in your case, /export/secondary).
>
>
> Thanks,
> Pearl
> 
> From: DL 
> Sent: Monday, September 20, 2021 10:16 AM
> To: users@cloudstack.apache.org 
> Subject: Re: Problem with Templates/ISO
>
> @Pearl
> I can go to the Infrastructure -> Secondary Storage tab. However, nothing
> is there.
>
> @Harikrishna
> Thank you also for getting back to me!
>
> Here is what I found related to the error in the log:
>
> 2021-09-20 00:27:12,093 DEBUG [c.c.a.ApiServlet]
> (qtp1136768342-20:ctx-d9bd1f44) (logid:a56ace1d) ===START===  172.16.10.2
> -- GET
>
>  
> listall=true=all=true=1=20=listTemplates=json
> 2021-09-20 00:27:12,097 DEBUG [c.c.a.ApiServer]
> (qtp1136768342-20:ctx-d9bd1f44 ctx-931ef03f) (logid:a56ace1d) CIDRs from
> which account 'Acct[2e801633-1977-11ec-98da-5254005ad990-admin]' is allowed
> to perform API calls: 0

Re: Problem with Templates/ISO

2021-09-19 Thread Pearl d'Silva
Hi Douglas,


That seems to be the issue, you will need to add a store to the zone. You can 
do that either via UI / command line. On the UI, there is the "Add Secondary 
Storage" button, provide the zone, the server IP/name, and the path (in your 
case, /export/secondary).


Thanks,
Pearl

From: DL 
Sent: Monday, September 20, 2021 10:16 AM
To: users@cloudstack.apache.org 
Subject: Re: Problem with Templates/ISO

@Pearl
I can go to the Infrastructure -> Secondary Storage tab. However, nothing
is there.

@Harikrishna
Thank you also for getting back to me!

Here is what I found related to the error in the log:

2021-09-20 00:27:12,093 DEBUG [c.c.a.ApiServlet]
(qtp1136768342-20:ctx-d9bd1f44) (logid:a56ace1d) ===START===  172.16.10.2
-- GET
 
listall=true=all=true=1=20=listTemplates=json
2021-09-20 00:27:12,097 DEBUG [c.c.a.ApiServer]
(qtp1136768342-20:ctx-d9bd1f44 ctx-931ef03f) (logid:a56ace1d) CIDRs from
which account 'Acct[2e801633-1977-11ec-98da-5254005ad990-admin]' is allowed
to perform API calls: 0.0.0.0/0,::/0
2021-09-20 00:27:12,110 ERROR [c.c.a.ApiServer]
(qtp1136768342-20:ctx-d9bd1f44 ctx-931ef03f) (logid:a56ace1d) unhandled
exception executing api command: [Ljava.lang.String;@421e6f13
com.cloud.utils.exception.CloudRuntimeException: DB Exception on:
com.mysql.cj.jdbc.ClientPreparedStatement: SELECT template_store_ref.id,
template_store_ref.store_id, template_store_ref.template_id,
template_store_ref.store_role, template_store_ref.created,
template_store_ref.last_updated, template_store_ref.download_pct,
template_store_ref.size, template_store_ref.physical_size,
template_store_ref.download_state, template_store_ref.local_path,
template_store_ref.error_str, template_store_ref.job_id,
template_store_ref.install_path, template_store_ref.url,
template_store_ref.download_url, template_store_ref.download_url_created,
template_store_ref.is_copy, template_store_ref.destroyed,
template_store_ref.update_count, template_store_ref.updated,
template_store_ref.state, template_store_ref.ref_cnt FROM
template_store_ref WHERE template_store_ref.template_id = 3  AND
template_store_ref.download_state != 'BYPASSED'  AND
template_store_ref.destroyed = 0  AND template_store_ref.store_id IN )
at
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:423)
at
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:359)
at com.cloud.utils.db.GenericDaoBase.search(GenericDaoBase.java:348)
at com.cloud.utils.db.GenericDaoBase.search(GenericDaoBase.java:1308)
at
org.apache.cloudstack.storage.image.db.TemplateDataStoreDaoImpl.listByTemplateNotBypassed(TemplateDataStoreDaoImpl.java:431)
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
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
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.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at com.sun.proxy.$Proxy79.listByTemplateNotBypassed(Unknown Source)
at
com.cloud.api.query.dao.TemplateJoinDaoImpl.newTemplateResponse(TemplateJoinDaoImpl.java:165)
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
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
at

Re: Problem with Templates/ISO

2021-09-19 Thread Pearl d'Silva
Hi,

On the UI, on the Secondary Storage tab (Infrastructure -> Secondary Storage), 
do you see the store present / added there as well?

Thanks,

From: DL 
Sent: Monday, September 20, 2021 9:59 AM
To: users@cloudstack.apache.org 
Subject: Re: Problem with Templates/ISO

Dear Pearl,

Thank you so much for getting back to me!
Yes, I have both the primary storage and secondary storage set up, in the
same way as the Quick Installation Guide.
They are at /export/primary and /export/secondary respectively.

The /export directory looks like this:
/export
├── primary
└── secondary
└── template
└── tmpl
└── 1
└── 3
├── 1e8a80d3-da54-4a4c-a0fb-1a306b390a1c.qcow2
└── template.properties

Is this normal?

Best regards,
Douglas


On Mon, Sep 20, 2021 at 12:22 AM Pearl d'Silva 
wrote:

> Hi Douglas,
>
> Do you have at least one secondary store added to the zone. With respect
> to your query on the SystemVM template for 4.15.2, there is no change in
> the template, i.e., ACS 4.15.2 uses the same template as 4.15.1.
>
> Regards,
> Pearl
> 
> From: DL 
> Sent: Monday, September 20, 2021 9:38 AM
> To: users@cloudstack.apache.org 
> Subject: Problem with Templates/ISO
>
> Hello there,
>
> I am a new CloutStack user and a new user on this mailing list. After
> following the Quick Installation Guide, I ended up with empty Template/ISOs
> when I attempted to create a VM instance.
>
> If I go to Images/Templates, I got 500 Internal Server Error:
>
> Request Failed (530)
> DB Exception on: com.mysql.cj.jdbc.ClientPreparedStatement: SELECT
> template_store_ref.id, template_store_ref.store_id,
> template_store_ref.template_id, template_store_ref.store_role,
> template_store_ref.created, template_store_ref.last_updated,
> template_store_ref.download_pct, template_store_ref.size,
> template_store_ref.physical_size, template_store_ref.download_state,
> template_store_ref.local_path, template_store_ref.error_str,
> template_store_ref.job_id, template_store_ref.install_path,
> template_store_ref.url, template_store_ref.download_url,
> template_store_ref.download_url_created, template_store_ref.is_copy,
> template_store_ref.destroyed, template_store_ref.update_count,
> template_store_ref.updated, template_store_ref.state,
> template_store_ref.ref_cnt FROM template_store_ref WHERE
> template_store_ref.template_id = 3 AND template_store_ref.download_state !=
> 'BYPASSED' AND template_store_ref.destroyed = 0 AND
> template_store_ref.store_id IN )
>
> Could someone help me fix this issue?
>
> The quick installation guide I followed says it is for 4.15.2.0
> installation. However, in the System Template Setup section, this command:
> """
>
> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /export/secondary -u
>
> https://download.cloudstack.org/systemvm/4.15/systemvmtemplate-4.15.1-kvm.qcow2.bz2
> -h
> <https://download.cloudstack.org/systemvm/4.15/systemvmtemplate-4.15.1-kvm.qcow2.bz2-h>
> kvm -F
> """
> seems to suggest that the process will download template vms for the
> 4.15.1.0 version?
>
> Could this be the reason? Does anyone have an idea about when the Template
> for the 4.15.2.0 version will be available?
>
> Best regards,
> Douglas
>
>
>
>

 



Re: Problem with Templates/ISO

2021-09-19 Thread Pearl d'Silva
Hi Douglas,

Do you have at least one secondary store added to the zone. With respect to 
your query on the SystemVM template for 4.15.2, there is no change in the 
template, i.e., ACS 4.15.2 uses the same template as 4.15.1.

Regards,
Pearl

From: DL 
Sent: Monday, September 20, 2021 9:38 AM
To: users@cloudstack.apache.org 
Subject: Problem with Templates/ISO

Hello there,

I am a new CloutStack user and a new user on this mailing list. After
following the Quick Installation Guide, I ended up with empty Template/ISOs
when I attempted to create a VM instance.

If I go to Images/Templates, I got 500 Internal Server Error:

Request Failed (530)
DB Exception on: com.mysql.cj.jdbc.ClientPreparedStatement: SELECT
template_store_ref.id, template_store_ref.store_id,
template_store_ref.template_id, template_store_ref.store_role,
template_store_ref.created, template_store_ref.last_updated,
template_store_ref.download_pct, template_store_ref.size,
template_store_ref.physical_size, template_store_ref.download_state,
template_store_ref.local_path, template_store_ref.error_str,
template_store_ref.job_id, template_store_ref.install_path,
template_store_ref.url, template_store_ref.download_url,
template_store_ref.download_url_created, template_store_ref.is_copy,
template_store_ref.destroyed, template_store_ref.update_count,
template_store_ref.updated, template_store_ref.state,
template_store_ref.ref_cnt FROM template_store_ref WHERE
template_store_ref.template_id = 3 AND template_store_ref.download_state !=
'BYPASSED' AND template_store_ref.destroyed = 0 AND
template_store_ref.store_id IN )

Could someone help me fix this issue?

The quick installation guide I followed says it is for 4.15.2.0
installation. However, in the System Template Setup section, this command:
"""
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
-m /export/secondary -u
https://download.cloudstack.org/systemvm/4.15/systemvmtemplate-4.15.1-kvm.qcow2.bz2
-h kvm -F
"""
seems to suggest that the process will download template vms for the
4.15.1.0 version?

Could this be the reason? Does anyone have an idea about when the Template
for the 4.15.2.0 version will be available?

Best regards,
Douglas

 



Re: [DISCUSS] SystemVM template upgrade improvements

2021-09-03 Thread Pearl d'Silva
Hi Nathan,

You are right, the inclusion of templates as part of the cloudstack management 
package was done bearing in mind that we may have users with restricted 
internet connection.
With respect to the second point you make, while creating separate packages for 
different hypervisor templates would solve the issue of the size of the 
package, we may still end up facing the same issue of missing systemVM 
templates in scenarios where we start off with a zone with say, KVM hosts and 
in due course of time, decide to add XenServer/ VMWare hosts and the admin 
doesn't install the hypervisor specific packages. Keeping that in mind, we 
thought that the all-in-one approach covers more ground.

Thanks,
Pearl


From: Nathan McGarvey 
Sent: Friday, September 3, 2021 11:53 AM
To: users@cloudstack.apache.org 
Subject: Re: [DISCUSS] SystemVM template upgrade improvements

+1

This is also helpful for restricted-from-internet installations. (E.g.
places with on-site installs and strong firewall/proxy/air-gap rules.)
Which is a feature that is increasingly hard to come by for cloud-based
underpinnings, but increasingly of interest for many organizations who
like to have control of where their data resides. (Banks, medical
institutions, governments, etc.)


Should it be in the same packaging, or be a separate package entirely?
That way the current packaging could still remain as-is but have the
option of obtaining the seperately packaged systemVMs in package-manager
format. If you really wanted to, you could even break out the KVM vs Xen
vs VMWare into separate packages to help reduce size and increase
modularity. Then you still are hooking into the turnkey-method since it
lends itself to a apt-get upgrade or yum upgrade, and can update
components individually and maintain that certain versions of SystemVMs
require certain cloudstack versions and vice-versa.



Thanks,
-Nathan McGarvey

On 9/2/21 9:29 AM, Rohit Yadav wrote:
> Hi Hean,
>
> Yes I think the old approach of registering systemvm template prior to 
> upgrade as well as the option to switch between systemvmtemplate continues to 
> be supported. What this feature primarily aims is to make CloudStack turnkey 
> operationally.
>
> May I ask if anyone has any objections on the increased package size? Due to 
> the trade off of including systemvmtemplates in the management package the 
> size increased to about 1-1.5GB which is the only thing I didn't like. 
> However I think this can be optimised in future releases.
>
> Regards.
> 
> From: Hean Seng 
> Sent: Thursday, September 2, 2021 7:34:32 AM
> To: users@cloudstack.apache.org 
> Cc: d...@cloudstack.apache.org 
> Subject: Re: [DISCUSS] SystemVM template upgrade improvements
>
> This is good idea.  Or else , we shall allow  manual upload via. GUI, and
> mark for system template .
>
> On Wed, Sep 1, 2021 at 9:08 PM Pearl d'Silva 
> wrote:
>
>> I probably missed adding the PR link to the feature -
>> https://github.com/apache/cloudstack/pull/4329. Please do provide you
>> inputs.
>>
>>
>> Thanks,
>> Pearl
>>
>> 
>> From: Pearl d'Silva 
>> Sent: Wednesday, September 1, 2021 5:49 PM
>> To: d...@cloudstack.apache.org 
>> Subject: [DISCUSS] SystemVM template upgrade improvements
>>
>> Hi All,
>>
>> We have been working on a feature that simplifies SystemVM template
>> install and upgrades for CloudStack. Historically we've required users to
>> seed the template on secondary storage during fresh installation and
>> register the template before an upgrade - this really does not make
>> CloudStack turnkey, as we end up maintaining and managing them as a
>> separate component - for example, users can't simply do an apt-get upgrade
>> or yum upgrade to upgrade CloudStack.
>>
>> The feature works by automatically initiating registration of the SystemVM
>> templates during upgrades or when the first secondary storage is added to a
>> zone where the SystemVM template hasn't been seeded. This feature addresses
>> several operational pain points for example, when the admin user forgets to
>> register the SystemVM template prior to an upgrade and faces the issue of
>> having to roll back the database midway during the upgrade process. With
>> this feature the upgrade process is seamless, such that the end users do
>> not need to worry about having to perform template registration, but rather
>> have the upgrade process take care of everything that is required.
>>
>> In order to facilitate this feature, the SystemVM templates have to be
>> bundled with the cloudstack-management rpm/deb package which causes the
>> total noredist cloudsta

Re: [DISCUSS] SystemVM template upgrade improvements

2021-09-03 Thread Pearl d'Silva
Hi Hean,

Thanks for your response. As mentioned, the usual upgrade procedure, of admins 
registering template prior upgrade continues to be supported and if we find the 
new systemvm template already registered the new logic for setting up the 
templates doesn't kick in.

Thanks,
Pearl



From: Hean Seng 
Sent: Thursday, September 2, 2021 7:34 AM
To: users@cloudstack.apache.org 
Cc: d...@cloudstack.apache.org 
Subject: Re: [DISCUSS] SystemVM template upgrade improvements

This is good idea.  Or else , we shall allow  manual upload via. GUI, and
mark for system template .

On Wed, Sep 1, 2021 at 9:08 PM Pearl d'Silva 
wrote:

> I probably missed adding the PR link to the feature -
> https://github.com/apache/cloudstack/pull/4329. Please do provide you
> inputs.
>
>
> Thanks,
> Pearl
>
> ________
> From: Pearl d'Silva 
> Sent: Wednesday, September 1, 2021 5:49 PM
> To: d...@cloudstack.apache.org 
> Subject: [DISCUSS] SystemVM template upgrade improvements
>
> Hi All,
>
> We have been working on a feature that simplifies SystemVM template
> install and upgrades for CloudStack. Historically we've required users to
> seed the template on secondary storage during fresh installation and
> register the template before an upgrade - this really does not make
> CloudStack turnkey, as we end up maintaining and managing them as a
> separate component - for example, users can't simply do an apt-get upgrade
> or yum upgrade to upgrade CloudStack.
>
> The feature works by automatically initiating registration of the SystemVM
> templates during upgrades or when the first secondary storage is added to a
> zone where the SystemVM template hasn't been seeded. This feature addresses
> several operational pain points for example, when the admin user forgets to
> register the SystemVM template prior to an upgrade and faces the issue of
> having to roll back the database midway during the upgrade process. With
> this feature the upgrade process is seamless, such that the end users do
> not need to worry about having to perform template registration, but rather
> have the upgrade process take care of everything that is required.
>
> In order to facilitate this feature, the SystemVM templates have to be
> bundled with the cloudstack-management rpm/deb package which causes the
> total noredist cloudstack-management package size to increase to about
> 1.6GB. We currently are packaging templates of only the three widely
> supported hypervisors - KVM, XenServer/XCP-ng and VMWare.
> (These templates are only packaged if the build is initiated with the
> noredist flag.)
>
> We'd like to get your opinion on this idea.
>
> Thanks & Regards,
> Pearl Dsilva
>
>
>
>
>
>
>

--
Regards,
Hean Seng

 



Re: [DISCUSS] SystemVM template upgrade improvements

2021-09-01 Thread Pearl d'Silva
I probably missed adding the PR link to the feature - 
https://github.com/apache/cloudstack/pull/4329. Please do provide you inputs.


Thanks,
Pearl


From: Pearl d'Silva 
Sent: Wednesday, September 1, 2021 5:49 PM
To: d...@cloudstack.apache.org 
Subject: [DISCUSS] SystemVM template upgrade improvements

Hi All,

We have been working on a feature that simplifies SystemVM template install and 
upgrades for CloudStack. Historically we've required users to seed the template 
on secondary storage during fresh installation and register the template before 
an upgrade - this really does not make CloudStack turnkey, as we end up 
maintaining and managing them as a separate component - for example, users 
can't simply do an apt-get upgrade or yum upgrade to upgrade CloudStack.

The feature works by automatically initiating registration of the SystemVM 
templates during upgrades or when the first secondary storage is added to a 
zone where the SystemVM template hasn't been seeded. This feature addresses 
several operational pain points for example, when the admin user forgets to 
register the SystemVM template prior to an upgrade and faces the issue of 
having to roll back the database midway during the upgrade process. With this 
feature the upgrade process is seamless, such that the end users do not need to 
worry about having to perform template registration, but rather have the 
upgrade process take care of everything that is required.

In order to facilitate this feature, the SystemVM templates have to be bundled 
with the cloudstack-management rpm/deb package which causes the total noredist 
cloudstack-management package size to increase to about 1.6GB. We currently are 
packaging templates of only the three widely supported hypervisors - KVM, 
XenServer/XCP-ng and VMWare.
(These templates are only packaged if the build is initiated with the noredist 
flag.)

We'd like to get your opinion on this idea.

Thanks & Regards,
Pearl Dsilva




 



CloudMonkey v6.2.0 Test Binaries

2021-08-13 Thread Pearl d'Silva
Hi All,

The test binaries for the potential CloudMonkey v6.2.0 have been placed at 
https://download.cloudstack.org/testing/cmk/. It would be helpful if you'll 
could help in a round of testing for any issues / regression. On a high-level, 
some of the major changes include:

  *   Validation of arguments while setting CloudMonkey configuration
  *   Verifying user access to CloudMonkey configuration file
  *   Allowing sync command to be used as a verb for CloudStack API calls
  *   Printing response with newlines if output format chosen is "text"
  *   Providing an option to turn-off autocompletion

Please do help in testing, so that if there are any issues, we can work towards 
getting them fixed and releasing CloudMonkey 6.2.0. I'll cut rc1 sometime next 
week.

Thanks for the support.


Thanks & Regards,
Pearl Dsilva

 



Re: Problem using Kubernetes Plugin.

2021-08-06 Thread Pearl d'Silva
Hi,

Do you see any other error messages in the management server logs that could 
hint why the cluster setup may be failing?

Another way that you may debug could be to SSH into the nodes and verify if the 
below mentioned services have completed successfully.
To SSH into the control node, you'll have to use the Management server's 
private key:
ssh -i /var/cloudstack/management/.ssh/id_rsa -p  
core@
To get the port numbers of the worker nodes you can check the Port Forwarding 
tab of the corresponding Kubernetes cluster.

You can then check if the 'setup-kube-system' and 'deploy-kube-system' services 
ran successfully on the respective nodes - control and worker nodes by doing:
systemctl status setup-kube-system
systemctl status deploy-kube-system

or even better, use the kubectl commands to check if the nodes and pods are in 
the right state.

If they are, then try checking if the k8s API server is reachable, by running 
this from the management server:
curl -k https://:6443/version

This may probably shed some light as to where the issue lies.

Thanks,
Pearl



From: Kalil de Albuquerque Carvalho 
Sent: Friday, August 6, 2021 8:06 PM
To: users 
Subject: Problem using Kubernetes Plugin.

Hello all.

I'm here again to ask for help. I'm using CloudStack 4.15, working well
with user account, Instances, firewall and so on.

The problem is when I try to use Kubernetes pluing, following the manual

http://docs.cloudstack.apache.org/en/latest/plugins/cloudstack-kubernetes-service.html

downloading official project ISO but, all time, even creating new
Network Offering, as I searched on the Internet and was suggested this,
putting the Egress rule as full permitted gave me the same error:

"Failed to setup Kubernetes cluster : kubercluster05 in usable state as
unable to provision API endpoint for the cluster"

The instances, master and nodes, was created normally, respond for SSH
connection (even that I do not know the password, but asked for it) but
stop with the Error status on the UI.

Any one has any idea what is going on, what am I doing wrong?

Best regards.



Pearl d'Silva
Software Engineer
s: 
e: pearl.dsi...@shapeblue.com  |  w: www.shapeblue.com  |  t:  @shapeblue
a: 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK


Shape Blue Ltd is a company incorporated in England  Wales. ShapeBlue 
Services India LLP is a company incorporated in India and is operated under 
license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. 
ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa 
and is traded under license from Shape Blue Ltd. ShapeBlue is a registered 
trademark.This email and any attachments to it may be confidential and are 
intended solely for the use of the individual to whom it is addressed. Any 
views or opinions expressed are solely those of the author and do not 
necessarily represent those of Shape Blue Ltd or related companies. If you are 
not the intended recipient of this email, you must neither take any action 
based upon its contents, nor copy or show it to anyone. Please contact the 
sender if you believe you have received this email in error.

Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design  Build|CSForge - rapid IaaS deployment framework
CloudStack Consulting|CloudStack Software Engineering
CloudStack Infrastructure Support|CloudStack Bootcamp Training Courses


[PROPOSE] RM for CloudMonkey v6.2.0

2021-07-08 Thread Pearl d'Silva
Hi All,

I'd like to put myself forward as the release manager for CloudMonkey 6.2.0.

Our last release was almost a year ago, and since then we've had a few minor 
fixes that have gone in, and it seems about the right time to have the next 
release for CloudMonkey. There are a few open issues triaged for the 6.2.0 
milestone: https://github.com/apache/cloudstack-cloudmonkey/milestone/3. If 
you'll do encounter any further issues, please do report them at 
https://github.com/apache/cloudstack-cloudmonkey/issues.


I hope to have your support.

Thanks,
Pearl Dsilva


 



Re: "Bypass VLAN id/range overlap" argument missing?

2021-06-02 Thread Pearl d'Silva
Hi Jordan,

The 'bypassVlanOverlapCheck' parameter does exist in the createNetwork API, but 
during API discovery the parameters sometimes get overwritten. This has been 
addressed by https://github.com/apache/cloudstack/pull/4609 and will be 
available as part of 4.15.1.

Thanks,
Pearl


From: Yordan Kostov 
Sent: Wednesday, June 2, 2021 11:01 AM
To: users@cloudstack.apache.org 
Subject: "Bypass VLAN id/range overlap" argument missing?

Dear everyone,

I would like to use "Bypass VLAN id/range overlap" to create 2 
shared networks that span across one VLAN.
Looking in "cloudmonkey create network" help menu I cannot see 
such argument.
Is there something I am missing or it is not implemented?

Parameters
==
startip = (string) the beginning IP address in the network IP range
externalid = (string) ID of the network in an external system.
networkdomain = (string) network domain
account = (string) account that will own the network
isolatedpvlantype = (string) the isolated private VLAN type for this network
ip6cidr = (string) the CIDR of IPv6 network, must be at least /64
displaytext = (string) the display text of the network
acltype = (string) Access control type; supported values are account and 
domain. In 3.0 all shared networks should have aclType=Domain, and all isolated 
networks - Account. Account means that only the account owner can use the 
network, domain - all accounts in the domain can use the network
zoneid = (uuid) the zone ID for the network
name = (string) the name of the network
netmask = (string) the netmask of the network. Required for shared networks and 
isolated networks when it belongs to VPC
endip = (string) the ending IP address in the network IP range. If not 
specified, will be defaulted to startIP
networkofferingid = (uuid) the network offering ID
displaynetwork = (boolean) an optional field, whether to the display the 
network to the end user or not.
aclid = (uuid) Network ACL ID associated for the network
endipv6 = (string) the ending IPv6 address in the IPv6 network range
ip6gateway = (string) the gateway of the IPv6 network. Required for Shared 
networks
gateway = (string) the gateway of the network. Required for shared networks and 
isolated networks when it belongs to VPC
domainid = (uuid) domain ID of the account owning a network
startipv6 = (string) the beginning IPv6 address in the IPv6 network range
subdomainaccess = (boolean) Defines whether to allow subdomains to use networks 
dedicated to their parent domain(s). Should be used with aclType=Domain, 
defaulted to allow.subdomain.network.access global config if not specified
projectid = (uuid) an optional project for the SSH key
physicalnetworkid = (uuid) the physical network ID the network belongs to
vpcid = (uuid) the VPC network belongs to
isolatedpvlan = (string) the isolated private VLAN for this network

Regards,
Jordan

 



Re: Cloudstack Kubernetes service

2021-05-27 Thread Pearl d'Silva
Hi Jordan,

CNI_VERSION can be set to the latest available one. 
(https://github.com/containernetworking/cni/tags)
CRICTL_VERSION should be set to the Kubernetes version that you want to build 
the iso for - you may refer to 
https://github.com/kubernetes-sigs/cri-tools/tags to get the corresponding 
version.
WEAVENET_NETWORK_YAML_CONFIG - to get the correct weave net config file, pass 
the corresponding kubernetes version as part of the query string as shown in 
the example (https://cloud.weave.works/k8s/net?k8s-version=1.12.5)
For DASHBOARD_YAML_CONFIG, you can use the one as specified in the doc, or you 
can use any version of your choice by updating the specific version into the 
url: 
https://raw.githubusercontent.com/kubernetes/dashboard//aio/deploy/recommended.yaml 
http://docs.cloudstack.apache.org/en/latest/plugins/cloudstack-kubernetes-service.html

During installation this command is executed:
# ./create-kubernetes-binaries-iso.sh OUTPUT_PATH KUBERNETES_VERSION 
CNI_VERSION CRICTL_VERSION WEAVENET_NETWORK_YAML_CONFIG DASHBOARD_YAML_CONFIG

Which is exemplified as
# ./create-kubernetes-binaries-iso.sh ./ 1.12.5 0.7.1 1.12.0 
"https://cloud.weave.works/k8s/net?k8s-version=1.12.5; 
https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta1/aio/deploy/recommended.yaml

My question is where do I collect the values for command attributes? and how 
should I find what is their configuration when it I files that should be 
pointed to?

  *   CNI_VERSION
  *   CRICTL_VERSION
  *   WEAVENET_NETWORK_YAML_CONFIG
  *   DASHBOARD_YAML_CONFIG

Best regards,
Jordan



 



Re: Delete IP range

2021-05-21 Thread Pearl d'Silva
Hi Fariborz,

I did a small test - wherein I created a basic zone - created a VM - then 
deleted the VM and the router, disabled the zone and deleted the system VMs and 
noticed that the IP previously assigned to the router continues to remain 
allocated despite destroying the router and hence encountered the same issue of 
being prohibited from deleting the Public IP range.

So, it's highly likely that the IP that is left behind and marked allocated is 
probably the one that was assigned to the router; so, you can mark it as 
removed in the DB to proceed with deleting the IP range.

Regards,
Pearl

From: Fariborz Navidan 
Sent: Friday, May 21, 2021 5:27 PM
To: users@cloudstack.apache.org 
Subject: Re: Delete IP range

I found 1 IP was used as secondary IP. I just removed it but still one IP
is left which I cannot determine where is use.

On Fri, May 21, 2021 at 4:18 PM Fariborz Navidan 
wrote:

> Hello,
> There are 2 IPs from that range in user_ip+address table but vm_id for all
> records is null. How do I determine which vms are using them?
>
> On Fri, May 21, 2021 at 3:41 PM Pearl d'Silva 
> wrote:
>
>> Hi Fariborz,
>>
>> Can you try listing for public IPs that are still allocated by querying
>> the following:
>>
>> select * from user_ip_address where data_center_id =  and
>> allocated is not null;
>>
>> If it does return some IPs that are marked as allocated and are within
>> the public IP range that you are attempting to delete, set those entries as
>> removed by updating the 'allocated' field of the 'user_ip_address' table as
>> null. Once this is done, you should be able to delete the Ip range.
>>
>> I'm not sure if there is a way to do the same via the UI.
>>
>> Thanks,
>> Pearl
>> 
>> From: Fariborz Navidan 
>> Sent: Friday, May 21, 2021 4:16 PM
>> To: users@cloudstack.apache.org 
>> Subject: Re: Delete IP range
>>
>> Zone is disabled and no system VM and router exists but still the same
>> error.
>>
>> On Fri, May 21, 2021 at 3:12 PM Fariborz Navidan 
>> wrote:
>>
>> > I have done the same. Still get this error message.
>> >
>> > Please help
>> >
>> > On Fri, May 21, 2021 at 11:55 AM Andrija Panic > >
>> > wrote:
>> >
>> >> You should disable the zone and then delete SSVM and CPVM - otherwise
>> ACS
>> >> will try to create it again and use 2 IPs again.
>> >> Then remove the range, then enable the Zone again.
>> >>
>> >> Otherwise, you can check the table in DB user_ip_address (or similar)
>> and
>> >> try to read which IP is used atm - but probably it's just the SSVM and
>> >> CPVM
>> >> which have been recreated.
>> >>
>> >> On Fri, 21 May 2021 at 08:44, Fariborz Navidan 
>> >> wrote:
>> >>
>> >> > Hello,
>> >> >
>> >> > We have migrated our server and public IPs has been changed. I need
>> to
>> >> > migrate all IP ranges to the new one. I have added a new IP range and
>> >> > changed IP of all VMs. I need to force system VMS to use new IP
>> range.
>> >> I'm
>> >> > trying delete the old IP range so that cloudstack assign IPs from the
>> >> new
>> >> > range. I just destroyed all system VMs but when I try to delete old
>> IP
>> >> > range, I get error "2 IPs are used". How do I determine where IPs are
>> >> used?
>> >> >
>> >> > Please advise.
>> >> > Regards.
>> >> >
>> >>
>> >>
>> >> --
>> >>
>> >> Andrija Panić
>> >>
>> >
>>
>>
>>
>>

 



Re: Delete IP range

2021-05-21 Thread Pearl d'Silva
Hi Fariborz,

Can you try listing for public IPs that are still allocated by querying the 
following:

select * from user_ip_address where data_center_id =  and 
allocated is not null;

If it does return some IPs that are marked as allocated and are within the 
public IP range that you are attempting to delete, set those entries as removed 
by updating the 'allocated' field of the 'user_ip_address' table as null. Once 
this is done, you should be able to delete the Ip range.

I'm not sure if there is a way to do the same via the UI.

Thanks,
Pearl

From: Fariborz Navidan 
Sent: Friday, May 21, 2021 4:16 PM
To: users@cloudstack.apache.org 
Subject: Re: Delete IP range

Zone is disabled and no system VM and router exists but still the same
error.

On Fri, May 21, 2021 at 3:12 PM Fariborz Navidan 
wrote:

> I have done the same. Still get this error message.
>
> Please help
>
> On Fri, May 21, 2021 at 11:55 AM Andrija Panic 
> wrote:
>
>> You should disable the zone and then delete SSVM and CPVM - otherwise ACS
>> will try to create it again and use 2 IPs again.
>> Then remove the range, then enable the Zone again.
>>
>> Otherwise, you can check the table in DB user_ip_address (or similar) and
>> try to read which IP is used atm - but probably it's just the SSVM and
>> CPVM
>> which have been recreated.
>>
>> On Fri, 21 May 2021 at 08:44, Fariborz Navidan 
>> wrote:
>>
>> > Hello,
>> >
>> > We have migrated our server and public IPs has been changed. I need to
>> > migrate all IP ranges to the new one. I have added a new IP range and
>> > changed IP of all VMs. I need to force system VMS to use new IP range.
>> I'm
>> > trying delete the old IP range so that cloudstack assign IPs from the
>> new
>> > range. I just destroyed all system VMs but when I try to delete old IP
>> > range, I get error "2 IPs are used". How do I determine where IPs are
>> used?
>> >
>> > Please advise.
>> > Regards.
>> >
>>
>>
>> --
>>
>> Andrija Panić
>>
>

 



Re: Kubernetes service has not been configured properly to provision Kubernetes clusters

2021-04-22 Thread Pearl d'Silva
Hi David,

Not being able to select the OS type for VMware hypervisor type is an expected 
behaviour - as stated in the note in the following section: 
http://docs.cloudstack.apache.org/en/latest/adminguide/templates.html#creating-a-template-from-an-existing-virtual-machine
 - which states:
"Since version 4.15, VMware templates do not allow users or administrators 
selecting an OS Type when registering a template. The OS Type is obtained from 
the template after it is registered."
However, the template registration should go through successfully. Can you 
re-try the template registration.

Thanks,
Pearl


From: David Larsen 
Sent: Thursday, April 22, 2021 9:51 PM
To: users@cloudstack.apache.org 
Subject: SV: Kubernetes service has not been configured properly to provision 
Kubernetes clusters

Thanks Pearl.

OK, I see.
I tried to register a new CoreOS ova template from URL, but when I choose 
Hypervisor "VMware",  the "OS Type" disappear and replaced with "Keyboard Type" 
 so I cannot choose OS Type=CoreOS...
Is this normal?
The template register result is "Ready=False" and Status: Did not find a guest 
OS with type otherLinux64Guest


David Larsen

-Opprinnelig melding-
Fra: Pearl d'Silva 
Sendt: torsdag 22. april 2021 16:50
Til: users@cloudstack.apache.org
Emne: Re: Kubernetes service has not been configured properly to provision 
Kubernetes clusters

Hi David,

On CS 4.15, you will still have to register the CoreOS template to setup 
Kubernetes Clusters and register it with the same name as the global setting 
'cloud.kubernetes.cluster.template.name.'.
The ShapeBlue blog that you are probably referring to is something that will be 
made available in the next LTS release.

Thanks,
Pearl

From: David Larsen 
Sent: Thursday, April 22, 2021 7:47 PM
To: users@cloudstack.apache.org 
Subject: Kubernetes service has not been configured properly to provision 
Kubernetes clusters

Hi 

I have now upgraded from CS 4.13 to CS 4.15 and I have tried to configure 
Kubernetes service from the latest Cloudstack documentation page (CloudStack 
Kubernetes Service — Apache CloudStack 4.15.0.0 
documentation<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdocs.cloudstack.apache.org%2Fen%2Flatest%2Fplugins%2Fcloudstack-kubernetes-service.htmldata=04%7C01%7C%7Cd4047d507be447676ca008d9059e31e5%7C1dd023eed2894f208926463c9b991b5f%7C1%7C0%7C637546999272338838%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=xkZKpR6hfKSHXnZzVokDStxGgiuNGrqRlhLJS0utV9k%3Dreserved=0>)
  with no success…

As I have read from this forum and shapeblue’s pages, the CoreOS template setup 
is not needed anymore. But do I need to configure anything else from the 
GUI/cmd regarding this?

My 4.15 system vm uploaded before upgrading to 4.15 is not marked as “public”… 
is this a problem? Should I delete it and create a new systemvm for 4.15?

I have added Kubernetes versions 1.16.0 and 1.16.3 and they are marked as 
“ready”.
The global parameter in Cloudstack for Kubernetes is enabled.

When I try to create Kubernetes cluster with a test user, I get this error:
Request Failed (530) Kubernetes service has not been configured properly to 
provision Kubernetes clusters



Med vennlig hilsen

David Larsen
Senior systemkonsulent



pearl.dsi...@shapeblue.com
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.shapeblue.com%2Fdata=04%7C01%7C%7Cd4047d507be447676ca008d9059e31e5%7C1dd023eed2894f208926463c9b991b5f%7C1%7C0%7C637546999272338838%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=T%2FaE5I6Ds7PihIHfhbfTRIqPIQHFcRiSBy2a2QOfO%2BE%3Dreserved=0
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK @shapeblue




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



Re: Kubernetes service has not been configured properly to provision Kubernetes clusters

2021-04-22 Thread Pearl d'Silva
Hi David,

On CS 4.15, you will still have to register the CoreOS template to setup 
Kubernetes Clusters and register it with the same name as the global setting 
'cloud.kubernetes.cluster.template.name.'.
The ShapeBlue blog that you are probably referring to is something that will be 
made available in the next LTS release.

Thanks,
Pearl

From: David Larsen 
Sent: Thursday, April 22, 2021 7:47 PM
To: users@cloudstack.apache.org 
Subject: Kubernetes service has not been configured properly to provision 
Kubernetes clusters

Hi 

I have now upgraded from CS 4.13 to CS 4.15 and I have tried to configure 
Kubernetes service from the latest Cloudstack documentation page (CloudStack 
Kubernetes Service — Apache CloudStack 4.15.0.0 
documentation)
  with no success…

As I have read from this forum and shapeblue’s pages, the CoreOS template setup 
is not needed anymore. But do I need to configure anything else from the 
GUI/cmd regarding this?

My 4.15 system vm uploaded before upgrading to 4.15 is not marked as “public”… 
is this a problem? Should I delete it and create a new systemvm for 4.15?

I have added Kubernetes versions 1.16.0 and 1.16.3 and they are marked as 
“ready”.
The global parameter in Cloudstack for Kubernetes is enabled.

When I try to create Kubernetes cluster with a test user, I get this error:
Request Failed (530) Kubernetes service has not been configured properly to 
provision Kubernetes clusters



Med vennlig hilsen

David Larsen
Senior systemkonsulent



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



Re: no "add LDAP user" in Primate GUI?

2021-04-20 Thread Pearl d'Silva
Hi Jordan,

On adding the LDAP configuration i.e, hostname/port - you should be able to see 
the 'Add LDAP Account' button in the Accounts view (If you don't see it, try 
refreshing the page (F5)).

Regards,

From: Yordan Kostov 
Sent: Tuesday, April 20, 2021 1:44 PM
To: users@cloudstack.apache.org 
Subject: RE: [!!Mass Mail]no "add LDAP user" in Primate GUI?

Thank you!
Interesting enough the button is missing from the legacy GUI too.

Regards,
Jordan

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


-Original Message-
From: Дикевич Евгений Александрович 
Sent: Tuesday, April 20, 2021 11:08 AM
To: users@cloudstack.apache.org
Subject: RE: [!!Mass Mail]no "add LDAP user" in Primate GUI?


[X] This message came from outside your organization


HI
Try to use legacy UI:
:8080/client/legacy

-Original Message-
From: Yordan Kostov [mailto:yord...@nsogroup.com]
Sent: Tuesday, April 20, 2021 11:03 AM
To: users@cloudstack.apache.org
Subject: [!!Mass Mail]no "add LDAP user" in Primate GUI?

Hey everyone,

I am trying to integrate 4.15 with AD by following this guide 
-> 
https://urldefense.com/v3/__https://www.shapeblue.com/using-cloudstack-4-3-with-microsoft-active-directory/__;!!A6UyJA!0P0QUL5JuqD2TJ72VcU2UZQ2MFiekvsck5JOU5tKuKakomUqQoUi5DVK-KpkevxTen59zAV6eTga$
 .
After configuration is done a user can add AD users from 
"Account -> Add ldap user" but such option is not present in Primate GUI.
Has something changed and is there other way to do that?

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

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: Enabling nested virtualization

2021-04-19 Thread Pearl d'Silva
Hi Fariborz,

To enable nested virtualization on the KVM hypervisor hosts:

  1.  shutoff the running VMs on the respective host.
  2.  Create the following file: /etc/modprobe.d/kvm-nested.conf and add the 
following details to the file: options kvm-intel nested=1
  3.  Remove and re-add the kvm kernel module,
modprobe -r kvm_intel
modprobe -a kvm_intel
  4.  Verify the content of /sys/module/kvm_intel/parameters/nested file to 
validate if nested virtualization has been enabled

Add required details in the agent.properties file as stated in the earlier 
emails and restart the cloudstack-agent service.
Start the VM(s) - you should now see the vmx flag in your guest VM(s).

Thanks,
Pearl

From: Nicolas Vazquez 
Sent: Monday, April 19, 2021 9:33 AM
To: users@cloudstack.apache.org 
Subject: Re: Enabling nested virtualization

Hi Fariborz,

Can you explore if it can be enabled by explicitly sending metada to that VM. I 
would suggest passing '' by:

  *   Set the configuration 'enable.additional.vm.configuration' to true
  *   Set the configuration 'allow.additional.vm.configuration.list.kvm' to 
'cpu'
  *   Encode the text to be passed, as: 
'%3Ccpu%20mode%3D%27host-model%27%20check%3D%27partial%27%2F%3E'
  *   Stop and update the virtual machine, passing the encoded text as the 
extraconfig parameter: update virtualmachine 
extraconfig="%3Ccpu%20mode%3D%27host-model%27%20check%3D%27partial%27%2F%3E" 
id=

More information about this feature: 
https://www.shapeblue.com/cloudstack-feature-first-look-enable-sending-of-arbitrary-configuration-data-to-vms/


Regards,

Nicolas Vazquez


From: Fariborz Navidan 
Sent: Sunday, April 18, 2021 7:50 PM
To: users@cloudstack.apache.org 
Subject: Re: Enabling nested virtualization

Hello,

I just added the following lines to agent.properties file:

guest.cpu.mode=host-model
guest.cpu.features=vmx

And stopped/started the VM. The CPU model name inside /proc/cpuinfo on the
VM reads exac;y as the CPU model of the physical host but it still does not
expose the vmx feature to the VM. The output of command "cat /proc/cpuinfo
| grep vmx" is empty.

Please advise.

Regards.

On Sun, Apr 18, 2021 at 6:13 PM Andrija Panic 
wrote:

> I would use imagination and imagine that in order to apply a specific CPU
> model (and expose flags) to the needed VMs (ps aux | grep i-2-XXX-VM)  -
> you will need to stop/start just the wanted VMs.
>
> Otherwise, after agent.properties change, it is required to restart the
> agent, for obvious reasons.
>
> Best,
>
> On Sun, 18 Apr 2021 at 13:22, Fariborz Navidan 
> wrote:
>
> > Hi,
> >
> > Should I stop/start all VMs or just the one I want to be deployed with
> VTX
> > flag?
> >
> > Regards.
> >
> > On Sun, Apr 18, 2021 at 1:49 AM Andrija Panic 
> > wrote:
> >
> > > Try with the custom CPU model inside the agents.properties, making sure
> > you
> > > pass the VTX and other CPU flags. (you can defined CPU model, or use
> some
> > > CPU model + some more CPU flags (i.e. VTX)
> > > Never tested, but is supposed to work that way.
> > >
> > > Best,
> > >
> > > On Sat, 17 Apr 2021 at 21:58, Fariborz Navidan 
> > > wrote:
> > >
> > > > Hi All,
> > > >
> > > > How can I enable nested virtualization on KVM hypervisor so that a
> > guest
> > > VM
> > > > supports nested Intel-VTX?
> > > >
> > > > TIA
> > > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> >
>
>
> --
>
> Andrija Panić
>

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




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



Re: [PROPOSAL] Force option and/or command to the detach ISO operation for running VMs

2021-04-09 Thread Pearl d'Silva
I've seen this issue happen on VMware.
+1 on having a force option to the attach/detach iso operations, thus giving 
control to the users as opposed to hard-coding the answer in the code.

Regards,
Pearl

From: Nicolas Vazquez 
Sent: Tuesday, March 30, 2021 4:06 AM
To: users@cloudstack.apache.org 
Subject: Re: [PROPOSAL] Force option and/or command to the detach ISO operation 
for running VMs

Hi Alireza,

Yes - I have seen the same. In my tests that VM question was the one with ID 
'msg.cdromdisconnect.locked' to which CloudStack always answered "no" to that 
question and there was no option to control which answer to send.

I also noticed that the answering that question is only handled in the Vmware 
codebase, but not on other hypervisors codebase.


Regards,

Nicolas Vazquez


From: Alireza Eskandari 
Sent: Monday, March 29, 2021 3:40 PM
To: users@cloudstack.apache.org 
Subject: Re: [PROPOSAL] Force option and/or command to the detach ISO operation 
for running VMs

Hi Nicolas
AFAIK in these situations ESXi will raise a question about detaching iso
from VM.
I have faced with similar problem in this issue:
https://github.com/apache/cloudstack/issues/4808
I got the same error in vCenter. Before waiting for timeout, if you click
on the refresh button in the top right corner of the web gui, you can see
an unanswered question is raised for the VM.
Regards

On Mon, Mar 29, 2021 at 7:34 PM Nicolas Vazquez <
nicolas.vazq...@shapeblue.com> wrote:

> Hi all,
>
> I have observed a non-consistent issue on the detach ISO operation for
> running VMs. Some guest OS refuse to release an attached ISO even though
> the ISO is not mounted, making the detach ISO operation fail if the VM is
> running. For example, a CentOS 7 running VM on Vmware 6.5 fails to detach
> an ISO with error: 'Connection control operation failed for disk 'ide0:0'
> if the VM is running'. However, there is no issue if the VM is stopped.
>
> As a workaround executing an 'eject' command on the guest VM before the
> detach operation solves the problem. The detach ISO operation in CloudStack
> could be extended to support a 'force' option - which could perform a
> similar workaround when the VM is running.
>
> I would be interested to know if you have experimented similar issues on
> different hypervisors or could be some hypervisor specific version issue.
>
>
> Regards,
>
> Nicolas Vazquez
>
> nicolas.vazq...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>

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




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



Re: Db schema upgrade fails from 4.14 to 4.16

2021-04-08 Thread Pearl d'Silva
Hi Rakesh,

Was there a prior attempt made to upgrade which didn't go through successfully? 
It seems like while it failed to upgrade, the DB changes were applied, hence 
resulting in the failure that is noticed. To address the issue, you will have 
to restore the DB, if you've taken a backup of it and redo the upgrade.
However, to avoid such situations, an enhancement was added with 
https://github.com/apache/cloudstack/pull/4582 which prevents upgrading the DB 
in case of missing systemvm template.

Thanks
Pearl


From: Andrija Panic 
Sent: Thursday, April 8, 2021 9:09 PM
To: dev 
Cc: users 
Subject: Re: Db schema upgrade fails from 4.14 to 4.16

4.16 doesn't exist yet, and it's the master branch - so failures are
expected...

On Thu, 8 Apr 2021 at 16:42, Rakesh Venkatesh 
http://www.rakeshv@gmail.com>>
wrote:

> Hello users
>
>
> Im trying to upgrade cloudstack from 4.14.0 to 4.16.0 and the upgrade is
> failing because of the db schema upgrade. Any idea on how to fix this.
>
> This is the commit which is causing the issue
> https://github.com/apache/cloudstack/pull/4128
>
>
>
> 2021-04-08 13:59:26,983 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
> -- Schema upgrade from 4.14.0.0 to 4.15.0.0
>
> 2021-04-08 13:59:27,002 ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:)
> Error executing: ALTER TABLE `cloud`.`project_account`  ADD COLUMN
> `user_id` bigint unsigned COMMENT 'ID of user to be added to the project'
> AFTER `account_id`,  ADD CONSTRAINT `fk_project_account__user_id` FOREIGN
> KEY `fk_project_account__user_id`(`user_id`) REFERENCES `user`(`id`) ON
> DELETE CASCADE,  ADD COLUMN `project_role_id` bigint unsigned COMMENT
> 'Project role id' AFTER `project_account_id`,  ADD CONSTRAINT
> `fk_project_account__project_role_id` FOREIGN KEY (`project_role_id`)
> REFERENCES `project_role` (`id`) ON DELETE SET NULL,  DROP FOREIGN KEY
> `fk_project_account__account_id`,  DROP INDEX `account_id`
> 2021-04-08 13:59:27,003 ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:)
> java.sql.SQLSyntaxErrorException: Can't DROP
> 'fk_project_account__account_id'; check that column/key exists
> 2021-04-08 13:59:27,004 ERROR [c.c.u.DatabaseUpgradeChecker] (main:null)
> (logid:) Unable to execute upgrade script
> java.sql.SQLSyntaxErrorException: Can't DROP
> 'fk_project_account__account_id'; check that column/key exists
> at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:185)
>
>
> Caused by: java.sql.SQLSyntaxErrorException: Can't DROP
> 'fk_project_account__account_id'; check that column/key exists
> --
> Thanks and regards
> Rakesh
>


--

Andrija Panić

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



Re: Congratulations to Gabriel - CloudStack PMC Chair

2021-03-18 Thread Pearl d'Silva
Congratulations Gabriel!

Regards,
Pearl

From: Nicolas Vazquez 
Sent: Thursday, March 18, 2021 5:04 PM
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Cc: priv...@cloudstack.apache.org 
Subject: Re: Congratulations to Gabriel - CloudStack PMC Chair

Congratulations Gabriel!


Regards,

Nicolas Vazquez


From: Slavka Peleva 
Sent: Thursday, March 18, 2021 8:09 AM
To: users@cloudstack.apache.org 
Cc: dev ; priv...@cloudstack.apache.org 

Subject: Re: Congratulations to Gabriel - CloudStack PMC Chair

Congratulations, Gabriel! I wish you all the best with the new role!

On Thu, Mar 18, 2021 at 12:35 PM Daan Hoogland 
wrote:

> parabens e successo, Gabriel.
>
> On Thu, Mar 18, 2021 at 10:50 AM Abhishek Kumar <
> abhishek.ku...@shapeblue.com> wrote:
>
> > Congrats Gabriel 
> > 
> > From: Paul Angus 
> > Sent: 18 March 2021 02:40
> > To: d...@cloudstack.apache.org ;
> > users@cloudstack.apache.org 
> > Cc: priv...@cloudstack.apache.org 
> > Subject: Congratulations to Gabriel - CloudStack PMC Chair
> >
> > Hi All CloudStack enthusiasts!
> >
> >
> >
> > Please join me in congratulating Gabriel for becoming the next CloudStack
> > PMC Chair.
> >
> > Congratulations Gabriel, very well deserved!
> >
> >
> >
> > I would also like to thank Sven for his great work of the past year!
> >
> >
> >
> >
> >
> >
> >
> > Kind regards
> >
> >
> >
> > Paul Angus
> >
> >
> >
> >
> > abhishek.ku...@shapeblue.com
> > www.shapeblue.com
> > 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> > @shapeblue
> >
> >
> >
> >
>
> --
> Daan
>

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




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



Re: Congratulations to Sven - Apache Software Foundation Member

2021-03-18 Thread Pearl d'Silva
Congratulations Sven!

Regards,
Pearl

From: Nicolas Vazquez 
Sent: Thursday, March 18, 2021 5:04 PM
To: users@cloudstack.apache.org 
Cc: d...@cloudstack.apache.org 
Subject: Re: Congratulations to Sven - Apache Software Foundation Member

Congratulations Sven!


Regards,

Nicolas Vazquez


From: Slavka Peleva 
Sent: Thursday, March 18, 2021 8:08 AM
To: users@cloudstack.apache.org 
Cc: d...@cloudstack.apache.org 
Subject: Re: Congratulations to Sven - Apache Software Foundation Member

Congratulations, Sven! Wishing you success with the new role!

On Thu, Mar 18, 2021 at 11:49 AM David Jumani 
wrote:

> Congratulations Sven!
> 
> From: Paul Angus 
> Sent: Thursday, March 18, 2021 2:43 AM
> To: d...@cloudstack.apache.org ;
> users@cloudstack.apache.org 
> Subject: Congratulations to Sven - Apache Software Foundation Member
>
> Hi All,
>
>
>
> More great news.
>
>
>
> Please join me in congratulating Sven,  for being made a Member of the
> Apache Software Foundation.
>
>
>
> Congratulations Sven, keep up the good work!
>
>
>
> Kind regards
>
>
>
> Paul Angus
>
>
>
>
> david.jum...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>

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




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



Re: Goggle Summer of Code 2021

2021-03-16 Thread Pearl d'Silva
Hi All,

I'd like to propose an idea around extending the behaviour of Persistent 
Networks in CloudStack. The idea is to enable synchronization of network 
devices across newly added hosts. Further details can be found at: 
https://github.com/apache/cloudstack/issues/4814

Thanks,
Pearl Dsilva




From: Giles Sirett 
Sent: Tuesday, February 16, 2021 2:59 PM
To: d...@cloudstack.apache.org 
Cc: users@cloudstack.apache.org ; 
priv...@cloudstack.apache.org 
Subject: Goggle Summer of Code 2021

Hi all

It would be great if the CloudStack project were able to get a few Google 
Summer of Code  [1] students this year to work on projects within our 
community. We've had a number of previous GSoC students (examples at [2] ), who 
have worked on innovative features/ projects within cloudstack and have then 
gone on to become significant contributors to Cloudstack .


In order to be able to attract students to work on Cloudstack, we need 2 things:

  1.  A number of candidate projects for students to work on. Students browse 
all GSoC the candidate projects and choose one that interests them- effectively 
every organisation is competing for the students interest.  These projects 
therefore need to be reasonably interesting looking projects to attract 
potential students. The students spend approximately 9 weeks coding, so the 
projects need to be appropriately scaled
  2.  Somebody prepared to mentor the student throughout the duration of the 
project (usually the person who suggests the project)

The student application period starts 29 March [3]
The ASF  has registered itself as a mentor  organisation with Google , allowing 
individual Apache projects to list candidate projects  for students to work on. 
A wiki page [4]  has been created at the ASF level to allow ASF projects to  
list their ideas for students


I'm happy to coordinate this from a Cloudstack perspective.
If others are happy with this approach, then I ask for two things at this stage:


  1.  Could people suggest appropriate projects. This could be a piece of 
integration that you've always considered and not got around to or could be an 
improvement that you've always wanted to do. If people can reply to this thread 
with ANY ideas, it would be a good start (irrespective of whether you wish to 
be a mentor or not)
  2.  At the same time, could people say whether they'd be prepared to be a 
student mentor or not




[1] https://summerofcode.withgoogle.com/


[2]
https://blog.netapp.com/blogs/mentoring-with-google-summer-of-code-and-lessons-in-cloudstack/
https://dzone.com/articles/cloudstack-google-summer-code
https://opensource.googleblog.com/2014/07/gsoc-students-create-google-compute.html


[3]https://summerofcode.withgoogle.com/how-it-works/#timeline

[4] https://cwiki.apache.org/confluence/display/COMDEV/GSoC+2021+Ideas+list



Kind regards
Giles


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




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



Re: [DISCUSS] SystemVM template for CKS

2021-01-28 Thread Pearl d'Silva
Hi All,

Apologies for the previous mail, seems like the table got mangled. So, 
re-sending the mail with the reformatted table content.

So, as we all know that CoreOS reached EOL on May 26th, 2020 and with this 
arose the need to find a suitable replacement that meets the need of 
resilience, popularity, and security. Keeping these aspects in mind, we looked 
at some viable options like Alpine Linux, FlatCar Linux, and Debian. Doing some 
basic PoCs on each of them and understanding how they fair in the community, we 
based our decision on the following metrics/parameters:

FlatCar Linux:

  *Drop-in replacement for CoreOS
  *Size: ~ 500-600MB
  *   Security: Quite secure as it mitigates security vulnerabilities by means 
of delivering the OS as an immutable filesystem
  *   Release Management: Frequent releases – almost bi-weekly or monthly
  *   Maintenance: It is maintained by Kinvolk – a Berlin based consulting firm 
known for their work around rkt, Kubernetes, etc.
  *   Reason for NOT choosing: A small community, not a popular choice and 
chances of meeting the same fate as CoreOS i.e., EOL

Alpine Linux:

  *   Alpine Linux is a Linux distribution based on musl and BusyBox, designed 
for security, simplicity, and resource efficiency
  *   Size: Small image of approx. 5MB – Because of its small size, it is 
commonly used in containers providing quick boot-up times
  *   Security: All userland binaries are compiled as Position Independent 
Executables (PIE) with stack smashing protection. These proactive security 
features prevent exploitation of entire classes of zero-day and other 
vulnerabilities.
  *   Release Management: There are several releases of Alpine Linux available 
at the same time. There is no fixed release cycle but typically every 6 months
  *   Maintenance: Alpine Linux is backed by a pretty large community base with 
mailer lists, etc. to find support
  *   Reason for NOT choosing: Init system used by Alpine Linux is openrc – and 
up until recently k8s did not support openrc systems 
https://github.com/kubernetes/kubeadm/issues/1295

Debian:

  *   Debian is one of the oldest operating systems based on the Linux kernel. 
New distributions are updated regularly, and the next candidate is released 
after a time-based freeze.
  *   Size: ~500-600MB
  *   Security: Debian is on a par with most other Linux distributions.
  *   Release Management: Debian announces its new stable release on a regular 
basis. 3 years of full support for each release and 2 years of extra LTS 
support.
  *   Maintenance: Unparalleled support –claim to provide you with answers for 
queries on mailing lists within minutes!
  *   Reason for choosing: Huge community support, and most importantly – we 
can modify the existing systemVM templates!

Considering the above, we propose using the Debian-based systemVM template for 
apart from the fact that it has a huge community support, we already have it 
registered in our CloudStack environments, thus making it readily available for 
consumption by CKS for deploying Kubernetes clusters, with no requirement of 
registering a new template. To enable systemVM to be consumed by CKS a few 
packages like docker, containerd, are installed on the systemVM template, 
however, these services are disabled by default in the systemVM template and 
are only enabled and started for CKS nodes. We've proposed a PR here: 
https://github.com/apache/cloudstack/pull/4329.


Thanks & Regards,
Pearl Dsilva


From: Pearl d'Silva 
Sent: Thursday, January 28, 2021 6:32 PM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: [DISCUSS] SystemVM template for CKS

Hi All,

As we all know that CoreOS reached EOL on May 26th, 2020 and with this arose 
the need to find a suitable replacement that meets the need of resilience, 
popularity, and security. Keeping these aspects in mind, we looked at some 
viable options like Alpine Linux, FlatCar Linux, and Debian. Doing some basic 
PoCs on each of them and understanding how they fair in the community, we based 
our decision on the following metrics/parameters:

FlatCar Linux   Alpine LinuxDebian
Brief Description   Drop-in replacement for CoreOS  Alpine Linux is a Linux 
distribution based on musl and BusyBox, designed for security, simplicity, and 
resource efficiency  Debian is one of the oldest operating systems based on 
the Linux kernel. New distributions are updated regularly, and the next 
candidate is released after a time-based freeze.
Size~ 500MB – 600MB Small image of approx. 5MB – Because of its small size, 
it is commonly used in containers providing quick boot-up times ~ 500MB – 600MB
SecurityQuite secure as it mitigates security vulnerabilities by means 
of delivering the OS as an immutable filesystem  All userland binaries are 
compiled as Position Independent Executables (PIE) with stack smashing 
protection. These proactive security feat

[DISCUSS] SystemVM template for CKS

2021-01-28 Thread Pearl d'Silva
Hi All,

As we all know that CoreOS reached EOL on May 26th, 2020 and with this arose 
the need to find a suitable replacement that meets the need of resilience, 
popularity, and security. Keeping these aspects in mind, we looked at some 
viable options like Alpine Linux, FlatCar Linux, and Debian. Doing some basic 
PoCs on each of them and understanding how they fair in the community, we based 
our decision on the following metrics/parameters:

FlatCar Linux   Alpine LinuxDebian
Brief Description   Drop-in replacement for CoreOS  Alpine Linux is a Linux 
distribution based on musl and BusyBox, designed for security, simplicity, and 
resource efficiency  Debian is one of the oldest operating systems based on 
the Linux kernel. New distributions are updated regularly, and the next 
candidate is released after a time-based freeze.
Size~ 500MB – 600MB Small image of approx. 5MB – Because of its small size, 
it is commonly used in containers providing quick boot-up times ~ 500MB – 600MB
SecurityQuite secure as it mitigates security vulnerabilities by means 
of delivering the OS as an immutable filesystem  All userland binaries are 
compiled as Position Independent Executables (PIE) with stack smashing 
protection. These proactive security features prevent exploitation of entire 
classes of zero-day and other vulnerabilities.Debian is on a par with most 
other Linux distributions.
Release Management  Frequent releases – almost bi-weekly or monthly There 
are several releases of Alpine Linux available at the same time. There is no 
fixed release cycle but typically every 6 months Debian announces its new 
stable release on a regular basis. 3 years of full support for each release and 
2 years of extra LTS support.
Maintenance It is maintained by Kinvolk – a Berlin based consulting firm 
known for their work around rkt, Kubernetes, etc.  Alpine Linux is backed by a 
pretty large community base with mailer lists, etc. to find support 
Unparalleled support –claim to provide you with answers for queries on mailing 
lists within minutes!
Main Reason for Choosing / Not Choosing NOT CHOSEN: A small community, not a 
popular choice and chances of meeting the same fate as CoreOS i.e., EOLNOT 
CHOSEN: Init system used by Alpine Linux is openrc – and up until recently k8s 
did not support openrc systems
https://github.com/kubernetes/kubeadm/issues/1295   CHOSEN: Huge community 
support, and most importantly – we can modify the existing systemVM templates!


With the above, we propose using the Debian-based systemVM template for apart 
from the fact that it has a huge community support, we already have it 
registered in our CloudStack environments, thus making it readily available for 
consumption by CKS for deploying Kubernetes clusters, with no requirement of 
registering a new template. To enable systemVM to be consumed by CKS a few 
packages like docker, containerd, are installed on the systemVM template, 
however, these services are disabled by default in the systemVM template and 
are only enabled and started for CKS nodes. We've proposed a PR here: 
https://github.com/apache/cloudstack/pull/4329.


Thanks & Regards,
Pearl Dsilva

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



Re: Password reset for CentOS 8 Template

2020-11-22 Thread Pearl d'Silva
Hi Hean,

I had seen a similar behavior with VMs deployed on shared network. The issue 
was that cloud-init first searches for the dhcp leases file, and only if it 
can't find one does cloud-init use the default gateway to reach the metadata 
server.
So, firstly you may want to check for the presence of the dhclient lease file, 
which contains the parameter - 'dhcp-server-identifier' which would correspond 
to the VR IP. If it isn't present, you could try to acquire the lease by 
running ' dhclient -1' and then try resetting the password.


Thanks
Pearl


From: Hean Seng 
Sent: Saturday, November 21, 2020 11:31 PM
To: users@cloudstack.apache.org 
Subject: Re: Password reset for CentOS 8 Template

Hi

I put the script in /etc/NetworkManager/dispatcher.d , the script run , but
keep say

Found password server IP x.x.x.1 in nmcli output

Sending request to password server at x.x.x.1

Failed to send request to password server at x.x.x.1

Did not need to change password.

the file  /etc/sysconfig/network-scripts/ifcfg-eth0   is exist

this x.x.x.1  is the Gw IP , which is not right, it should get the IP from
VirtualRouter IP .




On Tue, Nov 17, 2020 at 7:49 PM Craig Dunn 
wrote:

> Hey,
>
> I created a Centos 8 template a few months back for our cloudstack 4.11
> install.
>
> I made a few notes on the install, Not sure exactly what issue you were
> having but mine was the script tried to run before network manager had
> finished starting. Notes I made I pasted below, hope it helps
>
> Centos 8 and above has changed the way in which its networking is handled.
> The Network-Scripts has been deprecated and replaced with Network Manager
> which handles all interfaces
>
>
>
> This means that placing the Cloudstack password management script inside
> /etc/init.d errors saying that Network Manager was not started. This is due
> to the fact that the script runs on bootup and runs before Network Manager
> starts so the password does not get changed.
>
>
>
> If you try this you can see the error in /var/log/messages and you run:
>
>
>
> cat messages | grep "password"
>
>
>
> To resolve this we need to get the password change script to run after the
> Network Manager service has started.
>
>
>
> Navigate to /etc/NetworkManager/dispatcher.d
>
>
>
> Create a file called ifup-local
>
>
>
> And paste the script inside the file
>
> Thanks
>

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

> On Fri, 13 Nov 2020 at 04:24, Hean Seng  wrote:
>
> > Hi
> >
> > Is there anybody do the template for CentOS 8 before,  i not able to get
> it
> > work for password reset .  either in Script or Cloud-Init.  It is due
> > to CentOS 8 cannot disable NetworkManager, and Cloudstack data source py
> ,
> > keep getting data from  NetworkManager and there  seem not able to get
> the
> > VR ip there.
> >
> > Anybody have experience on CentOS 8 template, pelase share the
> experience .
> >
> >
> > --
> > Regards,
> > Hean Seng
> >
>


--
Regards,
Hean Seng


Re: [ANNOUNCE] new committer: Suresh Anaparti

2020-11-17 Thread Pearl d'Silva
Congratulations Suresh!

From: Nitin Maharana 
Sent: Wednesday, November 18, 2020 11:37 AM
To: dev 
Cc: users@cloudstack.apache.org ; Suresh Anaparti 

Subject: Re: [ANNOUNCE] new committer: Suresh Anaparti

Congratulations, Suresh!

Thanks,
Nitin

On Wed, Nov 18, 2020 at 11:22 AM Harikrishna Patnala <
harikrishna.patn...@shapeblue.com> wrote:

> Congratulations Suresh 
> 
> From: Sven Vogel 
> Sent: Wednesday, November 18, 2020 4:17 AM
> To: d...@cloudstack.apache.org ;
> users@cloudstack.apache.org 
> Cc: Suresh Anaparti 
> Subject: [ANNOUNCE] new committer: Suresh Anaparti
>
> Hi everyone,
>
>
>  The Project Management Committee (PMC) for Apache CloudStack
> has invited Suresh Anaparti to become a committer and we are pleased
> to announce that he has accepted.
>
> Please join me in congratulating Suresh on this accomplishment.
>
>
> Being a committer enables easier contribution to the
> project since there is no need to go via the patch
> submission process. This should enable better productivity.
>
>
> Thanks and Cheers,
>
>
>
> Sven Vogel
> Apache CloudStack PMC member
>
> harikrishna.patn...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SG
> @shapeblue
>
>
>
>

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



Re: [ANNOUNCE] new committer: Abhishek Kumar

2020-11-17 Thread Pearl d'Silva
Congratulations Abhishek!

From: Harikrishna Patnala 
Sent: Wednesday, November 18, 2020 11:21 AM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Cc: Abhishek Kumar 
Subject: Re: [ANNOUNCE] new committer: Abhishek Kumar

Congratulations Abhishek 

From: Sven Vogel 
Sent: Wednesday, November 18, 2020 4:18 AM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Cc: Abhishek Kumar 
Subject: [ANNOUNCE] new committer: Abhishek Kumar

Hi everyone,


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

Please join me in congratulating Abhishek on this accomplishment.


Being a committer enables easier contribution to the
project since there is no need to go via the patch
submission process. This should enable better productivity.




Thanks and Cheers,



Sven Vogel
Apache CloudStack PMC member

harikrishna.patn...@shapeblue.com
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SG
@shapeblue




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



Re: [ANNOUNCE] new committer: Nguyen Mai Hoang

2020-11-17 Thread Pearl d'Silva
Congratulations Hoang!

From: Harikrishna Patnala 
Sent: Wednesday, November 18, 2020 11:20 AM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Cc: hoang.ngu...@ewerk.com 
Subject: Re: [ANNOUNCE] new committer: Nguyen Mai Hoang

Congratulations Nguyen !

From: Sven Vogel 
Sent: Wednesday, November 18, 2020 4:18 AM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Cc: hoang.ngu...@ewerk.com 
Subject: [ANNOUNCE] new committer: Nguyen Mai Hoang

Hi everyone,



 The Project Management Committee (PMC) for Apache CloudStack
has invited Nguyen Mai Hoang to become a committer and we are pleased
to announce that he has accepted.

Please join me in congratulating Hoang on this accomplishment.


Being a committer enables easier contribution to the
project since there is no need to go via the patch
submission process. This should enable better productivity.


Thanks and Cheers,



Sven Vogel
Apache CloudStack PMC member

harikrishna.patn...@shapeblue.com
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SG
@shapeblue




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



Re: [ANNOUNCE] new committer: Rakesh Venkatesh

2020-11-17 Thread Pearl d'Silva
Congratulations Rakesh!!

From: Harikrishna Patnala 
Sent: Wednesday, November 18, 2020 11:19 AM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Cc: r.venkat...@global.leaseweb.com 
Subject: Re: [ANNOUNCE] new committer: Rakesh Venkatesh

Congrats Rakesh 

From: Sven Vogel 
Sent: Wednesday, November 18, 2020 4:18 AM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Cc: r.venkat...@global.leaseweb.com 
Subject: [ANNOUNCE] new committer: Rakesh Venkatesh

Hi everyone,



 The Project Management Committee (PMC) for Apache CloudStack
has invited Rakesh Venkatesh to become a committer and we are pleased

to announce that he has accepted.

Please join me in congratulating Rakesh on this accomplishment.


Being a committer enables easier contribution to the
project since there is no need to go via the patch
submission process. This should enable better productivity.


Thanks and Cheers,



Sven Vogel
Apache CloudStack PMC member

harikrishna.patn...@shapeblue.com
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SG
@shapeblue




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



Re: Changing a host's password

2020-11-11 Thread Pearl d'Silva
Hi Matthew,

Based on 
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.8/management.html#changing-the-database-configuration,
 seems like the database key is the content of the file 
/etc/cloudstack/management/key.

Thanks,
Pearl


From: Hean Seng 
Sent: Thursday, November 12, 2020 8:27 AM
To: users@cloudstack.apache.org 
Subject: Re: Changing a host's password

Actually you can use Cloud-Init for password reset for newer OS , doesnt
not need this script

On Thu, Nov 12, 2020 at 6:39 AM Matthew Smart 
wrote:

> is the databasekey referring to the value "db.cloud.encrypt.secret"
> listed in /etc/cloudstack/management/db.properties?
>
> Matthew Smart
> President
> Smart Software Solutions Inc.
> 108 S Pierre St.
> Pierre, SD 57501
>
> Phone: (605) 280-0383
> Skype: msmart13
> Email: msm...@smartsoftwareinc.com
>

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

> On 11/11/20 4:32 PM, Matthew Smart wrote:
> > This process seems straightforward to me but I want to make sure I
> > understand the parameters to pass into step 3 from the guide:
> >
> http://docs.cloudstack.apache.org/en/latest/adminguide/hosts.html#changing-host-password
> >
> >
> > Here is the command for encrypting the password in step 3:
> > java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar \
> > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI \
> > encrypt.sh input="newrootpassword" \
> > password="databasekey" \
> > verbose=false
> >
> > The two parameters are input and password.
> > Is the input parameter where I put the new password and, if so, where
> > do I find the "databasekey" that is indicated to be the proper value
> > of the password parameter?
> > Or
> > Is the input parameter just an unused descriptive field that can
> > contain any value and the password parameter is where the new password
> > should go?
> >
> > I cannot seem to find a good description of how to use
> > JasyptPBEStringEncryptionCLI online anywhere.
> >
> > Thanks,
> >
>
>

--
Regards,
Hean Seng


Re: New Joiner

2020-11-04 Thread Pearl d'Silva
Welcome Hoang!

Regards,
Pearl Dsilva


From: Abhishek Kumar 
Sent: Wednesday, November 4, 2020 5:23 PM
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: Re: New Joiner

Hi,

Welcome Hoang!

Regards,
Abhishek

From: Unitech Mai Nguyen 
Sent: 04 November 2020 08:01
To: users@cloudstack.apache.org ; 
d...@cloudstack.apache.org 
Cc: sven.vo...@qform.de 
Subject: New Joiner

Hello Everyone,

My name is Hoang and I'm currently working for Ewerk.
It is my great pleasure to have a chance to join the Cloudstack Primate project.
It has been a wonderful time for me since last December when I started my first 
task.

I would look forward to being a part of this team for a long time to go. And I 
hope to have your kind help.
Thank you so much.
__
Hoang Nguyen
Frontend Developer

EWERK DIGITAL GmbH
Brühl 24, D-04109 Leipzig
P +49 341 42649 - 99
F +49 341 42649 - 98
www.ewerk.xn--com-zq0a>

Geschäftsführer:
Dr. Erik Wende, Hendrik Schubert, Frank Richter
Registergericht: Leipzig HRB 9065

Zertifiziert nach:
ISO/IEC 27001:2013
DIN EN ISO 9001:2015
DIN ISO/IEC 2-1:2011

__

Unitech Mai Nguyen
Frontend Developer

EWERK DIGITAL GmbH
Brühl 24, D-04109 Leipzig
P
F +49 341 42649 - 98
hoang.ngu...@ewerk.com
www.ewerk.com

Geschäftsführer:
Dr. Erik Wende, Hendrik Schubert, Tassilo Möschke
Registergericht: Leipzig HRB 9065

Support:
+49 341 42649 555

Zertifiziert nach:
ISO/IEC 27001:2013
DIN EN ISO 9001:2015
DIN ISO/IEC 2-1:2011

ISAE 3402 Typ II Assessed

EWERK-Blog | 
LinkedIn | 
Xing | 
Twitter | 
Facebook


Auskünfte und Angebote per Mail sind freibleibend und unverbindlich.

Disclaimer Privacy:
Der Inhalt dieser E-Mail (einschließlich etwaiger beigefügter Dateien) ist 
vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der 
bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, 
Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die 
E-Mail (einschließlich etwaiger beigefügter Dateien) von Ihrem System. Vielen 
Dank.

The contents of this e-mail (including any attachments) are confidential and 
may be legally privileged. If you are not the intended recipient of this 
e-mail, any disclosure, copying, distribution or use of its contents is 
strictly prohibited, and you should please notify the sender immediately and 
then delete it (including any attachments) from your system. Thank you.

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




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



Re: Template : Featured, Community Shared

2020-10-19 Thread Pearl d'Silva
Hi Hean,

These are the various template filters available:
featured - returns templates that have been marked as featured and public
self - returns templates that have been registered or created by the calling 
user
selfexecutable, - same as self, but only returns templates that are ready to be 
deployed with
shared - including templates that have been granted to the calling user by 
another user
sharedexecutable - ready templates that have been granted to the calling user 
by another user
executable - templates that are owned by the calling user, or public templates, 
that can be used to deploy a
community - returns templates that have been marked as public but not featured
all - all templates (only usable by admins)

Hope this is helpful.

Thanks,
Pearl

From: Hean Seng 
Sent: Tuesday, October 20, 2020 9:37 AM
To: users@cloudstack.apache.org 
Subject: Template : Featured, Community Shared

Hi

I created template, however when ticked Publc and features, it show in
Featured Column.  I never see any template show in Community and Shared.

Can I know what is the criteria to be listed in Community and Shared
Template List



--
Regards,
Hean Seng

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



Re: metadata on VR

2020-10-14 Thread Pearl d'Silva
Hi Cu,

When you try to set/reset the SSH key for a VM, it goes into the VR as a 
databag, i.e., a vm_metadata.json..gz file gets created in the 
/var/cache/cloud/processed/ path in the VR. This databag is then read by the 
merge.py script, which in turn creates the final metadata file at 
/etc/cloudstack/ - here, /etc/cloudstack/vm_metadata.json. The management 
server then internally calls the vr_cfg.sh script in the virtual router which 
in turn calls configure.py script that takes the vm_metadata.json file as an 
input. It is this script - 'configure.py' that creates the files in 
/var/www/html/metadata/ path.
Now wrt how the public key is actually sent from the management server to the 
VR - it is at this point in the management server code: 
https://github.com/apache/cloudstack/blob/master/server/src/main/java/com/cloud/network/NetworkModelImpl.java#L2451
 where the public key is set to the vmdata which further goes on to become the 
databag in the VR.

Thanks
Pearl


From: m...@swen.io 
Sent: Wednesday, October 14, 2020 5:26 PM
To: users@cloudstack.apache.org 
Subject: AW: metadata on VR

Hi David,

thx for getting back so fast. That is what I thought too.
Now the problem is that in the file public-keys is a key that is not in the 
database. It should be in the table ssh_keypairs, correct?
When I do a ssh-keygen -lf public-keys on the file in the VR the fingerprint 
did not match any fingerprint in the ssh_keypairs table.

I am wondering where the key in the public-keys file comes from.

Cu Swen



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


-Ursprüngliche Nachricht-
Von: David Jumani 
Gesendet: Mittwoch, 14. Oktober 2020 12:19
An: users@cloudstack.apache.org
Betreff: Re: metadata on VR

Hi,

The file contents are written by vmdata.py itself. The public keys are sent to 
the router by the management server when the ssh key is reset.
The vmdata.py file receives this and a method 'createFile' is internally called 
which writes the relevant data in the respective file in the folder.

Thanks,
David

From: m...@swen.io 
Sent: Wednesday, October 14, 2020 3:34 PM
To: users@cloudstack.apache.org 
Subject: metadata on VR

Hi all,



I have a question regarding the metadata on virtual routers. We are running an 
older version, so I am not sure if path or script are being renamed or changed.

I see that CS is creating /var/www/html/metadata// on the VR for all VMs in 
the network.

As far as I understand this script is creating the folders:
/opt/cloud/bin/vmdata.py



But I am unable to find which script is creating the files with content inside 
this folder.

In particular I need to know what is creating the file public-keys where the 
content of this file is from.



Thank you for any help!



Cu Swen




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







Re: Letsencrypt SSL and Console Proxy

2020-10-07 Thread Pearl d'Silva
Hi Hean,

I haven't tried this myself, but found a blog that explains how to use 
Letsencrypt SSL for Console Proxy
https://sysadminonline.net/cloudstack-letsencrypt-ssl-for-cnsole-proxy/

The official documentation for using up SSL certificate for Console Proxy can 
be found : 
http://docs.cloudstack.apache.org/en/latest/adminguide/systemvm.html#changing-the-console-proxy-ssl-certificate-and-domain

In case there are multiple Console Proxy VMs, after uploading the certificates, 
the console proxy VMs will automatically restart and pick the new certificates 
fed to CloudStack. Also note that "consoleproxy.sslEnabled" global setting 
needs to be set to true.

Thanks,
Pearl

From: Hean Seng 
Sent: Thursday, October 8, 2020 6:49 AM
To: users@cloudstack.apache.org 
Subject: Letsencrypt SSL and Console Proxy

HI

Anyone can guide me how to install letsencrypt SSL to console proxy ?

And if there is multiple Console proxy, does we need to install multiple
SSL on it ?


Thank you

--
Regards,
Hean Seng


  1   2   >