Re: New PMC member: Slavka Peleva

2024-04-10 Thread Suresh Kumar Anaparti
Congratulations Slavka!

Regards,
Suresh

On Wed, Apr 10, 2024 at 4:41 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,
>
>
>
>
>


Re: [VOTE] Release Apache CloudStack Terraform Provider v0.5.0

2024-04-08 Thread Suresh Kumar Anaparti
+1, tested some usual vm and network operations.

Regards,
Suresh

On Tue, Apr 2, 2024 at 2:56 PM Kiran Chavala 
wrote:

> Hi ALL
>
> I've created a CloudStack Terraform Provider v0.5.0 release, with the
> following artifacts up for a vote:
>
> Git Branch and Commit SH:
>
> https://github.com/cloudstack/terraform-provider-cloudstack
>
> Commit: 7c682bf17bebf40837a30ebcca811fc7b8785a15
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/terraform-provider-0.5.0/
>
> PGP release keys (signed using E03379CB066175FAC2BC9E027B3F1C5E93F97FAB):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
> 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)
>
> For users convenience, they can use this 0.5.0-pre build
> https://registry.terraform.io/providers/cloudstack/cloudstack/0.5.0-pre
> for testing purposes.
> The binaries are here:
> https://github.com/apache/cloudstack-terraform-provider/releases/tag/v0.5.0-pre
>
>
> Regards
> Kiran Chavala
>
>
>
>


Re: [ANNOUNCE] Rene Peinthor as committer

2024-04-05 Thread Suresh Kumar Anaparti
Congratulations Rene!

Regards,
Suresh

On Fri, Mar 29, 2024 at 1:41 PM Daan Hoogland 
wrote:

> 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: [ANNOUNCE] New PMC Chair & VP Apache CloudStack Project - Daniel Salvador

2024-03-22 Thread Suresh Kumar Anaparti
Congratulations Daniel, wish you good luck!

Thank you Rohit, for your great work over the past year.

Regards,
Suresh

On Thu, Mar 21, 2024 at 7:15 PM 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: Virtual router not starting

2024-03-13 Thread Suresh Kumar Anaparti
Hi Francisco,

Can you please share the CloudStack version, and more logs for the issue?
or you can create new issue with details here:
https://github.com/apache/cloudstack/issues

Regards,
Suresh

On Wed, Mar 13, 2024 at 3:35 PM Francisco Arencibia Quesada <
arencibia.franci...@gmail.com> wrote:

> Good morning guys,
>
> The issue I'm having now is related to the network, if I create a new
> machine in a new network it works. The current error is
> ava.lang.NullPointerException
> at com.cloud.host.dao.HostDaoImpl.loadHostTags
>
>
>
> Please let me know if you have any suggestions to fix this problem.
> Regards
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


Re: [PROPOSE] RM for Cloudstack Terraform Provider

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

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

Regards,
Suresh

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

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


Re: Method to edit global settings from command line

2024-01-31 Thread Suresh Kumar Anaparti
Hi Marcus,

Thanks for sharing the details.

I couldn't find any errors with saml in the log, below are the logs after
enabling saml. Not sure if that's saml config issue.

2024-01-29 16:57:10,499 INFO  [o.a.c.s.SAML2AuthManagerImpl] (main:null)
(logid:) SAML auth plugin loaded
2024-01-29 16:57:12,574 INFO  [o.a.c.s.SAML2AuthManagerImpl] (main:null)
(logid:) No SAML keystore found, created and saved a new Service Provider
keypair

Regards,
Suresh

On Wed, Jan 31, 2024 at 12:20 AM Marcus Torres  wrote:

> Hello Suresh
>
> 1. Cloudstack version 4.18.1.0
> 2. Management server = Rocky Linux 8.5
> 3. Hypervisors = Rocky Linux 8.5
> 4. the only change was enabling SAML in the global config in the UI.
> 5. I saw some entries in the log regarding SAML and the 'admin' user not
> being able to authenticate against SAML. not sure if it's related
>
> I've sent the you management log to your gmail address if that's OK. it's
> pretty large and i've scrubbed it of any sensitive data
>
> Thanks Suresh.
>
> On Tue, Jan 30, 2024 at 11:52 AM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > Hi Marcus,
> >
> > Thanks for the update.
> >
> > Maybe some issue after enabling SAML, can you share the cloudstack
> version,
> > and error log from the management server?
> >
> > Regards,
> > Suresh
> >
> > On Tue, Jan 30, 2024 at 9:21 PM Marcus Torres  wrote:
> >
> > > @SureshKumarAnaparti
> > >
> > > That worked! after a restart of the management service, I'm able to hit
> > the
> > > UI on port 8080 now! thank you for that tip!!
> > >
> > > It's peculiar that simply enabling SAML in the global config and
> having a
> > > fault SAML config would stop the UI from opening port 8080 to access
> the
> > > webpage.
> > >
> > > Thanks again!
> > >
> > > On Mon, Jan 29, 2024 at 11:32 PM Suresh Kumar Anaparti <
> > > sureshkumar.anapa...@gmail.com> wrote:
> > >
> > > > Hi Marcus,
> > > >
> > > > You can revert the config (disable saml) using the update sql query
> > > below.
> > > >
> > > > UPDATE cloud.configuration SET value = 'false' WHERE name =
> > > > 'saml2.enabled';
> > > >
> > > > Regards,
> > > > Suresh
> > > >
> > > > On Tue, Jan 30, 2024 at 5:41 AM Marcus Torres 
> > wrote:
> > > >
> > > > > Hi!
> > > > > i recently enabled saml in the global config settings in the UI and
> > > upon
> > > > a
> > > > > restart of the management service , the cloudstack-management
> process
> > > > > starts successfully and i'm seeing activity and traffic to and from
> > the
> > > > > hypervisors, looks like the management server is working, but the
> UI
> > is
> > > > not
> > > > > reachable at all on port 8080.
> > > > >
> > > > >
> > > > >   *   i do not have ssl https enabled
> > > > >   *   selinux is disabled
> > > > >   *   iptables is disabled
> > > > >   *   i don't see 8080 port open/listening  in netstat
> > > > >   *   port 9090 is open and listening
> > > > >   *   mysql is up and running fine
> > > > >   *   cloudmonkey api no longer able to connect since 8080 is down
> > > > >
> > > > > the saml config could in fact be a red herring and unrelated but
> > that's
> > > > > the last change besides adding a new isolated vlan guest network.
> > > > >
> > > > > does the ability exist to revert or edit global config settings
> from
> > > > > command line ,  that were originally made in the ui  ?
> > > > >
> > > > > thanks for your time !
> > > > >
> > > >
> > >
> >
>


Re: Method to edit global settings from command line

2024-01-30 Thread Suresh Kumar Anaparti
Hi Marcus,

Thanks for the update.

Maybe some issue after enabling SAML, can you share the cloudstack version,
and error log from the management server?

Regards,
Suresh

On Tue, Jan 30, 2024 at 9:21 PM Marcus Torres  wrote:

> @SureshKumarAnaparti
>
> That worked! after a restart of the management service, I'm able to hit the
> UI on port 8080 now! thank you for that tip!!
>
> It's peculiar that simply enabling SAML in the global config and having a
> fault SAML config would stop the UI from opening port 8080 to access the
> webpage.
>
> Thanks again!
>
> On Mon, Jan 29, 2024 at 11:32 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > Hi Marcus,
> >
> > You can revert the config (disable saml) using the update sql query
> below.
> >
> > UPDATE cloud.configuration SET value = 'false' WHERE name =
> > 'saml2.enabled';
> >
> > Regards,
> > Suresh
> >
> > On Tue, Jan 30, 2024 at 5:41 AM Marcus Torres  wrote:
> >
> > > Hi!
> > > i recently enabled saml in the global config settings in the UI and
> upon
> > a
> > > restart of the management service , the cloudstack-management process
> > > starts successfully and i'm seeing activity and traffic to and from the
> > > hypervisors, looks like the management server is working, but the UI is
> > not
> > > reachable at all on port 8080.
> > >
> > >
> > >   *   i do not have ssl https enabled
> > >   *   selinux is disabled
> > >   *   iptables is disabled
> > >   *   i don't see 8080 port open/listening  in netstat
> > >   *   port 9090 is open and listening
> > >   *   mysql is up and running fine
> > >   *   cloudmonkey api no longer able to connect since 8080 is down
> > >
> > > the saml config could in fact be a red herring and unrelated but that's
> > > the last change besides adding a new isolated vlan guest network.
> > >
> > > does the ability exist to revert or edit global config settings from
> > > command line ,  that were originally made in the ui  ?
> > >
> > > thanks for your time !
> > >
> >
>


Re: lauch vms fail

2024-01-30 Thread Suresh Kumar Anaparti
Is libvirtd service active/running or not? restart it and check.

Regards,
Suresh

On Tue, Jan 30, 2024 at 8:50 PM Francisco Arencibia Quesada <
arencibia.franci...@gmail.com> wrote:

> Hello guys,
>
> I have a new problem now, I can't launch a new vm, it fails, this is the
> log from cloudstack-agent
> in the hypervisor where I'm trying to launch a machine..
>
>
> Thank you in advance.
> Regards
>
>
>
> 2024-01-30 14:30:56,879 INFO  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-2:null) (logid:f52227b4) No existing libvirtd
> connection found. Opening a new one
> 2024-01-30 14:30:56,881 WARN  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-2:null) (logid:f52227b4) Can not find a connection
> for Instance i-2-13978-VM. Assuming the default connection.
> 2024-01-30 14:30:57,039 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-2:null) (logid:f52227b4) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
> available. Transformations will not be applied.
> 2024-01-30 14:30:57,039 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-2:null) (logid:f52227b4) Groovy scripting engine is
> not initialized. Data transformation skipped.
> 2024-01-30 14:32:16,465 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:4a0a3b8f) Trying to fetch storage pool
> 20b6e16a-ae70-3256-ab28-099a287a280c from libvirt
> 2024-01-30 14:32:16,490 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:4a0a3b8f) Asking libvirt to refresh
> storage pool 20b6e16a-ae70-3256-ab28-099a287a280c
> 2024-01-30 14:33:54,259 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-5:null) (logid:1aed3bd3) Trying to fetch storage pool
> 20b6e16a-ae70-3256-ab28-099a287a280c from libvirt
> 2024-01-30 14:33:54,286 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-5:null) (logid:1aed3bd3) Asking libvirt to refresh
> storage pool 20b6e16a-ae70-3256-ab28-099a287a280c
> 2024-01-30 14:35:21,921 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:4380fa56) Trying to fetch storage pool
> 20b6e16a-ae70-3256-ab28-099a287a280c from libvirt
> 2024-01-30 14:35:21,946 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:4380fa56) Asking libvirt to refresh
> storage pool 20b6e16a-ae70-3256-ab28-099a287a280c
> 2024-01-30 14:36:32,633 INFO  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-1:null) (logid:449e3167) No existing libvirtd
> connection found. Opening a new one
> 2024-01-30 14:36:32,636 WARN  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-1:null) (logid:449e3167) Can not find a connection
> for Instance i-2-13984-VM. Assuming the default connection.
> 2024-01-30 14:36:32,795 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-1:null) (logid:449e3167) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
> available. Transformations will not be applied.
> 2024-01-30 14:36:32,795 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-1:null) (logid:449e3167) Groovy scripting engine is
> not initialized. Data transformation skipped.
> 2024-01-30 14:36:35,233 INFO  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-5:null) (logid:449e3167) No existing libvirtd
> connection found. Opening a new one
> 2024-01-30 14:36:35,236 WARN  [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-5:null) (logid:449e3167) Can not find a connection
> for Instance i-2-13984-VM. Assuming the default connection.
> 2024-01-30 14:36:35,389 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-5:null) (logid:449e3167) Groovy script
> '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not
> available. Transformations will not be applied.
> 2024-01-30 14:36:35,389 WARN  [kvm.resource.LibvirtKvmAgentHook]
> (agentRequest-Handler-5:null) (logid:449e3167) Groovy scripting engine is
> not initialized. Data transformation skipped.
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


Re: VM Login Issue

2024-01-30 Thread Suresh Kumar Anaparti
Hi Bharat,

Can you share the cloudstack version, and hypervisor details. Able to
locate the key file in Host/MS?

Regards,
Suresh

On Tue, Jan 30, 2024 at 6:07 PM Wei ZHOU  wrote:

> Hi,
>
> Sorry my previous reply was not clear.
>
> for kvm/xen/xcp-ng, please log into system vms/vrs from the kvm host.
> for vmware, please log into the system vms/vrs from the mgmt server.
>
> -Wei
>
>
>
> On Tue, 30 Jan 2024 at 12:43, Bharat Bhushan Saini
>  wrote:
>
> > Hi Suresh,
> >
> >
> >
> > It is login from the Host. I tried from management as well same output I
> > got which I shared below.
> >
> >
> >
> > Thanks and Regards,
> >
> > Bharat Saini
> >
> >
> >
> > [image: signature_3506744539]
> >
> >
> >
> > *From: *Suresh Kumar Anaparti 
> > *Date: *Tuesday, 30 January 2024 at 4:08 PM
> > *To: *users@cloudstack.apache.org 
> > *Subject: *Re: VM Login Issue
> >
> > EXTERNAL EMAIL: Please verify the sender email address before taking any
> > action, replying, clicking any link or opening any attachment.
> >
> >
> > Hi Bharat,
> >
> > It seems you are trying to login from Host, not the Management Server.
> Can
> > you check the key file at /root/.ssh/ ? else, try with find.
> >
> > After that, try cmd:
> > ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.168.209
> >
> > Regards,
> > Suresh
> >
> > On Tue, Jan 30, 2024 at 3:38 PM Bharat Bhushan Saini
> >  wrote:
> >
> > > Hi All,
> > >
> > >
> > >
> > > When I try to login in the ssvm I found below errors,
> > >
> > >
> > >
> > > ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922
> > > root@169.254.168.209
> > >
> > > Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not
> > > accessible: No such file or directory.
> > >
> > > root@169.254.168.209: Permission denied (publickey).
> > >
> > > root@kvm:~# virsh list
> > >
> > >  Id   Name State
> > >
> > > 
> > >
> > >  3v-4-VM   running
> > >
> > >  4s-3-VM   running
> > >
> > >
> > >
> > > I checked file is also not present there.
> > >
> > >
> > >
> > > Thanks and Regards,
> > >
> > > Bharat Saini
> > >
> > >
> > >
> > > [image: signature_855438220]
> > >
> > > --- Disclaimer: --
> > > This message and its contents are intended solely for the designated
> > > addressee and are proprietary to Kloudspot. The information in this
> email
> > > is meant exclusively for Kloudspot business use. Any use by individuals
> > > other than the addressee constitutes misuse and an infringement of
> > > Kloudspot's proprietary rights. If you are not the intended recipient,
> > > please return this email to the sender. Kloudspot cannot guarantee the
> > > security or error-free transmission of e-mail communications.
> Information
> > > could be intercepted, corrupted, lost, destroyed, arrive late or
> > > incomplete, or contain viruses. Therefore, Kloudspot shall not be
> liable
> > > for any issues arising from the transmission of this email.
> > >
> >
> > --- Disclaimer: --
> > This message and its contents are intended solely for the designated
> > addressee and are proprietary to Kloudspot. The information in this email
> > is meant exclusively for Kloudspot business use. Any use by individuals
> > other than the addressee constitutes misuse and an infringement of
> > Kloudspot's proprietary rights. If you are not the intended recipient,
> > please return this email to the sender. Kloudspot cannot guarantee the
> > security or error-free transmission of e-mail communications. Information
> > could be intercepted, corrupted, lost, destroyed, arrive late or
> > incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> > for any issues arising from the transmission of this email.
> >
>


Re: VM Login Issue

2024-01-30 Thread Suresh Kumar Anaparti
Hi Bharat,

It seems you are trying to login from Host, not the Management Server. Can
you check the key file at /root/.ssh/ ? else, try with find.

After that, try cmd:
ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.168.209

Regards,
Suresh

On Tue, Jan 30, 2024 at 3:38 PM Bharat Bhushan Saini
 wrote:

> Hi All,
>
>
>
> When I try to login in the ssvm I found below errors,
>
>
>
> ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922
> root@169.254.168.209
>
> Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not
> accessible: No such file or directory.
>
> root@169.254.168.209: Permission denied (publickey).
>
> root@kvm:~# virsh list
>
>  Id   Name State
>
> 
>
>  3v-4-VM   running
>
>  4s-3-VM   running
>
>
>
> I checked file is also not present there.
>
>
>
> Thanks and Regards,
>
> Bharat Saini
>
>
>
> [image: signature_855438220]
>
> --- Disclaimer: --
> This message and its contents are intended solely for the designated
> addressee and are proprietary to Kloudspot. The information in this email
> is meant exclusively for Kloudspot business use. Any use by individuals
> other than the addressee constitutes misuse and an infringement of
> Kloudspot's proprietary rights. If you are not the intended recipient,
> please return this email to the sender. Kloudspot cannot guarantee the
> security or error-free transmission of e-mail communications. Information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> for any issues arising from the transmission of this email.
>


Re: Method to edit global settings from command line

2024-01-29 Thread Suresh Kumar Anaparti
Hi Marcus,

You can revert the config (disable saml) using the update sql query below.

UPDATE cloud.configuration SET value = 'false' WHERE name = 'saml2.enabled';

Regards,
Suresh

On Tue, Jan 30, 2024 at 5:41 AM Marcus Torres  wrote:

> Hi!
> i recently enabled saml in the global config settings in the UI and upon a
> restart of the management service , the cloudstack-management process
> starts successfully and i'm seeing activity and traffic to and from the
> hypervisors, looks like the management server is working, but the UI is not
> reachable at all on port 8080.
>
>
>   *   i do not have ssl https enabled
>   *   selinux is disabled
>   *   iptables is disabled
>   *   i don't see 8080 port open/listening  in netstat
>   *   port 9090 is open and listening
>   *   mysql is up and running fine
>   *   cloudmonkey api no longer able to connect since 8080 is down
>
> the saml config could in fact be a red herring and unrelated but that's
> the last change besides adding a new isolated vlan guest network.
>
> does the ability exist to revert or edit global config settings from
> command line ,  that were originally made in the ui  ?
>
> thanks for your time !
>


Re: Cloudstack Deployment

2024-01-17 Thread Suresh Kumar Anaparti
Hi Bharat,

Check this, it might help.

https://github.com/shapeblue/mbx

Regards,
Suresh

On Wed, Jan 17, 2024 at 4:00 PM Bharat Bhushan Saini
 wrote:

> Hi All,
>
>
>
> I wanted to deploy the cloudstack, kvm (hypervisor), mysql and nfs server
> on a single system.
>
> System config –
>
> RAM – 64GB
>
> HDD – 1 TB
>
> CPU – 16 Core i9 11th gen
>
>
>
> Note – I also wanted a virtual network in the system which will
> communicate with my network through NAT as I am having on single NIC and
> don’t have the IP range to give in zone.
>
> I need document or any video reference by which I can deploy cloudstack on
> a single server and able to provision the VM as the network played most
> important role in cloudstack.
>
>
>
> Thanks and Regards,
>
> Bharat Saini
>
>
>
> [image: signature_251517]
>
> --- Disclaimer: --
> This message and its contents are intended solely for the designated
> addressee and are proprietary to Kloudspot. The information in this email
> is meant exclusively for Kloudspot business use. Any use by individuals
> other than the addressee constitutes misuse and an infringement of
> Kloudspot's proprietary rights. If you are not the intended recipient,
> please return this email to the sender. Kloudspot cannot guarantee the
> security or error-free transmission of e-mail communications. Information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> for any issues arising from the transmission of this email.
>


Re: Issues migrating primary storage

2024-01-16 Thread Suresh Kumar Anaparti
Hi Jeremy,

Can you extend with the config 'migratewait' and check.

Regards,
Suresh

On Tue, Jan 16, 2024 at 1:45 PM Jeremy Hansen 
wrote:

> I have some large volumes I’m trying to migrate from NFS to Ceph/RBD.  1TB
> volumes.  These inevitably times out.  I extended these configs:
>
> copy.volume.wait=72000
> job.cancel.threshold.minutes=480
> job.expire.minutes=1440
>
> This helped with smaller volumes but large once still eventually fail.
>
> 2024-01-16 07:50:25,929 DEBUG [c.c.a.t.Request]
> (AgentManager-Handler-8:null) (logid:) Seq 1-5583619113009291196:
> Processing:  { Ans: , MgmtId: 20558852646968, via: 1, Ver: v1, Flags: 10,
> [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":"false","details":"com.cloud.utils.exception.CloudRuntimeException:
> Failed to copy
> /mnt/11cd19d0-f207-3d01-880f-8d01d4b15020/861a6692-e746-4401-9cda-bd791b7d3b5e
> to
> b7acadc8-34a1-4d7a-8040-26368dafc21d.qcow2","wait":"0","bypassHostMaintenance":"false"}}]
> }
>
> 2024-01-16 07:50:26,698 DEBUG [c.c.s.VolumeApiServiceImpl]
> (Work-Job-Executor-41:ctx-e5baf6dc job-1175/job-1176 ctx-bc7b188b)
> (logid:d7d98b81) Failed to migrate volume
> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:3]
> is unreachable: Volume
> [{"name":"sequencingdata","uuid":"861a6692-e746-4401-9cda-bd791b7d3b5e"}]
> migration failed due to [com.cloud.utils.exception.CloudRuntimeException:
> Failed to copy
> /mnt/11cd19d0-f207-3d01-880f-8d01d4b15020/861a6692-e746-4401-9cda-bd791b7d3b5e
> to b7acadc8-34a1-4d7a-8040-26368dafc21d.qcow2].
> at
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.migrateVolume(VolumeOrchestrator.java:1348)
> at jdk.internal.reflect.GeneratedMethodAccessor672.invoke(Unknown
> Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> at
> org.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.$Proxy227.migrateVolume(Unknown Source)
> at
> com.cloud.storage.VolumeApiServiceImpl.orchestrateMigrateVolume(VolumeApiServiceImpl.java:3356)
> at
> com.cloud.storage.VolumeApiServiceImpl.orchestrateMigrateVolume(VolumeApiServiceImpl.java:4721)
> at jdk.internal.reflect.GeneratedMethodAccessor671.invoke(Unknown
> Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
> at
> com.cloud.storage.VolumeApiServiceImpl.handleVmWorkJob(VolumeApiServiceImpl.java:4735)
> at jdk.internal.reflect.GeneratedMethodAccessor670.invoke(Unknown
> Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> at
> org.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.$Proxy232.handleVmWorkJob(Unknown Source)
> at
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
> at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:620)
> at
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
> at
> 

Re: Unable To Delete Physical Network

2024-01-12 Thread Suresh Kumar Anaparti
Hi Bryan,

Are you sure the instances, networks, etc are deleted properly? It's a
different error this time.

Adding in detail with queries to check from your side. Before deleting a
physical network, the following are checked (in the given order) for the
physical network, and indicated through the respective message if the
check passes. If all checks fail, the physical network is deleted.

(i) any vlans allocated, in op_dc_vnet_alloc table
SELECT * FROM cloud.op_dc_vnet_alloc WHERE physical_network_id =  AND taken IS NOT NULL

(ii) any guest networks exists, in networks table
SELECT * FROM cloud.networks WHERE physical_network_id =  AND removed IS NULL

(iii) any IP addresses allocated, in user_ip_address table
SELECT * FROM cloud.user_ip_address WHERE physical_network_id =   AND state != 'Free'

Get the physical network integer id using => SELECT id FROM
cloud.physical_network WHERE uuid = ''

Hope this helps.

Regards,
Suresh

On Fri, Jan 12, 2024 at 1:29 PM Wei ZHOU  wrote:

> Hi,
>
> As said in the error message, there are some networks associated with this
> physical network.
>
> SELECT * FROM networks WHERE physical_network_id= AND
> removed IS NULL;
>
> -Wei
>
>
> On Fri, 12 Jan 2024 at 08:42, Bryan Tiang 
> wrote:
>
>> Hi Suresh,
>>
>> We tried that as well but still got the same result.
>>
>> This is really interesting… We are scratching our heads.
>>
>>
>>
>> Regards,
>> Bryan
>> On 12 Jan 2024 at 1:30 PM +0800, Suresh Kumar Anaparti <
>> sureshkumar.anapa...@gmail.com>, wrote:
>>
>> Hi Bryan,
>>
>> It's the integer id of the physical network, not uuid.
>>
>> with uuid, check with this.
>> SELECT * FROM cloud.op_dc_vnet_alloc WHERE physical_network_id = (SELECT
>> id FROM cloud.physical_network WHERE uuid = '') AND
>> taken IS NOT NULL
>>
>> Regards,
>> Suresh
>>
>> On Fri, Jan 12, 2024 at 10:55 AM Bryan Tiang 
>> wrote:
>>
>>> Hi Suresh,
>>>
>>> So sorry for this. But we ran the query and this was the result.
>>>
>>> <>
>>>
>>> Could it be something else?
>>>
>>> Regards,
>>> Bryan
>>> On 11 Jan 2024 at 8:39 PM +0800, Suresh Kumar Anaparti <
>>> sureshkumar.anapa...@gmail.com>, wrote:
>>>
>>> Hi Bryan,
>>>
>>> From the code, the error is due to some allocated vlans found through the
>>> below query. If the result is empty, that error doesn't appear.
>>>
>>> SELECT * FROM cloud.op_dc_vnet_alloc WHERE physical_network_id =
>>> >> network id> AND taken IS NOT NULL
>>>
>>> Regards,
>>> Suresh
>>>
>>> On Thu, Jan 11, 2024 at 3:57 PM Bryan Tiang 
>>> wrote:
>>>
>>> Hi Suresh,
>>>
>>> Sorry, its Version 4.18.1
>>>
>>> Yes its the same error message as before:
>>>
>>> Delete physical network: (Physical Network 1) The Physical Network is not
>>> deletable because there are allocated vnets for this physical network
>>>
>>> Version: 4.18.1
>>> Hypervisor: Linux Ubuntu
>>> Storage: Linbit
>>>
>>> Regards,
>>> Bryan
>>> On 11 Jan 2024 at 5:46 PM +0800, Suresh Kumar Anaparti <
>>> sureshkumar.anapa...@gmail.com>, wrote:
>>>
>>> Hi Bryan,
>>>
>>> If 'taken' / other columns are NULL, you should see different error. Can
>>> you confirm if it is still the same error for that physical network?
>>>
>>> What's
>>>
>>> the cloudstack version you are using?
>>>
>>> Regards,
>>> Suresh
>>>
>>> On Thu, Jan 11, 2024 at 2:13 PM Bryan Tiang 
>>> wrote:
>>>
>>> Hi Suresh,
>>>
>>> We set it Null and got the same error:
>>>
>>> i. Updated 'taken' to NULL - same error
>>> ii. Updated the other columns to NULL - same error
>>> iii. Restarted management service and retry - same error
>>>
>>> Did we do something wrong?
>>> <>
>>>
>>> Regards,
>>> Bryan
>>>
>>>
>>> On Thu, Jan 11, 2024 at 1:53 PM Suresh Kumar Anaparti <
>>> sureshkumar.anapa...@gmail.com> wrote:
>>>
>>> Hi Bryan,
>>>
>>> If there are no network / nics for the vlan, you can update 'taken' to
>>> NULL for that vlan in the op_dc_vnet_alloc table.
>>>
>>> Check network / nics usage with the below queries before update.
>>> SELECT * FROM cloud.networks WHERE bro

Re: Unable To Delete Physical Network

2024-01-11 Thread Suresh Kumar Anaparti
Hi Bryan,

It's the integer id of the physical network, not uuid.

with uuid, check with this.
SELECT * FROM cloud.op_dc_vnet_alloc WHERE physical_network_id = (SELECT id
FROM cloud.physical_network WHERE uuid = '') AND
taken IS NOT NULL

Regards,
Suresh

On Fri, Jan 12, 2024 at 10:55 AM Bryan Tiang 
wrote:

> Hi Suresh,
>
> So sorry for this. But we ran the query and this was the result.
>
>
> Could it be something else?
>
> Regards,
> Bryan
> On 11 Jan 2024 at 8:39 PM +0800, Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com>, wrote:
>
> Hi Bryan,
>
> From the code, the error is due to some allocated vlans found through the
> below query. If the result is empty, that error doesn't appear.
>
> SELECT * FROM cloud.op_dc_vnet_alloc WHERE physical_network_id =  network id> AND taken IS NOT NULL
>
> Regards,
> Suresh
>
> On Thu, Jan 11, 2024 at 3:57 PM Bryan Tiang 
> wrote:
>
> Hi Suresh,
>
> Sorry, its Version 4.18.1
>
> Yes its the same error message as before:
>
> Delete physical network: (Physical Network 1) The Physical Network is not
> deletable because there are allocated vnets for this physical network
>
> Version: 4.18.1
> Hypervisor: Linux Ubuntu
> Storage: Linbit
>
> Regards,
> Bryan
> On 11 Jan 2024 at 5:46 PM +0800, Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com>, wrote:
>
> Hi Bryan,
>
> If 'taken' / other columns are NULL, you should see different error. Can
> you confirm if it is still the same error for that physical network?
>
> What's
>
> the cloudstack version you are using?
>
> Regards,
> Suresh
>
> On Thu, Jan 11, 2024 at 2:13 PM Bryan Tiang 
> wrote:
>
> Hi Suresh,
>
> We set it Null and got the same error:
>
> i. Updated 'taken' to NULL - same error
> ii. Updated the other columns to NULL - same error
> iii. Restarted management service and retry - same error
>
> Did we do something wrong?
> <>
>
> Regards,
> Bryan
>
>
> On Thu, Jan 11, 2024 at 1:53 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> Hi Bryan,
>
> If there are no network / nics for the vlan, you can update 'taken' to
> NULL for that vlan in the op_dc_vnet_alloc table.
>
> Check network / nics usage with the below queries before update.
> SELECT * FROM cloud.networks WHERE broadcast_uri LIKE '%%';
> SELECT * FROM cloud.nics where broadcast_uri LIKE '%%';
>
> Regards,
> Suresh
>
> On Thu, Jan 11, 2024 at 1:25 PM Bryan Tiang 
> wrote:
>
> Hi Suresh,
>
> Thank you! In this case, should we clear the data directly?
>
> Clear or amend to something else?
>
> Regards,
> Bryan
> On 11 Jan 2024 at 3:50 PM +0800, Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com>, wrote:
>
> Hi Bryan,
>
> It seems there are still some vlans allocated. You can manually
>
> confirm
>
> from the db table 'op_dc_vnet_alloc'.
>
>
> Check with the query below.
> SELECT vnet, taken FROM cloud.op_dc_vnet_alloc WHERE
>
> physical_network_id = (SELECT id FROM cloud.physical_network WHERE
>
> uuid =
>
> '')
>
>
> Regards,
> Suresh
>
> On Thu, Jan 11, 2024 at 11:19 AM Bryan Tiang <
>
> bryantian...@hotmail.com> wrote:
>
> Hi Guys,
>
> Our setup is using VXLAN For Guest Networks.
>
> We're trying to delete physical network but encountered this
>
> error.
>
>
> We've deleted all the instances, networks, system vms, hosts,
>
> pods
>
> and clusters and left with only the zone (disabled).
>
>
> Can someone please help tell us what we are missing?
>
> <>
> <>
> Regards,
> Bryan
>
>
>
>
>


Re: Unable To Delete Physical Network

2024-01-11 Thread Suresh Kumar Anaparti
Hi Bryan,

>From the code, the error is due to some allocated vlans found through the
below query. If the result is empty, that error doesn't appear.

SELECT * FROM cloud.op_dc_vnet_alloc WHERE physical_network_id =  AND taken IS NOT NULL

Regards,
Suresh

On Thu, Jan 11, 2024 at 3:57 PM Bryan Tiang 
wrote:

> Hi Suresh,
>
> Sorry, its Version 4.18.1
>
> Yes its the same error message as before:
>
> Delete physical network: (Physical Network 1) The Physical Network is not
> deletable because there are allocated vnets for this physical network
>
> Version: 4.18.1
> Hypervisor: Linux Ubuntu
> Storage: Linbit
>
> Regards,
> Bryan
> On 11 Jan 2024 at 5:46 PM +0800, Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com>, wrote:
> > Hi Bryan,
> >
> > If 'taken' / other columns are NULL, you should see different error. Can
> > you confirm if it is still the same error for that physical network?
> What's
> > the cloudstack version you are using?
> >
> > Regards,
> > Suresh
> >
> > On Thu, Jan 11, 2024 at 2:13 PM Bryan Tiang 
> > wrote:
> >
> > > Hi Suresh,
> > >
> > > We set it Null and got the same error:
> > >
> > > i. Updated 'taken' to NULL - same error
> > > ii. Updated the other columns to NULL - same error
> > > iii. Restarted management service and retry - same error
> > >
> > > Did we do something wrong?
> > > <>
> > >
> > > Regards,
> > > Bryan
> >
> > On Thu, Jan 11, 2024 at 1:53 PM Suresh Kumar Anaparti <
> > sureshkumar.anapa...@gmail.com> wrote:
> >
> > > Hi Bryan,
> > >
> > > If there are no network / nics for the vlan, you can update 'taken' to
> > > NULL for that vlan in the op_dc_vnet_alloc table.
> > >
> > > Check network / nics usage with the below queries before update.
> > > SELECT * FROM cloud.networks WHERE broadcast_uri LIKE '%%';
> > > SELECT * FROM cloud.nics where broadcast_uri LIKE '%%';
> > >
> > > Regards,
> > > Suresh
> > >
> > > On Thu, Jan 11, 2024 at 1:25 PM Bryan Tiang 
> > > wrote:
> > >
> > > > Hi Suresh,
> > > >
> > > > Thank you! In this case, should we clear the data directly?
> > > >
> > > > Clear or amend to something else?
> > > >
> > > > Regards,
> > > > Bryan
> > > > On 11 Jan 2024 at 3:50 PM +0800, Suresh Kumar Anaparti <
> > > > sureshkumar.anapa...@gmail.com>, wrote:
> > > > > Hi Bryan,
> > > > >
> > > > > It seems there are still some vlans allocated. You can manually
> confirm
> > > > from the db table 'op_dc_vnet_alloc'.
> > > > >
> > > > > Check with the query below.
> > > > > SELECT vnet, taken FROM cloud.op_dc_vnet_alloc WHERE
> > > > physical_network_id = (SELECT id FROM cloud.physical_network WHERE
> uuid =
> > > > '')
> > > > >
> > > > > Regards,
> > > > > Suresh
> > > > >
> > > > > > On Thu, Jan 11, 2024 at 11:19 AM Bryan Tiang <
> > > > bryantian...@hotmail.com> wrote:
> > > > > > > Hi Guys,
> > > > > > >
> > > > > > > Our setup is using VXLAN For Guest Networks.
> > > > > > >
> > > > > > > We're trying to delete physical network but encountered this
> error.
> > > > > > >
> > > > > > > We've deleted all the instances, networks, system vms, hosts,
> pods
> > > > and clusters and left with only the zone (disabled).
> > > > > > >
> > > > > > > Can someone please help tell us what we are missing?
> > > > > > >
> > > > > > > <>
> > > > > > > <>
> > > > > > > Regards,
> > > > > > > Bryan
> > > >
> > >
>


Re: Unable To Delete Physical Network

2024-01-11 Thread Suresh Kumar Anaparti
Hi Bryan,

If 'taken' / other columns are NULL, you should see different error. Can
you confirm if it is still the same error for that physical network? What's
the cloudstack version you are using?

Regards,
Suresh

On Thu, Jan 11, 2024 at 2:13 PM Bryan Tiang 
wrote:

> Hi Suresh,
>
> We set it Null and got the same error:
>
> i. Updated 'taken' to NULL - same error
> ii. Updated the other columns to NULL - same error
> iii. Restarted management service and retry - same error
>
> Did we do something wrong?
> <>
>
> Regards,
> Bryan

On Thu, Jan 11, 2024 at 1:53 PM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> Hi Bryan,
>
> If there are no network / nics for the vlan, you can update 'taken' to
> NULL for that vlan in the op_dc_vnet_alloc table.
>
> Check network / nics usage with the below queries before update.
> SELECT * FROM cloud.networks WHERE broadcast_uri LIKE '%%';
> SELECT * FROM cloud.nics where broadcast_uri LIKE '%%';
>
> Regards,
> Suresh
>
> On Thu, Jan 11, 2024 at 1:25 PM Bryan Tiang 
> wrote:
>
>> Hi Suresh,
>>
>> Thank you! In this case, should we clear the data directly?
>>
>> Clear or amend to something else?
>>
>> Regards,
>> Bryan
>> On 11 Jan 2024 at 3:50 PM +0800, Suresh Kumar Anaparti <
>> sureshkumar.anapa...@gmail.com>, wrote:
>> > Hi Bryan,
>> >
>> > It seems there are still some vlans allocated. You can manually confirm
>> from the db table 'op_dc_vnet_alloc'.
>> >
>> > Check with the query below.
>> > SELECT vnet, taken FROM cloud.op_dc_vnet_alloc WHERE
>> physical_network_id = (SELECT id FROM cloud.physical_network WHERE uuid =
>> '')
>> >
>> > Regards,
>> > Suresh
>> >
>> > > On Thu, Jan 11, 2024 at 11:19 AM Bryan Tiang <
>> bryantian...@hotmail.com> wrote:
>> > > > Hi Guys,
>> > > >
>> > > > Our setup is using VXLAN For Guest Networks.
>> > > >
>> > > > We're trying to delete physical network but encountered this error.
>> > > >
>> > > > We've deleted all the instances, networks, system vms, hosts, pods
>> and clusters and left with only the zone (disabled).
>> > > >
>> > > > Can someone please help tell us what we are missing?
>> > > >
>> > > > <>
>> > > > <>
>> > > > Regards,
>> > > > Bryan
>>
>


Re: Unable To Delete Physical Network

2024-01-11 Thread Suresh Kumar Anaparti
Hi Bryan,

If there are no network / nics for the vlan, you can update 'taken' to NULL
for that vlan in the op_dc_vnet_alloc table.

Check network / nics usage with the below queries before update.
SELECT * FROM cloud.networks WHERE broadcast_uri LIKE '%%';
SELECT * FROM cloud.nics where broadcast_uri LIKE '%%';

Regards,
Suresh

On Thu, Jan 11, 2024 at 1:25 PM Bryan Tiang 
wrote:

> Hi Suresh,
>
> Thank you! In this case, should we clear the data directly?
>
> Clear or amend to something else?
>
> Regards,
> Bryan
> On 11 Jan 2024 at 3:50 PM +0800, Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com>, wrote:
> > Hi Bryan,
> >
> > It seems there are still some vlans allocated. You can manually confirm
> from the db table 'op_dc_vnet_alloc'.
> >
> > Check with the query below.
> > SELECT vnet, taken FROM cloud.op_dc_vnet_alloc WHERE physical_network_id
> = (SELECT id FROM cloud.physical_network WHERE uuid = ' uuid>')
> >
> > Regards,
> > Suresh
> >
> > > On Thu, Jan 11, 2024 at 11:19 AM Bryan Tiang 
> wrote:
> > > > Hi Guys,
> > > >
> > > > Our setup is using VXLAN For Guest Networks.
> > > >
> > > > We're trying to delete physical network but encountered this error.
> > > >
> > > > We've deleted all the instances, networks, system vms, hosts, pods
> and clusters and left with only the zone (disabled).
> > > >
> > > > Can someone please help tell us what we are missing?
> > > >
> > > > <>
> > > > <>
> > > > Regards,
> > > > Bryan
>


Re: Unable To Delete Physical Network

2024-01-10 Thread Suresh Kumar Anaparti
Hi Bryan,

It seems there are still some vlans allocated. You can manually confirm
from the db table 'op_dc_vnet_alloc'.

Check with the query below.
SELECT vnet, taken FROM cloud.op_dc_vnet_alloc WHERE physical_network_id =
(SELECT id FROM cloud.physical_network WHERE uuid = '')

Regards,
Suresh

On Thu, Jan 11, 2024 at 11:19 AM Bryan Tiang 
wrote:

> Hi Guys,
>
> Our setup is using VXLAN For Guest Networks.
>
> We're trying to delete physical network but encountered this error.
>
> We've deleted all the instances, networks, system vms, hosts, pods and
> clusters and left with only the zone (disabled).
>
> Can someone please help tell us what we are missing?
>
>
>
> Regards,
> Bryan
>


Re: Error adding primary storage

2023-12-27 Thread Suresh Kumar Anaparti
Great, thanks for the update Francisco.

Regards,
Suresh

On Wed, Dec 27, 2023 at 5:22 PM Francisco Arencibia Quesada <
arencibia.franci...@gmail.com> wrote:

> it was mounted on the XCP side, thanks Suresh , this is solved.
>
> Thanks a lot
>
> Regards
>
>
>
> On Wed, Dec 27, 2023 at 12:49 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > That host (id '0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896') has the SR created
> > already, you have to remove it from the host (other hosts as well if
> > created there) before creating the new zone.
> >
> > Regards,
> > Suresh
> >
> > On Wed, Dec 27, 2023 at 5:12 PM Francisco Arencibia Quesada <
> > arencibia.franci...@gmail.com> wrote:
> >
> > > The thing is that we deleted the Zone, and when recreating it, is
> > throwing
> > > this error, it seems there are some data remaining
> > > that makes reference to the previous zone. That nfs is not in use right
> > > now.
> > >
> > > Regards
> > >
> > >
> > > On Wed, Dec 27, 2023 at 12:33 PM Suresh Kumar Anaparti <
> > > sureshkumar.anapa...@gmail.com> wrote:
> > >
> > > > Hi Francisco,
> > > >
> > > > It's not a database problem. The error indicates, the storage repo
> > > already
> > > > exists / created for the NFS
> > > > '10.X.X.X/BETA17_NFS17TESTCLOUDSTACK418MAD3B_ST18' (pool id:
> > > > 103b1d87-a098-39b8-94d8-b2fe683e29e1) on host with id
> > > > '0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896'. Is the NFS re-used here for
> the
> > > new
> > > > zone? If so, can you try with new / unused NFS?
> > > >
> > > >
> > > > Regards,
> > > > Suresh
> > > >
> > > > On Wed, Dec 27, 2023 at 4:45 PM Francisco Arencibia Quesada <
> > > > arencibia.franci...@gmail.com> wrote:
> > > >
> > > > > Good morning guys,
> > > > >
> > > > > I'm having this error when creating a new cloudstack zone, it seems
> > to
> > > > be a
> > > > > problem with the database. Any suggestions guys?
> > > > >
> > > > > Failed to add data store: Can not create storage pool through host
> 66
> > > due
> > > > > to Catch Exception com.cloud.utils.exception.CloudRuntimeException,
> > > > create
> > > > > StoragePool failed due to
> > > > com.cloud.utils.exception.CloudRuntimeException:
> > > > > There is a SR using the same configuration server:10.X.X.X,
> > > > > serverpath:/BETA17_NFS17TESTCLOUDSTACK418MAD3B_ST18 for pool
> > > > > 103b1d87-a098-39b8-94d8-b2fe683e29e1 on
> > > > > host:0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896 on
> > > > > host:0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896 pool:
> > > > > 10.X.X.X/BETA17_NFS17TESTCLOUDSTACK418MAD3B_ST18
> > > > >
> > > > > Kinds Regards
> > > > > --
> > > > > *Francisco Arencibia Quesada.*
> > > > > *DevOps Engineer*
> > > > >
> > > >
> > >
> > >
> > > --
> > > *Francisco Arencibia Quesada.*
> > > *DevOps Engineer*
> > >
> >
>
>
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


Re: Error adding primary storage

2023-12-27 Thread Suresh Kumar Anaparti
That host (id '0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896') has the SR created
already, you have to remove it from the host (other hosts as well if
created there) before creating the new zone.

Regards,
Suresh

On Wed, Dec 27, 2023 at 5:12 PM Francisco Arencibia Quesada <
arencibia.franci...@gmail.com> wrote:

> The thing is that we deleted the Zone, and when recreating it, is throwing
> this error, it seems there are some data remaining
> that makes reference to the previous zone. That nfs is not in use right
> now.
>
> Regards
>
>
> On Wed, Dec 27, 2023 at 12:33 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > Hi Francisco,
> >
> > It's not a database problem. The error indicates, the storage repo
> already
> > exists / created for the NFS
> > '10.X.X.X/BETA17_NFS17TESTCLOUDSTACK418MAD3B_ST18' (pool id:
> > 103b1d87-a098-39b8-94d8-b2fe683e29e1) on host with id
> > '0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896'. Is the NFS re-used here for the
> new
> > zone? If so, can you try with new / unused NFS?
> >
> >
> > Regards,
> > Suresh
> >
> > On Wed, Dec 27, 2023 at 4:45 PM Francisco Arencibia Quesada <
> > arencibia.franci...@gmail.com> wrote:
> >
> > > Good morning guys,
> > >
> > > I'm having this error when creating a new cloudstack zone, it seems to
> > be a
> > > problem with the database. Any suggestions guys?
> > >
> > > Failed to add data store: Can not create storage pool through host 66
> due
> > > to Catch Exception com.cloud.utils.exception.CloudRuntimeException,
> > create
> > > StoragePool failed due to
> > com.cloud.utils.exception.CloudRuntimeException:
> > > There is a SR using the same configuration server:10.X.X.X,
> > > serverpath:/BETA17_NFS17TESTCLOUDSTACK418MAD3B_ST18 for pool
> > > 103b1d87-a098-39b8-94d8-b2fe683e29e1 on
> > > host:0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896 on
> > > host:0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896 pool:
> > > 10.X.X.X/BETA17_NFS17TESTCLOUDSTACK418MAD3B_ST18
> > >
> > > Kinds Regards
> > > --
> > > *Francisco Arencibia Quesada.*
> > > *DevOps Engineer*
> > >
> >
>
>
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


Re: Error adding primary storage

2023-12-27 Thread Suresh Kumar Anaparti
Hi Francisco,

It's not a database problem. The error indicates, the storage repo already
exists / created for the NFS
'10.X.X.X/BETA17_NFS17TESTCLOUDSTACK418MAD3B_ST18' (pool id:
103b1d87-a098-39b8-94d8-b2fe683e29e1) on host with id
'0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896'. Is the NFS re-used here for the new
zone? If so, can you try with new / unused NFS?


Regards,
Suresh

On Wed, Dec 27, 2023 at 4:45 PM Francisco Arencibia Quesada <
arencibia.franci...@gmail.com> wrote:

> Good morning guys,
>
> I'm having this error when creating a new cloudstack zone, it seems to be a
> problem with the database. Any suggestions guys?
>
> Failed to add data store: Can not create storage pool through host 66 due
> to Catch Exception com.cloud.utils.exception.CloudRuntimeException, create
> StoragePool failed due to com.cloud.utils.exception.CloudRuntimeException:
> There is a SR using the same configuration server:10.X.X.X,
> serverpath:/BETA17_NFS17TESTCLOUDSTACK418MAD3B_ST18 for pool
> 103b1d87-a098-39b8-94d8-b2fe683e29e1 on
> host:0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896 on
> host:0d7d1b8f-5fc5-45b3-a362-cd3a7ad4a896 pool:
> 10.X.X.X/BETA17_NFS17TESTCLOUDSTACK418MAD3B_ST18
>
> Kinds Regards
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


Re: Can’t bring up the SystemVM Control Proxy and SSVM.

2023-12-26 Thread Suresh Kumar Anaparti
Hi Bryan,

>From the logs, I could see some below (*VNI: integer expression
expectedError: argument "VNI" is wrong) * during network configuration.
Please check your network config.

*2023-12-22 19:09:21,543 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-68:ctx-79cd030e job-215/job-687 ctx-3820f5d5)
(logid:3f700e86) Seq 3-3746431940018831724: Received:  { Ans: , MgmtId:
90520732211830, via: 3(n2ncloudmy1cp04), Ver: v1, Flags: 10, { StartAnswer,
Answer } }*

Error here:
*2023-12-22 19:09:21,548 INFO  [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-68:ctx-79cd030e job-215/job-687 ctx-3820f5d5)
(logid:3f700e86) Unable to start VM on Host
{"id":3,"name":"n2ncloudmy1cp04","type":"Routing","uuid":"a627f179-865b-49da-98af-61c0b3ff62d4"}
due to Failed to create vnet VNI:
/usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvlan.sh: line
173: [: VNI: integer expression expectedError: argument "VNI" is wrong: id
is
invalid/usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvlan.sh:
line 37: /proc/sys/net/ipv6/conf/bond1.VNI/disable_ipv6: No such file or
directoryCannot find device "bond1.VNI"Failed to create vlan VNI on pif:
bond1.*

*2023-12-22 19:09:21,550 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-68:ctx-79cd030e job-215/job-687 ctx-3820f5d5)
(logid:3f700e86) Cleaning up resources for the vm VM instance
{"id":81,"instanceName":"v-81-VM","type":"ConsoleProxy","uuid":"819c6d02-99f0-4674-bf8f-daf8417eb5fc"}
in Starting state*

*2023-12-22 19:09:21,570 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-68:ctx-79cd030e job-215/job-687 ctx-3820f5d5)
(logid:3f700e86) Seq 3-3746431940018831725: Sending  { Cmd , MgmtId:
90520732211830, via: 3(n2ncloudmy1cp04), Ver: v1, Flags: 100011,
[{"com.cloud.agent.api.StopCommand":*


Regards,
Suresh


On Wed, Dec 27, 2023 at 12:47 PM Bryan Tiang 
wrote:

> Hi Community,
>
> We tried re-installing cloudstack and now we can’t bring up the SystemVM
> Control Proxy and SSVM.
>
> Could someone tell us what we’re missing out? Ive attached our management
> log files.
>
> Regards,
> Bryan
>


Re: new committer: João Jandre Paraquetti

2023-12-18 Thread Suresh Kumar Anaparti
Congratulations João!

Regards,
Suresh

On Mon, Dec 18, 2023 at 6:17 PM Daan Hoogland  wrote:
>
> community,
> The PMC have invited João Jandre Paraquetti to join the project as a
> committer and the invitation was gratefully accepted.
> Please join me in welcoming João.
> Congratulations João,
>
> --
> Daan


Re: new committer Vladimir Petrov

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

Regards,
Suresh

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


Re: [VOTE] Adopt Github Discusssions as Users Forum

2023-12-08 Thread Suresh Kumar Anaparti
+1

Well organized platform, might also help to easily tag / track related
issues, code and PRs in GitHub.

Regards,
Suresh

On Thu, Dec 7, 2023 at 7:42 PM Nicolas Vazquez
 wrote:
>
> +1 (binding)
>
> Regards,
> Nicolas Vazquez
>
>
> From: Rohit Yadav 
> Date: Monday, 4 December 2023 at 05:01
> 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: new committer Bryan Lima

2023-11-30 Thread Suresh Kumar Anaparti
Congratulations Bryan!

Regards,
Suresh

On Thu, Nov 30, 2023 at 2:37 PM Daan Hoogland  wrote:
>
> All,
>
> The Project Management Committee (PMC) for Apache CloudStack
> has invited Bryan Lima to become a PMC member and we are pleased
> to announce that they have accepted.
>
> Bryan has contributed himself and assisted in reviewing and testing
> the work of others. He has shown to be responsive, constructive and
> pleasant to work with.
>
> please join me in congratulating Bryan
>
> --
> Daan


Re: new PMC member: Abhishek Kumar

2023-11-23 Thread Suresh Kumar Anaparti
Congratulations Abhishek!

Regards,
Suresh

On Thu, Nov 23, 2023 at 2:11 PM Daan Hoogland  wrote:
>
> 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: Difference between VM Snapshot and Snapshot

2023-11-17 Thread Suresh Kumar Anaparti
Hi Murilo,

"Snapshots" corresponds to Disk/Volume, and "VM Snapshots" corresponds
to VM/Instance. You can use VM Snapshots to revert to the machine's
state.

Regards,
Suresh

On Fri, Nov 17, 2023 at 7:59 PM Murilo Moura  wrote:
>
> Hi!
>
> What is the difference between the "Snapshots" and "VM Snapshots" features?
> In practice, what changes between the snapshots created in these two menus?
> Do any of them have limitations in restoring the machine's state completely?


Re: [VOTE] CloudStack Project Blog Migration

2023-05-23 Thread Suresh Kumar Anaparti
+1, Good job Rohit!

Regards,
Suresh

On Wed, May 17, 2023 at 2:28 PM Rohit Yadav  wrote:
>
> All,
>
> The ASF-infra had announced a hard deadline [0][1] to decommission our
> project’s Roller based blog [3] on the 31st May 2023.
>
> For the blog migration, ASF-infra has exported CloudStack blog posts
> from the current Roller’s database-backed infra to markdown files.
> These were put together in cloudstack-www repository’s
> docusauras-staging branch [2] with Docusauras used as a
> static-site-generator and a GitHub Actions workflow to automate
> publishing a staging site for your testing and review [4].
>
> The staging site that migrates both the website and blog isn’t
> completely ready to meet the hard deadline, so this vote is proposed
> for only migrating the blog before the deadline and continue efforts
> to migrate to a new website [2][4] when we're ready in the near
> future.
>
> The following is put for voting:
>
> 1. By the end of 31st May ’23, ASF-infra will decommission the project
> blog at https://blogs.apache.org/cloudstack and for now we proceed
> with only the blog migration before this deadline.
>
> 2. The old blog URL/pages from
> https://blogs.apache.org/cloudstack/ will be
> redirected to https://cloudstack.apache.org/blog/.
> This will be done by the ASF-infra.
>
> 3. The blog content is copied to the "content/blog" directory of the
> asf-site branch in the https://github.com/apache/cloudstack-www
> repository [6], published at https://cloudstack.apache.org/blog/.
>
> The vote will be open until we reach a lazy consensus.
>
> 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 the reason why)
>
> [0] https://markmail.org/message/o5pse33cgriebsrg
> [1] https://lists.apache.org/thread/hfhzochhmqhd32tclgc47d5nk90jxmb2
> [2] https://github.com/apache/cloudstack-www/tree/docusaurus-staging/blog
> [3] https://blogs.apache.org/cloudstack/
> [4] https://cloudstack.staged.apache.org/
> [5] https://cloudstack.apache.org/bylaws.html
> [6] 
> https://github.com/apache/cloudstack-www/commit/651ec3ad9a3f524a5ce1bb9d6943856f57e638e3
>
> Regards.


Re: [PROPOSE] ACS 4.18.1.0 release

2023-05-05 Thread Suresh Kumar Anaparti
+1, Good luck Wei!

Regards,
Suresh

On Thu, May 4, 2023 at 2:04 PM Wei ZHOU  wrote:
>
> Hi all,
>
> Currently CloudStack 4.18.0.0 is the latest LTS release. There are some
> bugs and pull requests with 4.18.0.0 [1], including the fix for the upgrade
> issue if users use MySQL 5.6 and 5.7.
>
> I would like to propose the release of 4.18.1.0 and the timeline
>
> - from now till the end of July (3 months): accept bug fixes and minor
> improvements [2]
> - first week in Aug: stablisation efforts, accept only blocker and critical
> bug fixes.
> - Aug: start cutting RCs, vote and finish release work.
>
> I will push myself as the release manager (RM) of 4.18.1.0, if nobody
> objects.
> In case anyone wants to include a bug fix or a pull request in 4.18.1.0
> milestone, please mention me (weizhouapache) on github.
>
> [1] https://github.com/apache/cloudstack/milestone/27
> [2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/LTS
>
>
> Any suggestions ?
>
> Kind regards,
> Wei


Re: [DISCUSS] CloudStack Website build and modernisation

2023-05-02 Thread Suresh Kumar Anaparti
Nice, looks good. Thanks for the update Rohit.

Regards,
Suresh

On Tue, May 2, 2023 at 6:49 PM Rohit Yadav  wrote:
>
> Thanks Suresh for the feedback, I've made changes per your review and updated 
> https://beautiful-pastelito-4eb422.netlify.app/
>
>
>
> Regards.
>
> ________
> From: Suresh Kumar Anaparti 
> Sent: Tuesday, May 2, 2023 13:12
> To: d...@cloudstack.apache.org 
> Cc: priv...@cloudstack.apache.org ; 
> users@cloudstack.apache.org 
> Subject: Re: [DISCUSS] CloudStack Website build and modernisation
>
> Nice to see new website Rohit!
>
> My first look feedback =>
>
> - May be, keeping the CloudStack description centered without logo
> would look better.
> - Logo on the top-left corner seems smaller in size, check if it's ok
> or not after increasing its size slightly.
> - Blog menu item after Usecases?
>
> Regards,
> Suresh
>
> On Mon, May 1, 2023 at 11:25 PM Rohit Yadav  wrote:
> >
> > All,
> >
> > Update - the first iteration of the website+blog PoC is ready for review 
> > for the community:
> > https://beautiful-pastelito-4eb422.netlify.app/
> >
> > Except for a few new pages and blogs, I've ported most of the content from 
> > the old website and blog to this PoC. Thanks.
> >
> >
> > Regards.
> >
> > 
> > From: Rohit Yadav 
> > Sent: Monday, May 1, 2023 11:24
> > To: d...@cloudstack.apache.org 
> > Cc: priv...@cloudstack.apache.org 
> > Subject: Re: [DISCUSS] CloudStack Website build and modernisation
> >
> > All,
> >
> > The ASF infra has advised deprecating and removing Roller support by 31st 
> > May 2023, our project blog is based on Roller.
> >
> > Since my previous mail, I have been reviewing alternatives and options that 
> > are compliant with ASF policies and have looked at several other top-level 
> > Apache projects on how they manage, maintain, and publish their websites 
> > and blogs. For reference, some of that progress and options have been 
> > discussed at https://issues.apache.org/jira/browse/INFRA-24170
> >
> > In order to have an ASF-compliant website and blog setup that would be more 
> > inclusive for our non-technical contributors, I've set up a 
> > proof-of-concept blog+website [1] using Docusauras (and configs from one of 
> > the ASF project websites, treat all the content outside of the blog as 
> > placeholder pages or lorem-ipsum) which is a static-site generator used by 
> > a dozen other Apache TLP websites [0] such as Apisix, Pulsar etc.
> >
> > This PoC has all most of our blog migrated (except the most 4-6 new ones), 
> > but pending migration of website content; and is currently integrated with 
> > a Netlify CMS which isn't as rich as WP but allows a committer/PMC to login 
> > via Github and manage the website+blog using a rich-text markdown editor 
> > [1][2] where editing/saving content created git commits pushed to Github. 
> > I'm also looking at other headless git-based CMSs that we can use.
> >
> > We may revisit any design/theme changes in the future, if there are no 
> > objections as the first iteration I propose to migrate all our project 
> > website content along with the Roller blog to this PoC and ask interested 
> > contributors to review and collaborate in an on-going basis as we need to 
> > migrate the blog by 31st May '23. I hope to update again regularly.
> >
> > [0] https://github.com/search?q=org%3Aapache+docusaurus.config.js=code
> > [1] https://beautiful-pastelito-4eb422.netlify.app/blog/
> > [2] https://beautiful-pastelito-4eb422.netlify.app/admin/
> >
> >
> > Thanks and regards.
> >
> > 
> > From: Rohit Yadav 
> > Sent: Wednesday, February 8, 2023 15:07
> > To: d...@cloudstack.apache.org 
> > Cc: priv...@cloudstack.apache.org 
> > Subject: Re: [DISCUSS] CloudStack Website build and modernisation
> >
> > All,
> >
> > The ASF infra has advised recently that they're deprecating and removing 
> > Roller support, our project blog is based on Roller.
> >
> > Given this hasn't received any objections on this thread, I've spent some 
> > time in the last two months exploring options that solve most of our 
> > website and blog requirements. I explored several other top-level ASF 
> > project websites and found they had built their website/blog/article using 
> > something like Pelican, Hugo, Jekyll and recently Docusaurus. Among these 
> > Jekyll is the oldest and most stable platform that Github supports

Re: [PROPOSE] RM for 4.19.0

2023-05-02 Thread Suresh Kumar Anaparti
+1, Good luck Abhishek!

Regards,
Suresh

On Mon, May 1, 2023 at 7:49 PM Boris Stoyanov
 wrote:
>
> +1, thanks Abhishek. I know we’re in safe hands with you!
>
> Bobby.
>
> From: Harikrishna Patnala 
> Date: Monday, 1 May 2023, 9:21
> To: users@cloudstack.apache.org , 
> d...@cloudstack.apache.org 
> Subject: Re: [PROPOSE] RM for 4.19.0
> +1, thanks for volunteering and good luck Abhishek.
>
> Regards,
> Harikrishna
>
> From: Abhishek Kumar 
> Date: Sunday, 30 April 2023 at 10:23 PM
> To: d...@cloudstack.apache.org , 
> users@cloudstack.apache.org 
> Subject: [PROPOSE] RM for 4.19.0
> Dear All,
>
> I would like to propose and put myself forward as the release manager for 
> 4.19.0 release. In the past, I've RM'd 4.17.1.0 release and co-RM'd a couple 
> of releases before that. I would like to take experiences from those to work 
> on a successful release.
>
> I propose we start early, sometime in Q3 2023, with the planning, triaging, 
> bug-fixing, etc to get back on the traditional two-release per year cycle. 
> With this we can aim to cut the RC sometime in October. I will propose a 
> detailed timeline soon.
>
> I hope to have your support. Please let me know if you have any 
> thoughts/comments.
>
> Regards,
> Abhishek
>
>
>
>
>
>
>


Re: [DISCUSS] CloudStack Website build and modernisation

2023-05-02 Thread Suresh Kumar Anaparti
Nice to see new website Rohit!

My first look feedback =>

- May be, keeping the CloudStack description centered without logo
would look better.
- Logo on the top-left corner seems smaller in size, check if it's ok
or not after increasing its size slightly.
- Blog menu item after Usecases?

Regards,
Suresh

On Mon, May 1, 2023 at 11:25 PM Rohit Yadav  wrote:
>
> All,
>
> Update - the first iteration of the website+blog PoC is ready for review for 
> the community:
> https://beautiful-pastelito-4eb422.netlify.app/
>
> Except for a few new pages and blogs, I've ported most of the content from 
> the old website and blog to this PoC. Thanks.
>
>
> Regards.
>
> 
> From: Rohit Yadav 
> Sent: Monday, May 1, 2023 11:24
> To: d...@cloudstack.apache.org 
> Cc: priv...@cloudstack.apache.org 
> Subject: Re: [DISCUSS] CloudStack Website build and modernisation
>
> All,
>
> The ASF infra has advised deprecating and removing Roller support by 31st May 
> 2023, our project blog is based on Roller.
>
> Since my previous mail, I have been reviewing alternatives and options that 
> are compliant with ASF policies and have looked at several other top-level 
> Apache projects on how they manage, maintain, and publish their websites and 
> blogs. For reference, some of that progress and options have been discussed 
> at https://issues.apache.org/jira/browse/INFRA-24170
>
> In order to have an ASF-compliant website and blog setup that would be more 
> inclusive for our non-technical contributors, I've set up a proof-of-concept 
> blog+website [1] using Docusauras (and configs from one of the ASF project 
> websites, treat all the content outside of the blog as placeholder pages or 
> lorem-ipsum) which is a static-site generator used by a dozen other Apache 
> TLP websites [0] such as Apisix, Pulsar etc.
>
> This PoC has all most of our blog migrated (except the most 4-6 new ones), 
> but pending migration of website content; and is currently integrated with a 
> Netlify CMS which isn't as rich as WP but allows a committer/PMC to login via 
> Github and manage the website+blog using a rich-text markdown editor [1][2] 
> where editing/saving content created git commits pushed to Github. I'm also 
> looking at other headless git-based CMSs that we can use.
>
> We may revisit any design/theme changes in the future, if there are no 
> objections as the first iteration I propose to migrate all our project 
> website content along with the Roller blog to this PoC and ask interested 
> contributors to review and collaborate in an on-going basis as we need to 
> migrate the blog by 31st May '23. I hope to update again regularly.
>
> [0] https://github.com/search?q=org%3Aapache+docusaurus.config.js=code
> [1] https://beautiful-pastelito-4eb422.netlify.app/blog/
> [2] https://beautiful-pastelito-4eb422.netlify.app/admin/
>
>
> Thanks and regards.
>
> 
> From: Rohit Yadav 
> Sent: Wednesday, February 8, 2023 15:07
> To: d...@cloudstack.apache.org 
> Cc: priv...@cloudstack.apache.org 
> Subject: Re: [DISCUSS] CloudStack Website build and modernisation
>
> All,
>
> The ASF infra has advised recently that they're deprecating and removing 
> Roller support, our project blog is based on Roller.
>
> Given this hasn't received any objections on this thread, I've spent some 
> time in the last two months exploring options that solve most of our website 
> and blog requirements. I explored several other top-level ASF project 
> websites and found they had built their website/blog/article using something 
> like Pelican, Hugo, Jekyll and recently Docusaurus. Among these Jekyll is the 
> oldest and most stable platform that Github supports out of the box. Most of 
> these TLP websites use a CI/CD based staging->publishing pipeline, using 
> Github Actions, Gitpod, Netlify etc.
>
> Among these various options, Docusaurus seems to satisfy many of the 
> requirements and integrates with Netlify CMS (to support our marketing 
> contributors who aren't necessarily git-experts; 
> https://www.netlifycms.org/docs/docusaurus/).
>
> If there aren't any objections I would like to set up a staging/beta website 
> (as per 
> https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-WebsitedeploymentserviceforGitrepositories
>  this can be configured, using default it would be on 
> cloudstack.staged.apach.org).
>
> Example TLP website source repos:
>
> Docusaurus:
> https://github.com/apache/apisix-website
> https://github.com/apache/shenyu-website
> https://github.com/apache/incubator-kvrocks-website
>
> Jekyll:
> https://github.com/apache/openwhisk-website
> https://github.com/apache/nuttx-website
>
> Hugo:
> https://github.com/apache/kyuubi-website
> https://github.com/apache/hop-website
> https://github.com/apache/dubbo-website
>
>
> Regards.
>
> 
> From: Rohit Yadav 
> Sent: Monday, December 19, 2022 14:57
> To: 

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

2023-03-30 Thread Suresh Kumar Anaparti
Congratulations Rohit, All the best!

and thank you Simon...

Regards,
Suresh

On Thu, Mar 30, 2023 at 9:07 AM Simon Weller  wrote:
>
> All,
>
> I'm very pleased to announce that the ASF board has accepted the nomination
> of Rohit Yadav to be the new VP of the Apache CloudStack project.
>
> It has been my pleasure to serve as the VP over the past year, and I'd like
> to thank the community for all of the support.
>
> Rohit, congratulations and I wish you the best as you take on this new role.
>
> -Simon


Re: Daan Hoogland - New ASF Member

2023-03-24 Thread Suresh Kumar Anaparti
Congratulations Daan!

Regards,
Suresh

On Fri, Mar 24, 2023 at 2:59 PM Paul Angus  wrote:
>
>
>
> It is my pleasure to announce that Daan Hoogland as been elected to become a
> member of the ASF.
>
> The ASF would like to recognize both his practical involvement and the way
> in which he has interacted with others in and around the ASF.
>
>
>
> Congratulations  Daan.
>
>
>
>
>
>
>
>
>
> Kind regards
>
>
>
> Paul Angus
>
>
>


Re: Hello Community!!

2023-03-15 Thread Suresh Kumar Anaparti
Welcome Jithin!

Regards,
Suresh

On Tue, Mar 14, 2023 at 1:27 PM Jithin Raju  wrote:
>
> Hi All,
>
> I have joined ShapeBlue and looking forward to getting actively involved in 
> the community. Previously I worked on the commercial fork of the ACS, mostly 
> involved in technical support.
>
> -Jithin
>
>
>


Re: [ANNOUNCE] Ivet Petrova has joined the PMC

2023-02-20 Thread Suresh Kumar Anaparti
Congratulations Ivet, very well deserved...

Regards,
Suresh

On Tue, Feb 14, 2023 at 9:31 PM Simon Weller  wrote:
>
> Hi everyone,
>
> It gives me great pleasure to announce that Ivet has been invited to join
> the
> CloudStack PMC and she has accepted.
>
> Please join me in congratulating Ivet!
>
> -Simon (on behalf of the CloudStack PMC)


Re: PowerFlex Intergration and Future Support.

2022-12-30 Thread Suresh Kumar Anaparti
Hi Avi,

CloudStack communicates to PowerFlex through its REST APIs for various
storage operations. I think, if there are no changes in the PowerFlex
APIs and their underlying behavior in version 3.6, the integration
should work without any issues.

Regards,
Suresh

On Thu, Dec 29, 2022 at 11:00 AM Abishek  wrote:
>
> Hi All,
>
> We are exploring implementing of Apache CloudStack with Dell PowerFlex. We
> have seen that there is an integration of the PowerFlex (v3.5) in
> Cloudstack. On the hypervisor, we are considering KVM. The only question
> that remains is future support and integration. We have seen that PowerFlex
> has already published its newer version 3.6. Will these be supported?
>
> https://www.shapeblue.com/cloudstack-feature-first-look-storage-plugin-for-dell-emc-powerflex/
>
> I will be very grateful for any recommendations and suggestions.
>
> Thank You.
> Avi


Re: CCC Agenda and Speakers are Now Live!

2022-10-10 Thread Suresh Kumar Anaparti
Nice agenda Ivet, looking forward to CCC!

Regards,
Suresh

On Mon, Oct 10, 2022 at 2:24 AM Ivet Petrova  wrote:
>
> Hello all,
>
> I am excited to share that we just published the agenda for the CloudStack 
> Collaboration Conference 2022!
> You can review all speakers and sessions here: 
> https://www.cloudstackcollab.org/#schedule
>
> Thanks to all speakers who submitted their talks and all great sponsors who 
> help us to build this awesome in-person event!
> If you still have not registered, please do it here: 
> https://events.hubilo.com/cloudstack-collaboration-conference-2022/register
>
> We will be excited to meet you either personally in Sofia, Bulgaria or 
> virtually!
>
> Kind regards,
>
>
>
>


Re: 4.17.1.0 release

2022-08-31 Thread Suresh Kumar Anaparti
Sounds good Abhishek!

Regards,
Suresh

On Tue, Aug 30, 2022 at 6:50 PM Abhishek Kumar
 wrote:
>
> All,
>
> We've 5 items remaining on the 4.17.1.0 milestone now: 
> https://github.com/apache/cloudstack/milestone/25
>
> Considering these and the previously proposed rough timeline, I would like to 
> propose 4.17 branch soft freeze from tomorrow 31 Aug 2022, after which only 
> blocker and critical fixes will be allowed with the RC1 cut during next week 
> depending on the branch stability.
>
> Thoughts, objections?
>
> Regards,
> Abhishek
>
>
>


Re: cloud usage Unable to load db configuration

2022-08-12 Thread Suresh Kumar Anaparti
Ok, thanks for the update Cristian.

On Fri, Aug 12, 2022 at 1:27 PM  wrote:
>
> Yes, after reinstall the cloudstack-usage.
>
> -Original Message-----
> From: Suresh Kumar Anaparti 
> Sent: Friday, August 12, 2022 10:55 AM
> To: users@cloudstack.apache.org
> Subject: Re: cloud usage Unable to load db configuration
>
> Ok, issue resolved after reinstallation?
>
> On Fri, Aug 12, 2022 at 12:40 PM  wrote:
> >
> > Looks like there was a issue with db.properties, after I reinstalled, the 
> > symlink was created, before was without symlink.
> >
> > lrwxrwxrwx 1 root root   40 Aug 11 18:56 db.properties -> 
> > /etc/cloudstack/management/db.properties
> > lrwxrwxrwx 1 root root   30 Aug 11 18:56 key -> 
> > /etc/cloudstack/management/key
> >
> >
> > Regards,
> > Cristian
> >
> >
> > -Original Message-
> > From: Suresh Kumar Anaparti 
> > Sent: Friday, August 12, 2022 9:37 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: cloud usage Unable to load db configuration
> >
> > Ok, Please check the parameter "db.cloud.maxActive" in 
> > /etc/cloudstack/usage/db.properties as well.
> >
> > parameter parsing issue here:
> > https://github.com/apache/cloudstack/blob/cad9332082a1f85eedc30cf547ae
> > 28224be170c2/framework/db/src/main/java/com/cloud/utils/db/Transaction
> > Legacy.java#L1030
> >
> > On Fri, Aug 12, 2022 at 12:17 AM  wrote:
> > >
> > > Hi Suresh,
> > >
> > >I only have these;
> > >
> > > root@acs-apac:/home/ubuntu# find / -name "db.properties"
> > > /etc/cloudstack/usage/db.properties
> > > /etc/cloudstack/management/db.properties
> > > root@acs-apac:/home/ubuntu#
> > >
> > >
> > > Regards,
> > > Cristian
> > >
> > > -Original Message-
> > > From: Suresh Kumar Anaparti 
> > > Sent: Thursday, August 11, 2022 7:19 PM
> > > To: users@cloudstack.apache.org
> > > Subject: Re: cloud usage Unable to load db configuration
> > >
> > > Hi Cristian,
> > >
> > > The listed db configuration parameters looks good.
> > >
> > > I think there is another db.properties file from where the configuration 
> > > is loaded. Can you find whether any other db.properties file exists, and 
> > > check if the parameter "db.cloud.maxActive" is missing or has invalid 
> > > value. Please update / correct it to "db.cloud.maxActive=250". You can 
> > > ignore the simulator db settings (simulator is used for testing purposes).
> > >
> > > Regards,
> > > Suresh
> > >
> > > On Thu, Aug 11, 2022 at 4:55 PM  wrote:
> > > >
> > > > HI Suresh,
> > > >
> > > >
> > > >   This is what I have in from /etc/management/db.properties
> > > >
> > > > # usage database tuning parameters
> > > >
> > > > db.cloud.port=3306
> > > >
> > > > db.cloud.maxActive=250
> > > > db.cloud.maxIdle=30
> > > > db.cloud.maxWait=1
> > > >
> > > >
> > > > db.usage.port=3306
> > > >
> > > > db.usage.maxActive=100
> > > > db.usage.maxIdle=30
> > > > db.usage.maxWait=1
> > > > db.usage.url.params=serverTimezone=UTC
> > > >
> > > >
> > > > # Simulator database settings
> > > > db.simulator.username=cloud
> > > > db.simulator.password=cloud  ( I'm not aware about what is simulator 
> > > > for ) here the pass is "cloud"
> > > > db.simulator.host=localhost
> > > > db.simulator.driver=jdbc:mysql
> > > > db.simulator.port=3306
> > > > db.simulator.name=simulator
> > > > db.simulator.maxActive=250
> > > > db.simulator.maxIdle=30
> > > > db.simulator.maxWait=1
> > > > db.simulator.autoReconnect=true
> > > >
> > > >
> > > > Regards,
> > > > Cristian
> > > >
> > > >
> > > >
> > > > -Original Message-
> > > > From: Suresh Kumar Anaparti 
> > > > Sent: Thursday, August 11, 2022 1:41 PM
> > > > To: users@cloudstack.apache.org
> > > > Subject: Re: cloud usage Unable to load db configuration
> > > >
> > > > Hi Cristian,
> > > >
> > > > 

Re: cloud usage Unable to load db configuration

2022-08-12 Thread Suresh Kumar Anaparti
Ok, issue resolved after reinstallation?

On Fri, Aug 12, 2022 at 12:40 PM  wrote:
>
> Looks like there was a issue with db.properties, after I reinstalled, the 
> symlink was created, before was without symlink.
>
> lrwxrwxrwx 1 root root   40 Aug 11 18:56 db.properties -> 
> /etc/cloudstack/management/db.properties
> lrwxrwxrwx 1 root root   30 Aug 11 18:56 key -> /etc/cloudstack/management/key
>
>
> Regards,
> Cristian
>
>
> -Original Message-
> From: Suresh Kumar Anaparti 
> Sent: Friday, August 12, 2022 9:37 AM
> To: users@cloudstack.apache.org
> Subject: Re: cloud usage Unable to load db configuration
>
> Ok, Please check the parameter "db.cloud.maxActive" in 
> /etc/cloudstack/usage/db.properties as well.
>
> parameter parsing issue here:
> https://github.com/apache/cloudstack/blob/cad9332082a1f85eedc30cf547ae28224be170c2/framework/db/src/main/java/com/cloud/utils/db/TransactionLegacy.java#L1030
>
> On Fri, Aug 12, 2022 at 12:17 AM  wrote:
> >
> > Hi Suresh,
> >
> >I only have these;
> >
> > root@acs-apac:/home/ubuntu# find / -name "db.properties"
> > /etc/cloudstack/usage/db.properties
> > /etc/cloudstack/management/db.properties
> > root@acs-apac:/home/ubuntu#
> >
> >
> > Regards,
> > Cristian
> >
> > -Original Message-
> > From: Suresh Kumar Anaparti 
> > Sent: Thursday, August 11, 2022 7:19 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: cloud usage Unable to load db configuration
> >
> > Hi Cristian,
> >
> > The listed db configuration parameters looks good.
> >
> > I think there is another db.properties file from where the configuration is 
> > loaded. Can you find whether any other db.properties file exists, and check 
> > if the parameter "db.cloud.maxActive" is missing or has invalid value. 
> > Please update / correct it to "db.cloud.maxActive=250". You can ignore the 
> > simulator db settings (simulator is used for testing purposes).
> >
> > Regards,
> > Suresh
> >
> > On Thu, Aug 11, 2022 at 4:55 PM  wrote:
> > >
> > > HI Suresh,
> > >
> > >
> > >   This is what I have in from /etc/management/db.properties
> > >
> > > # usage database tuning parameters
> > >
> > > db.cloud.port=3306
> > >
> > > db.cloud.maxActive=250
> > > db.cloud.maxIdle=30
> > > db.cloud.maxWait=1
> > >
> > >
> > > db.usage.port=3306
> > >
> > > db.usage.maxActive=100
> > > db.usage.maxIdle=30
> > > db.usage.maxWait=1
> > > db.usage.url.params=serverTimezone=UTC
> > >
> > >
> > > # Simulator database settings
> > > db.simulator.username=cloud
> > > db.simulator.password=cloud  ( I'm not aware about what is simulator for 
> > > ) here the pass is "cloud"
> > > db.simulator.host=localhost
> > > db.simulator.driver=jdbc:mysql
> > > db.simulator.port=3306
> > > db.simulator.name=simulator
> > > db.simulator.maxActive=250
> > > db.simulator.maxIdle=30
> > > db.simulator.maxWait=1
> > > db.simulator.autoReconnect=true
> > >
> > >
> > > Regards,
> > > Cristian
> > >
> > >
> > >
> > > -Original Message-
> > > From: Suresh Kumar Anaparti 
> > > Sent: Thursday, August 11, 2022 1:41 PM
> > > To: users@cloudstack.apache.org
> > > Subject: Re: cloud usage Unable to load db configuration
> > >
> > > Hi Cristian,
> > >
> > > It seems to be issue with parameter parsing in the db.properties file, 
> > > not the password. Please check the value of the parameter 
> > > "db.cloud.maxActive" in db.properties file, it should be a valid integer.
> > >
> > > Also, make sure the below parameters in db.properties file have valid 
> > > integer values.
> > >
> > > db.cloud.port
> > > db.cloud.maxActive
> > > db.cloud.maxIdle
> > > db.cloud.maxWait
> > >
> > > db.usage.port
> > > db.usage.maxActive
> > > db.usage.maxIdle
> > > db.usage.maxWait
> > >
> > > db.simulator.port
> > > db.simulator.maxActive
> > > db.simulator.maxIdle
> > > db.simulator.maxWait
> > >
> > > Regards,
> > > Suresh
> > >
> > > On Thu, Aug 11, 2022 at 3:27 PM  wrote:
> > > >
> > > &

Re: cloud usage Unable to load db configuration

2022-08-12 Thread Suresh Kumar Anaparti
Ok, Please check the parameter "db.cloud.maxActive" in
/etc/cloudstack/usage/db.properties as well.

parameter parsing issue here:
https://github.com/apache/cloudstack/blob/cad9332082a1f85eedc30cf547ae28224be170c2/framework/db/src/main/java/com/cloud/utils/db/TransactionLegacy.java#L1030

On Fri, Aug 12, 2022 at 12:17 AM  wrote:
>
> Hi Suresh,
>
>I only have these;
>
> root@acs-apac:/home/ubuntu# find / -name "db.properties"
> /etc/cloudstack/usage/db.properties
> /etc/cloudstack/management/db.properties
> root@acs-apac:/home/ubuntu#
>
>
> Regards,
> Cristian
>
> -Original Message-
> From: Suresh Kumar Anaparti 
> Sent: Thursday, August 11, 2022 7:19 PM
> To: users@cloudstack.apache.org
> Subject: Re: cloud usage Unable to load db configuration
>
> Hi Cristian,
>
> The listed db configuration parameters looks good.
>
> I think there is another db.properties file from where the configuration is 
> loaded. Can you find whether any other db.properties file exists, and check 
> if the parameter "db.cloud.maxActive" is missing or has invalid value. Please 
> update / correct it to "db.cloud.maxActive=250". You can ignore the simulator 
> db settings (simulator is used for testing purposes).
>
> Regards,
> Suresh
>
> On Thu, Aug 11, 2022 at 4:55 PM  wrote:
> >
> > HI Suresh,
> >
> >
> >   This is what I have in from /etc/management/db.properties
> >
> > # usage database tuning parameters
> >
> > db.cloud.port=3306
> >
> > db.cloud.maxActive=250
> > db.cloud.maxIdle=30
> > db.cloud.maxWait=1
> >
> >
> > db.usage.port=3306
> >
> > db.usage.maxActive=100
> > db.usage.maxIdle=30
> > db.usage.maxWait=1
> > db.usage.url.params=serverTimezone=UTC
> >
> >
> > # Simulator database settings
> > db.simulator.username=cloud
> > db.simulator.password=cloud  ( I'm not aware about what is simulator for ) 
> > here the pass is "cloud"
> > db.simulator.host=localhost
> > db.simulator.driver=jdbc:mysql
> > db.simulator.port=3306
> > db.simulator.name=simulator
> > db.simulator.maxActive=250
> > db.simulator.maxIdle=30
> > db.simulator.maxWait=1
> > db.simulator.autoReconnect=true
> >
> >
> > Regards,
> > Cristian
> >
> >
> >
> > -Original Message-
> > From: Suresh Kumar Anaparti 
> > Sent: Thursday, August 11, 2022 1:41 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: cloud usage Unable to load db configuration
> >
> > Hi Cristian,
> >
> > It seems to be issue with parameter parsing in the db.properties file, not 
> > the password. Please check the value of the parameter "db.cloud.maxActive" 
> > in db.properties file, it should be a valid integer.
> >
> > Also, make sure the below parameters in db.properties file have valid 
> > integer values.
> >
> > db.cloud.port
> > db.cloud.maxActive
> > db.cloud.maxIdle
> > db.cloud.maxWait
> >
> > db.usage.port
> > db.usage.maxActive
> > db.usage.maxIdle
> > db.usage.maxWait
> >
> > db.simulator.port
> > db.simulator.maxActive
> > db.simulator.maxIdle
> > db.simulator.maxWait
> >
> > Regards,
> > Suresh
> >
> > On Thu, Aug 11, 2022 at 3:27 PM  wrote:
> > >
> > > Hello,
> > >
> > >
> > >
> > >Any idea why I see the bellow error?  I have the right password
> > > in /management/db.properties and in /usage/db.properties (encrypted)
> > >
> > >
> > >
> > >
> > >
> > > 2022-08-11 09:52:40,160 INFO  [utils.component.ComponentContext]
> > > (main:null)
> > > (logid:) Configuring
> > > com.cloud.usage.dao.UsageDaoImpl_EnhancerByCloudStack_ed194661
> > >
> > > 2022-08-11 09:52:40,160 INFO  [utils.component.ComponentContext]
> > > (main:null)
> > > (logid:) Configuring
> > > com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_c8031ed8
> > >
> > > 2022-08-11 09:52:40,160 DEBUG [cloud.usage.UsageManagerImpl]
> > > (main:null)
> > > (logid:) Checking to see if usage.vmops.pid exists.
> > >
> > > 2022-08-11 09:52:40,160 INFO  [cloud.usage.UsageManagerImpl]
> > > (main:null)
> > > (logid:) Implementation Version is 4.16.1.0
> > >
> > > 2022-08-11 09:52:51,433 DEBUG
> > > [utils.crypt.EncryptionSecretKeyChecker]
> > > (main:null) (logid:) Encryption Type

Re: cloud usage Unable to load db configuration

2022-08-11 Thread Suresh Kumar Anaparti
Hi Cristian,

The listed db configuration parameters looks good.

I think there is another db.properties file from where the
configuration is loaded. Can you find whether any other db.properties
file exists, and check if the parameter "db.cloud.maxActive" is
missing or has invalid value. Please update / correct it to
"db.cloud.maxActive=250". You can ignore the simulator db settings
(simulator is used for testing purposes).

Regards,
Suresh

On Thu, Aug 11, 2022 at 4:55 PM  wrote:
>
> HI Suresh,
>
>
>   This is what I have in from /etc/management/db.properties
>
> # usage database tuning parameters
>
> db.cloud.port=3306
>
> db.cloud.maxActive=250
> db.cloud.maxIdle=30
> db.cloud.maxWait=1
>
>
> db.usage.port=3306
>
> db.usage.maxActive=100
> db.usage.maxIdle=30
> db.usage.maxWait=1
> db.usage.url.params=serverTimezone=UTC
>
>
> # Simulator database settings
> db.simulator.username=cloud
> db.simulator.password=cloud  ( I'm not aware about what is simulator for ) 
> here the pass is "cloud"
> db.simulator.host=localhost
> db.simulator.driver=jdbc:mysql
> db.simulator.port=3306
> db.simulator.name=simulator
> db.simulator.maxActive=250
> db.simulator.maxIdle=30
> db.simulator.maxWait=1
> db.simulator.autoReconnect=true
>
>
> Regards,
> Cristian
>
>
>
> -Original Message-
> From: Suresh Kumar Anaparti 
> Sent: Thursday, August 11, 2022 1:41 PM
> To: users@cloudstack.apache.org
> Subject: Re: cloud usage Unable to load db configuration
>
> Hi Cristian,
>
> It seems to be issue with parameter parsing in the db.properties file, not 
> the password. Please check the value of the parameter "db.cloud.maxActive" in 
> db.properties file, it should be a valid integer.
>
> Also, make sure the below parameters in db.properties file have valid integer 
> values.
>
> db.cloud.port
> db.cloud.maxActive
> db.cloud.maxIdle
> db.cloud.maxWait
>
> db.usage.port
> db.usage.maxActive
> db.usage.maxIdle
> db.usage.maxWait
>
> db.simulator.port
> db.simulator.maxActive
> db.simulator.maxIdle
> db.simulator.maxWait
>
> Regards,
> Suresh
>
> On Thu, Aug 11, 2022 at 3:27 PM  wrote:
> >
> > Hello,
> >
> >
> >
> >Any idea why I see the bellow error?  I have the right password in
> > /management/db.properties and in /usage/db.properties (encrypted)
> >
> >
> >
> >
> >
> > 2022-08-11 09:52:40,160 INFO  [utils.component.ComponentContext]
> > (main:null)
> > (logid:) Configuring
> > com.cloud.usage.dao.UsageDaoImpl_EnhancerByCloudStack_ed194661
> >
> > 2022-08-11 09:52:40,160 INFO  [utils.component.ComponentContext]
> > (main:null)
> > (logid:) Configuring
> > com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_c8031ed8
> >
> > 2022-08-11 09:52:40,160 DEBUG [cloud.usage.UsageManagerImpl]
> > (main:null)
> > (logid:) Checking to see if usage.vmops.pid exists.
> >
> > 2022-08-11 09:52:40,160 INFO  [cloud.usage.UsageManagerImpl]
> > (main:null)
> > (logid:) Implementation Version is 4.16.1.0
> >
> > 2022-08-11 09:52:51,433 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
> > (main:null) (logid:) Encryption Type: null
> >
> > 2022-08-11 09:52:51,435 INFO  [db.Transaction.Transaction] (main:null)
> > (logid:) Is Data Base High Availiability enabled? Ans : false
> >
> > 2022-08-11 09:52:51,449 WARN  [db.Transaction.Transaction] (main:null)
> > (logid:) Unable to load db configuration, using defaults with 5 connections.
> > Falling back on assumed datasource on localhost:3306 using
> > username:password=cloud:cloud. Please check your configuration
> >
> > java.lang.NumberFormatException: null
> >
> > at java.base/java.lang.Integer.parseInt(Integer.java:614)
> >
> > at java.base/java.lang.Integer.parseInt(Integer.java:770)
> >
> > at
> > com.cloud.utils.db.TransactionLegacy.initDataSource(TransactionLegacy.
> > java:1
> > 030)
> >
> > at
> > com.cloud.utils.db.TransactionLegacy.(TransactionLegacy.java:1
> > 008)
> >
> > at
> > com.cloud.utils.db.TransactionContextBuilder.interceptStart(Transactio
> > nConte
> > xtBuilder.java:49)
> >
> > at
> > com.cloud.utils.component.ComponentInstantiationPostProcessor$Intercep
> > torDis
> > patcher.intercept(ComponentInstantiationPostProcessor.java:116)
> >
> > at
> > com.cloud.usage.dao.UsageVMSnapshotOnPrimaryDaoImpl_EnhancerByCloudS

Re: cloud usage Unable to load db configuration

2022-08-11 Thread Suresh Kumar Anaparti
Hi Cristian,

It seems to be issue with parameter parsing in the db.properties file,
not the password. Please check the value of the parameter
"db.cloud.maxActive" in db.properties file, it should be a valid
integer.

Also, make sure the below parameters in db.properties file have valid
integer values.

db.cloud.port
db.cloud.maxActive
db.cloud.maxIdle
db.cloud.maxWait

db.usage.port
db.usage.maxActive
db.usage.maxIdle
db.usage.maxWait

db.simulator.port
db.simulator.maxActive
db.simulator.maxIdle
db.simulator.maxWait

Regards,
Suresh

On Thu, Aug 11, 2022 at 3:27 PM  wrote:
>
> Hello,
>
>
>
>Any idea why I see the bellow error?  I have the right password in
> /management/db.properties and in /usage/db.properties (encrypted)
>
>
>
>
>
> 2022-08-11 09:52:40,160 INFO  [utils.component.ComponentContext] (main:null)
> (logid:) Configuring
> com.cloud.usage.dao.UsageDaoImpl_EnhancerByCloudStack_ed194661
>
> 2022-08-11 09:52:40,160 INFO  [utils.component.ComponentContext] (main:null)
> (logid:) Configuring
> com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_c8031ed8
>
> 2022-08-11 09:52:40,160 DEBUG [cloud.usage.UsageManagerImpl] (main:null)
> (logid:) Checking to see if usage.vmops.pid exists.
>
> 2022-08-11 09:52:40,160 INFO  [cloud.usage.UsageManagerImpl] (main:null)
> (logid:) Implementation Version is 4.16.1.0
>
> 2022-08-11 09:52:51,433 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
> (main:null) (logid:) Encryption Type: null
>
> 2022-08-11 09:52:51,435 INFO  [db.Transaction.Transaction] (main:null)
> (logid:) Is Data Base High Availiability enabled? Ans : false
>
> 2022-08-11 09:52:51,449 WARN  [db.Transaction.Transaction] (main:null)
> (logid:) Unable to load db configuration, using defaults with 5 connections.
> Falling back on assumed datasource on localhost:3306 using
> username:password=cloud:cloud. Please check your configuration
>
> java.lang.NumberFormatException: null
>
> at java.base/java.lang.Integer.parseInt(Integer.java:614)
>
> at java.base/java.lang.Integer.parseInt(Integer.java:770)
>
> at
> com.cloud.utils.db.TransactionLegacy.initDataSource(TransactionLegacy.java:1
> 030)
>
> at
> com.cloud.utils.db.TransactionLegacy.(TransactionLegacy.java:1008)
>
> at
> com.cloud.utils.db.TransactionContextBuilder.interceptStart(TransactionConte
> xtBuilder.java:49)
>
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDis
> patcher.intercept(ComponentInstantiationPostProcessor.java:116)
>
> at
> com.cloud.usage.dao.UsageVMSnapshotOnPrimaryDaoImpl_EnhancerByCloudStack_ff5
> 9469d.createPartialSelectSql()
>
> at com.cloud.utils.db.GenericDaoBase.(GenericDaoBase.java:239)
>
> at
> com.cloud.usage.dao.UsageVMSnapshotOnPrimaryDaoImpl.(UsageVMSnapshotOn
> PrimaryDaoImpl.java:38)
>
> at
> com.cloud.usage.dao.UsageVMSnapshotOnPrimaryDaoImpl_EnhancerByCloudStack_ff5
> 9469d.()
>
> at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Na
> tive Method)
>
> at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Nat
> iveConstructorAccessorImpl.java:62)
>
> at
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance
> (DelegatingConstructorAccessorImpl.java:45)
>
> at
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
>
> at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:291)
>
> at
> net.sf.cglib.proxy.Enhancer$EnhancerFactoryData.newInstance(Enhancer.java:44
> 8)
>
> at net.sf.cglib.proxy.Enhancer.nextInstance(Enhancer.java:700)
>
> at
> net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:
> 298)
>
> at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:480)
>
> at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:305)
>
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor.postProcessBef
> oreInstantiation(ComponentInstantiationPostProcessor.java:92)
>
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
> .applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFacto
> ry.java:1144)
>
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
> .resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1119)
>
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
> .createBean(AbstractAutowireCapableBeanFactory.java:520)
>
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBe
> an$0(AbstractBeanFactory.java:335)
>
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
> ngleton(DefaultSingletonBeanRegistry.java:234)
>
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
> ractBeanFactory.java:333)
>
> at
> 

Re: Upload Volume from local: Remaining state "Uploaded"

2022-08-11 Thread Suresh Kumar Anaparti
Hi Mevludin,

The volume would be uploaded to secondary storage, and its state is
changed to 'Uploaded' once upload is done. When attaching the uploaded
volume, it is copied to the primary storage and its state is changed
to 'Ready'.

Volumes with the following states: Allocated (newly created), Ready
(created in primary already - detached) and Uploaded (uploaded to
secondary), can be attached to a VM. Hope it is clear.

Regards,
Suresh

On Wed, Aug 10, 2022 at 4:43 PM Mevludin Blazevic
 wrote:
>
> Hi all,
>
> after installing the certificates for Console Proxy and Secondary
> Storage VM we are able to upload ISO, volumens and templates from local.
> But after uploading volumes, they remain in the state "Uploaded" but for
> attaching to a VM we need the Ready-state. We are using NFS as secondary
> storage and Ceph/RBD as primary. Do you have an idea what's missing?
>
> Best Regards
>
> Mevludin
>


Re: Linstor Primary Storage on 4.16.1

2022-08-08 Thread Suresh Kumar Anaparti
Hi Antoine,

Have you tried to add cluster-wide or zone-wide Primary Storage? Can you
check with both.

If you notice any issue with protocol / provider selection in the UI ,
please create an issue here: https://github.com/apache/cloudstack/issues

Regards,
Suresh

On Sun, Aug 7, 2022 at 11:42 PM Antoine Boucher 
wrote:

> Hi Suresh,
>
> I double checked and all 4 hosts and cluster is set to KVM.
>
> This cluster also has 2 zone wide primary nfs storage that seems to have
> been added automatically during the hosts creation.
>
> Regards,
> Antoine
>
>
>
> *Antoine Boucher*
> antoi...@haltondc.com
> [o] +1-226-505-9734
> www.haltondc.com
>
> “Data security made simple and affordable”
>
>
>
>
>
> Confidentiality Warning: This message and any attachments are intended
> only for the use of the intended recipient(s), are confidential, and may be
> privileged. If you are not the intended recipient, you are hereby notified
> that any review, retransmission, conversion to hard copy,
> copying, circulation or other use of this message and any attachments is
> strictly prohibited. If you are not the intended recipient, please notify
> the sender immediately by return e-mail, and delete this message and any
> attachments from your system.
>
>
> On Aug 7, 2022, at 1:43 PM, Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> Hi Antoine,
>
> It seems the Linstor protocol is listed for KVM hypervisor only. Can
> you check it with any cluster having KVM hypervisor, or select KVM for
> the zone. The fix here:
> https://github.com/apache/cloudstack/pull/5672, was included in 4.16.1
> related to Linstor protocol selection in UI.
>
> Regards,
> Suresh
>
> On Sun, Aug 7, 2022 at 8:57 PM Antoine Boucher 
> wrote:
>
>
> Hello,
>
> Has anyone setup Linstor as primary storage?
>
> From the documentation:
>
> "After you are finished with the LINSTOR cluster setup, you can add a
> Cloudstack primary storage as any other primary storage see Add Primary
> Storage <
> http://docs.cloudstack.apache.org/en/latest/installguide/configuration.html#add-primary-storage>.
> For protocol choose Linstor and as server specify the controller REST-API
> URL e.g.: http://127.0.0.1:3370 and use the resource group name you added
> in the LINSTOR cluster.”
>
> I can not seem to be able to select “Linstor” as a Protocol selection.
> The only Linstor selection I can make is by selecting custom as Protocol
> and Linstor as Provider but then I can not specify the server address.
>
> Do I have to install or enable something for the plugin to work?
>
> Regards,
> Antoine
>
>
>
>
>


Re: Linstor Primary Storage on 4.16.1

2022-08-07 Thread Suresh Kumar Anaparti
Hi Antoine,

It seems the Linstor protocol is listed for KVM hypervisor only. Can
you check it with any cluster having KVM hypervisor, or select KVM for
the zone. The fix here:
https://github.com/apache/cloudstack/pull/5672, was included in 4.16.1
related to Linstor protocol selection in UI.

Regards,
Suresh

On Sun, Aug 7, 2022 at 8:57 PM Antoine Boucher  wrote:
>
> Hello,
>
> Has anyone setup Linstor as primary storage?
>
> From the documentation:
>
> "After you are finished with the LINSTOR cluster setup, you can add a 
> Cloudstack primary storage as any other primary storage see Add Primary 
> Storage 
> .
>  For protocol choose Linstor and as server specify the controller REST-API 
> URL e.g.: http://127.0.0.1:3370 and use the resource group name you added in 
> the LINSTOR cluster.”
>
> I can not seem to be able to select “Linstor” as a Protocol selection.  The 
> only Linstor selection I can make is by selecting custom as Protocol and 
> Linstor as Provider but then I can not specify the server address.
>
> Do I have to install or enable something for the plugin to work?
>
> Regards,
> Antoine
>
>
>


Re: [ANNOUNCE] Next PMC Chair & VP Apache CloudStack Project - Simon Weller

2022-03-17 Thread Suresh Kumar Anaparti
Congratulations Simon!

Thank you Gabriel, for your work.

Regards,
Suresh

On Thu, Mar 17, 2022 at 4:27 PM Rohit Yadav  wrote:
>
> Congratulations Simon! And thank you Gabriel.
>
> Regards.
>
> On Thu, Mar 17, 2022 at 3:25 PM Gabriel Beims Bräscher
>  wrote:
> >
> > Hello, all CloudStack community!
> >
> > It gives me great pleasure to announce that the ASF board last night 
> > accepted
> > our PMC's nomination of Simon Weller 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.
> > It was a great honor being the PMC Chair of this amazing project/community!
> >
> > To Simon, my sincere congratulations, and I wish you success in the new 
> > role!
> > Very well deserved!
> >
> > Please join me in congratulating Simon, the CloudStack PMC Chair / VP.
> >
> > Best Regards,
> > Gabriel Bräscher.


Re: [PROPOSE] RM for 4.17

2022-03-16 Thread Suresh Kumar Anaparti
Looks good Nicolas.

Regards,
Suresh

On Tue, Mar 15, 2022 at 5:29 PM Rohit Yadav  wrote:
>
> Sounds good to me, thanks for sharing Nicolas.
>
>
> Regards.
>
> 
> From: Nicolas Vazquez 
> Sent: Tuesday, March 15, 2022 16:26
> To: d...@cloudstack.apache.org ; 
> users@cloudstack.apache.org 
> Cc: users@cloudstack.apache.org 
> Subject: Re: [PROPOSE] RM for 4.17
>
> Hi all,
>
> Given the proximity with the version 4.16.1 released this month, I would like 
> to propose some changes to the original timeline, by extending it for a few 
> weeks:
>
> - (3-4 weeks) Ongoing – First weeks April 2022: Accept all bugs, issues, 
> improvements allowed in LTS [1]
> - (1 week) Stabilise the 4.17 branch, accept only critical/blocker issues (if 
> any)
> - Mid-April 2022 and onwards: Cut 4.17.0.0 RC1 and further RCs if necessary, 
> start/conclude vote, and finish release work
>
> Please let me know if any objections.
>
> [1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/LTS
>
> Regards,
> Nicolas Vazquez
>
>
> From: Nicolas Vazquez 
> Date: Tuesday, 1 February 2022 at 11:20
> To: users@cloudstack.apache.org , dev 
> 
> Cc: users@cloudstack.apache.org 
> Subject: Re: [PROPOSE] RM for 4.17
> Thanks all for your support!
>
> I propose the following timelines for the 4.17.0.0 release, which is targeted 
> for Q1/Q2 2022.
>
> - (7-8 weeks) Ongoing – Mid March 2022: Accept all bugs, issues, improvements 
> allowed in LTS [1]
> - (1 week) Stabilise the 4.17 branch, accept only critical/blocker issues (if 
> any)
> - End March 2022 and onwards: Cut 4.17.0.0 RC1 and further RCs if necessary, 
> start/conclude vote, and finish release work
>
> My colleague Boris will assist me during the process for 
> reviewing/testing/merging the PRs. You can find the open issues and PRs at 
> the 4.17.0.0 Github milestone [2]. Ping me (@nvazquez) or Boris 
> (@borisstoyanov) on your issues and PRs, that are to be included in 4.17.0.0.
>
> Looking forward for your support on bug fixes, reviews, tests, etc. Thanks.
>
> [1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/LTS
> [2] https://github.com/apache/cloudstack/milestone/21
>
> Regards,
> Nicolas Vazquez
>
>
> From: Suresh Kumar Anaparti 
> Date: Tuesday, 1 February 2022 at 08:07
> To: dev 
> Cc: users@cloudstack.apache.org 
> Subject: Re: [PROPOSE] RM for 4.17
> +1
>
> Thanks for volunteering again, good luck Nicolas!
>
> Regards,
> Suresh
>
> On Tue, Feb 1, 2022 at 2:02 AM Gabriel Beims Bräscher 
> wrote:
>
> > Sounds good.
> > Thaks, Nicolas.
> >
> > On Mon, Jan 31, 2022, 19:42 Rohit Yadav  wrote:
> >
> > > Sounds good to me, thanks for volunteering Nicolas.
> > >
> > >
> > > Regards.
> > >
> > > 
> > > From: Boris Stoyanov 
> > > Sent: Monday, January 31, 2022 13:58
> > > To: d...@cloudstack.apache.org ;
> > > users@cloudstack.apache.org 
> > > Cc: d...@cloudstack.apache.org 
> > > Subject: Re: [PROPOSE] RM for 4.17
> > >
> > > +1, I can help with triage/testing and any other business Nicolas, let me
> > > know if you need any additional hands.
> > >
> > > Bobby.
> > >
> > > From: Ivet Petrova 
> > > Date: Friday, 28 January 2022, 16:11
> > > To: users@cloudstack.apache.org 
> > > Cc: d...@cloudstack.apache.org 
> > > Subject: Re: [PROPOSE] RM for 4.17
> > > Nicolas,
> > > Just to mention you did a great job last time!
> > >
> > > Kind regards,
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 28 Jan 2022, at 16:05, Nicolas Vazquez  > > <mailto:nicolas.vazq...@shapeblue.com>> wrote:
> > >
> > > Dear All,
> > >
> > > I would like to put myself forward as the release manager for 4.17.0.0.
> > >
> > > I propose we have a window of at least 6 weeks to allow the community and
> > > users to test and report issues, I will propose the timeline details
> > soon.
> > >
> > > I hope to have your support. Please let me know if you have any thoughts
> > /
> > > comments.
> > >
> > > Regards,
> > > Nicolas Vazquez
> > >
> > >
> > >
> > >
> >
>
>
>
>
>
>
>
>


[ANNOUNCE] Apache CloudStack 4.16.1.0 LTS Release

2022-03-07 Thread Suresh Kumar Anaparti
# Apache CloudStack LTS Maintenance Release 4.16.1.0

The Apache CloudStack project is pleased to announce the release of
CloudStack 4.16.1.0.
The CloudStack 4.16.1.0 release is a maintenance release as part of
its 4.16.x LTS branch and contains more than 150 fixes and
improvements since the CloudStack 4.16.0.0 release. Some of the
highlights include:

- System VM Template improvements
- CKS enhancements
- Support for VMware 7.0u2, 7.0u3
- Several Hypervisor (VMware, KVM, XenServer) fixes and improvements
- Several UI fixes and improvements
- First Install and Onboarding Message improvements
- Log4j v1.x migration to reload4j v1.2.18.0
- Several security fixes addressing multiple CVEs and improvements

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

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

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

# Documentation

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

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

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

# Downloads

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

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

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


Re: [PROPOSE] RM for 4.17

2022-02-01 Thread Suresh Kumar Anaparti
+1

Thanks for volunteering again, good luck Nicolas!

Regards,
Suresh

On Tue, Feb 1, 2022 at 2:02 AM Gabriel Beims Bräscher 
wrote:

> Sounds good.
> Thaks, Nicolas.
>
> On Mon, Jan 31, 2022, 19:42 Rohit Yadav  wrote:
>
> > Sounds good to me, thanks for volunteering Nicolas.
> >
> >
> > Regards.
> >
> > 
> > From: Boris Stoyanov 
> > Sent: Monday, January 31, 2022 13:58
> > To: d...@cloudstack.apache.org ;
> > users@cloudstack.apache.org 
> > Cc: d...@cloudstack.apache.org 
> > Subject: Re: [PROPOSE] RM for 4.17
> >
> > +1, I can help with triage/testing and any other business Nicolas, let me
> > know if you need any additional hands.
> >
> > Bobby.
> >
> > From: Ivet Petrova 
> > Date: Friday, 28 January 2022, 16:11
> > To: users@cloudstack.apache.org 
> > Cc: d...@cloudstack.apache.org 
> > Subject: Re: [PROPOSE] RM for 4.17
> > Nicolas,
> > Just to mention you did a great job last time!
> >
> > Kind regards,
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On 28 Jan 2022, at 16:05, Nicolas Vazquez  > > wrote:
> >
> > Dear All,
> >
> > I would like to put myself forward as the release manager for 4.17.0.0.
> >
> > I propose we have a window of at least 6 weeks to allow the community and
> > users to test and report issues, I will propose the timeline details
> soon.
> >
> > I hope to have your support. Please let me know if you have any thoughts
> /
> > comments.
> >
> > Regards,
> > Nicolas Vazquez
> >
> >
> >
> >
>


Re: link domain to ldap

2020-03-31 Thread Suresh Kumar Anaparti
Please share the management server log with the error.

Thanks,
Suresh

On Mon, Mar 30, 2020 at 11:45 PM Mateusz Tykierko <
mateusz.tykie...@pwr.edu.pl> wrote:

> Hi all,
>
> I'm trying to link domain to ldap and getting
>
> can not link a domain unless a basedn is configured for it.
>
> Basedn in global and domain settings is set. I can add users and groups
> from ldap manually to domain using Add ldap account.
>
> Where should I look.
>
> Cloudstack version 4.11.2.0
>
> MT
>


Re: New (to me) issue trying to install management server

2020-03-27 Thread Suresh Kumar Anaparti
Hi Matthew,

What is the timezone set in the management server and in mysql ("SELECT
@@global.time_zone, @@session.time_zone"). The management server is
defaulted to the system timezone. Check if any timezone's set for any users
in user table ("SELECT timezone FROM cloud.user") in the management server.
Also, ensure to populate the time zone info in mysql if not done.

Please share the full stack trace to see the extract point of failure.

Thanks,
Suresh

On Fri, Mar 27, 2020 at 1:07 AM Matthew Smart 
wrote:

> Hey everyone,
>
> So, the server acting as my management server (including the database)
> crashed hard and I am trying to spin up a new one restoring from
> backups. Everything has seemed to go smoothly but now I am getting the
> following error:
>
> InvalidConnectionAttributeException: The server time zone value 'CDT' is
> unrecognized or represents more than one time zone.
>
> My new server is identical to the old one (Cent 7. Mariadb 5.5.64.
> Identical hardware) and in all of my work with jdbc and mysql I have
> never seen this error. I have googled and see that I can fix it by
> adding a timezone entry in my.cnf but I was wondering if this issue is
> indicative of a problem with my restoration of the management server.
>
> So, is there a timezone setting somewhere in cloudstack management that
> I missed? Has anyone else hit this error before? I can provide the full
> stack trace if it is helpful.
>
> Thanks,
>
>
> --
> Matthew Smart
> President
> Smart Software Solutions Inc.
> 108 S Pierre St.
> Pierre, SD 57501
>
> Phone: (605) 280-0383
> Skype: msmart13
> Email: msm...@smartsoftwareinc.com
>
>


Re: [ANNOUNCE] Next PMC Chair & VP Apache CloudStack Project - Sven Vogel

2020-03-19 Thread Suresh Kumar Anaparti
Congrats Sven!

Regards,
Suresh

On Thu, Mar 19, 2020 at 2:04 PM Paul Angus  wrote:

> Hi Everyone,
>
> It gives me great pleasure to announce that ASF board last night
> accepted our PMC's nomination of Sven Vogel as the next VP of the
> project.
>
> As I hand over the reins, I would like to thank everyone for the
> support I've received over the past year. It looks like being a very
> difficult year ahead for the world in general, and I wish everyone
> good luck in navigating it and urge everyone to try to show patience
> and compassion in these trying times.
>
> I'd like to thank Sven for volunteering for the post and wish him the
> best of luck, I'm sure that he'll do a great job.
>
> So please join me in welcoming Sven Vogel as the new Apache CloudStack
> VP and PMC Chair !
>


Re: Agent staying in alert mode

2020-03-17 Thread Suresh Kumar Anaparti
Hi Adam,

What is the value of the host parameter in
"/etc/cloudstack/agent/agent.properties" file of the KVM host with agent
connectivity issue. Can you telnet to that management server on port 8250
from the KVM host.

Are other KVM agents connected to same management server?

Thanks,
Suresh

On Tue, Mar 17, 2020 at 3:05 PM Adam Witwicki 
wrote:

> Hi Suresh,
>
> Thanks for looking
>
> All KVM hosts can connect to management server - via ping
>
> The mgmt_server_id is Null for the alert host
>
> Host
>
> name;uuid;status;type;private_ip_address;private_netmask;private_mac_address;storage_ip_address;storage_netmask;storage_mac_address;storage_ip_address_2;storage_mac_address_2;storage_netmask_2;cluster_id;public_ip_address;public_netmask;public_mac_address;proxy_port;data_center_id;pod_id;cpu_sockets;cpus;speed;url;fs_type;hypervisor_type;hypervisor_version;ram;resource;version;parent;total_size;capabilities;guid;available;setup;dom0_memory;last_ping;mgmt_server_id;disconnected;created;removed;update_count;resource_state;owner;lastUpdated;engine_state
> ois-mh-p1-c1-h2-b;3d5e4c35-7e10-4560-8a2e-5ebf770e837d;Alert;Routing;10.10.240.126;255.255.255.0;a0:36:9f:24:32:6a;10.10.240.126;255.255.255.0;a0:36:9f:24:32:6a;\N;\N;\N;5;10.10.240.126;255.255.255.0;a0:36:9f:24:32:6a;\N;5;5;2;32;3800;iqn.1993-08.org.debian:01:7c8e527ccba4;\N;KVM;\N;269385596928;\N;4.11.0.0;\N;\N;hvm,snapshot;44190139-5b1b-3642-b786-41ca577081e9-LibvirtComputingResource;1;0;0;1546450279;\N;2019-12-24
> 09:25:53;2019-06-11 21:59:43;\N;2516;Enabled;\N;\N;Disabled
>
> mshost
>
> msid;runid;name;state;version;service_ip;service_port;last_update;removed;alert_count
> 91765225987;1584406841937;ois-mh-csmg-01;Up;4.11.0.0;10.10.240.21;9090;2020-03-17
> 09:33:07;\N;0
> 91765663747;1584406829845;ois-mh-csmg-02;Up;4.11.0.0;10.10.240.22;9090;2020-03-17
> 09:33:09;\N;0
> 91766390275;1584406828383;ois-mh-csmg-03;Up;4.11.0.0;10.10.240.23;9090;2020-03-17
> 09:33:05;\N;0
>
>
> Adam
>
> -Original Message-
> From: Suresh Kumar Anaparti 
> Sent: 16 March 2020 19:35
> To: users@cloudstack.apache.org
> Subject: Re: Agent staying in alert mode
>
> ** This mail originated from OUTSIDE the Oakford corporate network. Treat
> hyperlinks and attachments in this email with caution. **
>
> Hi Adam,
>
> Seems it is clustered environment and other node(s) are being
> disconnected, from the logs. Can you check the management host of connected
> agents in the KVM host using net stat and the host value in
> "/etc/cloudstack/agent/agent.properties".
>
> Also, check the ownership of the host in mgmt_server_id column of the host
> table and validate it against the management server details in mshost table.
>
> Thanks,
> Suresh
>
> On Mon, Mar 16, 2020 at 4:37 PM Adam Witwicki 
> wrote:
>
> > Hi Guys,
> >
> > I need some help,
> >
> > One of my KVM agents is stuck in alert state - no amount of restarting
> > the agent helps
> >
> >
> >
> > Cloudstack version 4.11.0.0
> >
> > Logs
> > Management https://pastebin.com/JY2bvqmM Agent
> > https://pastebin.com/G7g8wXNN
> >
> > All the other agents connect fine
> >
> > Thanks
> >
> > Adam
> >
> >
> >
> > Disclaimer Notice:
> > This email has been sent by Oakford Technology Limited, while we have
> > checked this e-mail and any attachments for viruses, we can not
> > guarantee that they are virus-free. You must therefore take full
> > responsibility for virus checking.
> > This message and any attachments are confidential and should only be
> > read by those to whom they are addressed. If you are not the intended
> > recipient, please contact us, delete the message from your computer
> > and destroy any copies. Any distribution or copying without our prior
> > permission is prohibited.
> > Internet communications are not always secure and therefore Oakford
> > Technology Limited does not accept legal responsibility for this message.
> > The recipient is responsible for verifying its authenticity before
> > acting on the contents. Any views or opinions presented are solely
> > those of the author and do not necessarily represent those of Oakford
> Technology Limited.
> > Registered address: Oakford Technology Limited, The Manor House,
> > Potterne, Wiltshire. SN10 5PN.
> > Registered in England and Wales No. 5971519
> >
> >
> Disclaimer Notice:
> This email has been sent by Oakford Technology Limited, while we have
> checked this e-mail and any attachments for viruses, we can not guarantee
> that they are virus-free. You must therefore take full responsibility for
> viru

Re: Error creating instance[Help]

2020-03-17 Thread Suresh Kumar Anaparti
Hi Marciel,

The primary storage added in the CS is the local storage of the KVM host.
The compute offering selected has Storage Type: shared and so the
deployment failed with no suitable storage pools. Create a new compute and
disk offerings with Storage Type: local and use that for VM deployment.

Thanks,
Suresh

On Tue, Mar 17, 2020 at 1:45 AM Marciel Bonamigo <
marciel.bonamigo@gmail.com> wrote:

> MariaDB [cloud]> SELECT * FROM storage_pool;
>
> ++---+--++--++++++--+---+-+-+-+-++---+---++-+---+
> | id | name  | uuid |
> pool_type  | port | data_center_id | pod_id | cluster_id | used_bytes |
> capacity_bytes | host_address | user_info | path|
> created | removed | update_time | status |
> storage_provider_name | scope | hypervisor | managed | capacity_iops |
>
> ++---+--++--++++++--+---+-+-+-+-++---+---++-+---+
> |  1 | kvm-lab-01-local-fdf04200 | fdf04200-8e76-4fd6-9045-18c1f7b8924a |
> Filesystem |0 |  1 |  1 |  1 | 8382685184 |
> 53660876800 | 172.26.0.222 | NULL  | /var/lib/libvirt/images |
> 2020-03-06 11:44:24 | NULL| NULL| Up | DefaultPrimary
>   | HOST  | NULL   |   0 |  NULL |
>
> ++---+--++--++++++--+---+-+-+-+-++---+---++-+---+
>
>

On Tue, Mar 17, 2020 at 1:45 AM Marciel Bonamigo <
marciel.bonamigo@gmail.com> wrote:

> compute offering:
> Small Instance
> Storage Typeshared
> Provisioning Type   thin
> # of CPU Cores  1
> CPU (in MHz)500 MHz
> Memory (in MB)  512.00 MB
>
> Disk Offering:
> Description Small Disk, 5 GB
> Custom Disk SizeNo
> Disk Size (in GB)   5
> Custom IOPS
> Min IOPSN/A
> Max IOPSN/A
>
>
> I selected as very basic standard offers.
>
> I just registered an Ubuntu ISO and gave the same error.
>
> storage.pool.allocators.exclude > Extensions to exclude from being
> registered > GCStorage
>
> storage.pool.allocators.order > The order of precedence for the extensions
> >
> LocalStorage,ClusterScopeStoragePoolAllocator,ZoneWideStoragePoolAllocator
>
> storage.pool.max.waitseconds > Timeout (in seconds) to synchronize storage
> pool operations. > 3600
>
> pool.storage.allocated.capacity.disablethreshold > 0.85
>
> pool.storage.capacity.disablethreshold > 0.85
>
>
> Marciel,
> thanks
>

On Tue, Mar 17, 2020 at 12:38 AM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> Hi Marciel,
>
> Based on the logs shared,  CS couldn't locate suitable storage pool for
> Root disk of the VM in dc: 1, pod:1, cluster:1. Can you share the compute
> offering details selected for the VM and storage_pool table to check the
> issue.
>
> Thanks,
> Suresh
>
> On Mon, Mar 16, 2020 at 11:59 PM Marciel Bonamigo <
> marciel.bonamigo@gmail.com> wrote:
>
>> Hello,
>> Could someone give me a light.
>>
>> I registered an ISO at ACS all right download 100%!
>>
>> When trying to create an instance appear from this ISO, I am having some
>> problems.
>>
>> Here is information from the servers:
>> Server KVM:
>> free -h
>>   totalusedfree
>> Mem:   7,6G1,6G5,5G
>> Swap:  7,9G  0B7,9G
>>
>> System Capacity
>> Memory  - 1.50 GB / 6.63 GB
>> CPU - 1.00 GHz / 12.40 GHz
>> Storage - 8.36 GB / 49.98 GB
>> Public IP Addresses - 3 / 10
>> Management IP Addresses - 2 / 21
>> Secondary Storage   - 9.07 GB / 59.76 GB
>> Local Storage   - 192.50 KB / 99.95 GB
>> GPU - 0%
>> of CPU Cores- 2 / 4 50%
>>
>>
>> LOGS ACS:
>>
>> Status
>

Re: Agent staying in alert mode

2020-03-16 Thread Suresh Kumar Anaparti
Hi Adam,

Seems it is clustered environment and other node(s) are being disconnected,
from the logs. Can you check the management host of connected agents in the
KVM host using net stat and the host value in
"/etc/cloudstack/agent/agent.properties".

Also, check the ownership of the host in mgmt_server_id column of the host
table and validate it against the management server details in mshost table.

Thanks,
Suresh

On Mon, Mar 16, 2020 at 4:37 PM Adam Witwicki 
wrote:

> Hi Guys,
>
> I need some help,
>
> One of my KVM agents is stuck in alert state - no amount of restarting the
> agent helps
>
>
>
> Cloudstack version 4.11.0.0
>
> Logs
> Management https://pastebin.com/JY2bvqmM
> Agent https://pastebin.com/G7g8wXNN
>
> All the other agents connect fine
>
> Thanks
>
> Adam
>
>
>
> Disclaimer Notice:
> This email has been sent by Oakford Technology Limited, while we have
> checked this e-mail and any attachments for viruses, we can not guarantee
> that they are virus-free. You must therefore take full responsibility for
> virus checking.
> This message and any attachments are confidential and should only be read
> by those to whom they are addressed. If you are not the intended recipient,
> please contact us, delete the message from your computer and destroy any
> copies. Any distribution or copying without our prior permission is
> prohibited.
> Internet communications are not always secure and therefore Oakford
> Technology Limited does not accept legal responsibility for this message.
> The recipient is responsible for verifying its authenticity before acting
> on the contents. Any views or opinions presented are solely those of the
> author and do not necessarily represent those of Oakford Technology Limited.
> Registered address: Oakford Technology Limited, The Manor House, Potterne,
> Wiltshire. SN10 5PN.
> Registered in England and Wales No. 5971519
>
>


Re: Error creating instance[Help]

2020-03-16 Thread Suresh Kumar Anaparti
Hi Marciel,

Based on the logs shared,  CS couldn't locate suitable storage pool for
Root disk of the VM in dc: 1, pod:1, cluster:1. Can you share the compute
offering details selected for the VM and storage_pool table to check the
issue.

Thanks,
Suresh

On Mon, Mar 16, 2020 at 11:59 PM Marciel Bonamigo <
marciel.bonamigo@gmail.com> wrote:

> Hello,
> Could someone give me a light.
>
> I registered an ISO at ACS all right download 100%!
>
> When trying to create an instance appear from this ISO, I am having some
> problems.
>
> Here is information from the servers:
> Server KVM:
> free -h
>   totalusedfree
> Mem:   7,6G1,6G5,5G
> Swap:  7,9G  0B7,9G
>
> System Capacity
> Memory  - 1.50 GB / 6.63 GB
> CPU - 1.00 GHz / 12.40 GHz
> Storage - 8.36 GB / 49.98 GB
> Public IP Addresses - 3 / 10
> Management IP Addresses - 2 / 21
> Secondary Storage   - 9.07 GB / 59.76 GB
> Local Storage   - 192.50 KB / 99.95 GB
> GPU - 0%
> of CPU Cores- 2 / 4 50%
>
>
> LOGS ACS:
>
> Status
> Unable to create a deployment for VM[User|i-2-88-VM]
>
> 2020-03-16 15:22:02,910 DEBUG [c.c.a.ApiServlet]
> (qtp504527234-12:ctx-d2942ec6) (logid:5742ceb6) ===START===  172.26.0.190
> -- GET
> command=deployVirtualMachine=json=f525ca16-891e-4749-b147-d426ecfab483=673181c2-43fb-45e2-91b0-7496f2975a7b=81cb2d64-d39c-40c5-a3ad-8b8e9fce4f83=6d169723-2440-46a5-a815-67580656dd6d=eb47e5c4-c18e-4706-8f54-518dd5eee6e0=KVM=05d73569-bd80-48d7-b067-2dfc908be3a2=e1efe3de-bda9-4766-9ad0-29ac76a57dc5%5B0%5D.networkid=2cc628f1-54e8-4a9b-974a-474b887a7910=vmcenots7teste=vmcenots7teste&_=1584381583983
> 2020-03-16 15:22:02,916 DEBUG [c.c.a.ApiServer]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) CIDRs from
> which account 'Acct[e8c8861d-5f9c-11ea-bb9d-080027a1c01e-admin]' is allowed
> to perform API calls: 0.0.0.0/0,::/0
> 2020-03-16  15:22:02,986 DEBUG
> [c.c.u.AccountManagerImpl] (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38)
> (logid:5742ceb6) Access granted to
> Acct[e8c8861d-5f9c-11ea-bb9d-080027a1c01e-admin] to
> org.apache.cloudstack.quota.vo.ServiceOfferingVO$$EnhancerByCGLIB$$3bcf647@5bc9c6ce
> by AffinityGroupAccessChecker
> 2020-03-16 15:22:02,991 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Access granted
> to Acct[e8c8861d-5f9c-11ea-bb9d-080027a1c01e-admin] to
> com.cloud.storage.DiskOfferingVO$$EnhancerByCGLIB$$ac86733a@41011f77 by
> AffinityGroupAccessChecker
> 2020-03-16 15:22:03,007 DEBUG [c.c.n.NetworkModelImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Service
> SecurityGroup is not supported in the network id=204
> 2020-03-16 15:22:03,092 DEBUG [c.c.v.UserVmManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Allocating in
> the DB for vm
> 2020-03-16 15:22:03,119 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Allocating
> entries for VM: VM[User|i-2-88-VM]
> 2020-03-16 15:22:03,120 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Allocating
> nics for VM[User|i-2-88-VM]
> 2020-03-16 15:22:03,121 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Allocating nic
> for vm VM[User|i-2-88-VM] in network Ntwk[204|Guest|8] with requested
> profile NicProfile[0-0-null-null-null
> 2020-03-16 15:22:03,135 DEBUG [c.c.n.NetworkModelImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Service
> SecurityGroup is not supported in the network id=204
> 2020-03-16 15:22:03,137 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Allocating
> disks for VM[User|i-2-88-VM]
> 2020-03-16 15:22:03,140 DEBUG [c.c.r.ResourceLimitManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Updating
> resource Type = volume count for Account = 2 Operation = increasing Amount
> = 1
> 2020-03-16 15:22:03,143 DEBUG [c.c.r.ResourceLimitManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Updating
> resource Type = primary_storage count for Account = 2 Operation =
> increasing Amount = 5368709120
> 2020-03-16 15:22:03,145 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Allocation
> completed for VM: VM[User|i-2-88-VM]
> 2020-03-16 15:22:03,145 DEBUG [c.c.v.UserVmManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Successfully
> allocated DB entry for VM[User|i-2-88-VM]
> 2020-03-16 15:22:03,146 DEBUG [c.c.r.ResourceLimitManagerImpl]
> (qtp504527234-12:ctx-d2942ec6 ctx-2f01ad38) (logid:5742ceb6) Updating
> resource Type = user_vm count for Account = 2 Operation = increasing Amount
> = 1
> 2020-03-16 15:22:03,148 DEBUG 

Re: Hello

2019-06-13 Thread Suresh Kumar Anaparti
Hi Darrin, Welcome to CloudStack!

Regards,
Suresh

On Thu, Jun 13, 2019 at 5:44 PM Darrin Hüsselmann <
darrin.husselm...@shapeblue.com> wrote:

> Hi All,
>
>
> I have joined Shapeblue as a software engineer and look forward to
> contributing to the cloudstack project and working with the community.
>
>
> Cheers
>
> Darrin
>
>
> darrin.husselm...@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
>


Re: CS 4.9.2: System VMs not starting

2019-05-06 Thread Suresh Kumar Anaparti
-2825c38c) (logid:64c127ac) Console proxy creation
> failure, zone: Intsys
> 2019-05-06 14:13:46,841 WARN  [o.a.c.alerts] (consoleproxy-1:ctx-2825c38c)
> (logid:64c127ac)  alertType:: 10 // dataCenterId:: 2 // podId:: null //
> clusterId:: null // message:: Console proxy creation failure. zone: Intsys,
> error details: null
>
> Regards Udo
>
> -Ursprüngliche Nachricht-
> Von: Suresh Kumar Anaparti [mailto:sureshkumar.anapa...@gmail.com]
> Gesendet: Montag, 6. Mai 2019 11:34
> An: users@cloudstack.apache.org
> Betreff: Re: CS 4.9.2: System VMs not starting
>
> Hi Udo,
>
> As per the log in the email, the System VM deployment failed immediately
> after finding suitable hosts by the Deployment Planner (FirstFitPlanner).
> Once suitable hosts are found in the cluster, CS should check for suitable
> storage pools for finalizing the complete deployment destination (Zone,
> Pod, Cluster, Host, Storage). It seems there is some unlogged error after
> finding suitable hosts and the deployment failed immediately with Event
> OperationFailed. Check the pools accessibilty. and also try with a
> different Deployment Planner (change the global config parameter
> "vm.deployment.planner")
>
> - Suresh
>
> On Mon, May 6, 2019 at 1:59 PM Mueller, Udo  wrote:
>
> > Hi all,
> >
> > recently we had a crash in our cloudstack.
> >
> > Cloudstack runs inside a pcs cluster which share a direct attached
> > storage. Cluster is running fine, storage is mounted, CS agents are
> > running. Virtualization is run in KVM, project VMs can be started fine.
> > Our installed version is 4.9.2 and we currently cant update to current.
> >
> > But:
> >
> > The system VM cannot be started. Neither console proxy nor secondary
> > storage VM.
> >
> > Log output on CS management when trying to start console proxy vm
> manually:
> >
> > 2019-05-06 08:22:58,865 DEBUG [c.c.a.ApiServlet]
> > (catalina-exec-5:ctx-26cf8ba3) (logid:d5797b2d) ===START===
> 172.16.192.180
> > -- GET
> >
> command=startSystemVm=4803e585-78d3-45b8-8d8a-49944f05e5fa=json=53824f26-bf1d-4f3d-8f5c-d25a045e4abe&_=1557130978863
> > 2019-05-06 08:22:58,878 WARN  [c.c.a.d.ParamGenericValidationWorker]
> > (catalina-exec-5:ctx-26cf8ba3 ctx-31d5912e) (logid:d5797b2d) Received
> > unknown parameters for command startSystemVm. Unknown parameters :
> projectid
> > 2019-05-06 08:22:58,928 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
> > (API-Job-Executor-63:ctx-c57ad4d3 job-122099) (logid:97ae8562) Add
> > job-122099 into job monitoring
> > 2019-05-06 08:22:58,944 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> > (catalina-exec-5:ctx-26cf8ba3 ctx-31d5912e) (logid:d5797b2d) submit async
> > job-122099, details: AsyncJobVO {id:122099, userId: 16, accountId: 2,
> > instanceType: SystemVm, instanceId: 4448, cmd:
> > org.apache.cloudstack.api.command.admin.systemvm.StartSystemVMCmd,
> cmdInfo:
> >
> {"response":"json","id":"4803e585-78d3-45b8-8d8a-49944f05e5fa","ctxDetails":"{\"interface
> >
> com.cloud.vm.VirtualMachine\":\"4803e585-78d3-45b8-8d8a-49944f05e5fa\"}","cmdEventType":"PROXY.START","ctxUserId":"16","httpmethod":"GET","_":"1557130978863","projectid":"53824f26-bf1d-4f3d-8f5c-d25a045e4abe","uuid":"4803e585-78d3-45b8-8d8a-49944f05e5fa","ctxAccountId":"2","ctxStartEventId":"108673"},
> > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> > result: null, initMsid: 101543520292, completeMsid: null, lastUpdated:
> > null, lastPolled: null, created: null}
> > 2019-05-06 08:22:58,945 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> > (API-Job-Executor-63:ctx-c57ad4d3 job-122099) (logid:4706bea3) Executing
> > AsyncJobVO {id:122099, userId: 16, accountId: 2, instanceType: SystemVm,
> > instanceId: 4448, cmd:
> > org.apache.cloudstack.api.command.admin.systemvm.StartSystemVMCmd,
> cmdInfo:
> >
> {"response":"json","id":"4803e585-78d3-45b8-8d8a-49944f05e5fa","ctxDetails":"{\"interface
> >
> com.cloud.vm.VirtualMachine\":\"4803e585-78d3-45b8-8d8a-49944f05e5fa\"}","cmdEventType":"PROXY.START","ctxUserId":"16","httpmethod":"GET","_":"1557130978863","projectid":"53824f26-bf1d-4f3d-8f5c-d25a045e4abe","uuid":"4803e585-78d3-45b8-8d8a-49944f05e5fa","ctxAccountId":"

Re: Online courses?

2019-05-06 Thread Suresh Kumar Anaparti
Hi Razvan,

I recommend CloudStack docs "http://docs.cloudstack.apache.org; for
concepts, installation and more details.

Other course available at
https://www.oreilly.com/library/view/cloud-computing-with/9781788995764/. Check
intro @ https://www.youtube.com/watch?v=833_-ZMYHHo.

- Suresh

On Mon, May 6, 2019 at 3:30 PM Razvan Rosca  wrote:

> Hello,
>
> I'm looking for some online CloudStack courses/training, but I couldn't
> find anything. I've checked Udemy, LinuxAcademy, Lynda etc ... there are no
> available courses (everything is full with OpenStack).
>
> Except ShapeBlue's 1000EUR course
> , is there anything else
> out there?
>
> Thank you,
> Razvan Rosca
>
> Skype: razvan.rosca
> Tel: +40 731 059 660
> Linkedin: https://www.linkedin.com/in/razvanrosca/
> Facebook: https://fb.com/razvanrosca.com
>


Re: CS 4.9.2: System VMs not starting

2019-05-06 Thread Suresh Kumar Anaparti
Hi Udo,

As per the log in the email, the System VM deployment failed immediately
after finding suitable hosts by the Deployment Planner (FirstFitPlanner).
Once suitable hosts are found in the cluster, CS should check for suitable
storage pools for finalizing the complete deployment destination (Zone,
Pod, Cluster, Host, Storage). It seems there is some unlogged error after
finding suitable hosts and the deployment failed immediately with Event
OperationFailed. Check the pools accessibilty. and also try with a
different Deployment Planner (change the global config parameter
"vm.deployment.planner")

- Suresh

On Mon, May 6, 2019 at 1:59 PM Mueller, Udo  wrote:

> Hi all,
>
> recently we had a crash in our cloudstack.
>
> Cloudstack runs inside a pcs cluster which share a direct attached
> storage. Cluster is running fine, storage is mounted, CS agents are
> running. Virtualization is run in KVM, project VMs can be started fine.
> Our installed version is 4.9.2 and we currently cant update to current.
>
> But:
>
> The system VM cannot be started. Neither console proxy nor secondary
> storage VM.
>
> Log output on CS management when trying to start console proxy vm manually:
>
> 2019-05-06 08:22:58,865 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-5:ctx-26cf8ba3) (logid:d5797b2d) ===START===  172.16.192.180
> -- GET
> command=startSystemVm=4803e585-78d3-45b8-8d8a-49944f05e5fa=json=53824f26-bf1d-4f3d-8f5c-d25a045e4abe&_=1557130978863
> 2019-05-06 08:22:58,878 WARN  [c.c.a.d.ParamGenericValidationWorker]
> (catalina-exec-5:ctx-26cf8ba3 ctx-31d5912e) (logid:d5797b2d) Received
> unknown parameters for command startSystemVm. Unknown parameters : projectid
> 2019-05-06 08:22:58,928 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
> (API-Job-Executor-63:ctx-c57ad4d3 job-122099) (logid:97ae8562) Add
> job-122099 into job monitoring
> 2019-05-06 08:22:58,944 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (catalina-exec-5:ctx-26cf8ba3 ctx-31d5912e) (logid:d5797b2d) submit async
> job-122099, details: AsyncJobVO {id:122099, userId: 16, accountId: 2,
> instanceType: SystemVm, instanceId: 4448, cmd:
> org.apache.cloudstack.api.command.admin.systemvm.StartSystemVMCmd, cmdInfo:
> {"response":"json","id":"4803e585-78d3-45b8-8d8a-49944f05e5fa","ctxDetails":"{\"interface
> com.cloud.vm.VirtualMachine\":\"4803e585-78d3-45b8-8d8a-49944f05e5fa\"}","cmdEventType":"PROXY.START","ctxUserId":"16","httpmethod":"GET","_":"1557130978863","projectid":"53824f26-bf1d-4f3d-8f5c-d25a045e4abe","uuid":"4803e585-78d3-45b8-8d8a-49944f05e5fa","ctxAccountId":"2","ctxStartEventId":"108673"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 101543520292, completeMsid: null, lastUpdated:
> null, lastPolled: null, created: null}
> 2019-05-06 08:22:58,945 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-63:ctx-c57ad4d3 job-122099) (logid:4706bea3) Executing
> AsyncJobVO {id:122099, userId: 16, accountId: 2, instanceType: SystemVm,
> instanceId: 4448, cmd:
> org.apache.cloudstack.api.command.admin.systemvm.StartSystemVMCmd, cmdInfo:
> {"response":"json","id":"4803e585-78d3-45b8-8d8a-49944f05e5fa","ctxDetails":"{\"interface
> com.cloud.vm.VirtualMachine\":\"4803e585-78d3-45b8-8d8a-49944f05e5fa\"}","cmdEventType":"PROXY.START","ctxUserId":"16","httpmethod":"GET","_":"1557130978863","projectid":"53824f26-bf1d-4f3d-8f5c-d25a045e4abe","uuid":"4803e585-78d3-45b8-8d8a-49944f05e5fa","ctxAccountId":"2","ctxStartEventId":"108673"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 101543520292, completeMsid: null, lastUpdated:
> null, lastPolled: null, created: null}
> 2019-05-06 08:22:58,945 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-5:ctx-26cf8ba3 ctx-31d5912e) (logid:d5797b2d) ===END===
> 172.16.192.180 -- GET
> command=startSystemVm=4803e585-78d3-45b8-8d8a-49944f05e5fa=json=53824f26-bf1d-4f3d-8f5c-d25a045e4abe&_=1557130978863
> 2019-05-06 08:22:58,952 WARN  [c.c.a.d.ParamGenericValidationWorker]
> (API-Job-Executor-63:ctx-c57ad4d3 job-122099 ctx-fb498807) (logid:4706bea3)
> Received unknown parameters for command startSystemVm. Unknown parameters :
> projectid
> 2019-05-06 08:22:59,011 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-63:ctx-c57ad4d3 job-122099 ctx-fb498807) (logid:4706bea3)
> Sync job-122100 execution on object VmWorkJobQueue.4448
> 2019-05-06 08:23:00,135 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (AsyncJobMgr-Heartbeat-1:ctx-7a6dfcef) (logid:6c3cd4ad) Execute sync-queue
> item: SyncQueueItemVO {id:33420, queueId: 49000, contentType: AsyncJob,
> contentId: 122100, lastProcessMsid: 101543520292, lastprocessNumber: 16673,
> lastProcessTime: Mon May 06 08:23:00 UTC 2019, created: Mon May 06 08:22:59
> UTC 2019}
> 2019-05-06 08:23:00,136 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (AsyncJobMgr-Heartbeat-1:ctx-7a6dfcef) (logid:6c3cd4ad) Schedule queued
> job-122100
> 2019-05-06 08:23:00,156 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
> 

Re: Snapshots Have Stopped Running On Some VMs

2019-05-03 Thread Suresh Kumar Anaparti
Hi Asai,

Secondary storage garbage collector (runs every "storage.cleanup.interval"
secs)  tries to cleanup all the destroyed volume snapshots. The log below
has no relation with VM snapshots. As per the log, the cleanup failed for a
volume snapshot as Cloudstack couldn't get the details in
snapshot_store_ref table. Any out of band db operations performed?

Can you please send the complete cleanup failure log and the db records of
snapshot_store_ref table for destroyed / cleanup failed snapshots? Have you
observed any errors related to VM snapshots in the log?

- Suresh

On Fri, May 3, 2019 at 5:09 AM Asai  wrote:

> Greetings,
>
> I have been doing some maintenance on my Cloudstack instance (4.11.1.0)
> and I have found that some of my VM snapshots quit running back in
> February.  I have found this error in the management-server.log.
>
> 2019-05-02 10:01:21,547 DEBUG [c.c.s.StorageManagerImpl]
> (StorageManager-Scavenger-1:ctx-5b4e7b0e) (logid:00439c5c) Secondary
> storage garbage collector found 252 snapshots to cleanup on
> snapshot_store_ref for store: Avalon Secondary Storage
> 2019-05-02 10:01:21,552 WARN  [c.c.s.StorageManagerImpl]
> (StorageManager-Scavenger-1:ctx-5b4e7b0e) (logid:00439c5c) problem cleaning
> up snapshots in snapshot_store_ref for store: Avalon Secondary Storage
> at
> org.apache.cloudstack.storage.snapshot.SnapshotObject.getId(SnapshotObject.java:159)
> at
> org.apache.cloudstack.storage.snapshot.SnapshotObject.getChild(SnapshotObject.java:124)
>
> Can anyone shed some light on this, and advise how I can get my snapshots
> running again?
> Asai
>
>
>


Re: Problem with ACS 4.11.2 and vCenter server

2019-04-19 Thread Suresh Kumar Anaparti
CE [c.c.h.v.u.VmwareContextPool]
> >(DirectAgent-1:ctx-67c624e1 esx3, cmd: ReadyCommand) (logid:1144ccef)
> Recycle
> >VmwareContext into idle pool: csadmin@vsphere.local@vcenter, current
> idle pool
> >size: 1, outstanding count: 1
> >2019-04-18 16:54:12,255 TRACE [c.c.h.v.r.VmwareResource]
> >(DirectAgent-1:ctx-67c624e1) (logid:1144ccef) End executeRequest(),
> cmd:
> >ReadyCommand
> >2019-04-18 16:54:12,255 DEBUG [c.c.a.m.DirectAgentAttache]
> >(DirectAgent-1:ctx-67c624e1) (logid:1144ccef) Seq
> 69-6034823500676464645:
> >Response Received:
> >2019-04-18 16:54:12,255 DEBUG [c.c.a.t.Request]
> (DirectAgent-1:ctx-67c624e1)
> >(logid:1144ccef) Seq 69-6034823500676464645: Processing:  { Ans: ,
> MgmtId:
> >345052098654, via: 69(esx3), Ver: v1, Flags: 110,
> >[{"com.cloud.agent.api.ReadyAnswer":{"result":true,"wait":0}}] }
> >2019-04-18 16:54:12,255 DEBUG [c.c.a.m.AgentAttache]
> >(DirectAgent-1:ctx-67c624e1) (logid:1144ccef) Seq
> 69-6034823500676464645: No
> >more commands found
> >2019-04-18 16:54:12,255 DEBUG [c.c.a.t.Request]
> (qtp510113906-283:ctx-908e5b6a
> >ctx-4eb36509) (logid:1144ccef) Seq 69-6034823500676464645: Received:
> { Ans: ,
> >MgmtId: 345052098654, via: 69(esx3), Ver: v1, Flags: 110, {
> ReadyAnswer } }
> >2019-04-18 16:54:12,255 DEBUG [c.c.h.Status]
> (qtp510113906-283:ctx-908e5b6a
> >ctx-4eb36509) (logid:1144ccef) Transition:[Resource state = Enabled,
> Agent
> >event = Ready, Host id = 69, name = esx3
> >2019-04-18 16:54:12,263 INFO  [c.c.r.ResourceManagerImpl]
> >(qtp510113906-283:ctx-908e5b6a ctx-4eb36509) (logid:1144ccef) server
> resources
> >successfully discovered by VMware Discover
> >
> >
> >It works but if you restart the management server same behavior as
> before : no
> >more traffic between the CS controller and the vCenter.
> >I tried to add a new fake ESXi, I see VMware context init and net
> packets.
> >vCenter fails to add the host because it can't find it and then
> nothing more
> >happens, no more packets between CS and the vCenter...
> >
> >
> >The only errors I can find in the logs looks like this :
> >INFO  [c.c.u.e.CSExceptionErrorCode] (StatsCollector-4:ctx-b2532a68)
> >(logid:98b87cb6) Could not find exception:
> >com.cloud.exception.OperationTimedoutException in error code list for
> >exceptions
> >
> >
> >
> >Florent
> >
> >- Mail original -
> >> De: "Sergey Levitskiy" 
> >> À: "users" 
> >> Envoyé: Mercredi 17 Avril 2019 22:45:23
> >> Objet: Re: Problem with ACS 4.11.2 and vCenter server
> >
> >> It doesn’t look VMware context is getting initialized. This
> something
> >> fundamental e.g. API version mismatch or missing vmware API Jar
> file.
> >> You can try re-adding exising vmware DC and cluster using fake
> cluster name to
> >> force connectivity probing during the addition. If you do please
> post  the log.
> >>
> >>On 4/17/19, 7:48 AM, "Florent Paillot" 
> wrote:
> >>
> >>The only lines I can find in the log are linked to
> "*VmwareContext*".
> >>
> >>I tried to activate the TRACE level log for
> com.cloud.hypervisor.vmware but it
> >>didn't help.
> >>Maybe my conf in log4j is wrong :
> >>
> >> 
> >> 
> >>   
> >>
> >>
> >>Thanks for your help.
> >>
> >>Florent
> >>
> >>- Mail original -
> >>> De: "Suresh Kumar Anaparti" 
> >>> À: "users" 
> >>> Envoyé: Mardi 16 Avril 2019 19:25:50
> >>> Objet: Re: Problem with ACS 4.11.2 and vCenter server
> >>
> >>> Hi Florent,
> >>>
> >>> As soon as CS is started, it will try to connect to the ESXi
> host with the
> >>> vCenter details in the zone (Check details in tables
> vmware_data_center &
> >>> host_details). Grep the below text in the log to see the
> connection
> >>> progress or errors:
> >>> - *Loading directly connected host*
> >>> - *initialize VmwareContext*
> >>

Re: Problem with ACS 4.11.2 and vCenter server

2019-04-16 Thread Suresh Kumar Anaparti
Hi Florent,

As soon as CS is started, it will try to connect to the ESXi host with the
vCenter details in the zone (Check details in tables vmware_data_center &
host_details). Grep the below text in the log to see the connection
progress or errors:
- *Loading directly connected host*
- *initialize VmwareContext*
- *Unable to connect to vSphere server*
- *can not load directly connected host*

CS keeps trying to connect to the host, by default every 90 secs (agent
scan interval).

Regards,
Suresh

On Tue, Apr 16, 2019 at 8:57 PM Sergey Levitskiy 
wrote:

> Please post a full management-server.log without parsing.
>
> On 4/16/19, 7:49 AM, "Florent Paillot"  wrote:
>
> I did this on purpose to limit the size of the log.
>
> I let the controller run for more than 30mins. Can't find any revelant
> error... :(
> I put some grep results here :
> https://pad.inria.fr/p/np_IvcpeIGM4BncZEM1
>
> On the production controller (4.9.3), if we have connectivity problem
> with the vCenter, I see log with the "com.cloud.hypervisor.vmware.*"
> context.
> Is there something to change in the log4j config to see this logs in
> 4.11 ?
>
> The vim25.jar is the right one, after unziping
> "/usr/share/cloudstack-management/lib/cloudstack-4.11.2.0.jar" in
> com/vmware/vim25/vim.wsdl, I see "  soapAction="urn:vim25/6.7" style="document" />".
>
>
> Florent
>
> - Mail original -
> > De: "Suresh Kumar Anaparti" 
> > À: "users" 
> > Envoyé: Mardi 16 Avril 2019 14:22:28
> > Objet: Re: Problem with ACS 4.11.2 and vCenter server
>
> > Florent, The log doesn't have any CS to vCenter connectivity
> details. The
> > CS management server was started and stopped in 2 mins. It needs
> some time
> > to load modules and connect to the hosts and storages. Wait for some
> more
> > time for the connectivity details in the log.
> >
> > You can install vim25.jar for 6.7 version and give a try.
> >
> > - Suresh
> >
> > On Tue, Apr 16, 2019 at 5:34 PM Florent Paillot <
> florent.pail...@inria.fr>
> > wrote:
> >
> >> Here is the log : https://pad.inria.fr/p/np_IvcpeIGM4BncZEM1
> >> It's a complete 3 minutes start/run/stop.
> >>
> >> Thanks for the info about "cs.vmware.api.version*". For 4.11.2, it
> seems
> >> that vSphere 6.7 is the target :
> >> pom.xml:6.7
> >>
> >>
> >> Florent
> >>
> >> - Mail original -
> >> > De: "Suresh Kumar Anaparti" 
> >> > À: "users" 
> >> > Envoyé: Mardi 16 Avril 2019 13:05:20
> >> > Objet: Re: Problem with ACS 4.11.2 and vCenter server
> >>
> >> > Hi Florent,
> >> >
> >> > Log is missing. I think attachments are ignored. Either provide a
> link to
> >> > access the log or paste the logs in email (few logs of the issue).
> >> >
> >> > Irrespective of the vCenter version (hard coded in the build param
> >> > *cs.vmware.api.version*), CS would try to connect to the vCenter
> server.
> >> >
> >> > - Suresh
> >> >
> >> >
> >> > On Tue, Apr 16, 2019 at 2:44 PM Florent Paillot <
> >> florent.pail...@inria.fr>
> >> > wrote:
> >> >
> >> >> Thanks for the answers,
> >> >>
> >> >> Paul : I know that the vCenter 6.7 is not officialy supported
> but my
> >> >> colleague reported that it worked with 4.9.3 .
> >> >> When you say "cloudstack won't recognise it", is it hard coded ?
> If the
> >> >> the vCenter auth API doesn't change between 6.5 and 6.7 it
> should work
> >> or
> >> >> at least try to connect to the vCenter.
> >> >>
> >> >> I'm agree with you Suresh, even if CS can't communicate with the
> vCenter
> >> >> we should see something in the logs or in the packet capture.
> >> >>
> >> >> I am able to ping and telnet from the CS controller to the
> vCenter on
> >> port
> >> >> 443 (and I see the packet with tcpdump).
> >> >>
> >> >> The log is in attachement.
> >> >>
> >> >> Florent

Re: Problem with ACS 4.11.2 and vCenter server

2019-04-16 Thread Suresh Kumar Anaparti
Florent, The log doesn't have any CS to vCenter connectivity details. The
CS management server was started and stopped in 2 mins. It needs some time
to load modules and connect to the hosts and storages. Wait for some more
time for the connectivity details in the log.

You can install vim25.jar for 6.7 version and give a try.

- Suresh

On Tue, Apr 16, 2019 at 5:34 PM Florent Paillot 
wrote:

> Here is the log : https://pad.inria.fr/p/np_IvcpeIGM4BncZEM1
> It's a complete 3 minutes start/run/stop.
>
> Thanks for the info about "cs.vmware.api.version*". For 4.11.2, it seems
> that vSphere 6.7 is the target :
> pom.xml:6.7
>
>
> Florent
>
> - Mail original -
> > De: "Suresh Kumar Anaparti" 
> > À: "users" 
> > Envoyé: Mardi 16 Avril 2019 13:05:20
> > Objet: Re: Problem with ACS 4.11.2 and vCenter server
>
> > Hi Florent,
> >
> > Log is missing. I think attachments are ignored. Either provide a link to
> > access the log or paste the logs in email (few logs of the issue).
> >
> > Irrespective of the vCenter version (hard coded in the build param
> > *cs.vmware.api.version*), CS would try to connect to the vCenter server.
> >
> > - Suresh
> >
> >
> > On Tue, Apr 16, 2019 at 2:44 PM Florent Paillot <
> florent.pail...@inria.fr>
> > wrote:
> >
> >> Thanks for the answers,
> >>
> >> Paul : I know that the vCenter 6.7 is not officialy supported but my
> >> colleague reported that it worked with 4.9.3 .
> >> When you say "cloudstack won't recognise it", is it hard coded ? If the
> >> the vCenter auth API doesn't change between 6.5 and 6.7 it should work
> or
> >> at least try to connect to the vCenter.
> >>
> >> I'm agree with you Suresh, even if CS can't communicate with the vCenter
> >> we should see something in the logs or in the packet capture.
> >>
> >> I am able to ping and telnet from the CS controller to the vCenter on
> port
> >> 443 (and I see the packet with tcpdump).
> >>
> >> The log is in attachement.
> >>
> >> Florent
> >>
> >>
> >> - Mail original -
> >> > De: "Suresh Kumar Anaparti" 
> >> > À: "users" 
> >> > Envoyé: Lundi 15 Avril 2019 17:54:00
> >> > Objet: Re: Problem with ACS 4.11.2 and vCenter server
> >>
> >> > Hi Florent, What was the CS behavior & vCenter/ESXi hosts connectivity
> >> > status before upgrade to 4.11.2 from 4.9.3? Have you upgraded vCenter
> as
> >> > well? Are you able to ping vCenter from CS management server?
> >> >
> >> > Even vCenter 6.7 is not recognised, CS would try to connect with the
> >> > details specified, which is logged. Have you enabled debug logs?
> >> >
> >> > - Suresh
> >> >
> >> > On Mon, Apr 15, 2019 at 7:38 PM Paul Angus 
> >> wrote:
> >> >
> >> >> Ah. vCenter 6.7 isn't supported yet, cloudstack won't recognise it.
> >> >>
> >> >> paul.an...@shapeblue.com
> >> >> www.shapeblue.com
> >> >> Amadeus House, Floral Street, London  WC2E 9DPUK
> >> >> @shapeblue
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> -Original Message-
> >> >> From: Florent Paillot 
> >> >> Sent: 15 April 2019 14:26
> >> >> To: users 
> >> >> Subject: Re: Problem with ACS 4.11.2 and vCenter server
> >> >>
> >> >> Hi Suresh,
> >> >> The vCenter is a 6.7u2 (last build).
> >> >>
> >> >> There is no issue log, that the problem... I don't see any error
> message
> >> >> concerning a failed connection to the vCenter and CS does not seems
> to
> >> send
> >> >> any packet to the vCenter.
> >> >>
> >> >> Florent
> >> >>
> >> >>
> >> >> - Mail original -
> >> >> > De: "Suresh Kumar Anaparti" 
> >> >> > À: "users" 
> >> >> > Envoyé: Lundi 15 Avril 2019 15:10:44
> >> >> > Objet: Re: Problem with ACS 4.11.2 and vCenter server
> >> >>
> >> >> > Hi Florent,
> >> >> >
> >> >> > Can you share the vCenter version and build details. Also, the
> >> >> > cloudstack management server log with th

Re: Problem with ACS 4.11.2 and vCenter server

2019-04-16 Thread Suresh Kumar Anaparti
Hi Florent,

Log is missing. I think attachments are ignored. Either provide a link to
access the log or paste the logs in email (few logs of the issue).

Irrespective of the vCenter version (hard coded in the build param
*cs.vmware.api.version*), CS would try to connect to the vCenter server.

- Suresh


On Tue, Apr 16, 2019 at 2:44 PM Florent Paillot 
wrote:

> Thanks for the answers,
>
> Paul : I know that the vCenter 6.7 is not officialy supported but my
> colleague reported that it worked with 4.9.3 .
> When you say "cloudstack won't recognise it", is it hard coded ? If the
> the vCenter auth API doesn't change between 6.5 and 6.7 it should work or
> at least try to connect to the vCenter.
>
> I'm agree with you Suresh, even if CS can't communicate with the vCenter
> we should see something in the logs or in the packet capture.
>
> I am able to ping and telnet from the CS controller to the vCenter on port
> 443 (and I see the packet with tcpdump).
>
> The log is in attachement.
>
> Florent
>
>
> - Mail original -
> > De: "Suresh Kumar Anaparti" 
> > À: "users" 
> > Envoyé: Lundi 15 Avril 2019 17:54:00
> > Objet: Re: Problem with ACS 4.11.2 and vCenter server
>
> > Hi Florent, What was the CS behavior & vCenter/ESXi hosts connectivity
> > status before upgrade to 4.11.2 from 4.9.3? Have you upgraded vCenter as
> > well? Are you able to ping vCenter from CS management server?
> >
> > Even vCenter 6.7 is not recognised, CS would try to connect with the
> > details specified, which is logged. Have you enabled debug logs?
> >
> > - Suresh
> >
> > On Mon, Apr 15, 2019 at 7:38 PM Paul Angus 
> wrote:
> >
> >> Ah. vCenter 6.7 isn't supported yet, cloudstack won't recognise it.
> >>
> >> paul.an...@shapeblue.com
> >> www.shapeblue.com
> >> Amadeus House, Floral Street, London  WC2E 9DPUK
> >> @shapeblue
> >>
> >>
> >>
> >>
> >> -Original Message-
> >> From: Florent Paillot 
> >> Sent: 15 April 2019 14:26
> >> To: users 
> >> Subject: Re: Problem with ACS 4.11.2 and vCenter server
> >>
> >> Hi Suresh,
> >> The vCenter is a 6.7u2 (last build).
> >>
> >> There is no issue log, that the problem... I don't see any error message
> >> concerning a failed connection to the vCenter and CS does not seems to
> send
> >> any packet to the vCenter.
> >>
> >> Florent
> >>
> >>
> >> - Mail original -
> >> > De: "Suresh Kumar Anaparti" 
> >> > À: "users" 
> >> > Envoyé: Lundi 15 Avril 2019 15:10:44
> >> > Objet: Re: Problem with ACS 4.11.2 and vCenter server
> >>
> >> > Hi Florent,
> >> >
> >> > Can you share the vCenter version and build details. Also, the
> >> > cloudstack management server log with the issue logs while connecting
> to
> >> vCenter.
> >> >
> >> > - Suresh
> >> >
> >> > On Mon, Apr 15, 2019 at 6:24 PM Paul Angus 
> >> wrote:
> >> >
> >> >> Assuming that you have updated the core code to recognise and use
> >> 'newer'
> >> >> libraries/SDKs than the ones currently in use (and thoroughly tested
> >> >> it) then, please do create a pull request.  Otherwise, I personally
> >> >> would advise that you leave things 'as-is' to get the most stable
> >> experience.
> >> >>
> >> >> I don't *think* that you need to run
> >> >>
> >> >> mvn clean
> >> >> mvn install -Dnoredist
> >> >>
> >> >> *After* installing the non-oss components.
> >> >>
> >> >> You might want to do a mvn clean before you start.
> >> >>
> >> >> It's been a while since I've done it manually now.
> >> >>
> >> >>
> >> >>
> >> >> paul.an...@shapeblue.com
> >> >> www.shapeblue.com
> >> >> Amadeus House, Floral Street, London  WC2E 9DPUK @shapeblue
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> -Original Message-
> >> >> From: Florent Paillot 
> >> >> Sent: 15 April 2019 13:17
> >> >> To: users 
> >> >> Subject: Re: Problem with ACS 4.11.2 and vCenter server
> >> >>
> >> >> Yes, this is the list of the files in

Re: Problem with ACS 4.11.2 and vCenter server

2019-04-15 Thread Suresh Kumar Anaparti
Hi Florent, What was the CS behavior & vCenter/ESXi hosts connectivity
status before upgrade to 4.11.2 from 4.9.3? Have you upgraded vCenter as
well? Are you able to ping vCenter from CS management server?

Even vCenter 6.7 is not recognised, CS would try to connect with the
details specified, which is logged. Have you enabled debug logs?

- Suresh

On Mon, Apr 15, 2019 at 7:38 PM Paul Angus  wrote:

> Ah. vCenter 6.7 isn't supported yet, cloudstack won't recognise it.
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
>
> -Original Message-
> From: Florent Paillot 
> Sent: 15 April 2019 14:26
> To: users 
> Subject: Re: Problem with ACS 4.11.2 and vCenter server
>
> Hi Suresh,
> The vCenter is a 6.7u2 (last build).
>
> There is no issue log, that the problem... I don't see any error message
> concerning a failed connection to the vCenter and CS does not seems to send
> any packet to the vCenter.
>
> Florent
>
>
> - Mail original -
> > De: "Suresh Kumar Anaparti" 
> > À: "users" 
> > Envoyé: Lundi 15 Avril 2019 15:10:44
> > Objet: Re: Problem with ACS 4.11.2 and vCenter server
>
> > Hi Florent,
> >
> > Can you share the vCenter version and build details. Also, the
> > cloudstack management server log with the issue logs while connecting to
> vCenter.
> >
> > - Suresh
> >
> > On Mon, Apr 15, 2019 at 6:24 PM Paul Angus 
> wrote:
> >
> >> Assuming that you have updated the core code to recognise and use
> 'newer'
> >> libraries/SDKs than the ones currently in use (and thoroughly tested
> >> it) then, please do create a pull request.  Otherwise, I personally
> >> would advise that you leave things 'as-is' to get the most stable
> experience.
> >>
> >> I don't *think* that you need to run
> >>
> >> mvn clean
> >> mvn install -Dnoredist
> >>
> >> *After* installing the non-oss components.
> >>
> >> You might want to do a mvn clean before you start.
> >>
> >> It's been a while since I've done it manually now.
> >>
> >>
> >>
> >> paul.an...@shapeblue.com
> >> www.shapeblue.com
> >> Amadeus House, Floral Street, London  WC2E 9DPUK @shapeblue
> >>
> >>
> >>
> >>
> >> -Original Message-
> >> From: Florent Paillot 
> >> Sent: 15 April 2019 13:17
> >> To: users 
> >> Subject: Re: Problem with ACS 4.11.2 and vCenter server
> >>
> >> Yes, this is the list of the files in deps/ :
> >> cloud-iControl.jar  cloud-netscaler-sdx.jar  iControl-12.1.0.jar
> >> install-non-oss.sh  manageontap.jar  vim25_51.jar  vim25_55.jar
> >> vim25_60.jar  vim25_65.jar  vim25_67.jar
> >>
> >>
> >> I had to add the following lines to "install-non-oss.sh" to get the
> build
> >> pass :
> >>
> >> mvn install:install-file -Dfile=vim25_67.jar
> >> -DgroupId=com.cloud.com.vmware -DartifactId=vmware-vim25
> -Dversion=6.7
> >>  -Dpackaging=jar
> >> mvn install:install-file -Dfile=iControl-12.1.0.jar
> >>  -DgroupId=com.cloud.com.f5 -DartifactId=icontrol
> >> -Dversion=12.1  -Dpackaging=jar
> >>
> >> I can open a PR or an issue if it makes sense.
> >>
> >> Florent
> >>
> >> --
> >> Florent PAILLOT
> >> SESI - Cellule architecture
> >>
> >> INRIA Bordeaux -Sud-Ouest
> >> 05.24.57.41.25
> >>
> >> - Mail original -
> >> > De: "Paul Angus" 
> >> > À: "users" 
> >> > Envoyé: Lundi 15 Avril 2019 14:10:21
> >> > Objet: RE: Problem with ACS 4.11.2 and vCenter server
> >>
> >> > When packaging, did you install all of the nonoss libraries  into the
> >> > build before packaging?  including vmware-vim25-6.5.jar
> >> >
> >> > paul.an...@shapeblue.com
> >> > www.shapeblue.com
> >> > Amadeus House, Floral Street, London  WC2E 9DPUK @shapeblue
> >> >
> >> >
> >> >
> >> >
> >> > -Original Message-
> >> > From: Dag Sonstebo 
> >> > Sent: 15 April 2019 12:43
> >> > To: users@cloudstack.apache.org
> >> > Subject: Re: Problem with ACS 4.11.2 and vCenter server
> >> >
> >> > Florent,
> >> >
> >> > Not aware of any issues bu

Re: Problem with ACS 4.11.2 and vCenter server

2019-04-15 Thread Suresh Kumar Anaparti
Hi Florent,

Can you share the vCenter version and build details. Also, the cloudstack
management server log with the issue logs while connecting to vCenter.

- Suresh

On Mon, Apr 15, 2019 at 6:24 PM Paul Angus  wrote:

> Assuming that you have updated the core code to recognise and use 'newer'
> libraries/SDKs than the ones currently in use (and thoroughly tested it)
> then, please do create a pull request.  Otherwise, I personally would
> advise that you leave things 'as-is' to get the most stable experience.
>
> I don't *think* that you need to run
>
> mvn clean
> mvn install -Dnoredist
>
> *After* installing the non-oss components.
>
> You might want to do a mvn clean before you start.
>
> It's been a while since I've done it manually now.
>
>
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
>
> -Original Message-
> From: Florent Paillot 
> Sent: 15 April 2019 13:17
> To: users 
> Subject: Re: Problem with ACS 4.11.2 and vCenter server
>
> Yes, this is the list of the files in deps/ :
> cloud-iControl.jar  cloud-netscaler-sdx.jar  iControl-12.1.0.jar
> install-non-oss.sh  manageontap.jar  vim25_51.jar  vim25_55.jar
> vim25_60.jar  vim25_65.jar  vim25_67.jar
>
>
> I had to add the following lines to "install-non-oss.sh" to get the build
> pass :
>
> mvn install:install-file -Dfile=vim25_67.jar
> -DgroupId=com.cloud.com.vmware -DartifactId=vmware-vim25-Dversion=6.7
>  -Dpackaging=jar
> mvn install:install-file -Dfile=iControl-12.1.0.jar
>  -DgroupId=com.cloud.com.f5 -DartifactId=icontrol
> -Dversion=12.1  -Dpackaging=jar
>
> I can open a PR or an issue if it makes sense.
>
> Florent
>
> --
> Florent PAILLOT
> SESI - Cellule architecture
>
> INRIA Bordeaux -Sud-Ouest
> 05.24.57.41.25
>
> - Mail original -
> > De: "Paul Angus" 
> > À: "users" 
> > Envoyé: Lundi 15 Avril 2019 14:10:21
> > Objet: RE: Problem with ACS 4.11.2 and vCenter server
>
> > When packaging, did you install all of the nonoss libraries  into the
> > build before packaging?  including vmware-vim25-6.5.jar
> >
> > paul.an...@shapeblue.com
> > www.shapeblue.com
> > Amadeus House, Floral Street, London  WC2E 9DPUK @shapeblue
> >
> >
> >
> >
> > -Original Message-
> > From: Dag Sonstebo 
> > Sent: 15 April 2019 12:43
> > To: users@cloudstack.apache.org
> > Subject: Re: Problem with ACS 4.11.2 and vCenter server
> >
> > Florent,
> >
> > Not aware of any issues but I'm no packaging expert so will let others
> > respond to this.
> >
> > However - any reason you're not just using the RPM repositories rather
> > than packaging yourself?
> >
> > Regards,
> > Dag Sonstebo
> > Cloud Architect
> > ShapeBlue
> >
> >
> >On 15/04/2019, 11:46, "Florent Paillot" 
> wrote:
> >
> >Hi everyone,
> >We have a problem with our test environment running ACS 4.11.2 on
> CentOS 7, not
> >communicating with a vCenter (upgraded from 4.9.3 to 4.11.2 and
> CentOS 6 o
> >CentOS 7). We have no problems with our KVM host.
> >Our production is using 4.9.3 o, Centos 6 and everything is OK.
> >
> >I used tcpdump and see nothing going out from the management server
> to the
> >vCenter or the ESXi host.
> >
> >Could it be a package building problem or a vmware module loading?
> >
> >I used the following commands to build the packages :
> >install-non-oss.sh
> >mvn clean
> >mvn install -Dnoredist
> >package.sh -p noredist -d centos7
> >
> >
> >On the production server I see a :
> >
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/vmware-vim25-6.0.jar
> >file.
> >I can't find it on the test environnement, is it linked to jetty ?
> >
> >Any help is welcome :)
> >Regards,
> >
> >
> >
> >
> >
> > dag.sonst...@shapeblue.com
> > www.shapeblue.com
> > Amadeus House, Floral Street, London  WC2E 9DPUK @shapeblue
>


Re: Cloudstack database timeout value

2019-04-10 Thread Suresh Kumar Anaparti
Hi Rakesh,

Locate "db.properties" file (may be at /etc/cloudstack/management/) in the
management server and check for the parameters db.cloud.maxWait (default:
10 secs), db.cloud.autoReconnect (default: true) and other database
settings. Restart the management server post parameters update.

- Suresh

On Wed, Apr 10, 2019 at 7:41 PM Rakesh Venkatesh 
wrote:

> Hello Folks
>
> Is there a way to increase the database connectivity timeout value in case
> cloudstack loses connection to the database? Also is it possible to
> configure the value? Can you point me to the right place? I also want to
> increase the retries value so that it will retry to connect to DB
> configured value of times and then really shuts down.
>
> We have a redundant setup with three database hosts and switching from one
> db host to another db host took more than 10 seconds and mgt server got
> killed since it cant connect to db anymore. i have to restart the mgt
> server to bring it back up. To avoid this I want to configure the timeout
> value as well as the number of retries to get a connection
>
> --
> Thanks and regards
> Rakesh venkatesh
>


Re: Cleaning up primary storages

2019-03-31 Thread Suresh Kumar Anaparti
Hi Fariborz,

Fetch the UUIDs of unused volumes with state 'Ready' (either using
*listVolumes* API or DB cmd: "*SELECT * FROM cloud.volumes where
instance_id is NULL and state = 'Ready'*")  and delete these volumes with
UUIDs using deleteVolume API.

Before that, make sure the global config "*storage.cleanup.enabled*" is
enabled. Also, set the global config "*storage.cleanup.delay*" to smaller
interval before deleting volumes so that all the destroyed volumes are
expunged immediately and then revert back to original after few expunge
cycles.

- Suresh

On Mon, Apr 1, 2019 at 12:51 AM Fariborz Navidan 
wrote:

> Hello,
>
> It looks lie that there are unused volumes files with large size let in
> primary storage. Is there any way to safely delete them and free up space?
>
> Thanks
>


Re: Modify # of cores and cpu speed of a VM

2019-03-18 Thread Suresh Kumar Anaparti
Check the user account permissions. If no VMs use the custom offering and
db update is ok, try to update the offering details in db and stop & start
VM

- Suresh

On Tue, Mar 19, 2019 at 12:29 AM Fariborz Navidan 
wrote:

> Forgot to mention. The VM which is on a customized compute offering. Also
> change service offering feature does not list available computer offerings.
>
> Thanks
>
> On Mon, Mar 18, 2019 at 10:27 PM Fariborz Navidan 
> wrote:
>
> > Hello,
> > Cloudstack UI does not allow editing number of cores and cpu speed of a
> > VM, Is it technically possible to modify cpu setings without redeploying
> > from template?
> >
>


Re: Amending guest IP ranges

2019-03-18 Thread Suresh Kumar Anaparti
Thanks for the update. I assume you have updated guest vlan range at *vnet*
in cloud.physical_network table. Right?

My last email (below) has the steps to update the management IP range.

- Suresh

On Mon, Mar 18, 2019 at 10:58 PM Fariborz Navidan 
wrote:

> Hello,
> I found the solution. I modified the db by updating tables vlan related
> tables
>
> On Mon, Mar 18, 2019 at 8:56 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > Hi Fariborz, Can you provide additional details - Any guest VMs, networks
> > created & are in use? the underlying Hypervisor?
> >
> > When guest IPs are not allocated, try adding the new guest IP range at
> > Infrastructure -> Zone -> Physical network -> Management -> IP Ranges and
> > delete the old range. You can update from database (Ref tables:
> > *host_pod_ref*, *op_dc_ip_address_alloc*) as well when IPs are not in use
> > [Note: Make sure you take backup of cloud database before that.]
> >
> > - Suresh
> >
> > On Wed, Mar 13, 2019 at 9:21 PM Fariborz Navidan 
> > wrote:
> >
> > > Hello again,
> > >
> > > Is it possible to amend start and end IP addresses of a guest network?
> > How?
> > > From database?
> > >
> >
>


Re: Amending guest IP ranges

2019-03-18 Thread Suresh Kumar Anaparti
Hi Fariborz, Can you provide additional details - Any guest VMs, networks
created & are in use? the underlying Hypervisor?

When guest IPs are not allocated, try adding the new guest IP range at
Infrastructure -> Zone -> Physical network -> Management -> IP Ranges and
delete the old range. You can update from database (Ref tables:
*host_pod_ref*, *op_dc_ip_address_alloc*) as well when IPs are not in use
[Note: Make sure you take backup of cloud database before that.]

- Suresh

On Wed, Mar 13, 2019 at 9:21 PM Fariborz Navidan 
wrote:

> Hello again,
>
> Is it possible to amend start and end IP addresses of a guest network? How?
> From database?
>


Re: Cloudstack with vsphere and distributed vswitch deployment

2019-03-18 Thread Suresh Kumar Anaparti
Hi Sergei,

Check the global config parameter "vmware.use.dvswitch", set this to false.
When you enable this config, CloudStack would look for dvSwitch with name
defaulted to "dvSwitch0".

- Suresh

On Thu, Mar 14, 2019 at 8:59 PM Sergei Hanus  wrote:

> Hi, Paul.
>
> I looked at config - and it is as expected, regular vswitch is configured:
>
> VMware traffic labelvSwitch0,,vmwaresvs
>

On Thu, Mar 14, 2019 at 5:54 PM Paul Angus  wrote:

> Hi Sergei,
>
> If you look in the UI in the infrastructure tab and navigate through:
>
>  Infrastructure > Zones > [YOUR_ZONE] > Physical Network >
> [NETWORK_WITH_MGMT_ON] > management.
>
> what is the vmware traffic label?
>
> It should be something like:
>
> vSwitch0,6,vmwaresvs
> NAME_OF_VSWITCH, VLAN ,  TYPE_OF_VSWITCH
>
> the type vSwitch will be vmwaresvs or vmwaredvs
>
> 
> From: Sergei Hanus 
> Sent: 14 March 2019 09:27
> To: users@cloudstack.apache.org
> Subject: Cloudstack with vsphere and distributed vswitch deployment
>
>  Good day.
>
> I have deployed Cludstack together with vsphere. After creating of first
> zone I noticed, that Cloudstack is trying to deploy system vm, but
> attempts is unsuccessful.
>
> My management network is configured with standard switch. But in logs I
> see, that service vm creation fails, because it cannot find distributed
> vswitch named dvSwitch0, while in configuration it doesn't even mentionn
> this distributed vswitch. I indeed do have distributed vswitch
> configured, but it is named vm_dvs, and it is used only for guest
> network, not management. This situation looks like a bug to me. Here is
> the log I see:
>
>
>   Processing:  { Ans: , MgmtId: 2886799893, via: 2(172.17.18.28), Ver:
> v1, Flags: 110,
>
> [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":18,"name":"s-18-VM","bootloader":"HVM","state":"Starting","type":"SecondaryStorageVm","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"hostName":"s-18-VM","arch":"x86_64","os":"Other
> Linux (64-bit)","bootArgs":" template=domP type=secstorage
> host=localhost port=8250 name=s-18-VM zone=1 pod=1 guid=s-18-VM
> workers=5
> resource=com.cloud.storage.resource.PremiumSecondaryStorageResource
> instance=SecStorage sslcopy=false role=templateProcessor mtu=1500
> eth2ip=10.255.255.52 eth2mask=255.255.255.0 gateway=10.255.255.1
> public.network.device=eth2 eth0mask=0.0.0.0 eth0ip=0.0.0.0
> eth1ip=172.17.18.34 eth1mask=255.255.255.0 localgw=172.17.18.1
> private.network.device=eth1 internaldns1=172.17.17.11 dns1=172.17.17.11
>
> nfsVersion=null","enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"OY8SHIPa6sZ0sM-E2xtjyA","params":{"vmware.reserve.cpu":"false","nicAdapter":"E1000","vmware.reserve.mem":"false"},"uuid":"7ec256e7-ab71-4875-b948-1ca29ad6aaca","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"18e502c3-2990-45e0-9444-53ea3934288d","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"fadaba61-7c07-3308-9fd3-780810ab2e86","id":1,"poolType":"VMFS","host":"VMFS
> datastore:
> /DC1/lab-vms","path":"/DC1/lab-vms","port":0,"url":"VMFS://VMFS
> datastore:
>
> /DC1/lab-vms/DC1/lab-vms/?ROLE=Primary=fadaba61-7c07-3308-9fd3-780810ab2e86","isManaged":false}},"name":"ROOT-18","size":0,"path":"ROOT-18_2","volumeId":18,"vmName":"s-18-VM","accountId":1,"format":"OVA","provisioningType":"THIN","id":18,"deviceId":0,"bytesReadRate":0,"bytesWriteRate":0,"iopsReadRate":0,"iopsWriteRate":0,"hypervisorType":"VMware"}},"diskSeq":0,"path":"ROOT-18_2","type":"ROOT","_details":{"storageHost":"VMFS
> datastore:
>
> 

Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Suresh Kumar Anaparti
Try to fire API from a browser. For deleteIso,
"http://:/client/api?command=deleteIso=".
For example: IP: 1.2.3.4, Port:8080 and
UUID: f4f42f7b-a678-4d17-b746-cd3e696ed4dc, then API to fire: "
http://1.2.3.4:
8080/client/api?command=deleteIso=f4f42f7b-a678-4d17-b746-cd3e696ed4dc".

Alternatively, try cloudmonkey (
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
)

For more details on cloudstack and API, Refer to the docs at
http://docs.cloudstack.apache.org and https://cloudstack.apache.org/api.html

- Suresh

On Tue, Mar 12, 2019 at 2:22 PM Larry Sevilla 
wrote:

> Sorry, I'm new to CloudStack.
>
> How do I use an API?  And, is it in the GUI or in the server?
>
> On Tue, Mar 12, 2019 at 4:30 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > Check deleteIso API.
> >
> > On Tue, Mar 12, 2019 at 1:44 PM Larry Sevilla <
> sevilla.larry@gmail.com
> > >
> > wrote:
> >
> > > Fixed NFS on the server...
> > >
> > > How can I UnRegister ISOs in the Templates-ISO?
> > >
> > > There's no option to UnRegister or Delete ISOs.
> > >
> > > On Tue, Mar 12, 2019 at 3:21 PM Suresh Kumar Anaparti <
> > > sureshkumar.anapa...@gmail.com> wrote:
> > >
> > > > Ping and check the connectivity from Host ad SSVM (details located at
> > UI:
> > > > Infrastructure -> System VMs -> Secondary Storage VM).
> > > >
> > > > Also, check private and public network configuration.
> > > >
> > > > - Suresh
> > > >
> > > >
> > > > On Tue, Mar 12, 2019 at 12:30 PM Larry Sevilla <
> > > > sevilla.larry@gmail.com>
> > > > wrote:
> > > >
> > > > > SSVM = Secondary Storage Virtual Machine, right?
> > > > >
> > > > > Since it's a one PC cloud setup, the Management, Host, Primary
> > Storage
> > > > and
> > > > > Secondary Storage are on the same PC.  I assumed it's reachable.
> > > >
> > > >
> > > > On Tue, Mar 12, 2019 at 12:34 PM Suresh Kumar Anaparti <
> > > > sureshkumar.anapa...@gmail.com> wrote:
> > > >
> > > > > You can check the status either from UI or API.
> > > > > -> UI: Go to the Templates and Select View: ISOs.
> > > > > -> API: Use listIsos
> > > > >
> > > > > SSVM is the Secondary Secondary VM , which is mainly responsible
> for
> > > all
> > > > > the storage operations where secondary storage is involved.
> > > > >
> > > > > - Suresh
> > > > >
> > > > > On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> > > > > sevilla.larry@gmail.com> wrote:
> > > > >
> > > > >> also, what's SSVM?
> > > > >>
> > > > >> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
> > > > >> sevilla.larry@gmail.com>
> > > > >> wrote:
> > > > >>
> > > > >> > Hi,
> > > > >> >
> > > > >> > Thx for the reply.
> > > > >> >
> > > > >> > (I'm new to CloudStack)
> > > > >> >
> > > > >> > How do I know if the ISO was downloaded? And Ready?
> > > > >> >
> > > > >> > Are there log files?
> > > > >> >
> > > > >> >
> > > > >> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> > > > >> > sureshkumar.anapa...@gmail.com> wrote:
> > > > >> >
> > > > >> >> In order to create a VM using the ISO, the ISO registered
> should
> > be
> > > > >> Ready
> > > > >> >> state.
> > > > >> >>
> > > > >> >> When  Direct Download is set to "No", the SSVM will download
> the
> > > ISO
> > > > >> into
> > > > >> >> the Secondary storage using the public network. Is ISO added
> with
> > > > >> Direct
> > > > >> >> Download "No" is in ready state? Does the SSVM could reach that
> > > host?
> > > > >> >>
> > > > >> >> In the second case, when Direct Download is set to "Yes", ISO
> is
> > > > >> directly
> &g

Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Suresh Kumar Anaparti
Check deleteIso API.

On Tue, Mar 12, 2019 at 1:44 PM Larry Sevilla 
wrote:

> Fixed NFS on the server...
>
> How can I UnRegister ISOs in the Templates-ISO?
>
> There's no option to UnRegister or Delete ISOs.
>
> On Tue, Mar 12, 2019 at 3:21 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > Ping and check the connectivity from Host ad SSVM (details located at UI:
> > Infrastructure -> System VMs -> Secondary Storage VM).
> >
> > Also, check private and public network configuration.
> >
> > - Suresh
> >
> >
> > On Tue, Mar 12, 2019 at 12:30 PM Larry Sevilla <
> > sevilla.larry@gmail.com>
> > wrote:
> >
> > > SSVM = Secondary Storage Virtual Machine, right?
> > >
> > > Since it's a one PC cloud setup, the Management, Host, Primary Storage
> > and
> > > Secondary Storage are on the same PC.  I assumed it's reachable.
> >
> >
> > On Tue, Mar 12, 2019 at 12:34 PM Suresh Kumar Anaparti <
> > sureshkumar.anapa...@gmail.com> wrote:
> >
> > > You can check the status either from UI or API.
> > > -> UI: Go to the Templates and Select View: ISOs.
> > > -> API: Use listIsos
> > >
> > > SSVM is the Secondary Secondary VM , which is mainly responsible for
> all
> > > the storage operations where secondary storage is involved.
> > >
> > > - Suresh
> > >
> > > On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> > > sevilla.larry@gmail.com> wrote:
> > >
> > >> also, what's SSVM?
> > >>
> > >> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
> > >> sevilla.larry@gmail.com>
> > >> wrote:
> > >>
> > >> > Hi,
> > >> >
> > >> > Thx for the reply.
> > >> >
> > >> > (I'm new to CloudStack)
> > >> >
> > >> > How do I know if the ISO was downloaded? And Ready?
> > >> >
> > >> > Are there log files?
> > >> >
> > >> >
> > >> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> > >> > sureshkumar.anapa...@gmail.com> wrote:
> > >> >
> > >> >> In order to create a VM using the ISO, the ISO registered should be
> > >> Ready
> > >> >> state.
> > >> >>
> > >> >> When  Direct Download is set to "No", the SSVM will download the
> ISO
> > >> into
> > >> >> the Secondary storage using the public network. Is ISO added with
> > >> Direct
> > >> >> Download "No" is in ready state? Does the SSVM could reach that
> host?
> > >> >>
> > >> >> In the second case, when Direct Download is set to "Yes", ISO is
> > >> directly
> > >> >> downloaded to Primary Storage (Sec Storage is ByPassed here) by the
> > >> Host.
> > >> >> Might be the url is not reachable from Host.
> > >> >>
> > >> >> - Suresh
> > >> >>
> > >> >>
> > >> >>
> > >> >> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
> > >> >> sevilla.larry@gmail.com>
> > >> >> wrote:
> > >> >>
> > >> >> > Hi,
> > >> >> >
> > >> >> > I have a single PC cloud with CentOS7 using:
> > >> >> >
> > >> >> >
> > >> >>
> > >>
> >
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
> > >> >> >
> > >> >> > Currently, I'm using "admin cloud".
> > >> >> >
> > >> >> > I'm trying to create a Virtual Machine, but failed.
> > >> >> >
> > >> >> > Steps:
> > >> >> > 1. in Template - ISO, I Registered an ISO with the following
> > fields:
> > >> >> >a. Name: CentOSDVD1
> > >> >> >b. Description: CentOSDVD1
> > >> >> >c. URL:
> > >> >> >
> > >> >> >
> > >> >>
> > >>
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> > >> >> >d. Direct Download: no
> > >> >> >e. Zone: All zones
> > >> >> >f. Bootable: yes
> > >> >> >g. OS Type: Cent OS 7.2
> > >> >> >h. Extractable: yes
> > >> >> >i. Public: yes
> > >> >> >j. Featured: yes
> > >> >> >
> > >> >> >   ISO was added.
> > >> >> >
> > >> >> > If "Direct Download" is yes and add an MD5 checksum (by
> generating
> > >> using
> > >> >> > MD5sum), I got error msg:
> > >> >> > Couldn't find a host to validate URL
> > >> >> >
> > >> >> >
> > >> >>
> > >>
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> > >> >> >
> > >> >> > 2. in (VM) Instances, I add an Instance:
> > >> >> > a. Zone: Zone1
> > >> >> > b. Template or ISO: ISO
> > >> >> > Then, there's "Select an ISO box" with four (4) tabs:
> > >> >> > Featured, Community, My ISOs and Shared
> > >> >> > but there are NO items among the 4 tabs.
> > >> >> >
> > >> >> > Was this the right procedure?
> > >> >> > Or did I missed something?
> > >> >> >
> > >> >>
> > >> >
> > >>
> > >
> >
>


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Suresh Kumar Anaparti
Ping and check the connectivity from Host ad SSVM (details located at UI:
Infrastructure -> System VMs -> Secondary Storage VM).

Also, check private and public network configuration.

- Suresh


On Tue, Mar 12, 2019 at 12:30 PM Larry Sevilla 
wrote:

> SSVM = Secondary Storage Virtual Machine, right?
>
> Since it's a one PC cloud setup, the Management, Host, Primary Storage and
> Secondary Storage are on the same PC.  I assumed it's reachable.


On Tue, Mar 12, 2019 at 12:34 PM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> You can check the status either from UI or API.
> -> UI: Go to the Templates and Select View: ISOs.
> -> API: Use listIsos
>
> SSVM is the Secondary Secondary VM , which is mainly responsible for all
> the storage operations where secondary storage is involved.
>
> - Suresh
>
> On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> sevilla.larry@gmail.com> wrote:
>
>> also, what's SSVM?
>>
>> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
>> sevilla.larry@gmail.com>
>> wrote:
>>
>> > Hi,
>> >
>> > Thx for the reply.
>> >
>> > (I'm new to CloudStack)
>> >
>> > How do I know if the ISO was downloaded? And Ready?
>> >
>> > Are there log files?
>> >
>> >
>> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
>> > sureshkumar.anapa...@gmail.com> wrote:
>> >
>> >> In order to create a VM using the ISO, the ISO registered should be
>> Ready
>> >> state.
>> >>
>> >> When  Direct Download is set to "No", the SSVM will download the ISO
>> into
>> >> the Secondary storage using the public network. Is ISO added with
>> Direct
>> >> Download "No" is in ready state? Does the SSVM could reach that host?
>> >>
>> >> In the second case, when Direct Download is set to "Yes", ISO is
>> directly
>> >> downloaded to Primary Storage (Sec Storage is ByPassed here) by the
>> Host.
>> >> Might be the url is not reachable from Host.
>> >>
>> >> - Suresh
>> >>
>> >>
>> >>
>> >> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
>> >> sevilla.larry@gmail.com>
>> >> wrote:
>> >>
>> >> > Hi,
>> >> >
>> >> > I have a single PC cloud with CentOS7 using:
>> >> >
>> >> >
>> >>
>> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
>> >> >
>> >> > Currently, I'm using "admin cloud".
>> >> >
>> >> > I'm trying to create a Virtual Machine, but failed.
>> >> >
>> >> > Steps:
>> >> > 1. in Template - ISO, I Registered an ISO with the following fields:
>> >> >a. Name: CentOSDVD1
>> >> >b. Description: CentOSDVD1
>> >> >c. URL:
>> >> >
>> >> >
>> >>
>> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>> >> >d. Direct Download: no
>> >> >e. Zone: All zones
>> >> >f. Bootable: yes
>> >> >g. OS Type: Cent OS 7.2
>> >> >h. Extractable: yes
>> >> >i. Public: yes
>> >> >j. Featured: yes
>> >> >
>> >> >   ISO was added.
>> >> >
>> >> > If "Direct Download" is yes and add an MD5 checksum (by generating
>> using
>> >> > MD5sum), I got error msg:
>> >> > Couldn't find a host to validate URL
>> >> >
>> >> >
>> >>
>> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>> >> >
>> >> > 2. in (VM) Instances, I add an Instance:
>> >> > a. Zone: Zone1
>> >> > b. Template or ISO: ISO
>> >> > Then, there's "Select an ISO box" with four (4) tabs:
>> >> > Featured, Community, My ISOs and Shared
>> >> > but there are NO items among the 4 tabs.
>> >> >
>> >> > Was this the right procedure?
>> >> > Or did I missed something?
>> >> >
>> >>
>> >
>>
>


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Suresh Kumar Anaparti
You can check the status either from UI or API.
-> UI: Go to the Templates and Select View: ISOs.
-> API: Use listIsos

SSVM is the Secondary Secondary VM , which is mainly responsible for all
the storage operations where secondary storage is involved.

- Suresh

On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla 
wrote:

> also, what's SSVM?
>
> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla  >
> wrote:
>
> > Hi,
> >
> > Thx for the reply.
> >
> > (I'm new to CloudStack)
> >
> > How do I know if the ISO was downloaded? And Ready?
> >
> > Are there log files?
> >
> >
> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> > sureshkumar.anapa...@gmail.com> wrote:
> >
> >> In order to create a VM using the ISO, the ISO registered should be
> Ready
> >> state.
> >>
> >> When  Direct Download is set to "No", the SSVM will download the ISO
> into
> >> the Secondary storage using the public network. Is ISO added with Direct
> >> Download "No" is in ready state? Does the SSVM could reach that host?
> >>
> >> In the second case, when Direct Download is set to "Yes", ISO is
> directly
> >> downloaded to Primary Storage (Sec Storage is ByPassed here) by the
> Host.
> >> Might be the url is not reachable from Host.
> >>
> >> - Suresh
> >>
> >>
> >>
> >> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
> >> sevilla.larry@gmail.com>
> >> wrote:
> >>
> >> > Hi,
> >> >
> >> > I have a single PC cloud with CentOS7 using:
> >> >
> >> >
> >>
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
> >> >
> >> > Currently, I'm using "admin cloud".
> >> >
> >> > I'm trying to create a Virtual Machine, but failed.
> >> >
> >> > Steps:
> >> > 1. in Template - ISO, I Registered an ISO with the following fields:
> >> >a. Name: CentOSDVD1
> >> >b. Description: CentOSDVD1
> >> >c. URL:
> >> >
> >> >
> >>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> >> >d. Direct Download: no
> >> >e. Zone: All zones
> >> >f. Bootable: yes
> >> >g. OS Type: Cent OS 7.2
> >> >h. Extractable: yes
> >> >i. Public: yes
> >> >j. Featured: yes
> >> >
> >> >   ISO was added.
> >> >
> >> > If "Direct Download" is yes and add an MD5 checksum (by generating
> using
> >> > MD5sum), I got error msg:
> >> > Couldn't find a host to validate URL
> >> >
> >> >
> >>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> >> >
> >> > 2. in (VM) Instances, I add an Instance:
> >> > a. Zone: Zone1
> >> > b. Template or ISO: ISO
> >> > Then, there's "Select an ISO box" with four (4) tabs:
> >> > Featured, Community, My ISOs and Shared
> >> > but there are NO items among the 4 tabs.
> >> >
> >> > Was this the right procedure?
> >> > Or did I missed something?
> >> >
> >>
> >
>


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Suresh Kumar Anaparti
In order to create a VM using the ISO, the ISO registered should be Ready
state.

When  Direct Download is set to "No", the SSVM will download the ISO into
the Secondary storage using the public network. Is ISO added with Direct
Download "No" is in ready state? Does the SSVM could reach that host?

In the second case, when Direct Download is set to "Yes", ISO is directly
downloaded to Primary Storage (Sec Storage is ByPassed here) by the Host.
Might be the url is not reachable from Host.

- Suresh



On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla 
wrote:

> Hi,
>
> I have a single PC cloud with CentOS7 using:
>
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
>
> Currently, I'm using "admin cloud".
>
> I'm trying to create a Virtual Machine, but failed.
>
> Steps:
> 1. in Template - ISO, I Registered an ISO with the following fields:
>a. Name: CentOSDVD1
>b. Description: CentOSDVD1
>c. URL:
>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>d. Direct Download: no
>e. Zone: All zones
>f. Bootable: yes
>g. OS Type: Cent OS 7.2
>h. Extractable: yes
>i. Public: yes
>j. Featured: yes
>
>   ISO was added.
>
> If "Direct Download" is yes and add an MD5 checksum (by generating using
> MD5sum), I got error msg:
> Couldn't find a host to validate URL
>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>
> 2. in (VM) Instances, I add an Instance:
> a. Zone: Zone1
> b. Template or ISO: ISO
> Then, there's "Select an ISO box" with four (4) tabs:
> Featured, Community, My ISOs and Shared
> but there are NO items among the 4 tabs.
>
> Was this the right procedure?
> Or did I missed something?
>


Re: New VP of CloudStack: Paul Angus

2019-03-11 Thread Suresh Kumar Anaparti
Congratulations Paul!

- Suresh

On Mon, Mar 11, 2019 at 8:46 PM Tutkowski, Mike 
wrote:

> Hi everyone,
>
> As you may know, the role of VP of CloudStack (Chair of the CloudStack
> PMC) has a one-year term. My term has now come and gone.
>
> I’m happy to announce that the CloudStack PMC has elected Paul Angus as
> our new VP of CloudStack.
>
> As many already know, Paul has been an active member of the CloudStack
> Community for over six years now. I’ve worked with Paul on and off
> throughout much of that time and I believe he’ll be a great fit for this
> role.
>
> Please join me in welcoming Paul as the new VP of Apache CloudStack!
>
> Thanks,
> Mike
>


Re: Max template size to download

2019-03-02 Thread Suresh Kumar Anaparti
Fariborz, Make sure to increase the related job time outs (
*secstorage.cmd.execution.time.max*) accordingly to download large template.

- Suresh

On Sat, Mar 2, 2019 at 6:10 PM Andrija Panic 
wrote:

> max.template.iso.size The maximum size for a downloaded template or ISO (in
> GB).
> global setting.
>
> defaults to 50, afaik.
>
> On Sat, 2 Mar 2019 at 13:08, Fariborz Navidan 
> wrote:
>
> > Hello,
> >
> > I have converted a 65GB vmdk disk to QCOW2 and want to upload it as a
> > template so I can easily deploy a VM from it in order to migrate the VM
> to
> > KVM. However, when registering the template from URL, I get an error that
> > states the download size is too large. I've looked into global settings
> but
> > couldn't find any setting for it.
> >
> > Any idea how to increase max download size for templates?
> >
> > Best Regards
> >
>
>
> --
>
> Andrija Panić
>


Re: Adding template from management server's local storage

2019-02-27 Thread Suresh Kumar Anaparti
Hi Fariborz,

Are you able to register template from any other host or public templates?
Is the SSVM agent connect up?

Check the management server logs (sample logs below) to verify the download
cmd delegation to SSVM, after *registerTemplate* API call.



*getCommandHostDelegation: class
org.apache.cloudstack.storage.command.DownloadCommandSending command
org.apache.cloudstack.storage.command.DownloadCommand to host:
Sending  { Cmd , MgmtId: , via: 5(s-*-VM), Ver: v1, Flags:
100011, [{"org.apache.cloudstack.storage.command.DownloadCommand...*

Check logs in SSVM to confirm *DownloadCommand* received or not.
Also, Check management server logs post *DownloadCommand* to validate below
steps.
*DownloadAnswer* is expected from the SSVM with In Progress status and
thereafter management server sends *DownloadProgressCommand* in intervals
to check the progress and percentage downloaded.

- Suresh

On Thu, Feb 28, 2019 at 7:51 AM Eric Lee Green 
wrote:

> On 2/27/19 2:58 PM, Fariborz Navidan wrote:
> > Hello All,
> >
> > I have used qemu-img tool to convert a vmdk to qcow2 image. I want to add
> > the image as template to ACS so I can deploy from it and get the VM
> > migrated to ACS. I have installed httpd on management server and I am
> able
> > to start the file at url such as http://hostname/images/test.qcow2 from
> my
> > browser. However when I add the template to ACS, under Zone tab, it show
> > status as Active and Ready as No. It seems, it does not start to download
> > and install the template. I don't see any error.
>
> You can log into the secondary storage VM and see the error, but I can
> tell you what it most probably is.
>
> Look for
>
> secstorage.allowed.internal.sites
>
> in your Global Settings tab.
>
> And see what's there. This is a list of cidrs that are allowed as
> sources for downloading images. For example, if you have an FTP server
> set up at 185.27.174.5 and you also have an internal network of
> 10.120.0.0/24, you'd put this string in there:
>
>
> 10.120.0.0/24,185.27.174.5/32
>
>
>


Re: Why CloudStack 5

2019-01-24 Thread Suresh Kumar Anaparti
Sounds good. Altogether, the makeover should be a new user experience and
leverage the latest hypervisor/storage tech and new/redesigned frameworks.

-Suresh

On Thu, Jan 24, 2019 at 10:13 AM Rohit Yadav 
wrote:

> I'm in the favour of keeping the 4.x going because no API compatibility is
> broken, and as long as we are following semver there is no need. Calling a
> 4.x a 5.x just for the sake of bumping versions may cause some perception
> issue.
>
> Removal of unsupported/poc/incomplete features, plugins including APIs
> should not constitute breaking of compatibility. Several network and
> hypervisor plugins are still in poc/incomplete/unmaintained state.
>
> Unless the API layer, and perhaps DB layer is re-architected there is no
> point in calling the next version 5.x as long as semver is followed.
>
> In my opinion, the next major version 5.0 should have a restful versioned
> API layer, a new DB+upgrade framework that may support multiple db servers,
> a new UI, sandboxed plugin framework (right now a plugin can do anything it
> wants to say the cloud db), a new agent-clustering framework (the current
> low level nio and rpc code goes away), a distributed message bus and
> locking service (that we thought to introduce in 4.2,4.3 but incomplete),
> and refactor the networking/VR layer with a new VR. Not to mention cleanup
> some technical debt. The keywords being major architectural and
> api/integrational changes. Some of this maybe on-going, but we'll get to
> 5.x with patience over time.
>
> Regards,
> Rohit Yadav
>
> 
> From: Ivan Kudryavtsev 
> Sent: Tuesday, January 22, 2019 9:15:29 AM
> To: users; dev
> Subject: Why CloudStack 5
>
> I decided whether to write it several weeks thinking about the stones and
> rotten potatoes, but still decided to do that. Hope it will not raise the
> stress level.
>
> Colleagues and ACS leaders, I would like to initiate the discussion. Why go
> to CS5 rather than stay with 4.XX. Some thoughts are:
>
> 1. According to the versioning guide, the first number stands for radical
> changes like if the community decided to go from current ORM to Hibernate.
> I don't see the capabilities for such changes and there are no intentions
> for the implementation.
>
> 2. I can realize that we 'stuck' with '4.XX' and the marketing can be
> disappointing from that point of view. Then, OK, let's just skip the first
> number "4." and release, ACS 13.X, 14.X, 15.X and so on. Every version will
> receive new impressing version number and everyone could be happy about
> that.
>
> Going to version "5" currently looks like as an intention to refresh but
> with very poor motivation. At least to me.
>
> The discussion is strongly welcome.
>
>
>
> --
> With best regards, Ivan Kudryavtsev
> Bitworks LLC
> Cell RU: +7-923-414-1515
> Cell USA: +1-201-257-1512
> WWW: http://bitworks.software/ 
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
>


Re: KVM Live Snapshots

2018-08-22 Thread Suresh Kumar Anaparti
Asai,

Make sure that the *snapshotmemory* parameter is set to true (Check Memory
in GUI) in createVMSnapshot API for VM Snapshots in KVM after enabling
global configuration.

-Suresh

On Wed, Aug 22, 2018 at 10:10 PM Ivan Kudryavtsev 
wrote:

> KVM whole VM snapshots work well in 4.11 as well as for separate volume
> snapshots. You can do both for NFS and local storages. Just enable proper
> global variable.
>
> ср, 22 авг. 2018 г., 23:23 Asai :
>
> > Thank you for your responses,
> >
> > What’s the difference, then, between a "VM" snapshot and a "VOLUME"
> > snapshot?  I liked how in XenServer, you could export a whole VM by first
> > taking a snapshot.  This was great for disaster recovery backup, is
> there a
> > way to do something similar in Cloudstack?
> >
> > Asai
> >
> >
> > > On Aug 22, 2018, at 8:51 AM, Simon Weller 
> > wrote:
> > >
> > > Make sure you have kvm.snapshot.enabled set to true in Global Settings.
> > This setting change will probably require a management server restart.
> > >
> > >
> > > - Si
> > >
> > >
> > >
> > >
> > > 
> > > From: Asai 
> > > Sent: Wednesday, August 22, 2018 10:44 AM
> > > To: users@cloudstack.apache.org
> > > Subject: KVM Live Snapshots
> > >
> > > Greetings,
> > >
> > > We successfully upgraded to 4.11.1.  One of the main reasons we did
> this
> > was that we thought this would enable us to do live KVM snapshots of
> > running VMs.  This doesn’t seem to be the case, though.  When I try to
> > snapshot a running VM, I just get the message: "KVM VM does not allow to
> > take a disk-only snapshot when VM is in running state"
> > >
> > > Is there a way currently to do this with Cloudstack and KVM VMs?
> > >
> > > Asai
> > >
> > >
> >
> >
>


Re: VMware Support in Cloudstack 4.11.x

2018-08-21 Thread Suresh Kumar Anaparti
Hi Netlynker,

I think compiled packages are not built using -Dnoredist flag.

-Suresh

On Tue, Aug 21, 2018 at 4:05 PM Netlynker  wrote:

> Hi Sateesh,
>
> I am using compiled packages from official repository.
>
> So I didn't build the package.
>
> Regards,
> Thurein
>
> On Tue, Aug 21, 2018, 6:23 PM Sateesh Chodapuneedi <
> sateesh.chodapune...@accelerite.com> wrote:
>
> > Hi Netlynker,
> >
> > Are you using CloudStack built with option "-Dnoredist" flag?
> >
> > Regards,
> > Sateesh
> >
> > -Original Message-
> > From: Netlynker 
> > Reply-To: "users@cloudstack.apache.org" 
> > Date: Tuesday, 21 August 2018 at 12:13
> > To: "users@cloudstack.apache.org" 
> > Subject: Re: VMware Support in Cloudstack 4.11.x
> >
> > Hi Prashant,
> >
> > As requested -
> >
> > 2018-08-21 14:30:22,972 WARN  [c.c.u.n.Link]
> > (AgentManager-SSLHandshakeHandler-2:null) (logid:) This SSL engine
> was
> > forced to close inbound due to end of stream.
> >
> > 2018-08-21 14:30:23,123 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-15:null) (logid:) SeqA 21-16473: Processing Seq
> > 21-16473:  { Cmd , MgmtId: -1, via: 21, Ver: v1, Flags: 11,
> > [{"com.cloud.agent.api.ConsoleProxyLoadReportCo
> >
> > mmand":{"_proxyVmId":107,"_loadInfo":"{\n  \"connections\":
> > []\n}","wait":0}}] }
> >
> > 2018-08-21 14:30:23,126 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-15:null) (logid:) SeqA 21-16473: Sending Seq
> > 21-16473:  { Ans: , MgmtId: 345050671210, via: 21, Ver: v1, Flags:
> > 100010,
> > [{"com.cloud.agent.api.AgentControl
> >
> > Answer":{"result":true,"wait":0}}] }
> >
> > 2018-08-21 14:30:26,042 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-2:null) (logid:) Ping from 20(s-106-VM)
> >
> > 2018-08-21 14:30:26,095 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-4:null) (logid:) Ping from 21(v-107-VM)
> >
> > 2018-08-21 14:30:27,983 WARN  [c.c.u.n.Link]
> > (AgentManager-SSLHandshakeHandler-2:null) (logid:) This SSL engine
> was
> > forced to close inbound due to end of stream.
> >
> > 2018-08-21 14:30:28,618 DEBUG [c.c.a.ApiServlet]
> > (qtp1096283470-11:ctx-7d3bac79) (logid:1d893d17) ===START===
> > 172.18.2.12
> > -- POST
> >
> >
> command=addCluster=af21da85-c0b8-4f41-b696-f745764a3d6b=VMware=ExternalM
> >
> >
> >
> anaged=faed580a-8ca9-4e19-861d-2642a70c6f8f=administrator%40vsphere.local=http%3A%2F%2F* > vcenter ip>*%2F%2FCS1-SG1-POD01-VC01= **
> > %2F%2FCS1-SG1-POD01-VC01=json
> >
> > 2018-08-21 14:30:28,621 DEBUG [c.c.a.ApiServer]
> > (qtp1096283470-11:ctx-7d3bac79 ctx-f68a5270) (logid:1d893d17) CIDRs
> > from
> > which account 'Acct[c1d123b3-9b0b-11e8-b342-0050569fe8e2-admin]' is
> > allowed
> > to perform API calls: 0.0.0.0/0,::/0
> >
> > 2018-08-21 14:30:28,628 INFO  [c.c.a.ApiServer]
> > (qtp1096283470-11:ctx-7d3bac79 ctx-f68a5270) (logid:1d893d17) Could
> not
> > find corresponding resource manager for VMware
> >
> > 2018-08-21 14:30:28,628 DEBUG [c.c.a.ApiServlet]
> > (qtp1096283470-11:ctx-7d3bac79 ctx-f68a5270) (logid:1d893d17)
> ===END===
> > 172.18.2.12 -- POST
> >
> >
> command=addCluster=af21da85-c0b8-4f41-b696-f745764a3d6b=VMware=ExternalManaged=faed580a-8ca9-4e19-861d-2642a70c6f8f=administrator%40vsphere.local=http%3A%2F%2F
> > **  %2F%2FCS1-SG1-POD01-VC01= * > ip>*
> > %2F%2FCS1-SG1-POD01-VC01=json
> >
> > 2018-08-21 14:30:32,356 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> > (AsyncJobMgr-Heartbeat-1:ctx-fc56042c) (logid:9a5ce85a) Begin cleanup
> > expired async-jobs
> >
> > 2018-08-21 14:30:32,360 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> > (AsyncJobMgr-Heartbeat-1:ctx-fc56042c) (logid:9a5ce85a) End cleanup
> > expired
> > async-jobs
> >
> > 2018-08-21 14:30:32,993 WARN  [c.c.u.n.Link]
> > (AgentManager-SSLHandshakeHandler-2:null) (logid:) This SSL engine
> was
> > forced to close inbound due to end of stream.
> >
> > 2018-08-21 14:30:33,123 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-6:null) (logid:) SeqA 21-16475: Processing Seq
> > 21-16475:  { Cmd , MgmtId: -1, via: 21, Ver: v1, Flags: 11,
> >
> >
> [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":107,"_loadInfo":"{\n
> > \"connections\": []\n}","wait":0}}] }
> >
> > 2018-08-21 14:30:33,126 DEBUG [c.c.a.m.AgentManagerImpl]
> > (AgentManager-Handler-6:null) (logid:) SeqA 21-16475: Sending Seq
> > 21-16475:  { Ans: , MgmtId: 345050671210, via: 21, Ver: v1, Flags:
> > 100010,
> > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}]
> > }--
> >
> >
> > Regards,
> >
> > Thurein Aung
> >
> > On Tue, Aug 21, 2018 at 2:26 PM Prashant Mishra <
> > prashant.mis...@accelerite.com> wrote:
> >
> > > Can you please share logs?
> > >
> > > On 8/21/18, 11:54 AM, "Netlynker"  wrote:
> > >
> > > Hi,
> >  

Re: vSphere/vCenter 6.7 Support

2018-06-07 Thread Suresh Kumar Anaparti
Hi Carlos,

May be future cloudstack release(s) would include support for 6.7.

-Suresh

On Thu, Jun 7, 2018 at 6:22 AM, Carlos Cesario 
wrote:

> Hi Suresh,
>
> Thanks by info.
> Is It possible add support to version 6.7 once this os the last VMware
> version?
>
> Regards
> Carlos
>
> De: Suresh Kumar Anaparti
> Enviado: quarta-feira, 6 de junho 14:53
> Assunto: Re: vSphere/vCenter 6.7 Support
> Para: users@cloudstack.apache.org
>
>
> Hi Carlos, I think the current vmware api in Cloudstack supports till 6.5.
> Thanks, Suresh On Wed, Jun 6, 2018 at 11:15 PM, Carlos Cesario wrote: > Hi
> guys, > > > Is it vSphere 6.7 supported by Cloudstack!?! > > > regards > >
> > Carlos >
>
>


Re: How exactly does CloudStack stop a VM?

2018-06-07 Thread Suresh Kumar Anaparti
Hi Zhang,

Cloudstack would usually trigger a hypervisor level shutdown cmd for the
guest OS to stop the the guest VM. In case of XenServer, a XAPI command for
shutdown VM is sent from Cloudstack. Attempted for hard shutdown if force
flag is set, else a clean shutdown and if the shutdown operations fails in
any case, hard shutdown the VM. The force flag is false by default and set
to true in some cases. What is your case where Cloudstack is shutting down
guest VMs?

-Suresh

On Thu, Jun 7, 2018 at 5:22 AM, Yiping Zhang  wrote:

> Our VM instances do have xentools installed, though still at 6.2 version,
> whereas our hypervisors have been upgraded to XenServer 6.5 since the VM
> instances were created
>
>
> On 6/6/18, 4:20 PM, "Jean-Francois Nadeau" 
> wrote:
>
> If the xentools are installed and running in the guest OS it should
> detect
> the shutdown sent via XAPI.
>
> On Wed, Jun 6, 2018 at 6:58 PM, Yiping Zhang 
> wrote:
>
> > We are using XenServers with our CloudStack instances.
> >
> > On 6/6/18, 3:11 PM, "Jean-Francois Nadeau" 
> > wrote:
> >
> > On KVM,  AFAIK the shutdown is the equivalent of pressing the
> power
> > button.  To get the Linux OS to catch this and initiate a clean
> > shutdown,
> > you need the ACPID service running in the guest OS.
> >
> > On Wed, Jun 6, 2018 at 6:01 PM, Yiping Zhang  >
> > wrote:
> >
> > > Hi, all:
> > >
> > > We have a few VM instances which will hang when issue a Stop
> command
> > from
> > > CloudStack web UI or thru API calls, due to the app’s own
> > startup/stop
> > > script in guest OS was not properly invoked.  The app’s
> startup/stop
> > script
> > > works properly if we issue shutdown/reboot command in guest OS
> > directly.
> > >
> > > Hence here is my question:  when CloudStack tries to stop a
> running
> > VM
> > > instance, what is the exact command it sends to VM to stop it,
> with
> > or
> > > without forced flag?  What are the interactions between the
> > CloudStack, the
> > > hypervisor and the guest VM?
> > >
> > > Yiping
> > >
> >
> >
> >
>
>
>


Re: vSphere/vCenter 6.7 Support

2018-06-06 Thread Suresh Kumar Anaparti
Hi Carlos,

I think the current vmware api in Cloudstack supports till 6.5.

Thanks,
Suresh

On Wed, Jun 6, 2018 at 11:15 PM, Carlos Cesario 
wrote:

> Hi guys,
>
>
> Is it vSphere 6.7 supported by Cloudstack!?!
>
>
> regards
>
>
> Carlos
>


Re: Cloudtack manager UI returns Error 404

2018-05-22 Thread Suresh Kumar Anaparti
er: INFO
>>> [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-2:null) (logid:)
>>> Starting work
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: log4j:WARN No appenders
>>> could be found for logger (com.cloud.utils.db.ConnectionConcierge).
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: log4j:WARN Please
>>> initialize the log4j system properly.
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: log4j:WARN See
>>> http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: Exception in thread
>>> "Thread-10" java.lang.NoClassDefFoundError:
>>> org/apache/log4j/spi/ThrowableInformation
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: at
>>> org.apache.log4j.spi.LoggingEvent.(LoggingEvent.java:165)
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: at
>>> org.apache.log4j.Category.forcedLog(Category.java:391)
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: at
>>> org.apache.log4j.Category.error(Category.java:322)
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: at
>>> com.cloud.cluster.ClusterServiceServletContainer$
>>> ListenerThread.run(ClusterServiceServletContainer.java:168)
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: Caused by:
>>> java.lang.ClassNotFoundException: org.apache.log4j.spi.Throwable
>>> Information
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: at
>>> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(W
>>> ebappClassLoaderBase.java:1892)
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: at
>>> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(W
>>> ebappClassLoaderBase.java:1735)
>>> May 21 09:19:55 cldmanager.srv.cesga.es server: ... 4 more
>>>
>>>
>>>
>>> El 17/05/2018 a las 7:39, ilya musayev escribió:
>>>
>>>> You must be running java 1.7 - I assume Suresh was alluding to this.
>>>> We’ve seen this error with 1.8...
>>>>
>>>> On Wed, May 16, 2018 at 10:36 PM Suresh Kumar Anaparti <
>>>> sureshkumar.anapa...@gmail.com> wrote:
>>>>
>>>> Hi Natalia,
>>>>>
>>>>> Any changes in the java version or system configuration?
>>>>>
>>>>> -Suresh
>>>>>
>>>>> On Thu, May 17, 2018 at 4:14 AM, Dag Sonstebo <
>>>>> dag.sonst...@shapeblue.com>
>>>>> wrote:
>>>>>
>>>>> Hi Natalia,
>>>>>>
>>>>>> My guess is you have some sort of corruption on your original host.
>>>>>> Since
>>>>>> the management service itself is stateless it’s generally much quicker
>>>>>>
>>>>> just
>>>>>
>>>>>> building a new one than trying to recover the old one.
>>>>>>
>>>>>> So my suggestions would be:
>>>>>> - Recover your DB to a dedicated DB host if you haven’t done so
>>>>>> already.
>>>>>> - Build a new management server and just point this to the original
>>>>>> DB as
>>>>>> described in http://docs.cloudstack.apache.org/projects/cloudstack-
>>>>>> installation/en/4.9/management-server/index.html#
>>>>>> additional-management-servers
>>>>>> NOTE: do not use the “–deploy-as” option as this will write a new
>>>>>> blank
>>>>>> database. If you used encryption keys during the original setup you
>>>>>> also
>>>>>> need to specify these.
>>>>>>
>>>>>> Once you have these two speaking you should in theory be back up and
>>>>>> running again.
>>>>>>
>>>>>> Regards,
>>>>>> Dag Sonstebo
>>>>>> Cloud Architect
>>>>>> ShapeBlue
>>>>>>
>>>>>>
>>>>>> dag.sonst...@shapeblue.com
>>>>>> www.shapeblue.com
>>>>>> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
>>>>>> @shapeblue
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 16/05/2018, 16:44, "Natalia Costas Lago" <nata...@cesga.es> wrote:
>>>>>>
>>>>>>
>>>>>>  Dear all,
>>>>>>
>>>>>>  For some reason our clo

Re: Dynamic roles question

2018-05-17 Thread Suresh Kumar Anaparti
Hi Ivan,

This would be a good improvement. Instead of changing the rules for the
account role based on the requirements or on demand, account can be mapped
to a new role (manually or automatic after trial) of the same role type
[User]. Do you have any use case for changing account role for Admin /
Domain Admin?

-Suresh

On Thu, May 17, 2018 at 8:14 PM, Ivan Kudryavtsev 
wrote:

> Yep, something like that is the key. Add an optional parameter to
> updateAccount.
>
> чт, 17 мая 2018 г., 20:56 Rafael Weingärtner  >:
>
> > That seems a nice enhancement.
> >
> > Are you thinking about adding an extra parameter to "updateAccount"?
> >
> > On Thu, May 17, 2018 at 10:03 AM, Ivan Kudryavtsev <
> > kudryavtsev...@bw-sw.com
> > > wrote:
> >
> > > Hello, community.
> > >
> > > I'm thinking about implementing the feature for accounts which permits
> to
> > > change account role. Basically, the rationale is trials or
> demonstration
> > > modes which restricts users from doing extra stuff, like VM creation,
> > > service offering changes, etc. Basically, after trial the account
> should
> > be
> > > switched to a normal mode or removed. By permitting such role switching
> > we
> > > can support the feature, otherwise we have to create unique role for
> > every
> > > user and manage it separately. Please, let me know your thoughts about
> > > that. Have a good day.
> > >
> > > --
> > > With best regards, Ivan Kudryavtsev
> > > Bitworks Software, Ltd.
> > > Cell: +7-923-414-1515
> > > WWW: http://bitworks.software/ 
> > >
> >
> >
> >
> > --
> > Rafael Weingärtner
> >
>


Re: Cloudtack manager UI returns Error 404

2018-05-16 Thread Suresh Kumar Anaparti
Hi Natalia,

Any changes in the java version or system configuration?

-Suresh

On Thu, May 17, 2018 at 4:14 AM, Dag Sonstebo 
wrote:

> Hi Natalia,
>
> My guess is you have some sort of corruption on your original host. Since
> the management service itself is stateless it’s generally much quicker just
> building a new one than trying to recover the old one.
>
> So my suggestions would be:
> - Recover your DB to a dedicated DB host if you haven’t done so already.
> - Build a new management server and just point this to the original DB as
> described in http://docs.cloudstack.apache.org/projects/cloudstack-
> installation/en/4.9/management-server/index.html#
> additional-management-servers
> NOTE: do not use the “–deploy-as” option as this will write a new blank
> database. If you used encryption keys during the original setup you also
> need to specify these.
>
> Once you have these two speaking you should in theory be back up and
> running again.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
> On 16/05/2018, 16:44, "Natalia Costas Lago"  wrote:
>
>
> Dear all,
>
> For some reason our cloudstack manager died and now we are not able to
> make it work. Our cloudstack version is 4.9.0.
>
> We tried to do a clean install of the manager and recover the database
> from the last backup, but we were not able to recover the service.
>
> At present we can see in the logs that it almost boot, but at the end
> we
> get this error:
>
> May 16 17:33:51 cldmanager.srv.cesga.es server: INFO
> [o.a.c.e.o.NetworkOrchestrator] (localhost-startStop-1:null) (logid:)
> Network Manager will run the NetworkGarbageCollector every '600'
> seconds.
> May 16 17:33:51 cldmanager.srv.cesga.es server: INFO
> [c.c.a.ApiServer]
> (Thread-12:null) (logid:) ApiServer listening on port 8096
> May 16 17:33:51 cldmanager.srv.cesga.es server: INFO
> [o.a.c.s.SecondaryStorageManagerImpl] (localhost-startStop-1:null)
> (logid:) Start secondary storage vm manager
> May 16 17:33:52 cldmanager.srv.cesga.es server: log4j:WARN No
> appenders
> could be found for logger (com.cloud.utils.db.ConnectionConcierge).
> May 16 17:33:52 cldmanager.srv.cesga.es server: log4j:WARN Please
> initialize the log4j system properly.
> May 16 17:33:52 cldmanager.srv.cesga.es server: log4j:WARN See
> http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> May 16 17:34:20 cldmanager.srv.cesga.es server: Exception in thread
> "CapacityChecker" java.lang.NoClassDefFoundError:
> org/apache/cloudstack/managed/context/ManagedContextTimerTask$1
> May 16 17:34:20 cldmanager.srv.cesga.es server: at
> org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(
> ManagedContextTimerTask.java:27)
> May 16 17:34:20 cldmanager.srv.cesga.es server: at
> java.util.TimerThread.mainLoop(Timer.java:555)
> May 16 17:34:20 cldmanager.srv.cesga.es server: at
> java.util.TimerThread.run(Timer.java:505)
> May 16 17:34:20 cldmanager.srv.cesga.es server: Caused by:
> java.lang.ClassNotFoundException:
> org.apache.cloudstack.managed.context.ManagedContextTimerTask$1
> May 16 17:34:20 cldmanager.srv.cesga.es server: at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
> WebappClassLoaderBase.java:1892)
> May 16 17:34:20 cldmanager.srv.cesga.es server: at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
> WebappClassLoaderBase.java:1735)
> May 16 17:34:20 cldmanager.srv.cesga.es server: ... 3 more
> May 16 17:34:24 cldmanager.srv.cesga.es server: Exception in thread
> "Timer-1" java.lang.NoClassDefFoundError:
> org/apache/cloudstack/managed/context/ManagedContextTimerTask$1
> May 16 17:34:24 cldmanager.srv.cesga.es server: at
> org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(
> ManagedContextTimerTask.java:27)
> May 16 17:34:24 cldmanager.srv.cesga.es server: at
> java.util.TimerThread.mainLoop(Timer.java:555)
> May 16 17:34:24 cldmanager.srv.cesga.es server: at
> java.util.TimerThread.run(Timer.java:505)
>
> Any help is appreciated..
>
> Kind regards,
>
> NOTA: Para cualquier incidencia/consulta/petición que requiera
> seguimiento por favor enviar a helpdesk_comunicacio...@cesga.es
>
> --
> 
> Natalia Costas Lago
> Senior Communications Technician
> Galicia Supercomputing Centre (CESGA)
> (CESGA on Twitter  |  CESGA on Facebook)
>
> Avenida de Vigo, s/n (Campus Vida)
> 15705 Santiago de Compostela - SPAIN
>
> E-mail: nata...@cesga.es
> Cell: +34 981 56 98 10 (ext. 237)
> Fax: +34 981 59 46 16
> Web: https://www.cesga.es/
> 

Re: Moving VR to another pool

2018-05-15 Thread Suresh Kumar Anaparti
Hi Swen,

The below steps might help in moving VR to another host and storage.
There'll be downtime.

- Create a new System Service Offering with System VM type "Domain Router"
and appropriate host and storage tags [Tag the host and storage which has
to be used for VR and use them here].
- Create a network offering with the same specs as the old network offering
used for the VR network and update System Offering for Router with the one
created above.
- Change the network offering in the network associated with the VR. Stop &
Start VR (or) Destory VR.

Regards,
Suresh

On Wed, May 9, 2018 at 8:51 PM, Stephan Seitz 
wrote:

> Hi sven,
>
> As far.as i can remember from our workflow a few month ago,‎ we've added
> a matching Storage tag to the systemtemplate offering and subsequently
> simply destroyed the running VR waiting for them to spawn on the new
> cluster. If you're running systemvms on local Storage i assume (unverified)
> disabling the old cluster and destroying the VR should work.
>
> I don''t think that live migration of VR to a diffrent cvluster is
> possible.
>
> Stephan
>
>   Originalnachricht
> Von: Swen - swen.io
> Gesendet: Mittwoch, 9. Mai 2018 16:50
> An: users@cloudstack.apache.org
> Antwort an: users@cloudstack.apache.org
> Betreff: Moving VR to another pool
>
> Hey,
>
> we want to delete a XenServer cluster in our CS installation and so moving
> everything of it. Can we also move all VR from on cluster to another
> cluster
> via live migration and without downtime? It looks like I can only move VR
> inside a cluster and its primary storage. Is there a way to do a storage
> live migration of VR via api with "migrateVirtualMachineWithVolume"? I
> tried
> it but failed, maybe because of a syntax error.
>
> Thanks for help!
>
> Best regards,
> Swen
>
>
>


Re: Problems with SnapShot ACS+Xen

2018-05-14 Thread Suresh Kumar Anaparti
326-b141-22e6e0bd9817
> capacity=161061273600 size=532676608 hidden=1 parent=VHD-a27910a1-fe9b-4888-
> 85c7-ebde9595a65d
> 
> vhd=VHD-d79f9874-59ab-4c72-9be3-afd12c56dfd5
> capacity=161061273600 size=545259520 hidden=1 parent=VHD-997c342f-f983-4326-
> b141-22e6e0bd9817
>
>  vhd=VHD-5b34dd4a-28a3-4d33-ab31-836159de13ac capacity=161061273600
> size=486539264 hidden=1 parent=VHD-d79f9874-59ab-4c72-9be3-afd12c56dfd5
>
> vhd=VHD-5e4277c3-e08f-4661-a979-999e5cbd8940 capacity=161061273600
> size=58720256 hidden=1 parent=VHD-5b34dd4a-28a3-4d33-ab31-836159de13ac
>
>  vhd=VHD-bd6be8c0-2805-403f-aef0-aaa860044a13 capacity=161061273600
> size=62914560 hidden=1 parent=VHD-5e4277c3-e08f-4661-a979-999e5cbd8940
>
> vhd=VHD-d7a877b8-c083-4e17-8ad6-1ad07edd5318 capacity=161061273600
> size=629145600 hidden=1 parent=VHD-bd6be8c0-2805-403f-aef0-aaa860044a13
>
>  vhd=VHD-219c89b8-5620-4302-8141-83ef042f97d1 capacity=161061273600
> size=692060160 hidden=1 parent=VHD-d7a877b8-c083-4e17-8ad6-1ad07edd5318
>
> vhd=VHD-c6b8a6aa-da0f-40f8-8ee9-6658c93cd6d6 capacity=161061273600
> size=427819008 hidden=1 parent=VHD-219c89b8-5620-4302-8141-83ef042f97d1
>
>  vhd=VHD-5fbeab95-6277-4507-a56e-1633cfe63fb8 capacity=161061273600
> size=650117120 hidden=1 parent=VHD-c6b8a6aa-da0f-40f8-8ee9-6658c93cd6d6
>
> vhd=VHD-d0a49ccd-1a3e-4a17-a9e9-5e182b11ac1b capacity=161061273600
> size=310378496 hidden=1 parent=VHD-5fbeab95-6277-4507-a56e-1633cfe63fb8
>
>  vhd=VHD-b9e1e2be-e7a9-425b-bdf5-aa33f186cc1b capacity=161061273600
> size=29360128 hidden=1 parent=VHD-d0a49ccd-1a3e-4a17-a9e9-5e182b11ac1b
>
> vhd=VHD-12c65869-a2b3-485e-8386-ce4f80214ed7 capacity=161061273600
> size=20971520 hidden=1 parent=VHD-b9e1e2be-e7a9-425b-bdf5-aa33f186cc1b
>
>vhd=VHD-3c452785-92ed-4355-8e90-7f1d51670dc9 capacity=161061273600
> size=161384235008 hidden=0 parent=VHD-12c65869-a2b3-485e-8386-ce4f80214ed7
>
>
> Att / Regards
>
>
> On 14 May 2018, at 13:32, Felipe Rossi <fel...@brascloud.com.br> wrote:
>
> How i can delete all chain of snapshots of all VMs on Xen ??
>
>
> Att / Regards
>
> 
>
> On 14 May 2018, at 13:00, Rafael Weingärtner <rafaelweingart...@gmail.com>
> wrote:
>
> There was (is) a bug that causes this problem. There is a PR to fix this.
> https://github.com/apache/cloudstack/pull/2398
>
> The first version that has this bug fix is 4.11.1.0. It is possible to
> "clean" this chain manually to allow you to execute snapshots again.
>
>
>
> On Mon, May 14, 2018 at 12:21 PM, Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> Hi Felipe,
>
> It seems there is a recurring snapshots on the volume DATA-435. Can you
> check the recurring snapshots in cloudstack db tables snapshot_policy
> & snapshot_schedule. Also, check the status of the volume and its snapshots
> on db tables volumes and snapshots for the volumes DATA-435, ROOT-971,
> ROOT-1045 and ROOT-763.
>
> -Suresh
>
> On Mon, May 14, 2018 at 8:38 PM, Swen - swen.io <m...@swen.io> wrote:
>
> Hi Felipe,
>
>
>
> As far as I can see these are volume snapshots, right? You need to check
> if the snapshots on XenServer are part of a chain. Are you familiar with
> vhd-util in XenServer cli?
>
> What is your value of snapshot.delta.max in global settings?
>
>
>
> Cu Swen
>
>
>
> *Von:* Felipe Rossi [mailto:fel...@brascloud.com.br
> <fel...@brascloud.com.br>]
> *Gesendet:* Montag, 14. Mai 2018 16:41
> *An:* users@cloudstack.apache.org
> *Betreff:* Problems with SnapShot ACS+Xen
>
>
>
> Hi Team,
>
>
>
> We have one situation on CloudStack and Xen with Snapshot, see print
> attached,
>
> we have many snapshot showing on XenServer but on ACS this snapshot not
> exist
>
>
>
> I can delete manual via Xen this snapshots ?? what happen for generate
>
> all
>
> this snaphost
>
> without register on ACS ?
>
>
>
>
>
> Att / Regards
>
>
>
>
>
>
>
>
> --
> Rafael Weingärtner
>
>
>
>


Re: Cloudstack compatiblity Windows 2016 Server

2018-05-14 Thread Suresh Kumar Anaparti
Hi Marc,

It seems the compatibility table with Cloudstack version and OS guest
versions is not listed. May be you can try with db query using version
(updated column) and guest_os_hypervisor (created column) tables.

Please check the current version OS compatibility using *listGuestOsMapping*
API (
https://cloudstack.apache.org/api/apidocs-4.9/apis/listGuestOsMapping.html)
with
*hypervisor* and *hypervisorversion *params. If "Windows Server 2016" OS is
not in the mapping response and the underlying hypervisor supports it, you
can add new OS mapping to cloudstack using *addGuestOsMapping* API (
https://cloudstack.apache.org/api/apidocs-4.9/apis/addGuestOsMapping.html).
Make
sure to set the *ostypeid* param to Windows OS UUID (Get this using
*listOsTypes* API).

-Suresh

2018-05-14 19:11 GMT+05:30 Marc Poll Garcia :

> Hi all!
>
> I am using CloudStack 4.9.2 on VMWare hypervisor, and I tried to create a
> "Windows Server 2016" OS template but i have some issues working with it,
> sometimes network does not work properly.
>
> Do you know if it is not compatible with this version? is there any
> compatibility matrix / table like:
>
> *Cloudstack version  | OS guest versions*
>
> Thanks in advance.
>
>
> --
> Marc Poll Garcia
> Technology Infrastructure . Àrea de Serveis TIC
> Telèfon:  93.405.43.57
>
> [image: UPCnet]
>
> --
> Aquest correu electrònic pot contenir informació confidencial o legalment
> protegida i està exclusivament dirigit a la persona o entitat destinatària.
> Si vostè no és el destinatari final o persona encarregada de recollir-lo,
> no està autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo,
> copiar-lo ni a revelar el seu contingut. Si ha rebut aquest correu
> electrònic per error, li preguem que informi al remitent i elimini del seu
> sistema el missatge i el material annex que pugui contenir.
> Gràcies per la seva col.laboració.
> --
>
> *** Si us plau, no m'imprimeixis. Vull seguir sent digital ***
> *** Por favor, no me imprimas. Quiero seguir siendo digital ***
> *** Please, don't print me. I want to remain digital ***
> --
>


Re: Problems with SnapShot ACS+Xen

2018-05-14 Thread Suresh Kumar Anaparti
Hi Felipe,

It seems there is a recurring snapshots on the volume DATA-435. Can you
check the recurring snapshots in cloudstack db tables snapshot_policy
& snapshot_schedule. Also, check the status of the volume and its snapshots
on db tables volumes and snapshots for the volumes DATA-435, ROOT-971,
ROOT-1045 and ROOT-763.

-Suresh

On Mon, May 14, 2018 at 8:38 PM, Swen - swen.io  wrote:

> Hi Felipe,
>
>
>
> As far as I can see these are volume snapshots, right? You need to check
> if the snapshots on XenServer are part of a chain. Are you familiar with
> vhd-util in XenServer cli?
>
> What is your value of snapshot.delta.max in global settings?
>
>
>
> Cu Swen
>
>
>
> *Von:* Felipe Rossi [mailto:fel...@brascloud.com.br]
> *Gesendet:* Montag, 14. Mai 2018 16:41
> *An:* users@cloudstack.apache.org
> *Betreff:* Problems with SnapShot ACS+Xen
>
>
>
> Hi Team,
>
>
>
> We have one situation on CloudStack and Xen with Snapshot, see print
> attached,
>
> we have many snapshot showing on XenServer but on ACS this snapshot not
> exist
>
>
>
> I can delete manual via Xen this snapshots ?? what happen for generate all
> this snaphost
>
> without register on ACS ?
>
>
>
>
>
> Att / Regards
>
>
>
>


Re: Can't KVM migrate between local storage.

2018-05-10 Thread Suresh Kumar Anaparti
Hi Darius,

>From the logs, I could observe that image volume is already in the creating
state and trying to use the same for copying the volume between pools. So,
state transition failed. Could you please provide the complete log for the
usecase to root cause the issue. Also, include volumes and snapshots db
details for the mentioned volume and snapshot.

-Suresh


On Thu, May 10, 2018 at 1:22 PM, Daznis  wrote:

> Snapshots work fine. I can make a snapshot -> convert it to template
> and start the VM on a new node from that template. When I needed to
> move one VM for balance purposes. But I want to fix the migration
> process. I have attached the error log to this email. Maybe I'm
> looking at the wrong place were I get the error?
>
> On Wed, May 9, 2018 at 9:23 PM, Marc-Aurèle Brothier 
> wrote:
> > Can you try to perform a snapshot of the volume on VM's that are on your
> > host, to see if they get copied correctly other the NFS too.
> >
> > Otherwise you need to look into the management logs to catch the
> exception
> > (stack trace) to have a better understanding of the issue.
> >
> > On Wed, May 9, 2018 at 1:58 PM, Daznis  wrote:
> >
> >> Hello,
> >>
> >>
> >> Yeah it's offline. I'm running 4.9.2 version. Running it on the same
> >> zone with the  only NFS secondary storage.
> >>
> >> On Wed, May 9, 2018 at 10:49 AM, Marc-Aurèle Brothier <
> ma...@exoscale.ch>
> >> wrote:
> >> > Hi Darius,
> >> >
> >> > Are you trying to perform an offline migration within the same zone,
> >> > meaning that the source and destination hosts have the same set of NFS
> >> > secondary storage ?
> >> >
> >> > Marc-Aurèle
> >> >
> >> > On Tue, May 8, 2018 at 3:37 PM, Daznis  wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >>
> >> >> I'm having an issue while migrating offline vm disk within local
> >> >> storages. The particular error that has be baffled is "Can't find
> >> >> staging storage in zone". From what I have gather "staging storage"
> >> >> referred to secondary storage in cloudstack and it's working
> perfectly
> >> >> fine with both the source and destination node. Not sure where to go
> >> >> next. Any help would be appreciated.
> >> >>
> >> >>
> >> >> Regards,
> >> >> Darius
> >> >>
> >>
>


  1   2   >