Re: KVM FC shared storage

2024-05-20 Thread Vivek Kumar
We once tried to setup PCS cluster with GFS2 In production, and it required a 
lot of expertise to manage PCS cluster and our experience was very bad with 
that too, after a year we had to move to NFS due to so many issue.  FC works 
better XenServer, We had almost for 5-6 year with Xenserver And FC and that too 
without any single downtime.

Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 20 May 2024, at 9:34 PM, Andreas S. Kerber  wrote:
> 
> We're running FC with OCFS2 (OS: Oracle Linux 9) on a demo 2 node cluster.
> Works kind of nice, but of course is not the same as ESXi. For now it works 
> well enough but expanding that to a actual >10 node setup with hundreds of 
> VMs doesn't feel right.
> 
> 
> Am Mon, May 20, 2024 at 03:48:12PM +0300 schrieb Kristian Liivak:
>> Hi All 
>> 
>> Currently, we can see from the documentation that KVM supports Fiber Channel 
>> via shared mountpoints. 
>> Can someone recommend or share their experience with usable solutions for 
>> shared mountpoint technical solutions? It seems there are quite a few 
>> options, such as shared/clustered file systems: GFS2, OCFS2, cLVM. 
>> From the information I have found, OCFS2 seems to be the best option. 
>> 
>> P.S. I don't want to use any distributed storage like Ceph, etc. 
>> We are partially moving away from VMware, and we believe in FC NVMe 
>> old-school storages, which are the most reliable, in my opinion. 
>> 
>> 
>> 
>> 
>> Lugupidamisega / Best regards, 
>> 
>> Kristian Liivak 
>> Tegevjuht / CEO 
>> [ mailto:k...@wavecom.ee | k...@wavecom.ee ] | +372 5685 0001 
>> 
>> WaveCom AS | ISO 9001, 27001 & 27017 Certified DC and Cloud services 
>> 
>> 
>> Endla 16, Tallinn 10142 | [ http://www.wavecom.ee/ | www.wavecom.ee ] | [ 
>> http://www.facebook.com/wavecom.ee | www.facebook.com/wavecom.ee ] 
>> 


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


SSL Medium Strength Cipher Suites Supported | port 8250 on Management servers

2024-04-29 Thread Vivek Kumar
Hello Folks,

Our security team has highlighted that services running on port 8250 supports 
the use of SSL ciphers that offer medium strength encryption. Nessus regards 
medium strength as any encryption  that uses key lengths at least 64 bits and 
less than 112 bits,

It is considerably easier to circumvent medium strength encryption if the 
attacker is on the same physical network.


Our security team has recommended to reconfigure the affected application if 
possible to avoid use of medium strength ciphers, so we do something about it 
or not ?




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>





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


Re: Monitoring Cloudstack

2024-04-21 Thread Vivek Kumar
Hello, 

It depends, For OS parameters you can use any agent based i.e zabbix, for 
cloudstack specific parameters you can use API calls and integrated with any 
existing monitoring tools. i.e host disconnection status, agent state status, 
cluster and host utilisation, if any disk is migration state, if any 
site-to-site vpn is disconnected, and other parameters as per your requirement.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 20 Apr 2024, at 11:52 AM, Marty Godsey  wrote:
> 
> Hello all.
> 
> What ways do you guys monitor your Cloudstack servers? SNMP, API, etc?..


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


Re: host tags issue

2024-04-17 Thread Vivek Kumar
Hello Gary,

In VM details you can find the current host and the compute offering ( in
compute offering you have the host_tag ), so if your VM was placed on right
host as per host_tag, you can check the host_id in vm_instance table on the
database.



On Wed, 17 Apr, 2024, 15:42 Gary Dixon, 
wrote:

> ACS 4.15.2
>
> KVM on Ubuntu 20.04
>
> Adv Zone no secgroups
>
>
>
> Hi all
>
>
>
> I am just testing implementing host tags in our dev environment
>
> Where in the database can I check the Instance that has been deployed from
> an Offering that specifies a host tag to see the host tags have applied to
> the VM
>
> I do not see in the UI on the VM details any mention of host tags and
> didn’t see any mention of host tags in the mgmt. logs when the Instance was
> deployed
>
>
>
> I basically want to double check that the host tags were followed in the
> VM deployment
>
>
>
> BR
>
>
>
> Gary
> Gary Dixon
> Quadris Cloud Manager
> +44 (0) 161 537 4980 <+44%20(0)%20161%20537%204980>
>  +44 (0) 7989 717661 <+44%20(0)%207989%20717661>
> gary.di...@quadris.co.uk
> www.quadris.com
> Innovation House, 12‑13 Bredbury Business Park
> Bredbury Park Way, Bredbury, Stockport, SK6 2SN
>

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


Re: Failed to execute post certificate renewal command - KVM 4.18.1

2024-04-01 Thread Vivek Kumar
Hello Cristian,

Can you show me the output of the file - /etc/default/libvirtd 


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 30-Mar-2024, at 11:00 PM, cristian.c@istream.today wrote:
> 
> Hello,
> 
>  Yes, I added with ssh password, and I want to reprovision because the status 
> is unsecure in cloudstack UI.
> 
> Regards,
> Cristian
> 
> -Original Message-
> From: Vivek Kumar  
> Sent: Saturday, March 30, 2024 4:33 PM
> To: CloudStack Users Mailing list 
> Subject: Re: Failed to execute post certificate renewal command - KVM 4.18.1
> 
> Hello Cristian,
> 
> Have you added the hosts in cloudstack, and it’s showing unsecure in hosts 
> section, ? And then you are trying to reprovision the security keys ? Is this 
> the case ? 
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
> 
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
>   www.indiqus.com <https://www.indiqus.com/>
> 
> 
> 
> 
>> On 29-Mar-2024, at 9:53 PM, cristian.c@istream.today wrote:
>> 
>> Hello,
>> 
>> 
>> 
>>  Any idea how to get rid of this error? I try to provision security 
>> keys for this kvm host, but I end with this error :
>> 
>> 
>> 
>>  This is a new setup, with 4.18.1.0 on ubuntu 22.04, 1x host for 
>> management and 1x  KVM host.
>> 
>> 
>> 2024-03-29 16:16:19,879 INFO  [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-5:null) (logid:0c5006ba) Asking libvirt to 
>> refresh storage pool 552ecff0-1806-407d-8db6-f1c9da18c971
>> 
>> ^C
>> 
>> root@hv-001:/etc/cloudstack/agent# nano agent.properties
>> 
>> root@hv-001:/etc/cloudstack/agent# systemctl restart cloudstack-agent
>> 
>> root@hv-001:/etc/cloudstack/agent# tail -f 
>> /var/log/cloudstack/agent/agent.log
>> 
>> 2024-03-29 16:17:56,744 INFO  [cloud.agent.Agent] 
>> (Agent-Handler-2:null)
>> (logid:) Process agent startup answer, agent id = 0
>> 
>> 2024-03-29 16:17:56,745 INFO  [cloud.agent.Agent] 
>> (Agent-Handler-2:null)
>> (logid:) Set agent id 0
>> 
>> 2024-03-29 16:17:56,750 INFO  [cloud.agent.Agent] 
>> (Agent-Handler-2:null)
>> (logid:) Startup Response Received: agent id = 0
>> 
>> 2024-03-29 16:17:56,965 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-3:null) (logid:5d6aaa47) Processing agent ready 
>> command, agent id = 1
>> 
>> 2024-03-29 16:17:56,965 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-3:null) (logid:5d6aaa47) Set agent id 1
>> 
>> 2024-03-29 16:17:56,965 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-3:null) (logid:5d6aaa47) Ready command is 
>> processed for agent id = 1
>> 
>> 2024-03-29 16:17:57,085 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-5:null) (logid:5d6aaa47) Processing agent ready 
>> command, agent id = 1
>> 
>> 2024-03-29 16:17:57,086 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-5:null) (logid:5d6aaa47) Set agent id 1
>> 
>> 2024-03-29 16:17:57,088 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-5:null) (logid:5d6aaa47) Processed new 
>> management server list: 51.xxx.xxx.69,10.111.0.1@static
>> 
>> 2024-03-29 16:17:57,088 INFO  [cloud.agent.Agent]
>> (agentRequest-Handler-5:null) (logid:5d6aaa47) Ready command is 
>> processed for agent id = 1
>> 
>> 2024-03-29 16:18:20,157 INFO  [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:4be26651) Trying to fetch storage 
>> pool
>> 552ecff0-1806-407d-8db6-f1c9da18c971 from libvirt
>> 
>> 2024-03-29 16:18:20,181 INFO  [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:4be26651) Asking libvirt to 
>> refresh storage pool 552ecff0-1806-407d-8db6-f1c9da18c971
>> 
>> 2024-03-29 16:18:43,714 INFO
>> [resource.wrapper.LibvirtPostCertificateRenewalCommandWrapper] 
>> (Certificate Renewal Timer:null) (logid:7f9421ae) Restarting libvirt 
>> after certificate provisioning/renewal
>> 
>> 2024-03-29 16:18:43,729 INFO  [cloud.agent.Agent] 
>> (AgentShutdownThread:null)
>> (logid:) Stopping the agent: Reason = sig.kill
>> 
>> 2024-03-29 16:18:43,730 WARN  [cloud.agent.Agent] (Certificate Renewal
>> Timer:null) (logid:7f9421ae) Failed to execute post certificate 
>> renewal
>> command:
>> 
>> java.lang.IllegalStateException: Shutdown in progress
>> 
>>  

Re: Failed to execute post certificate renewal command - KVM 4.18.1

2024-03-30 Thread Vivek Kumar
Hello Cristian,

Have you added the hosts in cloudstack, and it’s showing unsecure in hosts 
section, ? And then you are trying to reprovision the security keys ? Is this 
the case ? 

Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 29-Mar-2024, at 9:53 PM, cristian.c@istream.today wrote:
> 
> Hello,
> 
> 
> 
>   Any idea how to get rid of this error? I try to provision security keys
> for this kvm host, but I end with this error :
> 
> 
> 
>   This is a new setup, with 4.18.1.0 on ubuntu 22.04, 1x host for
> management and 1x  KVM host.  
> 
> 
> 2024-03-29 16:16:19,879 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-5:null) (logid:0c5006ba) Asking libvirt to refresh
> storage pool 552ecff0-1806-407d-8db6-f1c9da18c971
> 
> ^C
> 
> root@hv-001:/etc/cloudstack/agent# nano agent.properties
> 
> root@hv-001:/etc/cloudstack/agent# systemctl restart cloudstack-agent
> 
> root@hv-001:/etc/cloudstack/agent# tail -f
> /var/log/cloudstack/agent/agent.log
> 
> 2024-03-29 16:17:56,744 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> (logid:) Process agent startup answer, agent id = 0
> 
> 2024-03-29 16:17:56,745 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> (logid:) Set agent id 0
> 
> 2024-03-29 16:17:56,750 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> (logid:) Startup Response Received: agent id = 0
> 
> 2024-03-29 16:17:56,965 INFO  [cloud.agent.Agent]
> (agentRequest-Handler-3:null) (logid:5d6aaa47) Processing agent ready
> command, agent id = 1
> 
> 2024-03-29 16:17:56,965 INFO  [cloud.agent.Agent]
> (agentRequest-Handler-3:null) (logid:5d6aaa47) Set agent id 1
> 
> 2024-03-29 16:17:56,965 INFO  [cloud.agent.Agent]
> (agentRequest-Handler-3:null) (logid:5d6aaa47) Ready command is processed
> for agent id = 1
> 
> 2024-03-29 16:17:57,085 INFO  [cloud.agent.Agent]
> (agentRequest-Handler-5:null) (logid:5d6aaa47) Processing agent ready
> command, agent id = 1
> 
> 2024-03-29 16:17:57,086 INFO  [cloud.agent.Agent]
> (agentRequest-Handler-5:null) (logid:5d6aaa47) Set agent id 1
> 
> 2024-03-29 16:17:57,088 INFO  [cloud.agent.Agent]
> (agentRequest-Handler-5:null) (logid:5d6aaa47) Processed new management
> server list: 51.xxx.xxx.69,10.111.0.1@static
> 
> 2024-03-29 16:17:57,088 INFO  [cloud.agent.Agent]
> (agentRequest-Handler-5:null) (logid:5d6aaa47) Ready command is processed
> for agent id = 1
> 
> 2024-03-29 16:18:20,157 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:4be26651) Trying to fetch storage pool
> 552ecff0-1806-407d-8db6-f1c9da18c971 from libvirt
> 
> 2024-03-29 16:18:20,181 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:4be26651) Asking libvirt to refresh
> storage pool 552ecff0-1806-407d-8db6-f1c9da18c971
> 
> 2024-03-29 16:18:43,714 INFO
> [resource.wrapper.LibvirtPostCertificateRenewalCommandWrapper] (Certificate
> Renewal Timer:null) (logid:7f9421ae) Restarting libvirt after certificate
> provisioning/renewal
> 
> 2024-03-29 16:18:43,729 INFO  [cloud.agent.Agent] (AgentShutdownThread:null)
> (logid:) Stopping the agent: Reason = sig.kill
> 
> 2024-03-29 16:18:43,730 WARN  [cloud.agent.Agent] (Certificate Renewal
> Timer:null) (logid:7f9421ae) Failed to execute post certificate renewal
> command:
> 
> java.lang.IllegalStateException: Shutdown in progress
> 
>at
> java.base/java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks
> .java:82)
> 
>at java.base/java.lang.Runtime.removeShutdownHook(Runtime.java:244)
> 
>at
> com.cloud.agent.Agent$PostCertificateRenewalTask.runInContext(Agent.java:115
> 6)
> 
>at
> org.apache.cloudstack.managed.context.ManagedContextTimerTask$1.runInContext
> (ManagedContextTimerTask.java:30)
> 
>at
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedCo
> ntextRunnable.java:48)
> 
>at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(Defa
> ultManagedContext.java:55)
> 
>at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithCon
> text(DefaultManagedContext.java:102)
> 
>at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCont
> ext(DefaultManagedContext.java:52)
> 
>at
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCont
> extRunnable.java:45)
> 
>at
> org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedCon
> textTimerTask.ja

Re: CKS Storage Provisioner Info

2024-02-26 Thread Vivek Kumar
Hello Bharat,

Is the cloudstack URL is reachable from your cluster, can you manually check 
i.e ping, telnet on that port ?




> On 26-Feb-2024, at 3:43 PM, Bharat Bhushan Saini 
>  wrote:
> 
> Hi Wei/Jayanth,
>  
> Thanks for sharing the details. I am able to fetch out the api and keys and 
> deployed the driver as suggested by @vivek and GH page.
>  
> Now I encountered with one more issue that the cloudstack csi node goes in 
> CrashLoopBackOff Error. I am trying to get some more info regarding this 
> which is as below
> 
> {"level":"error","ts":1708932622.5365772,"caller":"zap/options.go:212","msg":"finished
>  unary call with code 
> Internal","grpc.start_time":"2024-02-26T07:30:22Z","grpc.request.deadline":"2024-02-26T07:32:22Z","system":"grpc","span.kind":"server","grpc.service":"csi.v1.Node","grpc.method":"NodeGetInfo","error":"rpc
>  error: code = Internal desc = Get 
> \"http://10.1.10.2:8080/client/api?apiKey=k83H56KFdhFqpv7cXPU11nkwxPt8f2rXnm1WWVIRdeErqZr72Pzp7ySmricPWs7FQQuMmClznDhMz7uqnRD2wA=listVirtualMachines=cf4940eb-52a4-4205-b056-1575926cb488=json=t4jdPVL7jqhGt5pWC0kjx%2Bxzr3o%3D\":
>  
> 
>  dial tcp 10.1.10.2:8080: connect: connection 
> refused","grpc.code":"Internal","grpc.time_ms":1.138,"stacktrace":"github.com/grpc-ecosystem/go-grpc-middleware/logging/zap.DefaultMessageProducer\n\t/home/runner/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.4.0/logging/zap/options.go:212\ngithub.com/grpc-ecosystem
>  
> /go-grpc-middleware/logging/zap.UnaryServerInterceptor.func1\n\t/home/runner/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.4.0/logging/zap/server_interceptors.go:39\ngoogle.golang.org/grpc.chainUnaryInterceptors.func1\n\t/home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.1/server.go:1183\ngithub.com/container-storage-interface/spec/lib/go/csi
>  
> ._Node_NodeGetInfo_Handler\n\t/home/runner/go/pkg/mod/github.com/container-storage-interface/spec@v1.9.0/lib/go/csi/csi.pb.go:7351\ngoogle.golang.org/grpc
>  
> .(*Server).processUnaryRPC\n\t/home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.1/server.go:1372\ngoogle.golang.org/grpc
>  
> .(*Server).handleStream\n\t/home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.1/server.go:1783\ngoogle.golang.org/grpc
>  
> .(*Server).serveStreams.func2.1\n\t/home/runner/go/pkg/mod/google.golang.org/grpc@v1.60.1/server.go:1016
>  "}
>  
> kubectl get pods -A
> NAMESPACE  NAME   
>  READY   STATUS RESTARTSAGE
> defaultexample-pod
>  0/1 Pending0   87m
> kube-systemcloud-controller-manager-574bcb86c-vzp4m   
>  1/1 Running0   155m
> kube-systemcloudstack-csi-controller-7f89c8cd47-ftgnf 
>  5/5 Running0   150m
> kube-systemcloudstack-csi-controller-7f89c8cd47-j4s4z 
>  5/5 Running0   150m
> kube-systemcloudstack-csi-controller-7f89c8cd47-ptvss 
>  5/5 Running0   150m
> kube-systemcloudstack-csi-node-56hxg  
>  2/3 CrashLoopBackOff   34 (99s ago)150m
> kube-systemcloudstack-csi-node-98cf2  
>  2/3 CrashLoopBackOff   34 (39s ago)150m
> kube-systemcoredns-5dd5756b68-5wwxk   
>  1/1 Running0   4h17m
> kube-systemcoredns-5dd5756b68-mbpwt   
>  1/1 Running0   4h17m
> kube-systemetcd-kspot-app-control-18de3ee6b6f 
>  1/1 Running0   4h17m
> kube-systemkube-apiserver-kspot-app-control-18de3ee6b6f   
>  1/1 Running0   4h17m
> kube-system

Re: CKS Storage Provisioner Info

2024-02-22 Thread Vivek Kumar
Hello Bharat,

Can you try to install plugin manually and see if that works or not. 


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 23-Feb-2024, at 11:16 AM, Bharat Bhushan Saini 
>  wrote:
> 
> Hi Wei/Vivek/Kiran,
>  
> Kindly lookout in this.
>  
> Thanks and Regards,
> Bharat Saini
>  
> 
>  
> From: Bharat Bhushan Saini  <mailto:bharat.sa...@kloudspot.com.INVALID>>
> Date: Friday, 23 February 2024 at 12:56 AM
> To: users@cloudstack.apache.org <mailto:users@cloudstack.apache.org> 
> mailto:users@cloudstack.apache.org>>
> Subject: Re: CKS Storage Provisioner Info
> 
> EXTERNAL EMAIL: Please verify the sender email address before taking any 
> action, replying, clicking any link or opening any attachment.
>  
> Hi Vivek, 
>  
> I deployed cloudstack with version 4.18.1.
> I think it should be present in this version.
>  
> Thanks and Regards,
> Bharat Saini
>  
> 
>  
> From: Vivek Kumar  <mailto:vivek.ku...@indiqus.com.INVALID>>
> Date: Friday, 23 February 2024 at 12:48 AM
> To: users@cloudstack.apache.org <mailto:users@cloudstack.apache.org> 
> mailto:users@cloudstack.apache.org>>
> Subject: Re: CKS Storage Provisioner Info
> 
> EXTERNAL EMAIL: Please verify the sender email address before taking any 
> action, replying, clicking any link or opening any attachment.
> 
> 
> Hello Bharat,
> 
> Then you will have to deploy the cloudstack-kubernetes-provider, however 
> after 4.16, it’s automatically deployed, Follow the instruction in the link 
> -https://github.com/apache/cloudstack-kubernetes-provider
> 
> 
> 1- Create a file called - cloud-config and put the below information - ( you 
> can create an user under your account and provide it’s apikey and secret key )
> 
> 
> [Global]
> api-url = 
> api-key = 
> secret-key = 
> 
> 
> 2- kubectl -n kube-system create secret generic cloudstack-secret 
> --from-file=cloud-config
> 3- then deploy the controller -
> 
> You can then use the provided example deployment.yaml 
> <https://github.com/apache/cloudstack-kubernetes-provider/blob/main/deployment.yaml>
>  to deploy the controller:
> 
> kubectl apply -f deployment.yaml
> 
> 
> 
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
> 
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
> <mailto:vivek.ku...@indiqus.com>
> www.indiqus.com <http://www.indiqus.com/> <https://www.indiqus.com/>
> 
> 
> 
> 
> > On 23-Feb-2024, at 12:08 AM, Bharat Bhushan Saini 
> >  > <mailto:bharat.sa...@kloudspot.com.INVALID>> wrote:
> >
> > Hi Vivek,
> >
> > I am glad and thankful to you for sharing the information, for the 
> > configuration of CSI driver.
> >
> > But I didn’t have cloudstack-secret in my cluster, sharing the details below
> >
> > cloud@Kspot-App-control-18dd041902a:~$ kubectl get secret cloudstack-secret 
> > -n kube-system
> > Error from server (NotFound): secrets "cloudstack-secret" not found
> > cloud@Kspot-App-control-18dd041902a:~$ kubectl get secret -A -n kube-system
> > NAMESPACE  NAME  TYPE   
> >DATA   AGE
> > kloudspot  dockerregistrykey 
> > kubernetes.io/dockerconfigjson 
> > <http://kubernetes.io/dockerconfigjson><http://kubernetes.io/dockerconfigjson>
> > 1  8h
> > kube-systembootstrap-token-cb0b7f
> > bootstrap.kubernetes.io/token 
> > <http://bootstrap.kubernetes.io/token><http://bootstrap.kubernetes.io/token>
> >  6  8h
> > kubernetes-dashboard   kubernetes-dashboard-certsOpaque 
> >0  8h
> > kubernetes-dashboard   kubernetes-dashboard-csrf Opaque 
> >1  8h
> > kubernetes-dashboard   kubernetes-dashboard-key-holder   Opaque 
> >2  8h
> > kubernetes-dashboard   kubernetes-dashboard-token
> > kubernetes.io/service-account-token 
> > <http://kubernetes.io/service-account-token> 
> > <http://kubernetes.io/service-account-token>  3  8h
> > cloud@Kspot-App-control-18dd041902a:~$
> >
> > I am using v1.28.4 k8s version ISO for the cluster, storage offering and 
> > network is in shared mode and using 1 node cluster withou

Re: CKS Storage Provisioner Info

2024-02-22 Thread Vivek Kumar
Hello Bharat, 

Then you will have to deploy the cloudstack-kubernetes-provider, however after 
4.16, it’s automatically deployed, Follow the instruction in the link - 
https://github.com/apache/cloudstack-kubernetes-provider


1- Create a file called - cloud-config and put the below information - ( you 
can create an user under your account and provide it’s apikey and secret key )


[Global]
api-url = 
api-key = 
secret-key = 


2- kubectl -n kube-system create secret generic cloudstack-secret 
--from-file=cloud-config
3- then deploy the controller - 

You can then use the provided example deployment.yaml 
<https://github.com/apache/cloudstack-kubernetes-provider/blob/main/deployment.yaml>
 to deploy the controller:

kubectl apply -f deployment.yaml




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 23-Feb-2024, at 12:08 AM, Bharat Bhushan Saini 
>  wrote:
> 
> Hi Vivek,
>  
> I am glad and thankful to you for sharing the information, for the 
> configuration of CSI driver.
>  
> But I didn’t have cloudstack-secret in my cluster, sharing the details below
>  
> cloud@Kspot-App-control-18dd041902a:~$ kubectl get secret cloudstack-secret 
> -n kube-system
> Error from server (NotFound): secrets "cloudstack-secret" not found
> cloud@Kspot-App-control-18dd041902a:~$ kubectl get secret -A -n kube-system
> NAMESPACE  NAME  TYPE 
>  DATA   AGE
> kloudspot  dockerregistrykey 
> kubernetes.io/dockerconfigjson <http://kubernetes.io/dockerconfigjson>
> 1  8h
> kube-systembootstrap-token-cb0b7f
> bootstrap.kubernetes.io/token <http://bootstrap.kubernetes.io/token> 
> 6  8h
> kubernetes-dashboard   kubernetes-dashboard-certsOpaque   
>  0  8h
> kubernetes-dashboard   kubernetes-dashboard-csrf Opaque   
>  1  8h
> kubernetes-dashboard   kubernetes-dashboard-key-holder   Opaque   
>  2  8h
> kubernetes-dashboard   kubernetes-dashboard-token
> kubernetes.io/service-account-token 
> <http://kubernetes.io/service-account-token>  3  8h
> cloud@Kspot-App-control-18dd041902a:~$ 
>  
> I am using v1.28.4 k8s version ISO for the cluster, storage offering and 
> network is in shared mode and using 1 node cluster without HA.
>  
> Thanks and Regards,
> Bharat Saini
>  
> 
>  
> From: Vivek Kumar  <mailto:vivek.ku...@indiqus.com.INVALID>>
> Date: Thursday, 22 February 2024 at 11:39 PM
> To: users@cloudstack.apache.org <mailto:users@cloudstack.apache.org> 
> mailto:users@cloudstack.apache.org>>
> Subject: Re: CKS Storage Provisioner Info
> 
> EXTERNAL EMAIL: Please verify the sender email address before taking any 
> action, replying, clicking any link or opening any attachment.
> 
> 
> Hello Bharat,
> 
> 1- When you deploy a cluster, an additional user is created under your 
> cloudstack account - i.e -kubeadmin,  and apikey and secret key 
> of this kubeadmin user is pushed to the cluster.
> 
> This you can find -
> 
> root@18dc14302a2:~# kubectl get secret cloudstack-secret -n kube-system
> NAMETYPE DATA   AGE
> cloudstack-secret   Opaque   1  3d5h
> 
> To check the more details for this secret -
> 
> root@18dc14302a2:~# kubectl get secret cloudstack-secret -n kube-system -o 
> jsonpath='{.data.*}' | base64 -d
> [Global]
> api-url = http://172.27.2.53:8080/client/api
> api-key = 
> ex0HfJJt7YQES4n5dsD3AEL-gr0n__JbfRvfK6cyUi5dbdPx7hyOckJ_enInYOyRewI0IR772KyNY8Sjh0TOdg
> secret-key = 
> IEHR45EK8GHkNo1G5t7eZSw5MARfZcYUvYXR1mR_vn2vv3b_-nQYFt_A_xZWRc4udtPQPKWjWW8kvTnSccAglA
> 
> 
> Now, you can see the API URL, so this URL endpoint must be reachable from 
> your cluster in order to provision PVC. This URL you can put in the global 
> setting - (endpoint.url)
> 
> So I am assuming this endpoint URL is reachable from your cluster -  you 
> don’t need to define anything in the cloud-config and secret - because secret 
> is already created and pushed from cloudstack  once you deploy the cluster. ( 
> From above steps you can verify ).
> 
> 2- Deploy the CSI driver - as mentioned in the Link -
> 
> kubectl apply -f 
> https://github.com/apalia/cloudstack-csi-driver/releases/latest/download/manifest.yaml
> 
> 
> 3- Now create the storage class - as mentioned in the Link as example 
> <https://github.com/apalia/cloudstack-csi-driver/blob/

Re: CKS Storage Provisioner Info

2024-02-22 Thread Vivek Kumar
Hello Bharat,

1- When you deploy a cluster, an additional user is created under your 
cloudstack account - i.e -kubeadmin,  and apikey and secret key 
of this kubeadmin user is pushed to the cluster.

This you can find -

root@18dc14302a2:~# kubectl get secret cloudstack-secret -n kube-system 
NAMETYPE DATA   AGE
cloudstack-secret   Opaque   1  3d5h

To check the more details for this secret - 

root@18dc14302a2:~# kubectl get secret cloudstack-secret -n kube-system -o 
jsonpath='{.data.*}' | base64 -d
[Global]
api-url = http://172.27.2.53:8080/client/api
api-key = 
ex0HfJJt7YQES4n5dsD3AEL-gr0n__JbfRvfK6cyUi5dbdPx7hyOckJ_enInYOyRewI0IR772KyNY8Sjh0TOdg
secret-key = 
IEHR45EK8GHkNo1G5t7eZSw5MARfZcYUvYXR1mR_vn2vv3b_-nQYFt_A_xZWRc4udtPQPKWjWW8kvTnSccAglA


Now, you can see the API URL, so this URL endpoint must be reachable from your 
cluster in order to provision PVC. This URL you can put in the global setting - 
(endpoint.url)

So I am assuming this endpoint URL is reachable from your cluster -  you don’t 
need to define anything in the cloud-config and secret - because secret is 
already created and pushed from cloudstack  once you deploy the cluster. ( From 
above steps you can verify ).

2- Deploy the CSI driver - as mentioned in the Link - 

kubectl apply -f 
https://github.com/apalia/cloudstack-csi-driver/releases/latest/download/manifest.yaml


3- Now create the storage class - as mentioned in the Link as example 
<https://github.com/apalia/cloudstack-csi-driver/blob/master/examples/k8s/0-storageclass.yaml>


Create a file i.e storage-class.yml and paste below information - ( Please 
mention the disk offering ID, it has to be a CUSTOM ) 

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: cloudstack-custom
provisioner: csi.cloudstack.apache.org
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: false
parameters:
  csi.cloudstack.apache.org/disk-offering-id: 


kubectl apply -f storage-class.yml

root@18dc14302a2:~# kubectl get storageclass
NAMEPROVISIONER RECLAIMPOLICY   
VOLUMEBINDINGMODE  ALLOWVOLUMEEXPANSION   AGE
cloudstack-custom   csi.cloudstack.apache.org   Delete  
WaitForFirstConsumer   false  3d5h


4- Now you can test by creating a PVC and POD - ( Examples are already there in 
the link - 
https://github.com/apalia/cloudstack-csi-driver/tree/master/examples/k8s )



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 22-Feb-2024, at 8:11 PM, Bharat Bhushan Saini 
>  wrote:
> 
> Hi Vivek/Kiran,
>  
> The cluster is deployed in the Root domain. But I am unable to locate 
> cloud-config file configuration after creating a domain user and pls correct 
> me that the cloud-config file have to be configured in controller node.
>  
> Thanks and Regards,
> Bharat Saini
>  
> 
>  
> From: Vivek Kumar  <mailto:vivek.ku...@indiqus.com.INVALID>>
> Date: Thursday, 22 February 2024 at 5:51 PM
> To: users@cloudstack.apache.org <mailto:users@cloudstack.apache.org> 
> mailto:users@cloudstack.apache.org>>
> Subject: Re: CKS Storage Provisioner Info
> 
> EXTERNAL EMAIL: Please verify the sender email address before taking any 
> action, replying, clicking any link or opening any attachment.
> 
> 
> Hello Bharat,
> 
> Yes, the link provided by Kiran works well for PVC but only one caveat that 
> it only works if your cluster is deployed under ROOT domain.
> 
> 
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
> 
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
> <mailto:vivek.ku...@indiqus.com>
> www.indiqus.com <http://www.indiqus.com/> <https://www.indiqus.com/>
> 
> 
> 
> 
> > On 22-Feb-2024, at 5:21 PM, Kiran Chavala  > <mailto:kiran.chav...@shapeblue.com>> wrote:
> >
> > Hi Bharat
> >
> > You can try the following CSI driver
> >
> > https://github.com/Leaseweb/cloudstack-csi-driver
> >
> >
> > Regards
> > Kiran
> >
> > From: Bharat Bhushan Saini  > <mailto:bharat.sa...@kloudspot.com.INVALID>>
> > Date: Thursday, 22 February 2024 at 5:14 PM
> > To: users@cloudstack.apache.org <mailto:users@cloudstack.apache.org> 
> > mailto:users@cloudstack.apache.org>>
> > Subject: CKS Storage Provisioner Info
> > Hi All,
> >
> > As working with the CKS service I had a query regarding with the K8s 
> > storage provisioner.
> > Which provisioner I can use for the shared and unshared PVC in the CKS 
> > service.
> > Please su

Re: CKS Storage Provisioner Info

2024-02-22 Thread Vivek Kumar
Hello Bharat,

Yes, the link provided by Kiran works well for PVC but only one caveat that it 
only works if your cluster is deployed under ROOT domain.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 22-Feb-2024, at 5:21 PM, Kiran Chavala  wrote:
> 
> Hi Bharat
> 
> You can try the following CSI driver
> 
> https://github.com/Leaseweb/cloudstack-csi-driver
> https://github.com/apalia/cloudstack-csi-driver
> 
> Regards
> Kiran
> 
> From: Bharat Bhushan Saini 
> Date: Thursday, 22 February 2024 at 5:14 PM
> To: users@cloudstack.apache.org 
> Subject: CKS Storage Provisioner Info
> Hi All,
> 
> As working with the CKS service I had a query regarding with the K8s storage 
> provisioner.
> Which provisioner I can use for the shared and unshared PVC in the CKS 
> service.
> Please support in this, it will be great help for me.
> 
> Thanks and Regards,
> Bharat Saini
> 
> [signature_1218208545]
> 
> --- 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.
> 
> 
> 


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


Re: K8s Dashboard Not Found

2024-02-19 Thread Vivek Kumar
Can you share me the URL which you are hitting on the browser ?


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 20-Feb-2024, at 12:12 PM, Bharat Bhushan Saini 
>  wrote:
> 
> Hi Vivek,
>  
> I am trying to access the dashboard from kubectl proxy.
>  
> Thanks and Regards,
> Bharat Saini
>  
> 
>  
> From: Vivek Kumar via users  <mailto:users@cloudstack.apache.org>>
> Date: Tuesday, 20 February 2024 at 12:08 PM
> To: users@cloudstack.apache.org <mailto:users@cloudstack.apache.org> 
> mailto:users@cloudstack.apache.org>>
> Subject: Re: K8s Dashboard Not Found
> 
> EXTERNAL EMAIL: Please verify the sender email address before taking any 
> action, replying, clicking any link or opening any attachment.
> 
> 
> Hello Bharat,
> 
> How are you accessing the dashboard ?  Using the kubeclt proxy ?
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
> 
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
> <mailto:vivek.ku...@indiqus.com>
> www.indiqus.com <http://www.indiqus.com/> <https://www.indiqus.com/>
> 
> 
> 
> 
> > On 20-Feb-2024, at 12:00 PM, Bharat Bhushan Saini 
> >  > <mailto:bharat.sa...@kloudspot.com.INVALID>> wrote:
> >
> > Hi All,
> >
> > I enabled the CKS service in the cloudstack dashboard. After all the things 
> > done I am unable to access the K8s dashboard.
> > I encountered in the browser that ‘services “Kubernetes-dashboard” not 
> > found’.
> >
> > Kindly suggest any resolvement for this.
> >
> > Thanks and Regards,
> > Bharat Saini
> >
> >
> > --- 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.
> >
> 
> 
> --
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain confidential and/or privileged
> information. If you are not the intended recipient, please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result of
> viruses.
> --- 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.
> 


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


Re: K8s Dashboard Not Found

2024-02-19 Thread Vivek Kumar via users
Hello Bharat, 

How are you accessing the dashboard ?  Using the kubeclt proxy ? 

Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 20-Feb-2024, at 12:00 PM, Bharat Bhushan Saini 
>  wrote:
> 
> Hi All,
> 
> I enabled the CKS service in the cloudstack dashboard. After all the things 
> done I am unable to access the K8s dashboard.
> I encountered in the browser that ‘services “Kubernetes-dashboard” not found’.
> 
> Kindly suggest any resolvement for this.
>  
> Thanks and Regards,
> Bharat Saini
>  
> 
> --- 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.
> 


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


Re: [VOTE] next version 20 instead of 4.20

2024-02-19 Thread Vivek Kumar
Why not 5.0 ? Then it will be like 5.1, 5.2 in the future.  Just asking ..!  


> On 19-Feb-2024, at 10:49 PM, Paul Angus  wrote:
> 
> Hi Daan,
> 
> Can you clarify what we are actually voting on please.
> 
> In thread that is linked I've seen:
> 
> "[the vote] will be to adjust to the semantic versioning system."
> - you can't go to 20 AND keep semantic versioning. The act of going to 20 
> breaks semantic versioning [1].
> 
> " drop the 4 at version 20 and continue as usual with minor and patch level 
> updates as we have in the past."
> - what's supposed to come next ? in lieu of what would have been 4.21 will it 
> be 21 ?  is it going to be 20.1 then 20.2 ?
> 
> From the thread and how people are referring to 'minor versions', there is a 
> misunderstanding as to what semantic versioning means. For our project its 
> explained here [1].   Major versions meaning "probably going to break a load 
> of people's stuff', with minor versions not breaking stuff (at least not on 
> purpose). So I get calling them minor versions really underplays the changes 
> it can hold.
> 
> 
> I'm going to stick in a -1.  Not as hard 'no' to any changes, but I think the 
> vote should be on 'A change to the version numbering scheme' and then what is 
> proposed properly laid out.  
> 
> 
> 
> 
> [1]   https://cwiki.apache.org/confluence/display/CLOUDSTACK/Releases 
> (section on versioning about 2/3 down)
> 
> -Original Message-
> From: Daan Hoogland  
> Sent: Monday, February 19, 2024 12:50 PM
> To: dev 
> Cc: users 
> Subject: [VOTE] next version 20 instead of 4.20
> 
> LS,
> 
> This is a vote on dev@c.a.o with cc to users@c.a.o. If you want to be counted 
> please reply to dev@.
> 
> As discussed in [1] we are deciding to drop the 4 from our versioning scheme. 
> The result would be that the next major version will be 20 instead of 4.20, 
> as it would be in a traditional upgrade. As 20 > 4 and the versions are 
> processed numerically there are no technical impediments.
> 
> +1 agree (next major version as 20
> 0 (no opinion)
> -1 disagree (keep 4.20 as the next version, give a reason)
> 
> As this is a lazy consensus vote any -1 should be accompanied with a reason.
> 
> [1] https://lists.apache.org/thread/lh45w55c3jmhm7w2w0xgdvlw78pd4p87
> 
> --
> Daan


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


Error while migrating the instanes

2024-02-15 Thread Vivek Kumar
Hello,

I have just deployed a new ACS 4.18.1 with KVM ( Ubuntu 22 ). I have 5 hosts in 
a cluster but only on 2 hosts migration is working, on another 3 it’s not 
working. Logs says below -

2024-02-15 12:34:09,831 ERROR [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-11:ctx-28d97c02 job-53/job-54 ctx-779439d6) (logid:0d5e6412) 
Invocation exception, caused by: 
com.cloud.utils.exception.CloudRuntimeException: Exception during migrate: 
org.libvirt.LibvirtException: Invalid value '0-87' for 'cpuset.cpus': Invalid 
argument
2024-02-15 12:34:09,831 INFO  [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-11:ctx-28d97c02 job-53/job-54 ctx-779439d6) (logid:0d5e6412) 
Rethrow exception com.cloud.utils.exception.CloudRuntimeException: Exception 
during migrate: org.libvirt.LibvirtException: Invalid value '0-87' for 
'cpuset.cpus': Invalid argument
2024-02-15 12:34:09,831 DEBUG [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-11:ctx-28d97c02 job-53/job-54) (logid:0d5e6412) Done with 
run of VM work job: com.cloud.vm.VmWorkMigrate for VM 5, job origin: 53
2024-02-15 12:34:09,831 ERROR [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-11:ctx-28d97c02 job-53/job-54) (logid:0d5e6412) Unable to 
complete AsyncJobVO: {id:54, userId: 2, accountId: 2, instanceType: null, 
instanceId: null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: 
rO0ABXNyABpjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZRdxQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABmhvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9MamF2YS91dGlsL01hcDtMAAZ6b25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAACAAIABXQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAXNyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAXNxAH4ABwAGcQB-AAlwcQB-AAk,
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 12079656927289, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: Thu Feb 15 12:34:07 UTC 2024, removed: null}, job 
origin:53
com.cloud.utils.exception.CloudRuntimeException: Exception during migrate: 
org.libvirt.LibvirtException: Invalid value '0-87' for 'cpuset.cpus': Invalid 
argument
at 
com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:2795)
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:2659)
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:5439)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
at 
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5536)
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 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:568)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
2024-02-15 12:34:09,837 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Work-Job-Executor-11:ctx-28d97c02 job-53/job-54) (logid:0d5e6412) Complete 
async job-54, jobStatus: FAILED, resultCode: 0, result: rO0ABXNy


All the hypvervisor nodes are simmer, and installed agent and setup using the 
automations script. Any suggestion what to look at ?







Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:v

Re: VM Login Issue

2024-01-30 Thread Vivek Kumar
Hello Bharat,

Looks like you are trying to access the system VM using wrong key - in you 
message it says no such file or directory, and the key name is -  id_rsa.cloud


1- First find the correct ssh key - 

# find / -name id_rsa.cloud

It should give you the key location, make sure it has 400 permission, 

2- Then run the command 

ssh -I  -p 3922 root@169.254.168.209


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 30-Jan-2024, at 6:06 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.
>> 


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


Re: KVM systemvms not responding

2024-01-30 Thread Vivek Kumar
Hello,

Have you tried the way which “Wei" has suggested, Login to KVM host where your 
system VMs are running and run 

1- # virsh list

And the connect your system VM via 

2- # virsh console 

Once you login using default username password, check the /var/log/cloud.log, 
it will probably give you the error.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 30-Jan-2024, at 4:32 PM, Francisco Arencibia Quesada 
>  wrote:
> 
> hi again :)
> I cannot access the machines, is there a way to force manually the download
> of KVM systemvms templates?
> 
> Regards
> 
> 
> On Tue, Jan 30, 2024 at 9:27 AM Wei ZHOU  wrote:
> 
>> Probably not an issue with initramfs.
>> 
>> On the kvm host, you can use "virsh console "  or the following
>> command to log into the system vms and check /var/log/cloud.log to see
>> what's wrong.
>> 
>> ssh -i /root/.ssh/id_rsa.cloud -p 3922 169.254.x.y
>> 
>> -Wei
>> 
>> On Tue, 30 Jan 2024 at 09:23, Francisco Arencibia Quesada <
>> arencibia.franci...@gmail.com> wrote:
>> 
>>> Good morning guys,
>>> 
>>> SystemVMs looks like Up, but the agent status is not green. It seems that
>>> SystemsVMs are giving initramfs error, they are not booting, is it
>> possible
>>> they could be corrupt from origin? We are using cloudstack 4.18.1.0
>>> 
>>> Kind regards
>>> Thank you in advance for your valuable help
>>> 
>>> --
>>> *Francisco Arencibia Quesada.*
>>> *DevOps Engineer*
>>> 
>> 
> 
> 
> -- 
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*


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


Re: View free shared network IP addresses

2024-01-04 Thread Vivek Kumar
You can use DB to fetch the information, fetch the  data from
user_ip_address.


Vivek Kumar

Sr. Manager - Cloud & DevOps

TechOps | Indiqus Technologies
+ 91 7503460090 <++91+7503460090>
vivek.ku...@indiqus.com
www.indiqus.com



On Fri, Jan 5, 2024 at 2:42 AM Fariborz Navidan 
wrote:

> Hello,
>
> In CS 4.15, is there any way to view free public/shared IP addresses?
>
> Regards.
>

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


Re: Host showing as unsecure

2023-12-19 Thread Vivek Kumar
What OS are you using, ! I faced once with ubuntu 22  where it was showing me 
same,  it was due to the the entry in /etc/default/libvirtd file.

It should be LIBVIRTD_ARGS="—listen” rather then libvirtd_opts="-l"


Then restart the libvirtd services, 


Just verify it. 

Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 19-Dec-2023, at 9:43 PM, Brian Fossmeyer 
>  wrote:
> 
> CloudStack 4.18.1.0
> 
> 
> Thanks,
> 
> Brian
> 
> From: Wei ZHOU 
> Date: Tuesday, December 19, 2023 at 11:10 AM
> To: users@cloudstack.apache.org 
> Subject: Re: Host showing as unsecure
> Warning: This message is the first you've received from this sender 
> ustcweizhou @ gmail.com. Please click the Report Suspicious Email button if 
> you believe this email is not legitimate.
> 
> Which cloudstack version do you use ?
> 
> -Wei
> 
> On Tue, 19 Dec 2023 at 16:08, Brian Fossmeyer
> wrote:
> 
>> Thank you, I tried this several times and it has not helped. Is there
>> anything else I could try?
>> 
>> Thanks,
>> 
>> Brian
>> 
>> From: Vivek Kumar
>> Date: Tuesday, December 19, 2023 at 8:33 AM
>> To: users@cloudstack.apache.org
>> Subject: Re: Host showing as unsecure
>> Warning: This message is the first you've received from this sender
>> vivek.kumar @ indiqus.com.INVALID. Please click the Report Suspicious Email
>> button if you believe this email is not legitimate.
>> 
>> Hello Brian,
>> 
>> You can re provision the certificates,
>> 
>> Click on host and click on second options “Provision host security keys” -
>> it will re-create the certificate.
>> 
>> 
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> TechOps | Indiqus Technologies
>> 
>> vivek.ku...@indiqus.com
>> www.indiqus.com
>> 
>> 
>> 
>> 
>>> On 19-Dec-2023, at 6:57 PM, Brian Fossmeyer wrote:
>>> 
>>> Hello,
>>> 
>>> Are there any specific items I could check for a host that shows
>> unsecure but connected? I have restarted the agent and management service
>> removed and rejoined, disconnected and reconnected the host and it still
>> says unsecure. It was a secure host in our previous build of the system.
>> This is the third build of our entire system and the previous two times it
>> was green and secure. I am not sure what is different this time.
>>> 
>>> Thanks,
>>> Brian
>>> 
>>> 
>>> Thanks,
>>> 
>>> Brian
>>> 
>>> Brian Fossmeyer
>>> Senior Systems Engineer, Technology
>>> 
>>> [Answers in Genesis] [Creation Museum] [Ark Encounter]
>> 
>> 
>> --
>> This message is intended only for the use of the individual or entity to
>> which it is addressed and may contain confidential and/or privileged
>> information. If you are not the intended recipient, please delete the
>> original message and any copy of it from your computer system. You are
>> hereby notified that any dissemination, distribution or copying of this
>> communication is strictly prohibited unless proper authorization has been
>> obtained for such action. If you have received this communication in error,
>> please notify the sender immediately. Although IndiQus attempts to sweep
>> e-mail and attachments for viruses, it does not guarantee that both are
>> virus-free and accepts no liability for any damage sustained as a result of
>> viruses.
>> 


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


Re: Host showing as unsecure

2023-12-19 Thread Vivek Kumar
Hello Brian,

You can re provision the certificates, 

Click on host and click on second options “Provision host security keys” - it 
will re-create the certificate.




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 19-Dec-2023, at 6:57 PM, Brian Fossmeyer 
>  wrote:
> 
> Hello,
> 
> Are there any specific items I could check for a host that shows unsecure but 
> connected? I have restarted the agent and management service removed and 
> rejoined, disconnected and reconnected the host and it still says unsecure. 
> It was a secure host in our previous build of the system. This is the third 
> build of our entire system and the previous two times it was green and 
> secure. I am not sure what is different this time.
> 
> Thanks,
> Brian
> 
> 
> Thanks,
> 
> Brian
> 
> Brian Fossmeyer
> Senior Systems Engineer, Technology
> 
> [Answers in Genesis]<https://answersingenesis.org/> [Creation Museum] 
> <https://creationmuseum.org/>  [Ark Encounter] <https://arkencounter.com/>


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


Not able to deploy VMs | ACS 4.17.2 | VMware 7

2023-11-27 Thread Vivek Kumar
.Socket.connect(Socket.java:558)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:508)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:603)
at 
java.base/sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:266)
at 
java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:373)
at 
java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:207)
at 
java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1232)
at 
java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
at 
java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:193)
at 
java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1367)
at 
java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1342)
at 
java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:246)
    at 
com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:89)
... 31 more



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>





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


Re: Stopped Instances Can’t Start Back Up

2023-07-29 Thread Vivek Kumar
Hello Carlo, 

When you create VM from Cloudstack, it create disks, network and everything and 
it uses the DB to store all those details, So whenever you start the VM it use 
all the DB entries and try to power on..! So if you want to see the actual disk 
name, and other details which is mapped to your hypervisor, 

Login to DB -

1- Check the vm_instance table for VM details.
2- Check the volumes tables for disk related info. (In the volume table - check 
the path and chain_info - You will see the exact details there)


So, it’s cloudstack behaviour that it maps the disk name i.e by UUID.vmdk or 
root_disk.vmdk. You can find the details in volume table.







Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 29-Jul-2023, at 2:27 AM, Carlo Fernandez  wrote:
> 
> Hello,
> 
> I’ve figured out that the disk for the VM that won’t start is named ROOT-37 
> on CloudStack, but it is definitely not named that in vCenter.
> 
> I spun up a VM using the built-in CentOS template, and the root disk was 
> indeed named ROOT-36 on both CloudStack and vCenter. I can stop and start 
> that instance without any issues.
> 
> Furthermore, I notice that when I shut down the VM that won’t start, its 
> network adapter and disk are removed. I also notice that there is an ISO 
> attached to the VM on vCenter, but the attached ISO is NOT the install ISO 
> for the OS.
> 
> If I remove this ISO, and manually re-attach the disk and NIC, the VM will 
> boot back into the OS without issues, and CloudStack will see this and update 
> the VM’s status accordingly. The VNC console continues to work after manually 
> reconfiguring and restarting the VM.
> 
> My guess is that the VM can’t start after being shut down via the CS GUI 
> because when it wants to find the disk again, it can’t find it as it is not 
> named as CS would have expected it to be. This is the conclusion I’ve come to 
> after testing.
> 
> Does anybody have any other guesses/advice? I’ve no idea why vCenter is not 
> naming the disk properly, or if it should even matter. Either way, CloudStack 
> is kind of unusable in this state.
> 
> As I am completely green to CS and the documentation/forums have not provided 
> any clues, I’ve got no idea where to start looking to resolve this issue. Any 
> help or advice would be highly appreciated!
> 
> Regards,
> 
> Carlo Fernandez.
> 
> From: Carlo Fernandez 
> Date: Friday, July 28, 2023 at 3:33 AM
> To: users@cloudstack.apache.org 
> Subject: Re: Stopped Instances Can’t Start Back Up
> Hi Vivek,
> 
> The VM did have an ISO attached for the initial install as the goal is to 
> create a template, but I removed it once the install was complete.
> 
> I only shut the VM down after the OS had been fully installed.
> 
> I confirmed that the ISO was not attached both in the CS GUI and vCenter.
> 
> I could try re-attaching the ISO?
> 
> Regards,
> 
> Carlo.
> 
>> On Jul 28, 2023, at 3:27 AM, Vivek Kumar  
>> wrote:
>> 
>> Do you have ISO attached to this VM ? If yes then can you try to unmount 
>> the ISO from cloudstack GUI and then try to power on ?
>> 
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> TechOps | Indiqus Technologies
>> 
>> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
>>   www.indiqus.com<http://www.indiqus.com> <https://www.indiqus.com/>
>> 
>> 
>> 
>> 
>>> On 28-Jul-2023, at 3:49 PM, Carlo Fernandez  wrote:
>>> 
>>> Hi Vivek,
>>> 
>>> Strange. My client shows they’re attached.
>>> 
>>> I’ve re-attached them.
>>> 
>>> Thank you again in advance!
>>> 
>>> Regards,
>>> 
>>> Carlo.
>>> 
>>> 
>>> On Jul 28, 2023, at 3:11 AM, Vivek Kumar >> <mailto:vivek.ku...@indiqus.com.invalid>> wrote:
>>> 
>>> I don’t see any logs attached to this mail,
>>> 
>>> 
>>> Vivek Kumar
>>> Sr. Manager - Cloud & DevOps
>>> TechOps | Indiqus Technologies
>>> 
>>> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
>>> <mailto:vivek.ku...@indiqus.com>
>>>  www.indiqus.com<http://www.indiqus.com> <http://www.indiqus.com/> 
>>> <https://www.indiqus.com/>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On 28-Jul-2023, at 1:04 PM, Carlo Fernandez >> <mailto:cfernan...@alatar.co>> wrote:
>>> 
>>> Hi,
>>

Re: Stopped Instances Can’t Start Back Up

2023-07-28 Thread Vivek Kumar
Do you have ISO attached to this VM ? If yes then can you try to unmount the 
ISO from cloudstack GUI and then try to power on ?



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 28-Jul-2023, at 3:49 PM, Carlo Fernandez  wrote:
> 
> Hi Vivek,
>  
> Strange. My client shows they’re attached.
>  
> I’ve re-attached them.
>  
> Thank you again in advance!
>  
> Regards,
> 
> Carlo.
> 
> 
> On Jul 28, 2023, at 3:11 AM, Vivek Kumar  <mailto:vivek.ku...@indiqus.com.invalid>> wrote:
> 
> I don’t see any logs attached to this mail, 
> 
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
> 
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
> <mailto:vivek.ku...@indiqus.com>
>www.indiqus.com <http://www.indiqus.com/> <https://www.indiqus.com/>
> 
> 
> 
> 
> 
> On 28-Jul-2023, at 1:04 PM, Carlo Fernandez  <mailto:cfernan...@alatar.co>> wrote:
>  
> Hi,
>  
> My apologies, forgot to include the logs.
>  
> Attached.
>  
> Regards,
>  
> Carlo Fernandez
>  
> From: Carlo Fernandez  <mailto:cfernan...@alatar.co><mailto:cfernan...@alatar.co>>
> Date: Friday, July 28, 2023 at 12:32 AM
> To: users@cloudstack.apache.org 
> <mailto:users@cloudstack.apache.org><mailto:users@cloudstack.apache.org> 
>  <mailto:users@cloudstack.apache.org><mailto:users@cloudstack.apache.org>>
> Subject: Re: Stopped Instances Can’t Start Back Up
>  
> Hi Vivek,
>  
> Thanks for your prompt response!
>  
> The error the GUI shows is “VM-799f45df-2e11-41ca-b866-445c3e7101ce) Unable 
> to start a VM [799f45df-2e11-41ca-b866-445c3e7101ce] due to [Unable to create 
> a deployment for VM instance 
> {"id":35,"instanceName":"i-2-35-VM","type":"User","uuid":"799f45df-2e11-41ca-b866-445c3e7101ce"}].”
>  
> This is exactly what is shown in the logs. vCenter also shows a log saying “ 
> Invalid configuration for device '1'.” Which also shows up in the logs.
>  
> I am running CloudStack 4.18.0.0 on Ubuntu 22.04 Jammy btw.
>  
> I have also attached a document with the snippet of logs that show the error.
>  
> Thanks again for your advice and help!
>  
> Thanks,
>  
> Carlo Fernandez.
>  
> From: Vivek Kumar  <mailto:vivek.ku...@indiqus.com.INVALID><mailto:vivek.ku...@indiqus.com.INVALID>>
> Date: Thursday, July 27, 2023 at 11:41 PM
> To: users@cloudstack.apache.org 
> <mailto:users@cloudstack.apache.org><mailto:users@cloudstack.apache.org> 
>  <mailto:users@cloudstack.apache.org><mailto:users@cloudstack.apache.org>>
> Subject: Re: Stopped Instances Can’t Start Back Up
> Hello,
>  
> What are you observing in the logs, logs may tell you the exact reason. Paste 
> your logs here at the time when you start the instance, then we might be able 
> to find the cause.
>  
>  
>  
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
>  
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
> <mailto:vivek.ku...@indiqus.com> <mailto:vivek.ku...@indiqus.com>
>www.indiqus.com <http://www.indiqus.com/> 
> <http://www.indiqus.com/><http://www.indiqus.com <http://www.indiqus.com/> 
> <http://www.indiqus.com/>> <https://www.indiqus.com/>
>  
>  
>  
>  
> On 28-Jul-2023, at 12:07 PM, Carlo Fernandez  <mailto:cfernan...@alatar.co> <mailto:cfernan...@alatar.co>> wrote:
>  
> Hi Guys,
>  
> I've deployed CloudStack on a vSphere cluster (2 hosts running 7.0.3, vCenter 
> 7.0.3).
>  
> I can deploy instances without issues. However, I've thus far been unable to 
> start any instance I stop back up.
>  
> On vCenter, I can see that once I try to start the instance back up, its root 
> hard disk disappears. I can re-attach it manually but trying to start it back 
> up from the CS GUI just makes it disappear again.
>  
> I have configured both local and remote storage (NFS, TrueNAS) for primary 
> storage, and I have remote storage for secondary storage. Both have plenty of 
> room for the VM.
>  
> Please let me know what kind of logs you will need to provide assistance; I'm 
> new to CS so I'm not sure exactly where to go looking.
>  
>  
> I appreciate your help!
>  
>  
> Thanks,
> Carlo Fernandez
>  
>  
> --
> This message is intended only for the use of the individual or entity t

Re: Stopped Instances Can’t Start Back Up

2023-07-28 Thread Vivek Kumar
I don’t see any logs attached to this mail, 


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 28-Jul-2023, at 1:04 PM, Carlo Fernandez  wrote:
> 
> Hi,
>  
> My apologies, forgot to include the logs.
>  
> Attached.
>  
> Regards,
>  
> Carlo Fernandez
>  
> From: Carlo Fernandez mailto:cfernan...@alatar.co>>
> Date: Friday, July 28, 2023 at 12:32 AM
> To: users@cloudstack.apache.org <mailto:users@cloudstack.apache.org> 
> mailto:users@cloudstack.apache.org>>
> Subject: Re: Stopped Instances Can’t Start Back Up
> 
> Hi Vivek,
> 
> Thanks for your prompt response!
> 
> The error the GUI shows is “VM-799f45df-2e11-41ca-b866-445c3e7101ce) Unable 
> to start a VM [799f45df-2e11-41ca-b866-445c3e7101ce] due to [Unable to create 
> a deployment for VM instance 
> {"id":35,"instanceName":"i-2-35-VM","type":"User","uuid":"799f45df-2e11-41ca-b866-445c3e7101ce"}].”
> 
> This is exactly what is shown in the logs. vCenter also shows a log saying “ 
> Invalid configuration for device '1'.” Which also shows up in the logs.
> 
> I am running CloudStack 4.18.0.0 on Ubuntu 22.04 Jammy btw.
> 
> I have also attached a document with the snippet of logs that show the error.
> 
> Thanks again for your advice and help!
> 
> Thanks,
> 
> Carlo Fernandez.
> 
> From: Vivek Kumar  <mailto:vivek.ku...@indiqus.com.INVALID>>
> Date: Thursday, July 27, 2023 at 11:41 PM
> To: users@cloudstack.apache.org <mailto:users@cloudstack.apache.org> 
> mailto:users@cloudstack.apache.org>>
> Subject: Re: Stopped Instances Can’t Start Back Up
> Hello,
> 
> What are you observing in the logs, logs may tell you the exact reason. Paste 
> your logs here at the time when you start the instance, then we might be able 
> to find the cause.
> 
> 
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
> 
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
> <mailto:vivek.ku...@indiqus.com>
> www.indiqus.com <http://www.indiqus.com/><http://www.indiqus.com 
> <http://www.indiqus.com/>> <https://www.indiqus.com/>
> 
> 
> 
> 
> > On 28-Jul-2023, at 12:07 PM, Carlo Fernandez  > <mailto:cfernan...@alatar.co>> wrote:
> >
> > Hi Guys,
> >
> > I've deployed CloudStack on a vSphere cluster (2 hosts running 7.0.3, 
> > vCenter 7.0.3).
> >
> > I can deploy instances without issues. However, I've thus far been unable 
> > to start any instance I stop back up.
> >
> > On vCenter, I can see that once I try to start the instance back up, its 
> > root hard disk disappears. I can re-attach it manually but trying to start 
> > it back up from the CS GUI just makes it disappear again.
> >
> > I have configured both local and remote storage (NFS, TrueNAS) for primary 
> > storage, and I have remote storage for secondary storage. Both have plenty 
> > of room for the VM.
> >
> > Please let me know what kind of logs you will need to provide assistance; 
> > I'm new to CS so I'm not sure exactly where to go looking.
> >
> >
> > I appreciate your help!
> >
> >
> > Thanks,
> > Carlo Fernandez
> 
> 
> --
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain confidential and/or privileged
> information. If you are not the intended recipient, please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result of
> viruses.


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


Re: Stopped Instances Can’t Start Back Up

2023-07-28 Thread Vivek Kumar
Hello,

What are you observing in the logs, logs may tell you the exact reason. Paste 
your logs here at the time when you start the instance, then we might be able 
to find the cause.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 28-Jul-2023, at 12:07 PM, Carlo Fernandez  wrote:
> 
> Hi Guys,
> 
> I've deployed CloudStack on a vSphere cluster (2 hosts running 7.0.3, vCenter 
> 7.0.3).
> 
> I can deploy instances without issues. However, I've thus far been unable to 
> start any instance I stop back up.
> 
> On vCenter, I can see that once I try to start the instance back up, its root 
> hard disk disappears. I can re-attach it manually but trying to start it back 
> up from the CS GUI just makes it disappear again.
> 
> I have configured both local and remote storage (NFS, TrueNAS) for primary 
> storage, and I have remote storage for secondary storage. Both have plenty of 
> room for the VM.
> 
> Please let me know what kind of logs you will need to provide assistance; I'm 
> new to CS so I'm not sure exactly where to go looking.
> 
> 
> I appreciate your help!
> 
> 
> Thanks,
> Carlo Fernandez


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


Documentation regarding tungsten integration | 4.18

2023-07-21 Thread Vivek Kumar
Hello Folks.!

I am planning to setup a lab for CloudStack & TF Integration. However, failed 
to get a TF Installation guide where I can get the specific pre-requisites and 
installation method for CloudStack, all the available documents refer to 
different OpenStack versions/vCenter etc..

Can someone help me to get the proper documentation  for deploying it from 
stretch. 


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>





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


Re: ACS with vmware hypervisors

2023-07-11 Thread Vivek Kumar
Yes, that’s odd because in my existing setup I am also running two pod i.e KVM 
and VMware under a same zone. It gives me options, I am sorry if I am repeating 
myself but are you selecting the correct zone/pod/cluster/scope while adding 
the primary storage. You may also want to try with inspect element to see what 
api command it is sending when you click on add primary storage, 

You can also try with API to add the storage and see.




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 11-Jul-2023, at 1:46 PM, Gary Dixon  
> wrote:
> 
> Hi Vivek
> 
> We currently have one Adv Zone that was originally setup with KVM hosts and 
> we are trying to add a new VMware cluster to an existing Pod. We have added 
> the relevant traffic labels to the VMWare sections on the physical adapters 
> on the Zone and added the VMware cluster but then when trying to add the 
> Datastore Cluster as new Primary storage we are not seeing the 'PreSetup' , 
> 'VMFS' or 'DataCluster' options in the add primary storage wizard - its 
> really odd.
> 
> We set the vmware.management.portgroup global setting to "Management Network" 
> and have split the ACS traffic types into 3 VLAN's (the same way we have for 
> the KVM hosts) and created vmware vswitches called cloudbr0 (mgmt., sec 
> storage), cloudbr1 (guest) and cloudbr2 (public) and added these vswitch 
> names as the relevant traffic labels on the correct physical adapters in ACS.
> 
> We use the vcenter full administrator account when adding to Vsphere 
> datacenter to ACS and are using the eval license in vcenter - which is meant 
> to be fully functional for a short period.
> 
> Any assistance in resolving this would greatly be appreciated
> 
> 
> BR
> 
> Gary
> 
> Gary Dixon​
> Senior Technical Consultant
> T:  +44 161 537 4990
> E:  v ms@quadris‑support.com
> W: www.quadris.co.uk
> 
> The information contained in this e-mail from Quadris may be confidential and 
> privileged for the private use of the named recipient.  The contents of this 
> e-mail may not necessarily represent the official views of Quadris.  If you 
> have received this information in error you must not copy, distribute or take 
> any action or reliance on its contents.  Please destroy any hard copies and 
> delete this message.
> -Original Message-
> From: Vivek Kumar 
> Sent: Monday, July 10, 2023 5:45 PM
> To: users@cloudstack.apache.org
> Subject: Re: ACS with vmware hypervisors
> 
> Did you choose right zone/pod/cluster, because I am also using 4.15.2 and 
> it’s giving me option PreSetup, do you have option called - vmfs ?
> 
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
> 
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
> http://www.indiqus.com/ <https://www.indiqus.com/>
> 
> 
> 
> 
> > On 10-Jul-2023, at 3:34 PM, Gary Dixon  
> > wrote:
> >
> > Hi Jithin
> >
> > This is the odd thing - when we try and add the vcenter datastore to ACS as 
> > Primary storage - we do not have the 'preSetup' protocol option in the "add 
> > primary storage" UI ?
> >
> >
> > Gary Dixon​
> > Senior Technical Consultant
> > T: +44 161 537 4990
> > E: v ms@quadris‑support.com
> > W:
> > http://www.q/
> > uadris.co.uk%2F=05%7C01%7CGary.Dixon%40quadris.co.uk%7Cd2644af9a4
> > 524ceecad408db81650536%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63
> > 8246043116409605%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
> > 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=VLMK7Hji4a
> > 8DH5MK0qurmLivru2LFr9e%2F%2BnOTm66jhU%3D=0
> >
> > The information contained in this e-mail from Quadris may be confidential 
> > and privileged for the private use of the named recipient. The contents of 
> > this e-mail may not necessarily represent the official views of Quadris. If 
> > you have received this information in error you must not copy, distribute 
> > or take any action or reliance on its contents. Please destroy any hard 
> > copies and delete this message.
> > -Original Message-
> > From: Jithin Raju 
> > Sent: Monday, July 10, 2023 10:54 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: ACS with vmware hypervisors
> >
> > Hi Gary,
> >
> > I am unable to tell the cause of the VM deployment failures with the log 
> > snippets below.
> > Could you try adding the storage as a datastore in vCenter and add it to 
> > CloudStack as ‘presetup’ ?
>

Re: ACS with vmware hypervisors

2023-07-11 Thread Vivek Kumar
Hello Martin,

What is the ACS/VMware version, what’s the status of your system VMs/Hosts. You 
may want to upload full logs for the event, because you must have got the cause 
little more above in the log file.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 07-Jul-2023, at 8:04 PM, Martin Yardley 
>  wrote:
> 
> Hi,
> 
> I was wondering if anyone has any experience with ACS and vmware ESXi as the 
> hypervisor?  I'm facing a problem when trying to deploy a new/fresh instance.
> 
> I've deployed a vCenter appliance, created a data centre, cluster(s) and the 
> hosts have all been added to ACS.  When I attempt to deploy a fresh instance 
> to the vmware cluster/hosts to build the OS from an ISO, the following errors 
> are displayed/logged:
> 
> UI Error: 
> 
> Unable to create a deployment for VM[User|i-2-3207-VM]
> 
> Management Log:
> 
> ..about 1/2 way into the error " at 
> com.sun.proxy.$Proxy181.startVirtualMachine(Unknown Source)" is logged.
> 
> 023-07-07 14:10:49,189 INFO  [o.a.c.a.c.u.v.StartVMCmd] 
> (API-Job-Executor-13:ctx-36699a50 job-42701 ctx-a057c849) (logid:96c5f242) 
> Unable to create a deployment for VM[User|i-2-3207-VM]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
> deployment for VM[User|i-2-3207-VM]Scope=interface com.cloud.dc.DataCenter; 
> id=1
>at 
> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:225)
>at 
> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:202)
>at 
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4937)
>at 
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2897)
>at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
>at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
>at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>at 
> org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
>at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
>at 
> com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
>at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
>at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
>at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
>at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
>at com.sun.proxy.$Proxy181.startVirtualMachine(Unknown Source)
>at 
> org.apache.cloudstack.api.command.user.vm.StartVMCmd.execute(StartVMCmd.java:169)
>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156)
>at 
> com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
>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 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
>at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
>at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
>at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:568)
>at 
> java.base/java.util.concurrent.Executors$Runnable

Re: Write Speeds

2023-07-10 Thread Vivek Kumar
Did you check on network QoS on VR as well if there is any .! 


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 10-Jul-2023, at 9:34 PM, Granwille Strauss  wrote:
> 
> Hi Levin
> 
> I skipped all the VM testing and tested iperf straight from the KVM host to 
> determine a base line to the remote USA VM machine:
> 
> - KVM to Remote USA VM: 113 Mbits/sec
> - USA VM to KVM Host: 35.9 Mbits/sec
> 
> I then ran the same test again, this this time the remote host was in a DC 
> that's close to our DC  in the same country that we use:
> 
> - KVM to remote host: 409 Mbits/sec
> - Remote host to KVM: 477 Mbits/sec
> 
> So do you think its safe to conclude that somewhere traffic from the USA VM 
> to the local KVM host gets throttled? Based on the results above, the 
> throttling doesn't seems to be in from ISPs inside our country. 
> 
> So yeah, somewhere some ISP is throttling during the USA routes. 
> 
> On 7/10/23 15:56, Levin Ng wrote:
>> Hi Groete,
>> 
>> I’m not sure what is your network setting in ACS, but test between two 
>> public IP with ~500Mbps  sound like u are saturated by in/out bound traffics 
>> in the single network path, can you do a test from outside ACS to your VM 
>> using an same public network segment IP, it will avoid network routing and 
>> confusion., what is your ACS network driver using? If vxlan, better check 
>> with network switch multicast performance.
>> 
>> The remote performances clearly shown the ISP put some limit on the line, 
>> you have to check with them. Unless your line is end-to-end, Metro-Ethernet 
>> etc… otherwise it is not always have guarantee throughput.
>> 
>> 
>> On the disk performance, should you share your fio test command and result 
>> beforehand. I’m assuming you are doing something like
>> 
>> fio -filename=./testfile.bin -direct=1 -iodepth 8 -thread -rw=randrw 
>> -rwmixread=50 -ioengine=psync -bs=4k -size=1000M -numjobs=30 -runtime=600 
>> -group_reporting -name=mytest
>> 
>> 
>> Regards,
>> Levin
>> On 10 Jul 2023 at 11:33 +0100, Granwille Strauss  
>> <mailto:granwi...@namhost.com>, wrote:
>>> Hi Guys
>>> Thank you, I have been running more tests now with the feedback you guys 
>>> gave. Firstly, I want to break this up into two sections:
>>> 1. Network:
>>> - So I have been running iperf tests between my VMs on their public 
>>> network, and my iperf tests gives me speeds of ~500 Mbps, keep in mind this 
>>> in between two local VMs on the same KVM but on public network.
>>> - I then run iperf tests in and out from my local VMs to remote servers, 
>>> this is where it does funny things. From the remote VM in USA, I run an 
>>> iperf test to my local VM, the speeds show ~50 Mbps. And if I run a test 
>>> from my local VM to a remote USA VM the same ~50 Mbps speeds are 
>>> accomplished. I ran my iperf tests with 1 GB and 2GB flags and the results 
>>> remain constant
>>> - During all these test I kept an eye on my VR resources, which use default 
>>> service offerings, it never spiked or reach thresholds.
>>> Is it safe to assume that because of the MASSIVE distance between the 
>>> remote VM and my local VMs, the speed dropping to ~50 Mbps is normal? Keep 
>>> in mind the remote VM has 1 Gbps line too and this VM is managed by a big 
>>> ISP provider in the USA. To me its quite a massive drop from 1000 Mbps to 
>>> 50 Mbps, this kinda does not make sense to me. I would understand at least 
>>> 150 Mbps.
>>> 2. Disk Write Speed:
>>> - It seems the only changes that can be made is to implement disk cache 
>>> options. And so far I see write-back seems to be common practise for most 
>>> cloud providers, given that they have the necessary power redundancy and VM 
>>> backup images in place.
>>> 
>>> But for now, other than write cache types are there anything else that can 
>>> be done to improve disk writing speeds. I checked RedHat guides on 
>>> optimising VMs and I seem to have most in place, but write speeds remain at 
>>> ~50 Mbps.
>>> On 7/10/23 06:25, Jithin Raju wrote:
>>>> Hi  Groete,
>>>> 
>>>> The VM virtual NIC network throttling is picked up from its compute 
>>>> offering. You may need to create a new compute offering and change the 
>>>> VM’s compute offering. If it is not specified in the compute offerin

Re: ACS with vmware hypervisors

2023-07-10 Thread Vivek Kumar
Did you choose right zone/pod/cluster, because I am also using 4.15.2 and it’s 
giving me option PreSetup, do you have option called - vmfs ? 


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 10-Jul-2023, at 3:34 PM, Gary Dixon  
> wrote:
> 
> Hi Jithin
> 
> This is the odd thing - when we try and add the vcenter datastore to ACS as 
> Primary storage - we do not have the 'preSetup' protocol option in the "add 
> primary storage" UI ?
> 
> 
> Gary Dixon​
> Senior Technical Consultant
> T:  +44 161 537 4990
> E:  v ms@quadris‑support.com
> W: www.quadris.co.uk
> 
> The information contained in this e-mail from Quadris may be confidential and 
> privileged for the private use of the named recipient.  The contents of this 
> e-mail may not necessarily represent the official views of Quadris.  If you 
> have received this information in error you must not copy, distribute or take 
> any action or reliance on its contents.  Please destroy any hard copies and 
> delete this message.
> -Original Message-
> From: Jithin Raju 
> Sent: Monday, July 10, 2023 10:54 AM
> To: users@cloudstack.apache.org
> Subject: Re: ACS with vmware hypervisors
> 
> Hi Gary,
> 
> I am unable to tell the cause of the VM deployment failures with the log 
> snippets below.
> Could you try adding the storage as a datastore in vCenter and add it to 
> CloudStack as ‘presetup’ ?
> 
> -Jithin
> 
> From: Gary Dixon 
> Date: Monday, 10 July 2023 at 2:12 PM
> To: users@cloudstack.apache.org 
> Subject: RE: ACS with vmware hypervisors Hi Jithin
> 
> We are using ACS 4.15.2 and vsphere esxi v7.0.3
> 
> This is the log output for job-42701:
> 
> 2023-07-07 14:10:48,968 INFO [o.a.c.f.j.i.AsyncJobMonitor] 
> (API-Job-Executor-13:ctx-36699a50 job-42701) (logid:717a5506) Add job-42701 
> into job monitoring
> 2023-07-07 14:10:49,189 INFO [o.a.c.a.c.u.v.StartVMCmd] 
> (API-Job-Executor-13:ctx-36699a50 job-42701 ctx-a057c849) (logid:96c5f242) 
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
> deployment for VM[User|i-2-3207-VM]Scope=interface com.cloud.dc.DataCenter; 
> id=1
> 2023-07-07 14:10:49,189 INFO [o.a.c.a.c.u.v.StartVMCmd] 
> (API-Job-Executor-13:ctx-36699a50 job-42701 ctx-a057c849) (logid:96c5f242) 
> Unable to create a deployment for VM[User|i-2-3207-VM]
> 2023-07-07 14:10:49,210 INFO [o.a.c.f.j.i.AsyncJobMonitor] 
> (API-Job-Executor-13:ctx-36699a50 job-42701) (logid:96c5f242) Remove 
> job-42701 from job monitoring
> 
> Do we also need to add the iSCSI datatstore in vcenter as Primary storage to 
> cloudstack UI?
> 
> BR
> 
> Gary
> Gary Dixon​
> Senior Technical Consultant
> T: +44 161 537 4990
> E: vms@quadris‑support.com
> W: http://www.quadris.co.uk/
> [cid:image458271.png@D68BB0C8.6CA2D3B5]
> The information contained in this e-mail from Quadris may be confidential and 
> privileged for the private use of the named recipient. The contents of this 
> e-mail may not necessarily represent the official views of Quadris. If you 
> have received this information in error you must not copy, distribute or take 
> any action or reliance on its contents. Please destroy any hard copies and 
> delete this message.
> 
> 
> 
> -Original Message-
> From: Jithin Raju 
> Sent: Monday, July 10, 2023 5:12 AM
> To: users@cloudstack.apache.org
> Subject: Re: ACS with vmware hypervisors
> 
> Hi Gary,
> 
> What are the ACS and Vmware ESXi versions you are using? Could you share the 
> entire logs for this day or job-42701?
> 
> -Jithin
> 
> From: Gary Dixon 
> Date: Friday, 7 July 2023 at 8:49 PM
> To: users@cloudstack.apache.org 
> Subject: ACS with vmware hypervisors
> 
> 
> 
> 
> 
> 
> I was wondering if anyone has any experience with ACS and vmware ESXi as the 
> hypervisor? I'm facing a problem when trying to deploy a new/fresh instance.
> 
> I've deployed a vCenter appliance, created a data centre, cluster(s) and the 
> hosts have all been added to ACS. When I attempt to deploy a fresh instance 
> to the vmware cluster/hosts to build the OS from an ISO, the following errors 
> are displayed/logged:
> 
> UI Error:
> 
> Unable to create a deployment for VM[User|i-2-3207-VM]
> 
> Management Log:
> 
> ..about 1/2 way into the error " at 
> com.sun.proxy.$Proxy181.startVirtualMachine(Unknown Source)" is logged.
> 
> 023-07-07 14:10:49,189 INFO [o.a.c.a.c.u.v.StartVMCmd] 
> (API-Job-Exe

Re: Write Speeds

2023-07-07 Thread Vivek Kumar
Hello, 

IPerf will simply tell you the bandwidth and the open pipe between 2 VMs, so I 
don’t think that it’s depends on disk performance, it’s better to check the 
network QoS at every layer, VR and VM. 



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 07-Jul-2023, at 9:44 PM, Granwille Strauss  
> wrote:
> 
> Hi Levin
> 
> Thank you, I am aware of network offering, the first thing I did was make 
> sure it was set to accommodate the KVM's entire 1 Gbps uplink. But now that I 
> think if it iperf test prevousily were always stuck on 50 Mbps, but this is 
> because of the write speeds on the disk at least that's what I believe causes 
> the network bottle neck. I will double-check this again. 
> 
> But there is some sort of limit on the VM disk in place. FIO tests show that 
> write speeds are in the range of 50 - 90 MB/s on the VM, while fio test 
> confirms on the KVM its over 400 MB/s. 
> 
> On 7/7/23 18:08, Levin Ng wrote:
>> Hi Groete,
>> 
>> Forgot to mention, when you are talking about file copies between remote 
>> server, you need to aware there are network QoS option in the offering, make 
>> sure the limits correctness. Do iperf test prove that too, test between 
>> server and  via virtual router. Hope you can narrow down the problem soon.
>> 
>> Regards,
>> Levin
>> 
>> On 7 Jul 2023 at 16:40 +0100, Granwille Strauss  
>> <mailto:granwi...@namhost.com>, wrote:
>>> Hi Levin
>>> Thank you, yes I leave IOPs empty. And the KVM host has SSDs in a hardware 
>>> RAID 5 configuration, of which I am using local storage pool, yes. I will 
>>> run fio test and also playing around with the controller cache settings to 
>>> see what happens and provide feedback on this soon.
>>> On 7/7/23 17:23, Levin Ng wrote:
>>>> HI Groete,
>>>> 
>>>> Should you run a fio test on the VM and the KVM host to get a baseline 
>>>> first. SSD are tricky device, when it fill up the cache or nearly full, 
>>>> the performance will drop significantly, especially consumer grade SSD. 
>>>> There are option to limit IOPs in ACS offering setting, I believe you 
>>>> leave it empty, so it is no limit. When you talking about KVM uses SSDs, I 
>>>> think you are using Local Disk Pool right? If you have RAID controller 
>>>> underlying, try toggle the controller cache, SSD may perform vary on 
>>>> different disk controller cache setting.
>>>> 
>>>> Controller type scsi, or virtio performance are similar, no need to worry 
>>>> about it. Of coz, in general, using RAW format and thick provisioning 
>>>> could get a best io performance result, but consume space and lack of 
>>>> snapshot capabliblity , so most the time it is not prefer go this path.
>>>> 
>>>> Please gather more information first
>>>> 
>>>> Regards,
>>>> Levin
>>>> On 7 Jul 2023 at 15:30 +0100, Granwille Strauss 
>>>>  <mailto:granwi...@namhost.com.invalid>, 
>>>> wrote:
>>>>> Hi Guys
>>>>> Does Cloudstack have a disk write speed limit somewhere in its setting? 
>>>>> We have been transferring many files from remote servers to VM machines 
>>>>> on our Cloudstack instance and we recently noticed that the VM write 
>>>>> speeds are all limited to about 5-8 MB/s. But the underlying hardware of 
>>>>> the KVM uses SSDs capable of write speeds of 300 - 600 MB/s. My disk 
>>>>> offering on my current vms are set to "No Disk Cache" with thin 
>>>>> provisioning, could this be the reason? I understand that "Write Back 
>>>>> Disk Cach" has better write speeds. Also I have VMs set as virtio for its 
>>>>> disk controller. What could I be missing in this case?
>>>>> --
>>>>> Regards / Groete
>>>>> 
>>>>> Granwille Strauss  //  Senior Systems Admin
>>>>> 
>>>>> e: granwi...@namhost.com <mailto:granwi...@namhost.com>
>>>>> m: +264 81 323 1260
>>>>> w: www.namhost.com <http://www.namhost.com/>
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Namhost Internet Services (Pty) Ltd,
>>>>> 24 Black Eagle Rd, Hermanus, 7210, RSA
>>>>> 
>>>>> 
>>>

Re: VMWare dvSwitch - import port groups to Cloudstack

2023-05-18 Thread Vivek Kumar
Hello, 

So I have recently imported 30+ VMs from vCenter to Cloudstack, I have created 
a L2 network with same VLAN where VMs were running on vCenter, So I deleted the 
NIC from VM from vCenter, import it to the cloudstack (If you have active NIC 
on the VM then while importing the VM it will look of the network which is 
there on the vCenter, so it’s better to delete the NIC and let cloudstack 
handle it completely )and then attach NIC from cloudstack, since I use the same 
VLAN, so there is no need to change the network configuration inside the VM.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 18-May-2023, at 12:49 PM, Jafar Aghabalayev 
>  wrote:
> 
> Thanks a lot, Alex.
> 
> 
> 
> -Original Message-
> From: Alex Mattioli 
> Sent: Wednesday, May 17, 2023 5:14 PM
> To: users@cloudstack.apache.org
> Subject: RE: VMWare dvSwitch - import port groups to Cloudstack
> 
> CAUTION: This email originated from outside the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe. Please report all suspicious emails to 
> s...@pasha-technology.com.
> 
> That's correct, the networks need to be created in CloudStack first.
> 
> 
> 
> 
> -Original Message-
> From: Jafar Aghabalayev 
> Sent: Wednesday, May 17, 2023 12:53 PM
> To: users@cloudstack.apache.org
> Subject: RE: VMWare dvSwitch - import port groups to Cloudstack
> 
> Hello Rohit,
> 
> Thank you for prompt response.
> 
> From the documentation and articles I found -  " It also requires CloudStack 
> networks to be created for existing networks from vCenter. "
> 
> Am I correct understand that the only way is create networks from CloudStack 
> UI and no way to import networks?
> 
> Appreciate your efforts.
> 
> Best Regards,
> 
> Jafar Aghabalayev
> 
> -Original Message-
> From: Rohit Yadav 
> Sent: Wednesday, May 17, 2023 3:27 PM
> To: users@cloudstack.apache.org
> Subject: Re: VMWare dvSwitch - import port groups to Cloudstack
> 
> CAUTION: This email originated from outside the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe. Please report all suspicious emails to 
> s...@pasha-technology.com.
> 
> Hi Jafar,
> 
> You can refer further here:
> 
> https://docs.cloudstack.apache.org/en/latest/adminguide/virtual_machines.html#importing-and-unmanaging-virtual-machines
> https://www.youtube.com/watch?v=EfAXyAF1wwM
> https://www.shapeblue.com/new-feature-first-look-vm-ingestion/
> 
> 
> Regards.
> 
> 
> From: Jafar Aghabalayev 
> Sent: Wednesday, May 17, 2023 16:31
> To: users@cloudstack.apache.org 
> Subject: VMWare dvSwitch - import port groups to Cloudstack
> 
> Hello Community,
> 
> I have VMWare vCenter with number of VMs and Portgroups (dvSwitch).
> 
> I want to import all portgroups to cloudstack and used them for imported 
> instances. Is it possible to import networks (portgroups) from vCenter to 
> cloudstack?
> 
> I couldn't find any information related to importing networks from vCenter to 
> cloudstack.
> 
> Thanks.
> 
> Best regards,
> 
> Jafar Aghabalayev
> 
> 
> 
> 


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


Re: Need help in adding primary storage

2023-05-15 Thread Vivek Kumar
Hello Hitesh,

In KVM you can use shared mount point if you have LUN mounted from backend on 
each server, so for creating a shared mount point ( if you have multiple KVM 
hosts), you will need to implement a solution like PCS cluster ( pacemaker, 
corosync ). If you can use  NFS then it’s better for KVM otherwise PCS cluster, 
it’s a bit hard to manage in long term and required dedicated skilled  man 
power to manage it.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 16-May-2023, at 6:47 AM, hitesh ingole  wrote:
> 
> Hello Team,
> 
> I am trying to set up a cloud stack env with kvm hypervisor on an HP
> blade servers. This blade servers has a lun storage mounted using a
> multipath.
> 
> I need to configure this device as a primary storage.
> Which protocol and provider should I use ?
> 
> Regards
> Hitesh Ingole


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


Re: Router VM fails to boot with kernel panic when overprovisioinig is > 1

2023-05-04 Thread Vivek Kumar
Hello Sanjay,

When you are doing over provisioning specially for memory, just go to the KVM 
node and see the output of dumpxml, you will see the memory assigned to the KVM 
guest divided by over provisioning factor, which means no suitable memory for 
OS to run ( if we use default offering ) , 

So try to increase the RAM in default offering or create a larger offering for 
VR.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 02-May-2023, at 1:12 PM, Sanjay Kumar  wrote:
> 
> Hi All,
> 
> When overprovisioning factors are > 1, the virtual router vm  is not able
> to boot and ends up in a kernel panic.
> 
> ACS_Version: 4.18.0
> Storage: NFS
> 
> Any help would be really appreciated. Thank you!
> 
> With Regards,
> S Kumar


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


Re: Cluster HA - KVM Hosts

2023-02-21 Thread Vivek Kumar
Hello Jafar, 

This is the way to test the HA. I did same before putting into the production. 

When you unplugged the cable of physical hosts, what is the current state of 
host ? Is it showing  “Disconnected”, “Alert” or “Down”, When I tested the HA 
it should have atleast  one NFS as primary storage,  it worked in my case with 
NFS as a primary storage or atleast one of the primary storage on NFS .  So 
without any NFS storage, whenever I disconnected the host, it was either 
showing in “Disconnected” or “alert” and then HA will not work.  



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 21-Feb-2023, at 5:29 PM, Jafar Aghabalayev 
>  wrote:
> 
> Hello Community,
> My further steps are below:
> 
> 1. I fixed the error related to Java and HA state display correct state 
> (Available for both hosts)
> 2. I shutdown the host by unplugging power cable
> 3. The HA state show fencing state
> 4. No VMs migrated to the second available host (all VMs used offering with 
> HA enabled)
> 
> Is there are any other options to test HA? 
> 
> 
> 
> 
> Regards,
> Jafar Aghabalayev 
> 
> 
> -Original Message-
> From: Jafar Aghabalayev  
> Sent: Monday, February 13, 2023 9:13 PM
> To: users@cloudstack.apache.org; Wei ZHOU ; 
> boris.stoya...@shapeblue.com
> Subject: RE: Cluster HA - KVM Hosts
> 
> CAUTION: This email originated from outside the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe. Please report all suspicious emails to 
> s...@pasha-technology.com.
> 
> Hello,
> I run the echo c > /proc/sysrq-trigger command and host went to restart (is 
> the HA provider initialize OOBM restart or not ?), however after host up 
> cloudstack agent not in running state
> 
>  Process: 4107 ExecStart=/usr/bin/java $JAVA_OPTS $JAVA_DEBUG -cp $CLASSPATH 
> $JAVA_CLASS (code=exited, status=0/SUCCESS)
> 
> The HA state stucking in Suspect state for a while and then host went to 
> shutdown. Cloudstack show as Down state, resource state - Maintance and Power 
> state Off. However instances not rebooted on healty host within the same 
> cluster. Is any recommendation about that?
> 
> Thank you for your time and efforts.
> 
> 
> Regards,
> 
> 
> 
> Jafar Aghabalayev | Senior IT Infrastructure Engineer
> 157 Azadliq Avenue, AZ1106, Baku, Azerbaijan
> mob: +994 55 900 19 34
> email: jafar.aghabala...@pasha-technology.com
> 
> This communication contains information issued by "PASHA Technology" LLC. 
> This e-mail message and all attachments transmitted with it are intended 
> solely for the use of the addressee and may contain legally privileged and 
> confidential information. If the reader of this message is not the intended 
> recipient, or an employee or agent responsible for delivering this message to 
> the intended recipient, the reader is hereby notified that any dissemination, 
> distribution, copying, or other use of this message or its attachments is 
> strictly prohibited. If you have received this message in error, please 
> notify the sender immediately by replying to this message and please delete 
> it from your computer. Within the bounds of law "PASHA Technology" LLC may 
> monitor electronic transmissions through its internal and external networks 
> to ensure compliance with internal policies and for legitimate business 
> purposes.
> 
> -Original Message-
> From: Boris Stoyanov 
> Sent: Saturday, February 11, 2023 2:37 PM
> To: users@cloudstack.apache.org; Wei ZHOU 
> Subject: Re: Cluster HA - KVM Hosts
> 
> How did you power off the host? If you shut it down gracefully HA will not 
> kick in, hence considered an intended action. The goal of this feature is to 
> guard against unexpected events, like for example host has crashed.
> 
> If you're looking to test it out you can try to provoke a kernel panic in the 
> kvm host, something like: echo c > /proc/sysrq-trigger
> 
> Then soon HA investigator will determin the host as unhealthy, (pings 
> failing), soon after that there will be an activity checks on the VMs disks 
> running on the host. It will check if there's any changes and disk activity, 
> if that also fails it will determine the host for recovery. It will issue a 
> restart with the IPMI tool, if number of restarts (depending on 
> configuration) also fails it will fence the host and will start the VMs on 
> another host in the same cluster.
> 
> I hope this is insightful for you. Let me know how it goes at your end.
> 
> Bobby.
> 
> From: J

Re: Introduction

2023-02-02 Thread Vivek Kumar
Welcome Kiran ..! 


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 02-Feb-2023, at 10:53 AM, Kiran Chavala  
> wrote:
> 
> Hi all,
> 
> 
> This is Kiran, Just wanted to say hi to everyone in the community.
> 
> I've recently Shape blue as QA test engineer.
> 
> Previously I used to work with Citrix/Persistent for about 10 years in 
> providing technical support to Cloudstack ( Citrix CloudPlatform and Rovius 
> CloudPlatform) products
> 
> Looking forward to working with the community
> 
> Regards,
> Kiran
> 
> kiran.chav...@shapeblue.com
> 
> 
> 
> 


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


Re: Instance with SSH Key pair

2023-01-31 Thread Vivek Kumar
I am not sure if that template has cloud-init installed or not, so cloud-init 
enabled templates with cloudstack datasource are usually work with ssh-keys. So 
check if you have cloud-init package installed or not.  

https://docs.cloudstack.apache.org/en/latest/adminguide/templates/_cloud_init.html


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 01-Feb-2023, at 12:21 AM, Stuart Whitman  
> wrote:
> 
> Hello,
> 
> When I launch an instance with an SSH key pair selected using the CentOS 
> 5.5(64-bit) no GUI (KVM) template that comes with CloudStack, I cannot sign 
> in using the SSH key. I configured the zone with basic networking and enabled 
> the ConfigDrive network service provider.
> 
> The instance runs, and I can use SSH to sign in to the root account using the 
> default password.
> 
> Any help would be appreciated; thanks,
> -Stu
> _
> The information contained in this e-mail and any attachments from Group W may 
> contain confidential and/or proprietary information and is intended only for 
> the named recipient to whom it was originally addressed. If you are not the 
> intended recipient, be aware that any disclosure, distribution, or copying of 
> this e-mail or its attachments is strictly prohibited. If you have received 
> this e-mail in error, please notify the sender immediately of that fact by 
> return e-mail and permanently delete the e-mail and any attachments to it.


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


Re: Unable to launch VM dur to InsufficientNetworkCapacityException

2023-01-17 Thread Vivek Kumar
Hello, 

Please check your guest VLAN Range, looks like it’s not there, so when you 
create any isolate network or VPC style network, It configure a public NIC and 
a guest NIC and guest Nic is configured on a random VLAN  (The VLAN which you 
assign while creating the zone ).  

>From the logs you provided - 


eleased for network id 206 as a part of network implement
com.cloud.exception.InsufficientVirtualNetworkCapacityException: Unable to 
allocate vnet as a part of network Network {"id": 206, "name": "MyIsolatedNe
twork", "uuid": "298ddc5f-bb2a-498e-a15f-7011dfa2e4dc", "networkofferingid": 9} 
implement Scope=interface com.cloud.dc.DataCenter; id=1


Click on Zone, and then -> click on physical network —> then click on the 
network where you have defined - traffic type guest , and then —> traffic type 
—> select guest —> then edit the setting where you will have option to define 
VLAN Range,  

Note - These VLAN should be allowed on the physical switch port where your host 
is connected, if you have multiple hosts 

i.e 






Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 18-Jan-2023, at 1:18 AM, Leandro Ramos  wrote:
> 
> Hi :)
> 
> I'm trying to launch an instance on Cloudstack, but I got some errors. 
> There's a pastebin with a "grep -i network 
> /var/log/cloudstack/management/management-server.log" result here: 
> https://pastebin.com/KY6FWm3t <https://pastebin.com/KY6FWm3t>
> Anyone can help me?
> 
> In fact I didn't understand very well how to create an isolated network (even 
> after seeing some tutorials and videos), so I have created one with default 
> values:
> 
> 
> 
> 
> 
> Thank you.
> 


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


SSL offloading in Virtual router for LB

2023-01-04 Thread Vivek Kumar
Hello Folks,

I just wanted to know  if we can terminate the ssl on  VPC VR for load 
balancer, In old UI it was there but in new UI I can’t find that option,I have 
gone through the API, couldn't find to bind SSL with Load balancer.


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>





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


Re: database connection lost

2022-12-20 Thread Vivek Kumar
Hello,

You can use --single-transaction
Option while taking the dump or you can schedule to take dump from a slave
server if you have.

Regards,
Vivek Kumar

On Tue, Dec 20, 2022, 7:25 PM Gary Dixon 
wrote:

> Hi all
>
>
>
> CS v4.15.2
>
> Hypervisor = KVM
>
>
>
> We have started to experience an issue on a frequent basis where the CS
> mgmt. service is losing the connection to the database and believe it is
> being caused by mysqldumps locking the tables.
>
> Looking at the db.properties file there are tuning parameters :
>
> # CloudStack database tuning parameters
>
> db.cloud.maxActive=250
>
> db.cloud.maxIdle=30
>
> db.cloud.maxWait=1
>
> db.cloud.validationQuery=SELECT 1
>
> db.cloud.testOnBorrow=true
>
> db.cloud.testWhileIdle=true
>
> db.cloud.timeBetweenEvictionRunsMillis=4
>
> db.cloud.minEvictableIdleTimeMillis=24
>
> db.cloud.poolPreparedStatements=false
>
>
> db.cloud.url.params=prepStmtCacheSize=517=true=sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'=UTC
>
>
>
> would changing the ‘maxwait’ value to a higher value stop the mgmt.
> service losing the db connection whilst dumps are taken ?
>
> BR
>
>
>
> Gary
>
>
>
>
> Gary Dixon​
> Senior Technical Consultant
> T:  +44 161 537 4990
> E:  *v* <+44%207989717661>ms@quadris‑support.com
> W: www.quadris.co.uk
> The information contained in this e-mail from Quadris may be confidential
> and privileged for the private use of the named recipient.  The contents of
> this e-mail may not necessarily represent the official views of Quadris.
> If you have received this information in error you must not copy,
> distribute or take any action or reliance on its contents.  Please destroy
> any hard copies and delete this message.
>

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


Kubernetes architecture in ACS

2022-12-09 Thread Vivek Kumar
Hello Mates,

I just want to know if someone using ACS kubernetes services for the production 
workload. I have been trying to configure the Kubernetes cluster in 4.17.0 and 
facing issues even while setting up the cluster,  First of all it’s giving me 
certificate error - 


m.cloud.agent.api.AgentControlAnswer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
 }
2022-12-09 23:35:29,190 DEBUG [c.c.a.ApiServlet] (qtp681094281-15:ctx-34c8afaa 
ctx-08cfeb5e) (logid:9cf400e5) ===END===  172.31.61.55 -- GET  
name=admin=4ed7884c-0e65-11ed-8fe8-005056960d46=true=listAccounts=json
2022-12-09 23:35:30,247 WARN  [c.c.k.c.u.KubernetesClusterUtil] 
(API-Job-Executor-24:ctx-68274694 job-269646 ctx-4bab8a7a) (logid:01e8c932) API 
endpoint for Kubernetes cluster : test not available
javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
at 
java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:


This doesn't end and keep on going, Second, how do I login to the nodes or 
master node, while deploying the cluster I have given my ssh keys, but it’s not 
letting me login - whenever I login - 


vivekkumar@Viveks-MacBook-Pro ~ % ssh root@172.31.37.86 -p 2224
Please login as the user "NONE" rather than the user "root".

^CConnection to 172.31.37.86 closed.
vivekkumar@Viveks-MacBook-Pro ~ % ssh NONE@172.31.37.86 -p 2224
NONE@172.31.37.86: Permission denied (publickey).
vivekkumar@Viveks-MacBook-Pro ~ % ssh 172.31.37.86 -p 2224 
vivekkumar@172.31.37.86: Permission denied (publickey).


How to login and troubleshoot what’s going inside of the VM, Is there any 
architectural diagram or document which can explain the steps which gets 
involved for deploying a Kubernetes cluster. 




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>





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


Re: General Questions regarding Cloudstack

2022-11-21 Thread Vivek Kumar via users
Hello Bryan,

Cloudstack gives you super awesome API feature, so yes you run run a Jenkins 
job to provision instances on target host. So you can achieve this via 2 method.

1- Create compute offering in ACS and provide some tag and that tag should be 
present on the HOST as well, i.e one offering with A tag will provision VM on A 
host, create another compute offering with TAG “B’” which will provision VM on 
B host. So you will have 2 compute offerings -

So you write a script i.e in python or any of your fav language  for the API - 
deployVirtualMachine - and specific the required compute_offering_id. Now this 
script can be executed from your Jenkins pipeline

2- Second method is to pass the host_id in the API call - deployVirtualMachine 
call -  so in this you won’t need to create separate compute offering.

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



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 21-Nov-2022, at 7:19 PM, Bryan Tiang  wrote:
> 
> Hi Vivek,
> 
> Thank for the response.
> 
> Which of these would be the most recommended method? In terms of 
> simplification and efficient maintenance?
> 
> What about CI/CD? Is it possible to integrate our CICD pipeline to deploy 2 
> instances of the same app to 2 different physical servers? If so, I suppose 
> if I use the Host Tag option, I will somehow need to have the pipeline 
> contain those conditions?
> 
> Regards,
> Bryan
> 
> On 21 Nov 2022, at 6:02 PM, Nux  wrote:
> 
> A
> 


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


Re: General Questions regarding Cloudstack

2022-11-20 Thread Vivek Kumar
Hello Bryan, 

For concern 1- 

There are couple of ways to achieve this.

1- You can use affinity groups ( host anti affinity ) where it will make sure 
that you applications will be powered on separate hosts.
2- You can use HOST TAG to define your hosts in compute offering. If you want 
your application to be powered on any specific host.
3- You can create 2 cluster and isolated them by using the TAG either host and 
storage tag.

But if you want to use host_tag  then I suggest to use at least 2-2 host for 
same tag, so that VMs can be powered on if any host goes down, because 
cloudstack will specifically see the tagged host so if the tagged host is not 
available then you won’t be able to power on you workload.

For Concern 2:

For this, I guess you will have to deploy some testing workload on VM and 
compare the performance with the baremetal, You can use tools like IOmeter, FIO 
for testing the random and sequential read/write and throughput. Because 
Databases required good I/O so underlying storage would be the critical 
component.

I hope this helps..! 



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 20-Nov-2022, at 7:17 PM, Bryan Tiang  wrote:
> 
> Hi Guys,
> 
> Im a Business Development Manager trying to convince our company to convert 
> our datacenter into a Private Cloud using Cloudstack. Currently things are 
> set up in a Baremetal sort of set up. Im not super technical, more so on a 
> business and risk side of things. And to have this approved by our 
> management, I will need to address some of their concerns.
> 
> Concern 1:
> Some of our applications requires High Availability. On a software level, we 
> have covered this. But on a hardware level, is there a way to deploy our 
> applications in a way where each HA Service is deployed in a different 
> physical server (or cluster). This is to avoid any one server taking down the 
> entire service (assuming both HA Applications are deployed as separate VMs, 
> but in the same physical server).
> 
> Concern 2:
> Is there any benchmarks only that compares the performance of bare metal and 
> VM? I understand there is a slight drop in performance, but how much is that? 
> Some of the system we currently deploy on bare metal are MSSQL Databases and 
> other services that have very high network IO. Are any benchmarks available 
> online? And can those performance degredations be restored/matched by 
> compensating with more CPU/RAM allocation to the VM?
> 
> Appreciate the help.
> 
> Regardfs,
> Bryan


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


Usage server giving connection error on mysql

2022-10-10 Thread Vivek Kumar
r was 0 milliseconds ago. The 
driver has not received any packets from the server.
at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.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 
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at 
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at 
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at 
com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at 
com.mysql.cj.protocol.a.NativeProtocol.negotiateSSLConnection(NativeProtocol.java:338)
at 
com.mysql.cj.protocol.a.NativeAuthenticationProvider.negotiateSSLConnection(NativeAuthenticationProvider.java:777)
at 
com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:486)
at 
com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:202)
at 
com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1340)
at com.mysql.cj.NativeSession.connect(NativeSession.java:157)
at 
com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:850)
... 55 more
Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol 
(protocol is disabled or cipher suites are inappropriate)
at 
java.base/sun.security.ssl.HandshakeContext.(HandshakeContext.java:170)
at 
java.base/sun.security.ssl.ClientHandshakeContext.(ClientHandshakeContext.java:103)
at 
java.base/sun.security.ssl.TransportContext.kickstart(TransportContext.java:222)
at 
java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:449)
at 
java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:427)
at 
com.mysql.cj.protocol.ExportControlled.performTlsHandshake(ExportControlled.java:336)
at 
com.mysql.cj.protocol.StandardSocketFactory.performTlsHandshake(StandardSocketFactory.java:188)
at 
com.mysql.cj.protocol.a.NativeSocketConnection.performTlsHandshake(NativeSocketConnection.java:99)
at 
com.mysql.cj.protocol.a.NativeProtocol.negotiateSSLConnection(NativeProtocol.java:329)
    ... 61 more



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>





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


Unable to set the default NIC for imported instance

2022-10-10 Thread Vivek Kumar
Hello Folks,

I hope everyone is doing great…! 

So recently i was testing the feature of importing the unmanaged instance from 
VMware to cloudstack which is working smoothly.  So I have a unmanaged instance 
running in the VMware, I have deleted the NIC from vCenter itself (Before 
importing it into the CloudStack. I am able to import the instance and able to 
add a NIC from cloudstack itself, i.e I have added a NIC from a VPC Tier, But 
what I have observed that it doesn’t configure it to the default NIC - Which 
means it doesn’t put proper routes under the VM because ACS consider it as a 
secondary NIC.  

First I looked at the vm_instance table - private_mac_address and 
private_ip_address is kept empty. Then I have stopped and start the instance, 
After it both rows got populated. Now whenever I tried to set this as a default 
NIC, it always give below error - 

`Failed to find a Nic profile for the existing default network. This is 
bad and probably means some sort o configuration corruption. `

The output of my Nic table is - 

mysql> select * from nics where instance_id = '1917' \G
*** 1. row ***
id: 5306
  uuid: db50625f-65f8-40a1-8931-4a696ae29462
   instance_id: 1917
   mac_address: 02:00:3e:c4:00:07
   ip4_address: 172.16.0.216
   netmask: 255.255.255.0
   gateway: 172.16.0.1
   ip_type: Ip4
 broadcast_uri: vlan://1091
network_id: 213
  mode: Dhcp
 state: Reserved
  strategy: Start
 reserver_name: ExternalGuestNetworkGuru
reservation_id: 038b2713-63c5-4340-bd4c-0617f9c0867a
 device_id: 0
   update_time: 2022-10-10 13:52:56
 isolation_uri: vlan://1091
   ip6_address: NULL
   default_nic: 0
   vm_type: User
   created: 2022-10-10 08:22:56
   removed: NULL
   ip6_gateway: NULL
  ip6_cidr: NULL
  secondary_ip: 0
   display_nic: 1
1 row in set (0.00 sec)



Then I tried to update the row - default_nic = 1, 

mysql> update nics set default_nic = 1 where id = '5306';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0


then it started working properly, Now if I add another network to this VM and 
also able to make it default as well.  So is this correct way to make it 
working or should I need to take care some other parameters so that it can be 
done from UI as well.






Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>





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


Re: Additional CPU & RAM to KVM Host

2022-10-10 Thread Vivek Kumar
Hello,

I have never added CPU but upgraded RAM many times and cloudstack detects it 
automatically. 


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 10-Oct-2022, at 12:04 PM, Granwille Strauss 
>  wrote:
> 
> Hi Guys
> 
> My KVM host allows me to add an additional CPU to its socket and I am looking 
> to update the RAM on the KVM host too. 
> 
> Firstly, what is the correct step to follow to ensure VMs are shutdown 
> correctly via Cloudstack Management? 
> 
> Then, will cloudstack management automatically detect the new CPU and RAM 
> once added? Or are there a few things I would need to do?
> 
> -- 
> Regards / Groete
> 
>  <https://www.namhost.com/>   Granwille Strauss  //  Senior Systems Admin
> 
> e: granwi...@namhost.com <mailto:granwi...@namhost.com>
> m: +264 81 323 1260 
> w: www.namhost.com <https://www.namhost.com/>
> 
>  <https://www.facebook.com/namhost>  <https://twitter.com/namhost>  
> <https://www.instagram.com/namhostinternetservices/>  
> <https://www.linkedin.com/company/namhos>  
> <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA>
> 
>  
> <https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner>
> 
> Namhost Internet Services (Pty) Ltd, 24 Black Eagle Rd, Hermanus, 7210, RSA 
> 
> The content of this message is confidential. If you have received it by 
> mistake, please inform us by email reply and then delete the message. It is 
> forbidden to copy, forward, or in any way reveal the contents of this message 
> to anyone without our explicit consent. The integrity and security of this 
> email cannot be guaranteed over the Internet. Therefore, the sender will not 
> be held liable for any damage caused by the message. For our full privacy 
> policy and disclaimers, please go to https://www.namhost.com/privacy-policy 
> <https://www.namhost.com/privacy-policy> 
> <https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818>

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


Official release date for ACS 4.17.1

2022-09-21 Thread Vivek Kumar
Hello Folks,


When can we expect ACS 4.17.1 to be officially released. I see on the gitlab 
that all milestones has been closed.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>





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


Re: Usage service issue on Ubuntu

2022-08-03 Thread Vivek Kumar
Hello Folks,

Can anyone help me on this ?


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 28-Jul-2022, at 10:55 PM, Vivek Kumar  wrote:
> 
> Hello Wei, 
> 
> Any suggestion on below issue ?
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
> 
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
>   www.indiqus.com <https://www.indiqus.com/>
> 
> 
> 
> 
>> On 22-Jul-2022, at 1:52 PM, Vivek Kumar > <mailto:vivek.ku...@indiqus.com>> wrote:
>> 
>> Hello Wei, 
>> 
>> Thanks for the response..! Please find the content below - 
>> 
>> 
>> 
>> 
>> 
>> 
>> http://jakarta.apache.org/log4j/ 
>> <http://jakarta.apache.org/log4j/>" debug="false">
>> 
>>
>>
>>
>> 
>>
>>   
>>   
>> 
>>   
>>  
>>   
>>
>> 
>>
>>
>>
>> 
>>
>>> class="org.apache.log4j.rolling.RollingFileAppender">
>>   
>>   
>>   
>> > value="/var/log/cloudstack/usage/usage.log.%d{-MM-dd}{GMT}.gz"/>
>> > value="/var/log/cloudstack/usage/usage.log"/>
>>   
>> 
>>   
>>  
>>   
>>
>> 
>>
>>
>>
>> 
>>
>>  
>>
>> 
>>
>>
>>   
>>
>> 
>>
>>   
>>
>> 
>>
>>  
>>    
>> 
>>
>>
>>
>> 
>>
>>   
>>   
>>   
>>
>> 
>> 
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> TechOps | Indiqus Technologies
>> 
>> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
>>  www.indiqus.com <https://www.indiqus.com/>
>> 
>> 
>> 
>> 
>>> On 22-Jul-2022, at 1:47 PM, Wei ZHOU >> <mailto:ustcweiz...@gmail.com>> wrote:
>>> 
>>> Hi Vivek,
>>> 
>>> Can you share the log4j conf file `/etc/cloudstack/usage/log4j-cloud.xml` ?
>>> 
>>> -Wei
>>> 
>>> On Fri, 22 Jul 2022 at 08:31, Vivek Kumar >> <mailto:vivek.ku...@indiqus.com.invalid>>
>>> wrote:
>>> 
>>>> Hello Folks,
>>>> 
>>>> Can anyone help me on this ?
>>>> 
>>>> 
>>>> Vivek Kumar
>>>> Sr. Manager - Cloud & DevOps
>>>> TechOps | Indiqus Technologies
>>>> 
>>>> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
>>>> <mailto:vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>>
>>>>www.indiqus.com <http://www.indiqus.com/> <https://www.indiqus.com/ 
>>>> <https://www.indiqus.com/>>
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> On 14-Jul-2022, at 12:41 PM, Vivek Kumar >>>> <mailto:vivek.ku...@indiqus.com>>
>>>> wrote:
>>>>> 
>>>>> Hello Folks,
>>>>> We have deployed cloudstack 4.16.1 on ubuntu OS. Management service is
>>>> working fine but getting error with cloudstack-usage. This is a clean new
>>>> installation. Can someone help me out ? Pasting the details below -
>>>>> 
>>>>> 
>>>>> 
>>>>> root@SPRPVTCLDACS02:~# systemctl status cloudstack-usage
>>>>> ● cloudstack-usage.service - CloudStack Usage Server
>>>>> Loaded: loaded (/lib/systemd/system/cloudstack-usage.service;
>>>> enabled; vendor preset: enabled)
>>>>> Active: activating (auto-restart) (Result: exit-code) since Thu
>>>> 2022-07-14 11:17:16 IST; 3s ago
>>>>>   Docs: http://www.cloudstack.org/ <http://www.cloudstack.org/> 
>>>>> <http://www.cloudstack.org/ <http://www.cloudstack.org/>>
>>>>>Process: 294817 ExecStart=/bin/sh -ec /usr/bin/java
>>>> -Dpid=${JAVA_PID} $JAVA_OPTS $JAVA_DEBUG -cp $CLASSPATH $JAVA_CLASS
>>>> (code=exited, status=1/FAILURE)
>>>>>   Main PID: 294817 (code=exited, status=1/FAILURE)
>>>>> 
>>&

Re: Can't upload ISO from local

2022-07-31 Thread Vivek Kumar
Hello,

If you want to upload from local you must offload the SSL certificate in your 
System VMs first. Because it try to upload the file over HTTPs and due to self 
sign or certificate error, it won’t let you upload. 

Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 29-Jul-2022, at 11:33 PM, Airamek  wrote:
> 
> Thanks for the idea! I got in trough ssh, and it has some interesting errors.
> 
> Jul 29 17:56:40 s-2-VM systemd[4111]: PAM _pam_load_conf_file: unable to open 
> config for /etc/pam.d/null
> Jul 29 17:56:40 s-2-VM systemd[4111]: PAM error loading (null)
> Jul 29 17:56:40 s-2-VM systemd[4111]: PAM failed: Critical error - immediate 
> abort
> Jul 29 17:56:40 s-2-VM systemd[4111]: PAM _pam_init_handlers: error reading 
> /etc/pam.d/systemd-user
> Jul 29 17:56:40 s-2-VM systemd[4111]: user@0.service: Failed to set up PAM 
> session: Operation not permitted
> Jul 29 17:56:40 s-2-VM systemd[4111]: PAM _pam_init_handlers: [Critical error 
> - immediate abort]
> Jul 29 17:56:40 s-2-VM systemd[4111]: user@0.service: Failed at step PAM 
> spawning /lib/systemd/systemd: Operation not permitted
> ░░ Subject: Process /lib/systemd/systemd could not be executed
> ░░ Defined-By: systemd
> ░░ Support: https://www.debian.org/support
> ░░
> ░░ The process /lib/systemd/systemd could not be executed and failed.
> ░░
> ░░ The error number returned by this process is ERRNO.
> Jul 29 17:56:40 s-2-VM systemd[4111]: PAM error reading PAM configuration file
> Jul 29 17:56:40 s-2-VM systemd[4111]: PAM pam_start: failed to initialize 
> handlers
> Jul 29 17:56:40 s-2-VM systemd[1]: user@0.service: Main process exited, 
> code=exited, status=224/PAM
> 
> Any idea what could cause this?
> 
> On 7/29/2022 7:42 PM, Sven Barczyk wrote:
>> Hi,
>> have you checked you SecStorageVM ?
>> 
>> kind Regards
>> Sven
>> 
>> -Ursprüngliche Nachricht-
>> Von: Airamek 
>> Gesendet: Freitag, 29. Juli 2022 19:30
>> An: users@cloudstack.apache.org
>> Betreff: Can't upload ISO from local
>> 
>> After a lot of trial and error, the system machines are running and their 
>> consoles are accessible, but I can't upload ISO files trough the web 
>> interface. I'm using version 4.17.0.1, and my setup consists of a management 
>> server with sql(MariaDB), and a hypervisor with the primary and secondary 
>> nfs shares running. Both machines are running Debian.
>> 
>> The only error-like log I could find is in the syslog of the management
>> server:
>> 
>> Jul 29 19:19:08 laena java[5707]: WARN
>> [c.c.a.d.ParamGenericValidationWorker] (qtp1648001170-17:ctx-29085af5
>> ctx-89738967) (logid:eafc7337) Received unknown parameters for command 
>> listZones. Unknown parameters : listall Jul 29 19:19:08 laena java[5707]: 
>> WARN [c.c.a.d.ParamGenericValidationWorker] (qtp1648001170-14:ctx-13826793
>> ctx-f1f86014) (logid:dff1eeea) Received unknown parameters for command 
>> listOsTypes. Unknown parameters : listall Jul 29 19:19:30 laena java[5707]: 
>> ERROR [c.c.a.AlertManagerImpl]
>> (CapacityChecker:ctx-8d290200) (logid:c5703391) Caught exception in 
>> recalculating capacity Jul 29 19:19:30 laena java[5707]: 
>> java.lang.NullPointerException Jul 29 19:19:30 laena java[5707]: #011at
>> com.cloud.configuration.ConfigurationManagerImpl.findPodAllocationState(ConfigurationManagerImpl.java:7170)
>> Jul 29 19:19:30 laena java[5707]: #011at 
>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> Jul 29 19:19:30 laena java[5707]: #011at
>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> Jul 29 19:19:30 laena java[5707]: #011at
>> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> Jul 29 19:19:30 laena java[5707]: #011at
>> java.base/java.lang.reflect.Method.invoke(Method.java:566)
>> Jul 29 19:19:30 laena java[5707]: #011at
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
>> Jul 29 19:19:30 laena java[5707]: #011at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
>> Jul 29 19:19:30 laena java[5707]: #011at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>> Jul 29 19:19:30 laena java[5707]: #011at
>> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationIntercept

Re: Usage service issue on Ubuntu

2022-07-28 Thread Vivek Kumar
Hello Wei, 

Any suggestion on below issue ?

Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 22-Jul-2022, at 1:52 PM, Vivek Kumar  wrote:
> 
> Hello Wei, 
> 
> Thanks for the response..! Please find the content below - 
> 
> 
> 
> 
> 
> 
> http://jakarta.apache.org/log4j/ 
> <http://jakarta.apache.org/log4j/>" debug="false">
> 
>
>
>
> 
>
>   
>   
> 
>   
>  
>   
>
> 
>
>
>
> 
>
> class="org.apache.log4j.rolling.RollingFileAppender">
>   
>   
>   
>  value="/var/log/cloudstack/usage/usage.log.%d{-MM-dd}{GMT}.gz"/>
>  value="/var/log/cloudstack/usage/usage.log"/>
>   
> 
>   
>  
>   
>    
> 
>
>
>
> 
>
>  
>
> 
>
>
>   
>
> 
>
>   
>
> 
>
>  
>
> 
>
>
>
> 
>
>   
>   
>   
>
> 
> 
> 
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
> 
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
>   www.indiqus.com <https://www.indiqus.com/>
> 
> 
> 
> 
>> On 22-Jul-2022, at 1:47 PM, Wei ZHOU > <mailto:ustcweiz...@gmail.com>> wrote:
>> 
>> Hi Vivek,
>> 
>> Can you share the log4j conf file `/etc/cloudstack/usage/log4j-cloud.xml` ?
>> 
>> -Wei
>> 
>> On Fri, 22 Jul 2022 at 08:31, Vivek Kumar > <mailto:vivek.ku...@indiqus.com.invalid>>
>> wrote:
>> 
>>> Hello Folks,
>>> 
>>> Can anyone help me on this ?
>>> 
>>> 
>>> Vivek Kumar
>>> Sr. Manager - Cloud & DevOps
>>> TechOps | Indiqus Technologies
>>> 
>>> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
>>> <mailto:vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>>
>>>www.indiqus.com <http://www.indiqus.com/> <https://www.indiqus.com/ 
>>> <https://www.indiqus.com/>>
>>> 
>>> 
>>> 
>>> 
>>>> On 14-Jul-2022, at 12:41 PM, Vivek Kumar >>> <mailto:vivek.ku...@indiqus.com>>
>>> wrote:
>>>> 
>>>> Hello Folks,
>>>> We have deployed cloudstack 4.16.1 on ubuntu OS. Management service is
>>> working fine but getting error with cloudstack-usage. This is a clean new
>>> installation. Can someone help me out ? Pasting the details below -
>>>> 
>>>> 
>>>> 
>>>> root@SPRPVTCLDACS02:~# systemctl status cloudstack-usage
>>>> ● cloudstack-usage.service - CloudStack Usage Server
>>>> Loaded: loaded (/lib/systemd/system/cloudstack-usage.service;
>>> enabled; vendor preset: enabled)
>>>> Active: activating (auto-restart) (Result: exit-code) since Thu
>>> 2022-07-14 11:17:16 IST; 3s ago
>>>>   Docs: http://www.cloudstack.org/ <http://www.cloudstack.org/> 
>>>> <http://www.cloudstack.org/ <http://www.cloudstack.org/>>
>>>>Process: 294817 ExecStart=/bin/sh -ec /usr/bin/java
>>> -Dpid=${JAVA_PID} $JAVA_OPTS $JAVA_DEBUG -cp $CLASSPATH $JAVA_CLASS
>>> (code=exited, status=1/FAILURE)
>>>>   Main PID: 294817 (code=exited, status=1/FAILURE)
>>>> 
>>>> Jul 14 11:17:27 SPRPVTCLDACS02 systemd[1]: cloudstack-usage.service:
>>> Scheduled restart job, restart counter is at 4970.
>>>> Jul 14 11:17:27 SPRPVTCLDACS02 systemd[1]: Stopped CloudStack Usage
>>> Server.
>>>> Jul 14 11:17:27 SPRPVTCLDACS02 systemd[1]: Started CloudStack Usage
>>> Server.
>>>> Jul 14 11:17:27 SPRPVTCLDACS02 sh[294878]: log4j:WARN No appenders could
>>> be found for logger (com.cloud.utils.LogUtils).
>>>> Jul 14 11:17:27 SPRPVTCLDACS02 sh[294878]: log4j:WARN Please initialize
>>> the log4j system properly.
>>>> Jul 14 11:17:27 SPRPVTCLDACS02 sh[294878]: log4j:WARN See
>>> http://logging.apache.org/log4j/1.2/faq.html#noconfig 
>>> <http://logging.apache.org/log4j/1.2/faq.html#noconfig> <
>>> http://logging.apache.org/log4j/1.2/faq.html#noconfig 
>>> <http://logging.apache.org/log4j/1.2/faq.html#noconfig>>

Re: Usage service issue on Ubuntu

2022-07-22 Thread Vivek Kumar
Hello Wei, 

Thanks for the response..! Please find the content below - 






http://jakarta.apache.org/log4j/; 
debug="false">

   
   
   

   
  
  

  
 
  
   

   
   
   

   
   
  
  
  


  

  
 
  
   

   
   
   

   
 
   

   
   
  
   

   
  
   

   
 
   

   
   
   

   
  
  
  
   




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 22-Jul-2022, at 1:47 PM, Wei ZHOU  wrote:
> 
> Hi Vivek,
> 
> Can you share the log4j conf file `/etc/cloudstack/usage/log4j-cloud.xml` ?
> 
> -Wei
> 
> On Fri, 22 Jul 2022 at 08:31, Vivek Kumar 
> wrote:
> 
>> Hello Folks,
>> 
>> Can anyone help me on this ?
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> TechOps | Indiqus Technologies
>> 
>> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
>>www.indiqus.com <https://www.indiqus.com/>
>> 
>> 
>> 
>> 
>>> On 14-Jul-2022, at 12:41 PM, Vivek Kumar 
>> wrote:
>>> 
>>> Hello Folks,
>>> We have deployed cloudstack 4.16.1 on ubuntu OS. Management service is
>> working fine but getting error with cloudstack-usage. This is a clean new
>> installation. Can someone help me out ? Pasting the details below -
>>> 
>>> 
>>> 
>>> root@SPRPVTCLDACS02:~# systemctl status cloudstack-usage
>>> ● cloudstack-usage.service - CloudStack Usage Server
>>> Loaded: loaded (/lib/systemd/system/cloudstack-usage.service;
>> enabled; vendor preset: enabled)
>>> Active: activating (auto-restart) (Result: exit-code) since Thu
>> 2022-07-14 11:17:16 IST; 3s ago
>>>   Docs: http://www.cloudstack.org/ <http://www.cloudstack.org/>
>>>Process: 294817 ExecStart=/bin/sh -ec /usr/bin/java
>> -Dpid=${JAVA_PID} $JAVA_OPTS $JAVA_DEBUG -cp $CLASSPATH $JAVA_CLASS
>> (code=exited, status=1/FAILURE)
>>>   Main PID: 294817 (code=exited, status=1/FAILURE)
>>> 
>>> Jul 14 11:17:27 SPRPVTCLDACS02 systemd[1]: cloudstack-usage.service:
>> Scheduled restart job, restart counter is at 4970.
>>> Jul 14 11:17:27 SPRPVTCLDACS02 systemd[1]: Stopped CloudStack Usage
>> Server.
>>> Jul 14 11:17:27 SPRPVTCLDACS02 systemd[1]: Started CloudStack Usage
>> Server.
>>> Jul 14 11:17:27 SPRPVTCLDACS02 sh[294878]: log4j:WARN No appenders could
>> be found for logger (com.cloud.utils.LogUtils).
>>> Jul 14 11:17:27 SPRPVTCLDACS02 sh[294878]: log4j:WARN Please initialize
>> the log4j system properly.
>>> Jul 14 11:17:27 SPRPVTCLDACS02 sh[294878]: log4j:WARN See
>> http://logging.apache.org/log4j/1.2/faq.html#noconfig <
>> http://logging.apache.org/log4j/1.2/faq.html#noconfig> for more info.
>>> Jul 14 11:17:28 SPRPVTCLDACS02 sh[294878]: SLF4J: Failed to load class
>> "org.slf4j.impl.StaticLoggerBinder".
>>> Jul 14 11:17:28 SPRPVTCLDACS02 sh[294878]: SLF4J: Defaulting to
>> no-operation (NOP) logger implementation
>>> Jul 14 11:17:28 SPRPVTCLDACS02 sh[294878]: SLF4J: See
>> http://www.slf4j.org/codes.html#StaticLoggerBinder <
>> http://www.slf4j.org/codes.html#StaticLoggerBinder> for further details.
>>> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: An illegal
>> reflective access operation has occurred
>>> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: Illegal reflective
>> access by net.sf.cglib.core.ReflectUtils$1
>> (file:/usr/share/cloudstack-usage/lib/cglib-nodep-3.3.0.jar) to me>
>>> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: Please consider
>> reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
>>> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: Use
>> --illegal-access=warn to enable warnings of further illegal reflective
>> access operations
>>> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: All illegal access
>> operations will be denied in a future release
>>> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: Exception in thread "main"
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'usageVMSnapshotOnPrima>
>>> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.jav>
>>> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]:

Re: Usage service issue on Ubuntu

2022-07-22 Thread Vivek Kumar
Hello Folks,

Can anyone help me on this ?


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 14-Jul-2022, at 12:41 PM, Vivek Kumar  wrote:
> 
> Hello Folks,
> We have deployed cloudstack 4.16.1 on ubuntu OS. Management service is 
> working fine but getting error with cloudstack-usage. This is a clean new 
> installation. Can someone help me out ? Pasting the details below - 
> 
> 
> 
> root@SPRPVTCLDACS02:~# systemctl status cloudstack-usage
> ● cloudstack-usage.service - CloudStack Usage Server
>  Loaded: loaded (/lib/systemd/system/cloudstack-usage.service; enabled; 
> vendor preset: enabled)
>  Active: activating (auto-restart) (Result: exit-code) since Thu 
> 2022-07-14 11:17:16 IST; 3s ago
>Docs: http://www.cloudstack.org/ <http://www.cloudstack.org/>
> Process: 294817 ExecStart=/bin/sh -ec /usr/bin/java -Dpid=${JAVA_PID} 
> $JAVA_OPTS $JAVA_DEBUG -cp $CLASSPATH $JAVA_CLASS (code=exited, 
> status=1/FAILURE)
>Main PID: 294817 (code=exited, status=1/FAILURE)
> 
> Jul 14 11:17:27 SPRPVTCLDACS02 systemd[1]: cloudstack-usage.service: 
> Scheduled restart job, restart counter is at 4970.
> Jul 14 11:17:27 SPRPVTCLDACS02 systemd[1]: Stopped CloudStack Usage Server.
> Jul 14 11:17:27 SPRPVTCLDACS02 systemd[1]: Started CloudStack Usage Server.
> Jul 14 11:17:27 SPRPVTCLDACS02 sh[294878]: log4j:WARN No appenders could be 
> found for logger (com.cloud.utils.LogUtils).
> Jul 14 11:17:27 SPRPVTCLDACS02 sh[294878]: log4j:WARN Please initialize the 
> log4j system properly.
> Jul 14 11:17:27 SPRPVTCLDACS02 sh[294878]: log4j:WARN See 
> http://logging.apache.org/log4j/1.2/faq.html#noconfig 
> <http://logging.apache.org/log4j/1.2/faq.html#noconfig> for more info.
> Jul 14 11:17:28 SPRPVTCLDACS02 sh[294878]: SLF4J: Failed to load class 
> "org.slf4j.impl.StaticLoggerBinder".
> Jul 14 11:17:28 SPRPVTCLDACS02 sh[294878]: SLF4J: Defaulting to no-operation 
> (NOP) logger implementation
> Jul 14 11:17:28 SPRPVTCLDACS02 sh[294878]: SLF4J: See 
> http://www.slf4j.org/codes.html#StaticLoggerBinder 
> <http://www.slf4j.org/codes.html#StaticLoggerBinder> for further details.
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: An illegal reflective 
> access operation has occurred
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: Illegal reflective access 
> by net.sf.cglib.core.ReflectUtils$1 
> (file:/usr/share/cloudstack-usage/lib/cglib-nodep-3.3.0.jar) to me>
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: Please consider reporting 
> this to the maintainers of net.sf.cglib.core.ReflectUtils$1
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: Use --illegal-access=warn 
> to enable warnings of further illegal reflective access operations
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: WARNING: All illegal access 
> operations will be denied in a future release
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: Exception in thread "main" 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'usageVMSnapshotOnPrima>
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.jav>
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:>
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java>
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
> Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
> org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplic

Re: Usage is not working | ACS 4.15

2022-07-14 Thread Vivek Kumar
Hello Daan.

So we have multiple entries where success is zero - 

mysql> select * from usage_job where success is null order by id desc limit 10;
Empty set (0.00 sec)

mysql> select * from usage_job where success = 0 order by id desc limit 10;
+--++--+--+---+---+---+---+-+-+-+-+
| id   | host   | pid  | job_type | scheduled | start_millis  | 
end_millis| exec_time | start_date  | end_date| success 
| heartbeat   |
+--++--+--+---+---+---+---+-+-+-+-+
| 2003 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 163002240 | 
163002239 | 6 | 2021-08-27 00:00:00 | 2021-08-26 23:59:59 |   0 
| 2021-08-27 02:52:15 |
| 2002 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 163002240 | 
163002239 | 5 | 2021-08-27 00:00:00 | 2021-08-26 23:59:59 |   0 
| 2021-08-27 02:52:15 |
| 2000 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 162993600 | 
162993599 | 2 | 2021-08-26 00:00:00 | 2021-08-25 23:59:59 |   0 
| 2021-08-26 02:52:26 |
| 1999 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 162993600 | 
162993599 | 2 | 2021-08-26 00:00:00 | 2021-08-25 23:59:59 |   0 
| 2021-08-26 02:52:25 |
| 1998 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 162993600 | 
162993599 | 1 | 2021-08-26 00:00:00 | 2021-08-25 23:59:59 |   0 
| 2021-08-26 02:52:25 |
| 1996 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 162984960 | 
162984959 | 2 | 2021-08-25 00:00:00 | 2021-08-24 23:59:59 |   0 
| 2021-08-25 02:51:45 |
| 1995 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 162984960 | 
162984959 | 1 | 2021-08-25 00:00:00 | 2021-08-24 23:59:59 |   0 
| 2021-08-25 02:51:45 |
| 1993 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 162976320 | 
162976319 | 2 | 2021-08-24 00:00:00 | 2021-08-23 23:59:59 |   0 
| 2021-08-24 02:51:46 |
| 1992 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 162976320 | 
162976319 | 1 | 2021-08-24 00:00:00 | 2021-08-23 23:59:59 |   0 
| 2021-08-24 02:51:46 |
| 1990 | acs-mgmt-01/198.18.8.5 | 7026 |0 | 0 | 162967680 | 
162967679 | 1 | 2021-08-23 00:00:00 | 2021-08-22 23:59:59 |   0 
| 2021-08-23 02:51:43 |
+--++--+--+---+---+---+---+-+-+-+-+
10 rows in set (0.00 sec)

——


 select count(id) from usage_job where success = 0;
+---+
| count(id) |
+---+
|   999 |
+---+
1 row in set (0.00 sec)


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 14-Jul-2022, at 3:03 PM, Daan Hoogland  wrote:
> 
> On Wed, Jul 13, 2022 at 3:51 AM Vivek Kumar  <mailto:vivek.ku...@indiqus.com.invalid>>
> wrote:
> 
>> Hello Daan,
>> 
>> Thanks for the response.
>> 
>> So we have deployed a replica of our management servers and databases on
>> a complete isolated environment, Tried a work around which you have
>> suggested but PID is not getting updated in the usage_job. Usage.logs gets
>> stuck on below logs - We have also tried to upgrade on 4.16 on the replica
>> setup but same situation with 4.16 as well.
>> 
>> 
>> 2022-07-04 10:23:11,977 INFO [cloud.usage.UsageManagerImpl] (main:null)
>> (logid:) Implementation Version is 4.16.1.0
>> 2022-07-11 04:26:23,905 DEBUG [utils.crypt.EncryptionSecretKeyChecker]
>> (main:null) (logid:) Encryption Type: file
>> 2022-07-11 04:26:23,927 INFO [db.Transaction.Transaction] (main:null)
>> (logid:) Is Data Base High Availiability enabled? Ans : true
>> 2022-07-11 04:26:23,981 INFO [db.Transaction.Transaction] (main:null)
>> (logid:) The replicas configured for Cloud Data base is/are : 198.18.8.8
>> 2022-07-11 04:26:24,014 DEBUG [utils.db.DriverLoader] (main:null) (logid:)
>> Successfully loaded DB driver com.mysql.cj.jdbc.Driver
>> 2022-07-11 04:26:24,063 DEBUG [utils.db.DriverLoader] (main:null) (logid:)
>> DB driver com.mysql.cj.jdbc.Driver was already loaded.
>> 2022-07-11 04:26:24,070 DEBUG [utils.db.DriverLoader] (main:null) (logid:)
>> DB driver com.mysql.cj.jdbc.Driver was already loaded.
>> 2022-07-11 04:26:25,1

Usage service issue on Ubuntu

2022-07-14 Thread Vivek Kumar
l 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
net.sf.cglib.proxy.Enhancer.nextInstance(Enhancer.java:700)
Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:298)
Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:480)
Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
net.sf.cglib.proxy.Enhancer.create(Enhancer.java:305)
Jul 14 11:17:30 SPRPVTCLDACS02 sh[294878]: at 
com.cloud.utils.component.ComponentInstantiationPostProcessor.postProcessBeforeInstantiation(ComponentInstantiationPostProcess>


In logs - we are getting this only.


root@SPRPVTCLDACS02:~# tail -f /var/log/cloudstack/usage/usage.log
2022-07-14 11:27:39,905 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:27:54,535 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:28:08,927 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:28:23,309 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:28:37,518 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:28:51,143 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:29:05,381 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:29:19,548 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:29:33,964 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:29:48,543 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file
2022-07-14 11:30:02,650 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
(main:null) (logid:) Encryption Type: file




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>





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


Re: Usage is not working | ACS 4.15

2022-07-12 Thread Vivek Kumar
:59.
|   0 |
| 2001 | acs-mgmt-01/198.18.8.5 |  7026 |0 | 0 | 162993600 
| 163002239 |189715 | 2021-08-26 00:00:00 | 2021-08-26 23:59:59.   |
   1 |
| 2000 | acs-mgmt-01/198.18.8.5 |  7026 |0 | 0 | 162993600 
| 162993599 | 2 | 2021-08-26 00:00:00 | 2021-08-25 23:59:59.
|   0 |
| 1999 | acs-mgmt-01/198.18.8.5 |  7026 |0 | 0 | 162993600 
| 162993599 | 2 | 2021-08-26 00:00:00 | 2021-08-25 23:59:59.
|   0 |
| 1998 | acs-mgmt-01/198.18.8.5 |  7026 |0 | 0 | 162993600 
| 162993599 | 1 | 2021-08-26 00:00:00 | 2021-08-25 23:59:59.
|   0 |
| 1997 | acs-mgmt-01/198.18.8.5 |  7026 |0 | 0 | 162984960 
| 162993599 |200641 | 2021-08-25 00:00:00 | 2021-08-25 23:59:59.   |
   1 |
| 1996 | acs-mgmt-01/198.18.8.5 |  7026 |0 | 0 | 162984960 
| 162984959 | 2 | 2021-08-25 00:00:00 | 2021-08-24 23:59:59.
|   0 |
| 1995 | acs-mgmt-01/198.18.8.5 |  7026 |0 | 0 | 162984960 
| 162984959 | 1 | 2021-08-25 00:00:00 | 2021-08-24 23:59:59.
|   0 |
+--++---+--+---+---+---+---+-+-+-+


— I have also observed while checking the usage_service - It’s saying something 
related to mysql jdbc driver. However same driver is working everywhere - 


# rpm -qa | grep “connector"

mysql-connector-python-1.1.6-1.el7.noarch
mysql-connector-java-5.1.25-3.el7.noarch

— usage service status 

[root@acs-mgmt-01 ~]# systemctl status cloudstack-usage
● cloudstack-usage.service - CloudStack Usage Server
   Loaded: loaded (/usr/lib/systemd/system/cloudstack-usage.service; enabled; 
vendor preset: disabled)
   Active: active (running) since Mon 2022-07-11 04:26:20 -03; 4s ago
 Docs: http://www.cloudstack.org/
 Main PID: 1079 (java)
Tasks: 24
   CGroup: /system.slice/cloudstack-usage.service
   └─1079 /usr/bin/java -Dpid=1079 -Xms256m -Xmx2048m -cp 
/usr/share/cloudstack-usage/*:/usr/share/cloudstack-usage/lib/*:/usr/share/cloudstack-mysql-ha/lib/*:/etc/cl...

Jul 11 04:26:22 acs-mgmt-01 sh[1079]: SLF4J: Defaulting to no-operation (NOP) 
logger implementation
Jul 11 04:26:22 acs-mgmt-01 sh[1079]: SLF4J: See 
http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Jul 11 04:26:23 acs-mgmt-01 sh[1079]: WARNING: An illegal reflective access 
operation has occurred
Jul 11 04:26:23 acs-mgmt-01 sh[1079]: WARNING: Illegal reflective access by 
net.sf.cglib.core.ReflectUtils$1 
(file:/usr/share/cloudstack-usage/lib/cglib-nodep-3.3tionDomain)
Jul 11 04:26:23 acs-mgmt-01 sh[1079]: WARNING: Please consider reporting this 
to the maintainers of net.sf.cglib.core.ReflectUtils$1
Jul 11 04:26:23 acs-mgmt-01 sh[1079]: WARNING: Use --illegal-access=warn to 
enable warnings of further illegal reflective access operations
Jul 11 04:26:23 acs-mgmt-01 sh[1079]: WARNING: All illegal access operations 
will be denied in a future release
Jul 11 04:26:23 acs-mgmt-01 sh[1079]: 07:26:23,927  INFO Transaction:1027 - Is 
Data Base High Availiability enabled? Ans : true
Jul 11 04:26:23 acs-mgmt-01 sh[1079]: 07:26:23,981  INFO Transaction:1070 - The 
replicas configured for Cloud Data base is/are : 198.18.8.8
Jul 11 04:26:24 acs-mgmt-01 sh[1079]: Loading class `com.mysql.jdbc.Driver'. 
This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The 
driver is ...nnecessary.


— I am also concerned about the time zone, is there any specific time zones 
which needs to be placed in global setting - I have tried putting UTC and other 
near Time Zone as well but nothing worked. 

mysql> select name,value from configuration where name like '%usage%' and 
component = 'management-server';
+---++
| name  | value  |
+---++
| enable.usage.server   | true   |
| publish.usage.events  | true   |
| usage.aggregation.timezone| America/Cuiaba |
| usage.execution.timezone  | America/Cuiaba |
| usage.sanity.check.interval   | 1  |
| usage.stats.job.aggregation.range | 60 |
| usage.stats.job.exec.time | 00:10  |
+---+----+




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 11-Jul-2022, at 12:15 PM, Daan Hoogland  wrote:
> 
> vivek,
> *take care with this and make a backup of the cloud_usage.usage_job first*
> check in the usage_job table to see if there is a record for a not yet
> completed job.
> get the

Re: Cloudstack NFS server installation issue

2022-07-12 Thread Vivek Kumar
Hello Bunmi,

That option is required when you install NFS on the management server, it’s 
clearly mentioned on the doc that - "using the management server as the nfs 
server". If you have separate node for NFS you can simply go - 

1- create two directories that you will use for primary and secondary storage. 
For example

# mkdir -p /export/primary
# mkdir -p /export/secondary

2- To configure the new directories as NFS exports, edit /etc/exports. Export 
the NFS share(s) with rw,async,no_root_squash,no_subtree_check. For example:

# vi /etc/exports

Insert the following line.
/export  *(rw,async,no_root_squash,no_subtree_check)

3- Export the /export directory.
exportfs -a

4- Restart your NFS server and do a test mount from your hypvervisor or from 
any other node

# mount -t nfs :/ /




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 11-Jul-2022, at 7:22 PM, Bunmi Adeleye  wrote:
> 
> Dear Team,
>  
> I’m new to cloudstack and trying to implement a POC. I have been able to 
> install cloudstack management server on Ubuntu VM. Currently I’m installing 
> NFS server on a separate node (Ubuntu OS) using the step by step guide 
> cloudstack documentation. Everything was fine until I got to step 5. I could 
> not locate /etc/sysconfig/nfs. My question is doI have to create the 
> directory ‘sysconfig’ and file ‘nfs’ afresh or how do I locate the path 
> specified in step 5. Kindly see below for reference.
> https://docs.cloudstack.apache.org/en/4.17.0.0/installguide/management-server/index.html#using-the-management-server-as-the-nfs-server
>  
> <https://docs.cloudstack.apache.org/en/4.17.0.0/installguide/management-server/index.html#using-the-management-server-as-the-nfs-server>
>  
> 
>  
> Please your advice is highly appreciated
>  
>  
>  
> Best regards,
>  
> Best regards,
> Bunmi Adeleye
> GM Technical Operations
> Syscodes Communications Ltd
> Tel: +234 8067480263
> Address: 3rd Floor, 19, Toyin Street, Ikeja, Lagos
> Website: www.syscodescomms.com <http://www.syscodescomms.com/>


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


Re: Cloudstack mgt server not connecting to the DB server

2022-07-12 Thread Vivek Kumar
Hello Bunmi,

Since your screenshot is visible on the mailing list. Pasting the logs would 
rather help much. But you can check few things, I am assuming that server 
reachability is not a problem at network level.

1- Is your management server able to login to data base server.  You can check 
using -h option, Run the command from your management server - > # mysql -uroot 
-p’’ -h;
2- have your mysql-setup-database command gave any errors ?


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 11-Jul-2022, at 9:38 PM, Bunmi Adeleye  wrote:
> 
> Dear Team,
>  
> I installed cloudstack management server successfully but could not launch 
> the home page via a web browser. I checked the logs and discovered that the 
> mgt. server could not connect to the database server as shown in below 
> screenshot. What is probably responsible for this? The mgt. server and the 
> database server were installed on separate Ubuntu OS nodes. Your response is 
> highly appreciated.
>  
> 
>  
> Best regards,
>  
> Best regards,
> Bunmi Adeleye
> GM Technical Operations
> Syscodes Communications Ltd
> Tel: +234 8067480263
> Address: 3rd Floor, 19, Toyin Street, Ikeja, Lagos
> Website: www.syscodescomms.com <http://www.syscodescomms.com/>


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


Re: Unable to start a VM due to insufficient capacity CS 4.15.2 [urgent]

2022-07-12 Thread Vivek Kumar
Hello Oliver,

You will need to study the cloud-init. It works pretty well with all below 
mentioned OS. You can achieve a lot more then Hostname, Password and grow 
partition. You should use standard partition rather than LVM and there should 
be no portion after the root partition. Cloud-init will auto resize the 
partition if it finds any free sector in backend HDD.  You may also need to 
install few extra packages like - cloud-utils-growpart. Just have a look on the 
document. 

However, you can achieve same with Window’s instance as well. Cloud base-init 
works with windows and it provides the same functionality that way cloud-init 
provides with Linux OS.

Please find the link below - 

For Linux - 
https://cloudinit.readthedocs.io/en/latest/topics/modules.html#growpart 
<https://cloudinit.readthedocs.io/en/latest/topics/modules.html#growpart>



For Windows - 
https://cloudbase-init.readthedocs.io/en/latest/config.html#cloudstack 
<https://cloudbase-init.readthedocs.io/en/latest/config.html#cloudstack>




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 12-Jul-2022, at 10:02 PM, Olivier GUIN  wrote:
> 
> Hello Vivek,
> 
> Can you help me to create template with xcp-ng.
> 
> Debian, Ubuntu and CentOS, also hostname, password, it's OK but Grow 
> partition not !
> 
> Best regards,
> 
> Olivier
> 
> Le 12/07/2022 à 11:10, Vivek Kumar a écrit :
>> Hello Oliver,
>> 
>> 
>> Can you check the path of your vhd in DB and then check on your XenServer. 
>> If this is giving error for ROOT disk then mention the ROOT disk name and if 
>> it is data disk then mention the data disk name.
>> 
>> 1- select * from volumes where name = ‘ROOT-’; ( Note the PATH ).
>> 2- Go to your XenServer and search - xe vdi-list name-label = ‘ROOT-***’
>> 
>> Check if the UUID from above XenServer command is matching with the path 
>> from DB. If not then try to manually update the path ( Note the UUID from xe 
>> vdi-list command and update in the volume table for that disk ).
>> 
>> 
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> TechOps | Indiqus Technologies
>> 
>> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
>> <mailto:vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>>
>>  www.indiqus.com <http://www.indiqus.com/> <https://www.indiqus.com/ 
>> <https://www.indiqus.com/>>
>> 
>> 
>> 
>> 
>>> On 12-Jul-2022, at 7:16 PM, Olivier GUIN 
>>>  wrote:
>>> 
>>> New message !
>>> 
>>> 2022-07-12 10:39:55,634 WARN [c.c.h.x.r.CitrixResourceBase] 
>>> (DirectAgent-245:ctx-055d42cb) (logid:d08a2c97) Unable to start i-40-76-VM 
>>> due to
>>> The uuid you supplied was invalid.
>>> 
>>> 2022-07-12 10:39:55,652 WARN [c.c.h.x.r.CitrixResourceBase] 
>>> (DirectAgent-245:ctx-055d42cb) (logid:d08a2c97) Unable to clean up VBD due 
>>> to
>>> You gave an invalid object reference. The object may have recently been 
>>> deleted. The class parameter gives the type of reference given, and the 
>>> handle parameter echoes the bad value given.
>>> 
>>> ?
>>> 
>>> Le 12/07/2022 à 09:16, Olivier GUIN a écrit :
>>>> Hi there,
>>>> 
>>>> I have a message 'Unable to start a VM due to insufficient capacity'I 
>>>> can't find the problem.
>>>> 
>>>> I have this problem on only 2 VMs!
>>>> 
>>>> 2022-07-12 09:00:10,692 ERROR [c.c.a.ApiAsyncJobDispatcher] 
>>>> (API-Job-Executor-29:ctx-870c9fde job-462574) (logid:760cc3b8) Unexpected 
>>>> exception while executing 
>>>> org.apache.cloudstack.api.command.admin.vm.StartVMCmdByAdmin
>>>> com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due 
>>>> to insufficient capacity
>>>> at 
>>>> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:751)
>>>> at 
>>>> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:255)
>>>> at 
>>>> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:214)
>>>> at 
>>>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4938)
>>>> at 
>>>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserV

Re: Unable to start a VM due to insufficient capacity CS 4.15.2 [urgent]

2022-07-12 Thread Vivek Kumar
Hello Oliver, 


Can you check the path of your vhd in DB and then check on your XenServer. If 
this is giving error for ROOT disk then mention the ROOT disk name and if it is 
data disk then mention the data disk name.

1- select * from volumes where name = ‘ROOT-’; ( Note the PATH ).
2- Go to your XenServer and search - xe vdi-list name-label = ‘ROOT-***’

Check if the UUID from above XenServer command is matching with the path from 
DB. If not then try to manually update the path ( Note the UUID from xe 
vdi-list command and update in the volume table for that disk ).




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 12-Jul-2022, at 7:16 PM, Olivier GUIN  
> wrote:
> 
> New message !
> 
> 2022-07-12 10:39:55,634 WARN [c.c.h.x.r.CitrixResourceBase] 
> (DirectAgent-245:ctx-055d42cb) (logid:d08a2c97) Unable to start i-40-76-VM 
> due to
> The uuid you supplied was invalid.
> 
> 2022-07-12 10:39:55,652 WARN [c.c.h.x.r.CitrixResourceBase] 
> (DirectAgent-245:ctx-055d42cb) (logid:d08a2c97) Unable to clean up VBD due to
> You gave an invalid object reference.  The object may have recently been 
> deleted.  The class parameter gives the type of reference given, and the 
> handle parameter echoes the bad value given.
> 
> ?
> 
> Le 12/07/2022 à 09:16, Olivier GUIN a écrit :
>> Hi there,
>> 
>> I have a message 'Unable to start a VM due to insufficient capacity'I can't 
>> find the problem.
>> 
>> I have this problem on only 2 VMs!
>> 
>> 2022-07-12 09:00:10,692 ERROR [c.c.a.ApiAsyncJobDispatcher] 
>> (API-Job-Executor-29:ctx-870c9fde job-462574) (logid:760cc3b8) Unexpected 
>> exception while executing 
>> org.apache.cloudstack.api.command.admin.vm.StartVMCmdByAdmin
>> com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due to 
>> insufficient capacity
>> at 
>> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:751)
>> at 
>> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:255)
>> at 
>> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:214)
>> at 
>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:4938)
>> at 
>> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2897)
>> at jdk.internal.reflect.GeneratedMethodAccessor940.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.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
>> at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
>> at 
>> com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
>> at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
>> at 
>> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
>> at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
>> at 
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
>> at com.sun.proxy.$Proxy127.startVirtualMachine(Unknown Source)
>> at 
>> org.apache.cloudstack.api.command.user.vm.StartVMCmd.execute(StartVMCmd.java:169)
>> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156)
>> at 
>> com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
>> at 
>> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:620)
>> at 
>> org.apache.cloudstack.managed.context.ManagedContextRunna

Re: Usage is not working | ACS 4.15

2022-07-10 Thread Vivek Kumar
Hello Folks,

Can someone please help me on this ?


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




> On 30-Mar-2022, at 1:01 AM, Vivek Kumar  wrote:
> 
> Hello Guys,
> 
> I have a ACS 4.15 deployment which was upgraded from 4.11 in past. We have 
> recently observed that cloud_usage is not being generated since the moment we 
> had upgrade. Here is the details and logs from usage.log. Can someone help me 
> out what else do we need to change ot check. We have restarted both 
> management and usage service multiple times. 
> 
> 1- Global settings - 
> 
> mysql> select * from configuration where name like '%usage%' and component = 
> 'management-server';
> +--+--+---+---+---+---+---+-+---++
> | category | instance | component | name  
> | value | description 
>   | default_value | updated | 
> scope | is_dynamic |
> +--+--+---+---+---+---+---+-+---++
> | Usage| DEFAUL.  | management-server | enable.usage.server   
> | true  | Flag for enabling usage 
>   | true  | NULL| 
> NULL  |  0 |
> | Advanced | DEFAULT  | management-server | publish.usage.events  
> | true  | enable or disable publishing of usage events on the event bus   
>   | true  | NULL| 
> NULL  |  0 |
> | Usage| DEFAULT  | management-server | usage.aggregation.timezone
> | UTC-3 | The timezone to use for usage stats aggregation 
>   | GMT   | NULL| 
> NULL  |  0 |
> | Usage| DEFAULT  | management-server | usage.execution.timezone  
> | UTC-3 | The timezone to use for usage job execution time
>   | NULL  | NULL| 
> NULL  |  0 |
> | Usage| DEFAULT  | management-server | usage.sanity.check.interval   
> | NULL  | Interval (in days) to check sanity of usage data
>   | NULL  | NULL| 
> NULL  |  0 |
> | Usage| DEFAULT  | management-server | usage.stats.job.aggregation.range 
> | 60| The range of time for aggregating the user statistics specified in 
> minutes (e.g. 1440 for daily, 60 for hourly.   | 1440  | NULL| 
> NULL  |  0 |
> | Usage| DEFAULT  | management-server | usage.stats.job.exec.time 
> | 00:15 | The time at which the usage statistics aggregation job will run as 
> an HH24:MM time, e.g. 00:30 to run at 12:30am. | 00:15 | NULL| 
> NULL  |  0 |
> +--+--+---+---+---+—
> 
> 2- Rpm installed - 
> 
> 
> 
> [root@acs-mgmt-01 ~]# rpm -qa| grep "cloudstack"
> cloudstack-management-4.15.1.0-shapeblue0.el7.x86_64
> cloudstack-mysql-ha-4.11.2.0-shapeblue.el7.x86_64
> cloudstack-agent-4.15.1.0-shapeblue0.el7.x86_64
> cloudstack-usage-4.15.1.0-shapeblue0.el7.x86_64
> cloudstack-common-4.15.1.0-shapeblue0.el7.x86_64
> 
> 
> 3- I am getting below logs in all usage.log -
> 
> 
> 2022-03-29 13:21:01,102 INFO  [utils.component.ComponentContext] (main:null) 
> (logid:) Configuring 
> com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_92a2355f
> 2022-03-29 13:21:01,102 DEBUG [cloud.usage.UsageManagerImpl] (main:null) 
> (logid:) Checking to see if usage.vmops.pid exists.
> 2022-03-29 13:21:01,103 INFO  [cloud.usage.UsageManagerImpl] (main:null) 
> (logid:) Implementation Version is 4.15.1.0
> 2022-03-29 13:21:45,059 DEBUG [utils.crypt.EncryptionSecretKeyChecker] 
> (main:null) (logid:) Encryption Type: file
> 2022-03-29 13:21:45,239 INFO  [db.Transaction.Transaction] (main:null) 
> (logid:) Is Data Base High Availiability enabled? Ans : true
> 2022-03-29 13:21:45,916 INFO  [db.Transaction.Transaction] (main:null) 
> (logid:) The slaves co

Regarding the VPC offering

2022-06-29 Thread Vivek Kumar
Hello Folks, 

ACS comes with a default VPC offering which has following service enabled - 

Supported Services
Dhcp : VpcVirtualRouter
Lb : InternalLbVm
NetworkACL : VpcVirtualRouter
PortForwarding : VpcVirtualRouter
Vpn : VpcVirtualRouter
Dns : VpcVirtualRouter
SourceNat : VpcVirtualRouter
StaticNat : VpcVirtualRouter
UserData : VpcVirtualRouter


— So using the default offering I can create all three type of tiers - i.e 1) 
Public LB tier, 2) Internal LB Tier and 3) NoLB Tier.  Recently I have created 
a custom VPC offering with specific systemoffering_id, below are the services - 
which is identical to the default vpc offering - 

Supported Services
Dhcp : VpcVirtualRouter
UserData : VpcVirtualRouter
StaticNat : VpcVirtualRouter
Vpn : VpcVirtualRouter
PortForwarding : VpcVirtualRouter
Dns : VpcVirtualRouter
Lb : InternalLbVm
NetworkACL : VpcVirtualRouter
SourceNat : VpcVirtualRouter

— But from this offering I am not able to create public LB tier - it says - 
Service/provider combination Lb/VpcVirtualRouter is not supported by VPC [VPC 
[75-Indiqus-4].  So I created a another vpc offering with Lb:VpcVirtualRouter , 
below are the services - 

Dhcp : VpcVirtualRouter
UserData : VpcVirtualRouter
StaticNat : VpcVirtualRouter
Vpn : VpcVirtualRouter
PortForwarding : VpcVirtualRouter
Dns : VpcVirtualRouter
Lb : VpcVirtualRouter
NetworkACL : VpcVirtualRouter
SourceNat : VpcVirtualRouter

But in this VPC offering I am not able to create internal LB tiers - it says - 
Lb/InternalLbVm is not supported by VPC [VPC [54-Indiqus-test3]   So How come I 
am able to create all kind of Tiers with default vpc offering.  





Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

+ 91 7503460090 
vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




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


Re: Asymmetric traffic issues?

2022-06-28 Thread Vivek Kumar
Hey Fuller,

What hypervisor are you using ? I know you have checked all bandwidth limit on 
templates and global settings, but it’s worth to check the QoS on the 
hypervisor level, because at the end it’s the hypervisor which manages all.  
And from where are you trying to check the network throughout,  between client 
and server ? 


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

+ 91 7503460090 
vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>



> On 28-Jun-2022, at 1:58 AM, S.Fuller  wrote:
> 
> Environment:
> 
> Two physical hosts
> - Cloudstack 4.11.3
> - Verified that there are no bandwidth limits in place on any of the
> templates or in global settings.
> 
> Two isolated networks ("Client" and  "Server")
> - Each has a vrouter with a public and private address
> - One Windows 2016 VM on each network (running the latest virtio drivers)
> - each node running latest version of Iperf3 to test throughput
> 
> Testing/Observation:
> 
> If the Client VM and the vrouter for the isolated Client network are on the
> same physical host, we see symmetrical throughput in the 2 Gbps range,
> whether we run iperf in regular mode or in reverse mode (iperf -R).
> 
> If the Client VM and the vrouter for the isolated Client network are on
> different physical hosts, we are seeing 25% of the throughput running iperf
> in regular mode vs running it in reverse mode.
> 
> Has anyone encountered this issue before? If we change the Client VM to
> Linux (either CentOS 7 or Ubuntu) OR we use the E1000 driver, we see
> symmetrical throughput in our tests, no matter where the vrouter is in
> relation to the Client VM.
> 
> -- 
> Steve Fuller
> steveful...@gmail.com


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


Re: Volume download link on HTTPS

2022-06-28 Thread Vivek Kumar
Thanks Wei..! We have done exact the same thing but console is working on HTTPs 
but volume download is still on the HTTP..! I will re-check all the settings 
and will let you know..! 



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

+ 91 7503460090 
vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>



> On 27-Jun-2022, at 6:40 PM, Wei ZHOU  wrote:
> 
> Hi Vivek,
> 
> Please refer to
> https://www.shapeblue.com/securing-cloudstack-4-11-with-https-tls/ 
> <https://www.shapeblue.com/securing-cloudstack-4-11-with-https-tls/>
> You need to change some global settings and restart mgtserver/ssvm.
> 
> -Wei
> 
> On Mon, 27 Jun 2022 at 14:44, Vivek Kumar  <mailto:vivek.ku...@indiqus.com.invalid>>
> wrote:
> 
>> Hello Folks,
>> 
>> 
>> We have option to download the volumes, when we click on the download
>> volume it will give you a http link. Can we somehow generate the HTTPs link
>> rather then the HTTP link. We have offloaded the SSL certificates in the
>> system VMs. We have not offloaded any certificate to our upfront load
>> balancer or ACS managements VMs.
>> 
>> 
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> TechOps | Indiqus Technologies
>> 
>> + 91 7503460090 >
>> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com> 
>> <mailto:vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>>
>> www.indiqus.com <http://www.indiqus.com/> <https://www.indiqus.com/ 
>> <https://www.indiqus.com/>>
>> 
>> 
>> 
>> 
>> --
>> This message is intended only for the use of the individual or entity to
>> which it is addressed and may contain confidential and/or privileged
>> information. If you are not the intended recipient, please delete the
>> original message and any copy of it from your computer system. You are
>> hereby notified that any dissemination, distribution or copying of this
>> communication is strictly prohibited unless proper authorization has been
>> obtained for such action. If you have received this communication in
>> error,
>> please notify the sender immediately. Although IndiQus attempts to sweep
>> e-mail and attachments for viruses, it does not guarantee that both are
>> virus-free and accepts no liability for any damage sustained as a result
>> of
>> viruses.


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


Volume download link on HTTPS

2022-06-27 Thread Vivek Kumar
Hello Folks,


We have option to download the volumes, when we click on the download volume it 
will give you a http link. Can we somehow generate the HTTPs link rather then 
the HTTP link. We have offloaded the SSL certificates in the system VMs.  We 
have not offloaded any certificate to our upfront load balancer or ACS 
managements VMs.




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

+ 91 7503460090 
vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




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


Re: Role for taking console of the VM

2022-06-09 Thread Vivek Kumar
Thanks way for the response, So do we get the option in GUI for read only user 
? Because whenever I create a read-only user and login from GUI the console 
option is not visible. 



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

+ 91 7503460090 
vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>



> On 09-Jun-2022, at 3:26 PM, Wei ZHOU  wrote:
> 
> Hi Vivek,
> 
> There is no cloudstack API to get vm console, but you can get it by sending
> a request to
> 
> http://:8080/client/console?cmd=access== api key>==json
> 
> -Wei
> 
> On Thu, 9 Jun 2022 at 11:16, Vivek Kumar 
> wrote:
> 
>> Hello Folks.
>> 
>> I am currently going through the custom rules, so in which API user can
>> take the console of the VM. So I want a user where he can list all the
>> resources and open the console of the VM/VR. So in custom roles I have
>> allowed - “list*”, he is able to list all the resources but console option
>> is not visible. So what else should I need to allow to take the console of
>> VMs/VRs.
>> 
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> TechOps | Indiqus Technologies
>> 
>> + 91 7503460090 
>>vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
>>www.indiqus.com <https://www.indiqus.com/>
>> 
>> 
>> 
>> 
>> --
>> This message is intended only for the use of the individual or entity to
>> which it is addressed and may contain confidential and/or privileged
>> information. If you are not the intended recipient, please delete the
>> original message and any copy of it from your computer system. You are
>> hereby notified that any dissemination, distribution or copying of this
>> communication is strictly prohibited unless proper authorization has been
>> obtained for such action. If you have received this communication in
>> error,
>> please notify the sender immediately. Although IndiQus attempts to sweep
>> e-mail and attachments for viruses, it does not guarantee that both are
>> virus-free and accepts no liability for any damage sustained as a result
>> of
>> viruses.
>> 


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


Role for taking console of the VM

2022-06-09 Thread Vivek Kumar
Hello Folks.

I am currently going through the custom rules, so in which API user can take 
the console of the VM. So I want a user where he can list all the resources and 
open the console of the VM/VR. So in custom roles I have allowed - “list*”, he 
is able to list all the resources but console option is not visible. So what 
else should I need to allow to take the console of VMs/VRs.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

+ 91 7503460090 
vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




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


XenServer Agent is not coming up after upgrading from 7.1 to 8.2

2022-06-01 Thread Vivek Kumar
ontext(DefaultManagedContext.java:102)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)





Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

+ 91 7503460090 
vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
www.indiqus.com <https://www.indiqus.com/>




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


KVM on Debian 10 under CloudStack

2022-05-31 Thread Vivek Kumar
Hello Folks,

Does anyone use Debian based KVM hypervisor on production infra under 
CloudStack.  Just wanna know the feedback if everything works  well or any 
knows issues with Debian as KVM hypervisor.


Regards,
Vivek Kumar






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


Re: Status of Virtual Router not updated

2022-05-02 Thread Vivek Kumar
Try restart the VPC with cleanup options if you are using VPC, or simply 
destroy the VR and re-create the VR.


Regards,
Vivek Kumar


> On 01-May-2022, at 9:12 PM, Antoine Boucher  wrote:
> 
> Hello,
> 
> We use ACS 4.16.1 with multiple clusters and zones using Xen and KVM hosts.
> 
> We could not deploy a new VM on a specific cluster after one of our KVM hosts 
> went down. Our investigation discovered that the VR of the network we were 
> trying to use was on the failed host. We confirmed that the VR is dead; 
> however, We see no alarm indication as the VR is showing as running and up. 
> 
> We have not uncovered why the system is not reporting the issue and 
> re-spawning the VR on another host. 
> 
> Has anyone seen this issue? What could be the most likely reasons? Everything 
> else seems to be working fine.
> 
> Regards,
> Antoine
> 
> 


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


Re: ACS 4.15.1 + XCP 8.2 - VM are not reachable

2022-04-22 Thread Vivek Kumar
Hello, 

Yes, if you are using basic zone, then you have to switch the network backend 
to bridge - and for advance - openvswitch. 


Regards,
Vivek Kumar



> On 21-Apr-2022, at 5:46 PM, Biswajit Banerjee 
>  wrote:
> 
> Hi
> 
> Newly Deployed ACS 4.15.1 on XCPng 8.3 Hypervisor . The networking is basic 
> without any vlan with Single network Interface for  guest and mangement 
> Segment
> 
> System VM , Virtual Router and Vm are not reachable from same segment also . 
> From the same host they are reachable .
> 
> While initial building , host addition failed , due to "unable to connect due 
> to com.cloud.exception.ConnectionException: Reinitialize agent after setup.
> Cannot transit agent status with event AgentDisconnected for host X, 
> mangement server id is XXX,Unable to transition to a new state from 
> Creating via AgentDisconnected" error in Log
> 
> I fixed with with changing the xcp -ng to bridge  by 
> "xe-switch-network-backend bridge" abd rebooted host . The host got added . 
> is it the right way ?
> 
> Please guide a new bie .
> 
> TIA
> 
> Biswajit
> 


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


Re: ACS 4.16.1 ::XCP-ng 8.2.1 CS Guest VM can't communicate with virtual routers when they are on different hosts

2022-04-07 Thread Vivek Kumar
Hello Midhun,

This typically happens when your guest VLAN range is not allowed in the backend 
switch ports. So allowed all of your VLAN range on the ports where you have 
defined your guest traffic.



Regards,
Vivek Kumar


> On 07-Apr-2022, at 12:13 PM, Midhun Jose  wrote:
> 
> Hi @All,
> 
> I'm using Cloudstack 4.16.1 with XCP-ng Cluster having 2 hosts.
> I am facing issue  When virtual router is created on host 1 and a guest VM 
> that uses that virtual router is created on host 2. there is no connectivity 
> from VM and the VR.
> (refer the screenshot attached.)
> But when both virtual router and guest VM are created on the same host 
> everything works like normal.
> Did I miss something on configuring the network?
> 
> Best Regards,
> Midhun Jose
> 


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


Re: ACS 14.16.1::XCP-ng 8.2.1 - Secondary storage mount issue|Volume Snapshot

2022-04-05 Thread Vivek Kumar
Hey Midhun,

This error is you see is coming from the XenServer, looks like it’s not able to 
mount the NFS on the destination directory, I know you have verified the mount 
point but can you try to manually mount your secondary storage on XenServer, 
also try checking the global settings - secstorage.nfs.version to check and 
enforce your nfs version. 

Regards,
Vivek Kumar




> On 05-Apr-2022, at 11:25 AM, Midhun Jose  wrote:
> 
> 
> Hi @all,
> 
> I am using Apache cloudstack 4.16.1 integrated with XCP-ng 8.2.1. I am not 
> able to take VM volume snapshot and sometimes vm creation is also not 
> working. I am getting the error as attached screenshot and while checking the 
> logs we are getting below error,
> 
> P.S: I have veriifed that nfs server is working fine and secondary storage is 
> mounted in xen server. Can someome piont out the reason on this..
> 
> ~~
> 2022-04-04 13:13:44,163 WARN  [c.c.h.x.r.CitrixResourceBase] 
> (DirectAgent-17:ctx-f6381170) (logid:4835671f) Task failed! Task record:  
>uuid: e907d695-825f-24e4-5ce3-afd74eb0ece4
>nameLabel: Async.host.call_plugin
>  nameDescription:
>allowedOperations: []
>currentOperations: {}
>  created: Mon Apr 04 13:13:43 IST 2022
> finished: Mon Apr 04 13:13:43 IST 2022
>   status: failure
>   residentOn: com.xensource.xenapi.Host@5fa0255a
> progress: 1.0
> type: 
>   result:
>errorInfo: [XENAPI_PLUGIN_FAILURE, mountNfsSecondaryStorage, 
> SROSError, Error reporting error, unknown key Unexpected error while trying 
> to mount 10.31.9.226:/storage/cloudstack/secondary/ to 
> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>  otherConfig: {}
>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
> subtasks: []
> 2022-04-04 13:13:44,173 WARN  [c.c.h.x.r.CitrixResourceBase] 
> (DirectAgent-17:ctx-f6381170) (logid:4835671f) callHostPlugin failed for cmd: 
> mountNfsSecondaryStorage with args remoteDir: 
> 10.31.9.226:/storage/cloudstack/secondary/, localDir: 
> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3, nfsVersion: null,  due 
> to Task failed! Task record: uuid: 
> e907d695-825f-24e4-5ce3-afd74eb0ece4
>nameLabel: Async.host.call_plugin
>  nameDescription:
>allowedOperations: []
>currentOperations: {}
>  created: Mon Apr 04 13:13:43 IST 2022
> finished: Mon Apr 04 13:13:43 IST 2022
>   status: failure
>   residentOn: com.xensource.xenapi.Host@5fa0255a
> progress: 1.0
> type: 
>   result:
>errorInfo: [XENAPI_PLUGIN_FAILURE, mountNfsSecondaryStorage, 
> SROSError, Error reporting error, unknown key Unexpected error while trying 
> to mount 10.31.9.226:/storage/cloudstack/secondary/ to 
> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>  otherConfig: {}
>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
> subtasks: []
> Task failed! Task record: uuid: 
> e907d695-825f-24e4-5ce3-afd74eb0ece4
>nameLabel: Async.host.call_plugin
>  nameDescription:
>allowedOperations: []
>currentOperations: {}
>  created: Mon Apr 04 13:13:43 IST 2022
> finished: Mon Apr 04 13:13:43 IST 2022
>   status: failure
>   residentOn: com.xensource.xenapi.Host@5fa0255a
> progress: 1.0
> type: 
>   result:
>errorInfo: [XENAPI_PLUGIN_FAILURE, mountNfsSecondaryStorage, 
> SROSError, Error reporting error, unknown key Unexpected error while trying 
> to mount 10.31.9.226:/storage/cloudstack/secondary/ to 
> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>  otherConfig: {}
>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
> subtasks: []
> Task failed! Task record: uuid: 
> e907d695-825f-24e4-5ce3-afd74eb0ece4
>nameLabel: Async.host.call_plugin
>  nameDescription:
>allowedOperations: []
>currentOperations: {}
>  created: Mon Apr 04 13:13:43 IST 2022
> finished: Mon Apr 04 13:13:43 IST 2022
>   status: failure
>   residentOn: com.xensource.xenapi.Host@5fa0255a
> progress: 1.0
> type: 
>   result:
>errorInfo: [XENAPI_PLUGIN_FAILURE, mountNfsSecondaryStorage, 
> SROSError, Error reporting error, unknown key Unexpected error while trying 
> to mount 10.31.9.226:/storage/cloudstack/secondary/ to 

IOPS limit on compute offering and disk offering

2022-04-04 Thread Vivek Kumar
Hello Folks,

We have option to define the custom IOPS in compute and disk offering as well. 
So we have 2 kind of quota while creating the offerings - > 1st - Storage ( 
where we can define Min and Max IOPS ) and 2nd - Hypervisor where we also 
define - Disk Read Rate and disk write rate.

I have tried all options one-by-one but it seems like none of it is reflecting 
on the hypervisor ( both compute and disk offering ).   I am using VMware as  
hypervisors. 

Regards,
Vivek Kumar




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


VMware vSphere Disaster recovery and vSphere Replication with ACS

2022-04-04 Thread Vivek Kumar
Hello Folks.

Is anyone using VMware sphere replication for disaster recovery under ACS. If 
someone is using what are things should be keep in mind while setting up ? 

Regards,
Vivek Kumar



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


Usage is not working | ACS 4.15

2022-03-29 Thread Vivek Kumar
null) 
(logid:) Configuring 
com.cloud.usage.dao.UsageNetworkDaoImpl_EnhancerByCloudStack_4d93146e
2022-03-29 13:21:56,971 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
com.cloud.usage.dao.UsageVolumeDaoImpl_EnhancerByCloudStack_8eb3b09e
2022-03-29 13:21:56,971 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring com.cloud.user.dao.UserDaoImpl_EnhancerByCloudStack_70285a6
2022-03-29 13:21:56,972 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
com.cloud.usage.dao.UsageNetworkOfferingDaoImpl_EnhancerByCloudStack_3fddafd8
2022-03-29 13:21:56,972 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
com.cloud.usage.dao.UsageVMSnapshotOnPrimaryDaoImpl_EnhancerByCloudStack_c9f85d24
2022-03-29 13:21:56,973 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
com.cloud.usage.dao.UsageBackupDaoImpl_EnhancerByCloudStack_4705c1b6
2022-03-29 13:21:56,973 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
com.cloud.usage.dao.UsageSecurityGroupDaoImpl_EnhancerByCloudStack_79306495
2022-03-29 13:21:56,973 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
com.cloud.usage.dao.UsageIPAddressDaoImpl_EnhancerByCloudStack_6bfb9717
2022-03-29 13:21:56,974 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
org.apache.cloudstack.quota.dao.QuotaAccountDaoImpl_EnhancerByCloudStack_b35444be
2022-03-29 13:21:56,974 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
org.apache.cloudstack.quota.dao.QuotaCreditsDaoImpl_EnhancerByCloudStack_63681c89
2022-03-29 13:21:56,974 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
com.cloud.usage.dao.UsageDaoImpl_EnhancerByCloudStack_b7b85ce8
2022-03-29 13:21:56,975 INFO  [utils.component.ComponentContext] (main:null) 
(logid:) Configuring 
com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_92a2355f
2022-03-29 13:21:56,975 DEBUG [cloud.usage.UsageManagerImpl] (main:null) 
(logid:) Checking to see if usage.vmops.pid exists.
2022-03-29 13:21:56,975 INFO  [cloud.usage.UsageManagerImpl] (main:null) 
(logid:) Implementation Version is 4.15.1.0



Regards,
Vivek Kumar




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


VR/SystemVM upgradation after cloudStack upgradation

2022-03-24 Thread Vivek Kumar
Hello Guys,

We have multiple  Cloudstack deployment across all environment,  Whenever we 
upgrade Cloudstack it’s required to upgrade the systemVM templates and routers, 
sometimes it’s very hard to ask downtime for VR upgradation( for upgrading the 
VR ). 

So is there any way or hack so that we won’t need to upgrade the VRs after 
upgrading the Cloudstack. Because in every case new provisioning  won’t happen 
until we upgrade the VR. 




Regards,
Vivek Kumar


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


Re: Volume Snapshot in VMware

2022-02-22 Thread Vivek Kumar
Yups. Exactly the same..!  Thanks @pearl 

Regards,
Vivek Kumar



> On 22-Feb-2022, at 3:55 PM, Pearl d'Silva  wrote:
> 
> Hi Vivek,
> 
> I believe the issue you mention is similar to 
> https://github.com/apache/cloudstack/issues/5498 and has been fixed in 4.16.0.
> 
> Thanks,
> Pearl
> 
> 
> From: Nux! 
> Sent: Tuesday, February 22, 2022 3:52 PM
> To: users@cloudstack.apache.org 
> Cc: Vivek Kumar 
> Subject: Re: Volume Snapshot in VMware
> 
> Hi,
> 
> That sounds like a bug. Which versions of ACS/VMWare are you on?
> 
> 
> 
> On 2022-02-22 10:15, Vivek Kumar wrote:
>> Hello Guys,
>> 
>> We do have a feature in CloudStack to take a volume snapshot, it means
>> it will take the copy of the disk and put into the secondary storage.
>> But when we have VMware as hypervisor and when we do take volume
>> snapshot it clone the entire VM and put into the secondary storage.
>> 
>> So if I have 4-5 disks in a VM and if go to the particular disk and
>> take volume snapshot, it clone the entire VM including all the disks
>> and put into the secondary storage. Isn’t it consider only particular
>> disk instead of all disks.
>> 
>> 
>> Regards,
>> Vivek Kumar
> 
> 
> 


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


Re: Volume Snapshot in VMware

2022-02-22 Thread Vivek Kumar
ACS version is -  4.15.2 and VMware is - 6.7 

Regards
Vivek Kumar



> On 22-Feb-2022, at 3:52 PM, Nux!  wrote:
> 
> Hi,
> 
> That sounds like a bug. Which versions of ACS/VMWare are you on?
> 
> 
> 
> On 2022-02-22 10:15, Vivek Kumar wrote:
>> Hello Guys,
>> We do have a feature in CloudStack to take a volume snapshot, it means
>> it will take the copy of the disk and put into the secondary storage.
>> But when we have VMware as hypervisor and when we do take volume
>> snapshot it clone the entire VM and put into the secondary storage.
>> So if I have 4-5 disks in a VM and if go to the particular disk and
>> take volume snapshot, it clone the entire VM including all the disks
>> and put into the secondary storage. Isn’t it consider only particular
>> disk instead of all disks.
>> Regards,
>> Vivek Kumar


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


Volume Snapshot in VMware

2022-02-22 Thread Vivek Kumar
Hello Guys, 

We do have a feature in CloudStack to take a volume snapshot, it means it will 
take the copy of the disk and put into the secondary storage. But when we have 
VMware as hypervisor and when we do take volume snapshot it clone the entire VM 
and put into the secondary storage.

So if I have 4-5 disks in a VM and if go to the particular disk and take volume 
snapshot, it clone the entire VM including all the disks and put into the 
secondary storage. Isn’t it consider only particular disk instead of all disks.


Regards,
Vivek Kumar



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


Re: Fix Policy Based Routing for private gateway static routes

2022-01-10 Thread Vivek Kumar
PG is configured with default_allow ACL policy, no custom policy is applied.


Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com


> On 10-Jan-2022, at 1:17 PM, Wei ZHOU  wrote:
> 
> Hi Vivek,
> 
> Could you please configure an ACL list (e.g. default_allow) on the private
> gateway ?
> 
> -Wei
> 
> On Mon, 10 Jan 2022 at 04:29, Vivek Kumar 
> wrote:
> 
>> Hey Wei,
>> 
>> No PG doesn’t have any ACS rules.
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> IndiQus Technologies
>> 24*7  O +91 11 4055 1411  |   M +91 7503460090
>> www.indiqus.com
>> 
>> 
>>> On 09-Jan-2022, at 6:20 PM, Wei ZHOU  wrote:
>>> 
>>> Hi Vivek,
>>> 
>>> Does the private gateway have any ACL rule ?
>>> 
>>> -Wei
>>> 
>>> On Sun, 9 Jan 2022 at 07:07, Vivek Kumar > .invalid>
>>> wrote:
>>> 
>>>> Hello Folks,
>>>> 
>>>> Below issue was supposed to be fixed after 4.13 but looks like it’s
>> still
>>>> there is current release.  I have faced this issue in 4.15.2
>>>> 
>>>> https://github.com/apache/cloudstack/pull/3604 <
>>>> https://github.com/apache/cloudstack/pull/3604>
>>>> 
>>>> 
>>>> 
>>>> Vivek Kumar
>>>> Sr. Manager - Cloud & DevOps
>>>> IndiQus Technologies
>>>> 24*7  O +91 11 4055 1411  |   M +91 7503460090
>>>> www.indiqus.com
>>>> 
>>>> 
>>>> 
>>>> --
>>>> This message is intended only for the use of the individual or entity to
>>>> which it is addressed and may contain confidential and/or privileged
>>>> information. If you are not the intended recipient, please delete the
>>>> original message and any copy of it from your computer system. You are
>>>> hereby notified that any dissemination, distribution or copying of this
>>>> communication is strictly prohibited unless proper authorization has
>> been
>>>> obtained for such action. If you have received this communication in
>>>> error,
>>>> please notify the sender immediately. Although IndiQus attempts to sweep
>>>> e-mail and attachments for viruses, it does not guarantee that both are
>>>> virus-free and accepts no liability for any damage sustained as a result
>>>> of
>>>> viruses.
>>>> 
>> 
>> 
>> --
>> This message is intended only for the use of the individual or entity to
>> which it is addressed and may contain confidential and/or privileged
>> information. If you are not the intended recipient, please delete the
>> original message and any copy of it from your computer system. You are
>> hereby notified that any dissemination, distribution or copying of this
>> communication is strictly prohibited unless proper authorization has been
>> obtained for such action. If you have received this communication in
>> error,
>> please notify the sender immediately. Although IndiQus attempts to sweep
>> e-mail and attachments for viruses, it does not guarantee that both are
>> virus-free and accepts no liability for any damage sustained as a result
>> of
>> viruses.
>> 


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


Re: Fix Policy Based Routing for private gateway static routes

2022-01-09 Thread Vivek Kumar
Hey Wei, 

No PG doesn’t have any ACS rules.


Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com


> On 09-Jan-2022, at 6:20 PM, Wei ZHOU  wrote:
> 
> Hi Vivek,
> 
> Does the private gateway have any ACL rule ?
> 
> -Wei
> 
> On Sun, 9 Jan 2022 at 07:07, Vivek Kumar 
> wrote:
> 
>> Hello Folks,
>> 
>> Below issue was supposed to be fixed after 4.13 but looks like it’s still
>> there is current release.  I have faced this issue in 4.15.2
>> 
>> https://github.com/apache/cloudstack/pull/3604 <
>> https://github.com/apache/cloudstack/pull/3604>
>> 
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> IndiQus Technologies
>> 24*7  O +91 11 4055 1411  |   M +91 7503460090
>> www.indiqus.com
>> 
>> 
>> 
>> --
>> This message is intended only for the use of the individual or entity to
>> which it is addressed and may contain confidential and/or privileged
>> information. If you are not the intended recipient, please delete the
>> original message and any copy of it from your computer system. You are
>> hereby notified that any dissemination, distribution or copying of this
>> communication is strictly prohibited unless proper authorization has been
>> obtained for such action. If you have received this communication in
>> error,
>> please notify the sender immediately. Although IndiQus attempts to sweep
>> e-mail and attachments for viruses, it does not guarantee that both are
>> virus-free and accepts no liability for any damage sustained as a result
>> of
>> viruses.
>> 


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


Fix Policy Based Routing for private gateway static routes

2022-01-08 Thread Vivek Kumar
Hello Folks,

Below issue was supposed to be fixed after 4.13 but looks like it’s still there 
is current release.  I have faced this issue in 4.15.2

https://github.com/apache/cloudstack/pull/3604 
<https://github.com/apache/cloudstack/pull/3604>



Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com



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


Re: Maximum size of ROOTDISK

2022-01-05 Thread Vivek Kumar
It depends on your hypvervisor limit, I.e XenServer supports 2TB Max, so it 
won’t any sense if you create 3 TB disk offering. So check you backend 
hypervisor limit and test. 

Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com


> On 06-Jan-2022, at 7:25 AM, 小林 美佳子  wrote:
> 
> 
> Hi.
> 
> I am currently using CloudStack 4.10, and I am trying to build a new 
> CloudStack 4.14.
> 
> The GrobalConfig "root.disk.size.max" that existed in CloudStack4.10 has been 
> removed from CloudStack4.14.
> In CloudStack 4.14, what determines the maximum size of the ROOTDISK? Is it 
> built into the code? If so, what is the maximum size?


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


Re: Multiple NIC on Instances - IP DHCP

2021-12-27 Thread Vivek Kumar
Yups..! So you have only one ethernet configuration  in your network config, 
add another and see if it works or not. You can use “ip a” command to get the 
second ethernet name. 


Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com


> On 28-Dec-2021, at 12:14 AM, Ricardo Andres Pertuz de las Salas 
>  wrote:
> 
> Thanks Vivek,
> 
> So I guess something like it on the netplan:
> 
> network:
>ethernets:
>ens3:
>dhcp4: true
>version: 2
> 
> On 27/12/21, 1:41 PM, "Vivek Kumar"  wrote:
> 
>Hello Ricaro,
> 
>You have to configure your second ethernet in your OS so that it can fetch 
> the IP from DHCP, So typically you have eth0 which gets the IP from DHCP, If  
> you are adding your VM to multiple networks, then make sure that OS has 
> muliple ethernet present inside the OS, i.e eth0, eth1 in DHCP mode. 
> 
> 
> 
>Vivek Kumar
>Sr. Manager - Cloud & DevOps 
>IndiQus Technologies
>24*7  O +91 11 4055 1411  |   M +91 7503460090 
>www.indiqus.com
> 
> 
>> On 28-Dec-2021, at 12:07 AM, Ricardo Andres Pertuz de las Salas 
>>  wrote:
>> 
>> Hi team,
>> 
>> When I connect a second NIC on Ubuntu instances, on the creation or 
>> afterwards, it doesn’t get an IP address on the operating systme so I have 
>> to call the dhclient command or put it manually. Is it possible to get the 
>> IP automatically and permanent?
>> 
>> BR,
>> 
>> Ricardo
> 
> 



Re: Multiple NIC on Instances - IP DHCP

2021-12-27 Thread Vivek Kumar
Hello Ricaro,

You have to configure your second ethernet in your OS so that it can fetch the 
IP from DHCP, So typically you have eth0 which gets the IP from DHCP, If  you 
are adding your VM to multiple networks, then make sure that OS has muliple 
ethernet present inside the OS, i.e eth0, eth1 in DHCP mode. 



Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com


> On 28-Dec-2021, at 12:07 AM, Ricardo Andres Pertuz de las Salas 
>  wrote:
> 
> Hi team,
> 
> When I connect a second NIC on Ubuntu instances, on the creation or 
> afterwards, it doesn’t get an IP address on the operating systme so I have to 
> call the dhclient command or put it manually. Is it possible to get the IP 
> automatically and permanent?
> 
> BR,
> 
> Ricardo



Re: Experience with clustered/shared filesystems based on SAN storage on KVM?

2021-10-29 Thread Vivek Kumar
I have been using GFS2 with shared mount point in production KVM since long, 
Trust me you need to have an expert to manage your whole cluster otherwise it 
becomes very hard to manage, NFS works pretty fine with KVM, if you are 
planning to use ISCSi or FC,  XenServer/XCP and VMware works far far better 
then KVM  and very easy to manage. 




Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




> On 29-Oct-2021, at 1:14 PM, Hean Seng  wrote:
> 
> For primitive way for NFS HA,  you can consider is just using DRDB .
> 
> I think is not yet supported linstor here.
> 
> 
> 
> On Fri, Oct 29, 2021 at 2:29 PM Piotr Pisz  wrote:
> 
>> Hi
>> 
>> So we plan to use linstor in parallel to ceph as a fast resource on nvme
>> cards.
>> Its advantage is that it natively supports zfs with deduplication and
>> compression :-)
>> The test results were more than passable.
>> 
>> Regards,
>> Piotr
>> 
>> 
>> -Original Message-
>> From: Mauro Ferraro - G2K Hosting 
>> Sent: Thursday, October 28, 2021 2:02 PM
>> To: users@cloudstack.apache.org; Pratik Chandrakar <
>> chandrakarpra...@gmail.com>
>> Subject: Re: Experience with clustered/shared filesystems based on SAN
>> storage on KVM?
>> 
>> Hi,
>> 
>> We are trying to make a lab with ACS 4.16 and Linstor. As soon as we
>> finish the tests we can give you some approach for the results. Are someone
>> already try this technology?.
>> 
>> Regards,
>> 
>> El 28/10/2021 a las 02:34, Pratik Chandrakar escribió:
>>> Since NFS alone doesn't offer HA. What do you recommend for HA NFS?
>>> 
>>> On Thu, Oct 28, 2021 at 7:37 AM Hean Seng  wrote:
>>> 
>>>> I have similar consideration when start exploring  Cloudstack , but
>>>> in reality  Clustered Filesystem is not easy to maintain.  You seems
>>>> have choice of OCFS or GFS2 ,  gfs2 is hard to maintain and in redhat
>>>> ,  ocfs recently only maintained in oracle linux.  I believe you do not
>> want to
>>>> choose solution that is very propriety .   Thus just SAN or ISCSI o is
>> not
>>>> really a direct solution here , except you want to encapsulate it in
>>>> NFS and facing Cloudstack Storage.
>>>> 
>>>> It work good on CEPH and NFS , but performance wise,  NFS is better .
>>>> And all documentation and features you saw  in Cloudstack , it work
>>>> perfectly on NFS.
>>>> 
>>>> If you choose CEPH,  may be you have to compensate with some
>>>> performance degradation,
>>>> 
>>>> 
>>>> 
>>>> On Thu, Oct 28, 2021 at 12:44 AM Leandro Mendes
>>>> 
>>>> wrote:
>>>> 
>>>>> I've been using Ceph in prod for volumes for some time. Note that
>>>> although
>>>>> I had several cloudstack installations,  this one runs on top of
>>>>> Cinder, but it basic translates as libvirt and rados.
>>>>> 
>>>>> It is totally stable and performance IMHO is enough for virtualized
>>>>> services.
>>>>> 
>>>>> IO might suffer some penalization due the data replication inside Ceph.
>>>>> Elasticsearch for instance, the degradation would be a bit worse as
>>>>> there is replication also in the application size, but IMHO, unless
>>>>> you need extreme low latency it would be ok.
>>>>> 
>>>>> 
>>>>> Best,
>>>>> 
>>>>> Leandro.
>>>>> 
>>>>> On Thu, Oct 21, 2021, 11:20 AM Brussk, Michael <
>>>> michael.bru...@nttdata.com
>>>>> wrote:
>>>>> 
>>>>>> Hello community,
>>>>>> 
>>>>>> today I need your experience and knowhow about clustered/shared
>>>>>> filesystems based on SAN storage to be used with KVM.
>>>>>> We need to consider about a clustered/shared filesystem based on
>>>>>> SAN storage (no NFS or iSCSI), but do not have any knowhow or
>>>>>> experience
>>>> with
>>>>>> this.
>>>>>> Those I would like to ask if there any productive used environments
>>>>>> out there based on SAN storage on KVM?
>>>>>> If so, which clustered/shared filesystem you are using and how is
>>>>>> your experience with that (stability, reliability, maintainability,
>>>>> performance,
>>>>>> useability,...)?
>>>>>> Furthermore, if you had already to consider in the past between SAN
>>>>>> storage or CEPH, I would also like to participate on your
>>>> considerations
>>>>>> and results :)
>>>>>> 
>>>>>> Regards,
>>>>>> Michael
>>>>>> 
>>>> 
>>>> --
>>>> Regards,
>>>> Hean Seng
>>>> 
>>> 
>> 
>> 
> 
> -- 
> Regards,
> Hean Seng



Re: Network selection specifically for Hosting provider

2021-10-25 Thread Vivek Kumar
Hello Ranjit,

When you add secondary IPs to the instance, it means you will provide the same 
subnet IP in secondary interface of the NIC, So you have to configure your VM 
in such a way so that they can obtain the IP from DHCP ( You create sub 
interface of your primary interface i.e tho is your primary then eth0:0, eth0:1 
is your sub interface . 

If you are adding another network in your VM it means that you are adding a 
additional NIC in your VM thus - You will have to configure your second NIC 
config file inside of the VM so that it can get the IP from DHCP ( i.e eth0, 
eth1 ).



Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




> On 23-Oct-2021, at 2:27 AM, Ranjit Jadhav  wrote:
> 
> Thanks for getting back to me. At the ACS level network is configured fine
> but at the OS level, it does not get updated. By default, OS is using DHCP.
> 
> In this case, how can we automatically configure secondary IP on the server
> i.e. CentOS, Ubuntu, Windows etc.
> 
> Thank you,
> Ranjit
> 
> On Wed, Oct 20, 2021 at 12:05 PM Wei ZHOU  wrote:
> 
>> Hi,
>> 
>> For each isolated network with source NAT, cloudstack assigns a public IP
>> to the network as the source NAT IP. Therefore it is not an issue.
>> 
>> To add secondary IPs, go to vm details -> NICs tab -> choose a NIC -> click
>> icon 'Edit secondary IPs'.
>> 
>> -Wei
>> 
>> On Tue, 19 Oct 2021 at 23:35, Ranjit Jadhav 
>> wrote:
>> 
>>> Hello guys,
>>> 
>>> We are using Xenserver for host and configured Isolated Network . but
>>> we are facing the following issues
>>> 
>>> 1) One IP gets reserved for source-nat per user
>>> 
>>> 2) How can we assign secondary IP to the instance.
>>> 
>>> There are a few more issues/queries related to the network.
>>> 
>>> Thanks and Regards,
>>> Ranjit
>>> 
>> 



Re: Size of the snapshots volume

2021-10-21 Thread Vivek Kumar
Hello, 

You can check the the snapshot status in - snapshots table in DB. You can also 
verify the status in  table called - snapshot_store_ref. Yes cloudStack runs a 
cleanup job, timings depends what you have defined in global setting  - 

storage.cleanup.delay   Determines how long (in seconds) to wait before 
actually expunging destroyed volumes. The default value = the default value of 
storage.cleanup.interval.Advanced
86400

storage.cleanup.enabled Enables/disables the storage cleanup thread.
Advanced
true

storage.cleanup.intervalThe interval (in seconds) to wait before 
running the storage cleanup thread.Advanced
86400



Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




> On 21-Oct-2021, at 4:38 PM, Yordan Kostov  wrote:
> 
> Here is another thing I noticed.
> - have a VM with a volume snapshots
> - Expunge the VM so the disk is removed also
> - check the Secondary Storage - backup still remains.
> 
> Does anyone knows if Cloudstack does a cleanup later or the orphaned backups 
> will remain?
> 
> Regards,
> Jordan 
> 
> -Original Message-
> From: benoit lair  
> Sent: Tuesday, October 19, 2021 1:22 PM
> To: users@cloudstack.apache.org
> Subject: Re: Size of the snapshots volume
> 
> 
> [X] This message came from outside your organization
> 
> 
> Hello Yordan,
> 
> I had same results with xcp-ng 8.2 and ACS 4.15.1
> 
> The max filled during the life of the disk will be the size of the snapshot
> 
> That's why i looking towards SDS with a solution giving me possibility to do 
> some thin provisionning with XCP-NG I was thinking about an SDS which could 
> give me block storage or at least file storage and acting as a proxy between 
> my iscsi array and my xcp-ng
> 
> Linstor could be a solution, but for the moment i don't know if the plugin 
> will be compatible with xcp-ng
> 
> Regards, Benoit
> 
> Le mar. 19 oct. 2021 à 11:46, Yordan Kostov  a écrit :
> 
>> Hello Benoit,
>> 
>>Here are some results - 4.15.2 + XCP-NG. I made 2 VMs from 
>> template - Centos 7, 46 GB hdd, 4% full
>>- VM1 - root disk is as full as template.
>>- VM2 - root disk is made full up to ~90%  ( cat /dev/zero >
>> test_file1 )then the file was removed so the used space is again 4%.
>>- scheduled backup goes through both VMs. First snapshot size is
>>- VM1 -  2.3G
>>- VM2 -  41G
>>- Then on VM2 this script was run to fill and empty the disk 
>> again
>> - cat /dev/zero > /opt/test_file1; sync; rm /opt/ test_file1.
>>- scheduled backup goes through both VMs. All snapshots size is:
>>- VM1 - 2.3G
>>- VM2 - 88G
>> 
>>Once the disk is filled you will get a snapshot with size no 
>> less than the size of the whole disk.
>>May be there is a way to shrink it but I could not find it.
>> 
>> Best regards,
>> Jordan
>> 
>> -Original Message-
>> From: Yordan Kostov 
>> Sent: Tuesday, October 12, 2021 3:58 PM
>> To: users@cloudstack.apache.org
>> Subject: RE: Size of the snapshots volume
>> 
>> 
>> [X] This message came from outside your organization
>> 
>> 
>> Hello Benoit,
>> 
>>Unfortunately no.
>>When I do it I will make sure to drop a line here.
>> 
>> Best regards,
>> Jordan
>> 
>> -Original Message-
>> From: benoit lair 
>> Sent: Tuesday, October 12, 2021 3:40 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: Size of the snapshots volume
>> 
>> 
>> [X] This message came from outside your organization
>> 
>> 
>> Hello Jordan,
>> 
>> Could you proceed to your tests ? Have you got the same results ?
>> 
>> Regards, Benoit Lair
>> 
>> Le lun. 4 oct. 2021 à 17:59, Yordan Kostov  a 
>> écrit
>> :
>> 
>>> Here are a few considerations:
>>> 
>>> - First snapshot of volume is always full snap.
>>> - XenServer/XCP-NG backups are always thin.
>>> - Thin provisioning calculations never go down. Even if you delete 
>>> data from disk.
>>> 
>>> As you filled the disk of the VM to top the thin provisioning 
>>> threats it as full VM from that moment on even if data is deleted. 
>>> So the full snap that will be migrated to NFS will always be of max size.
>>> 
>>> I am not 100% certain as I am yet to start running backup tests.
>>> 
>>> Best regards,
>

Re: Root disk resizing

2021-10-10 Thread Vivek Kumar
Did you configure LVM or standard partition  on your / partition while creating 
the template. ? You also should not have any other partition after the / 
partition. I,e swap or any other. 


Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




> On 10-Oct-2021, at 2:05 PM, Ranjit Jadhav  wrote:
> 
> Hello folks,
> 
> I have implemented cloudstack with Xenserver Host. The template has been
> made out of VM with basic centos 7 and following package installed on it
> 
> sudo yum -y cloud-init
> sudo yum -y install cloud-utils-growpart
> sudo yum -y install gdisk
> 
> 
> After creating new VM with this template, root disk is created as per size
> mention in template or we are able to increase it at them time of creation.
> 
> But later when we try to increase root disk again, it increases disk space
> but "/" partiton do not get autoresize.
> 
> 
> Following parameters were passed in userdata
> 
> #cloud-config
> growpart:
> mode: auto
> devices: ["/"]
> ignore_growroot_disabled: true
> 
> 
> Thanks & Regards,
> Ranjit



Re: How to create Templates in CloudStack

2021-09-19 Thread Vivek Kumar
Hello Saurabh,

So there are two ways to achieve your requirement - 

1- You Deploy a VM from ISO and install whatever you need and then create a 
template out of it..! It means whenever you will deploy VM using this template 
you will have pre-installed your package and base config. Post deployment you 
will only need to change as per your requirement. So the idea is to create a 
base template which should be at least, Wordpress installed, cpannel and other 
tools without config. You deploy VM and do the config as per your requirement.


2- Second option is - You just create a very basic OS template i.e Centos and 
ubuntu, and install your requirements using user-data while deploying the 
instances. You will have to be ready with ready made scripts which you will 
pass while launching the instances in base64. 

You may also want to explore cloud-init which is very useful in such tasks. 


Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




> On 19-Sep-2021, at 8:12 PM, Saurabh Rapatwar  
> wrote:
> 
> Hello
> 
> We are using CloudStack to sell Public Cloud. For this purpose we want to
> customise the templates like below:
> 
> 1. Ubuntu with Wordpress
> 2. CentOS with Cpanel
> 3. Windows Server with Plesk Panel
> 4. All the the popular versions of respective popular OS
> 
> What is the procedure to do this like we do in AWS, GCP, Vultr etc.
> 
> This is something we have been trying to figure out for a long time but
> haven't found any concrete solution yet.
> 
> Guidance would be appreciated.
> 
> Thank You
> Saurabh



Re: For Advanced Zone

2021-09-09 Thread Vivek Kumar
Yes, you can create Advance Zone without having any actual public IP range. You 
can use your exiting LAN range and setup CloudStack. Then obviously you can 
only access from that network only. ( I hope this is for testing purpose or 
in-house deployment )


Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




> On 09-Sep-2021, at 6:12 PM, technologyrss.mail  
> wrote:
> 
> Hi,
> 
> I have one query like can I create Advanced Zone without public ip range only 
> LAN?
> 
> 
> ---
> Alamin
> 



Re: Mysql 5.7 error for setup ACS DB

2021-08-29 Thread Vivek Kumar
Password for cloud user is weak...! Set some complex password for cloud
user ..! If you see the error it's clearly saying that your password
doesn't satisfying the current policy.!



On Sun, 29 Aug, 2021, 21:43 technologyrss.mail, <
technologyrss.m...@gmail.com> wrote:

> Thanks for your reply.
>
> root user may be not needed for % grants, please see my image for details.
> I am not able grants for % for root user.
>
> Also I try to Mysql 8.0 same error
>
>
> ---
> Alamin
> On 8/29/2021 9:31 PM, Kiran manohar Chavala wrote:
>
> Hi Alamin
>
> Can you check if the grant privileges were given to the root user
>
> mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password';
>
> Also, you can try to edit vi /etc/my.cnf and an entry
>
> validate_password_policy=LOW
>
> Regards
> Kiran
>
> On Sun, Aug 29, 2021 at 6:02 PM technologyrss.mail <
> technologyrss.m...@gmail.com> wrote:
>
>> HI,
>>
>> Mysql 5.7 error when install ACS 4.15.1.0, I am use strong password but
>> show current policy not full fill.
>>
>> Any idea how to solve this erro?
>>
>>
>>
>> 
>>
>> Thanks, Alamin
>>
>


Re: Not able to see Public IP Range

2021-08-25 Thread Vivek Kumar
Hey Guys, 

So I was able to figure out and resolved the issue so I thought to share with 
you guys as well.  This setup has 3 public IP pool added through the ACS. So 
operation guys they use PFsense and L2 network inside the ACS. Whenever they 
deploy any PFsense machine a public IP is required to configure on the PFsense 
interface as a WAN interface, So operations guys were using DB to allocate the 
public IP  ( Typically change state from free to Allocated, put date in 
Allocation_date, but they were doing a additional change as well, which is 
putting the date in “Removed” Field). The moment all IPs has date in removed 
field, it was not able to fetch the active IP range. So if we put date in 
removed field ACS will think that all IPs has been permanently deleted but that 
VLAN entry were there in VLAN table. 

So as per VLAN table, A Public IP range are supposed to be there in 
user_ip_address tables,  but due to the date in removed row  it was not able 
get the list of IPs and it was throwing the “java.lang.NullPointerException". 
So we removed the date from removed row and it has started working. 






Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




> On 16-Aug-2021, at 11:34 PM, Vivek Kumar  wrote:
> 
> Hey guys..!
> 
> I am so sorry for multiple followup..! But If anyone has any idea how to 
> address below mentioned issue.!  Please help me out.! 
> 
> 
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps 
> IndiQus Technologies
> M +91 7503460090 
> www.indiqus.com <http://www.indiqus.com/>
> 
> 
> 
> 
>> On 13-Aug-2021, at 2:55 PM, Vivek Kumar > <mailto:vivek.ku...@indiqus.com>> wrote:
>> 
>> Hey Guys, 
>> 
>> Any help on this will be highly appreciated.! Please help if anyone ever 
>> came across the below issue. 
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps 
>> IndiQus Technologies
>> M +91 7503460090 
>> www.indiqus.com <http://www.indiqus.com/>
>> 
>> 
>> 
>> 
>>> On 13-Aug-2021, at 12:26 AM, Vivek Kumar >> <mailto:vivek.ku...@indiqus.com>> wrote:
>>> 
>>> Hello Guys, 
>>> 
>>> So I have ACS 4.11.2 with KVM and VMware Zone. I am facing a weird issue 
>>> while clicking on public IP range - It’s showing blank. So if I go deeper 
>>> and found that some how the API - “listVlanIpRange” is not executing. It’s 
>>> giving below Error - 
>>> 
>>> 
>>> 2021-08-12 11:34:37,456 DEBUG [c.c.a.ApiServlet] 
>>> (qtp510113906-42840:ctx-40b971e9) (logid:b327c8d2) ===START===  198.18.4.50 
>>> -- GET  
>>> command=listVlanIpRanges=1e830804-3d18-4cf7-b371-9cfc4574b877=a1e43fdf-3cd7-46d5-8dcc-244789ce478f=json&_=1628778877473
>>> 2021-08-12 11:34:37,458 DEBUG [c.c.c.CapacityManagerImpl] 
>>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) Found 2 VM, not running on 
>>> host 131
>>> 2021-08-12 11:34:37,466 DEBUG [c.c.c.CapacityManagerImpl] 
>>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate cpu 
>>> capacity, host:131 usedCpuCore: 0 reservedCpuCore: 0
>>> 2021-08-12 11:34:37,467 DEBUG [c.c.c.CapacityManagerImpl] 
>>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate cpu 
>>> capacity, host:131 usedCpu: 0 reservedCpu: 0
>>> 2021-08-12 11:34:37,467 DEBUG [c.c.c.CapacityManagerImpl] 
>>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate memory 
>>> capacity, host:131 usedMem: 0 reservedMem: 0
>>> 2021-08-12 11:34:37,467 DEBUG [c.c.a.ApiServer] 
>>> (qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) CIDRs from 
>>> which account 'Acct[c76bb5dd-90f1-11e8-8be7-000c29372a8b-admin]' is allowed 
>>> to perform API calls: 0.0.0.0/0,::/0
>>> 2021-08-12 11:34:37,500 DEBUG [c.c.c.CapacityManagerImpl] (Thread-25:null) 
>>> (logid:) Found 23 VMs on host 160
>>> 2021-08-12 11:34:37,525 DEBUG [c.c.c.CapacityManagerImpl] 
>>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) Found 28 VMs on host 156
>>> 2021-08-12 11:34:37,529 ERROR [c.c.a.ApiServer] 
>>> (qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) unhandled 
>>> exception executing api command: [Ljava.lang.String;@5d1ade57
>>> java.lang.NullPointerException
>>> at 
>>> com.cloud.api.ApiResponseHelper.isForSystemVms(ApiResponseHelper.java:772)
>>> at 
>>> com.cloud.api.ApiResponseHelper.createVlanIpRangeResponse(ApiResponseHelper.java:753)
>>>

Re: Not able to see Public IP Range

2021-08-16 Thread Vivek Kumar
Hey guys..!

I am so sorry for multiple followup..! But If anyone has any idea how to 
address below mentioned issue.!  Please help me out.! 



Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




> On 13-Aug-2021, at 2:55 PM, Vivek Kumar  wrote:
> 
> Hey Guys, 
> 
> Any help on this will be highly appreciated.! Please help if anyone ever came 
> across the below issue. 
> 
> 
> Vivek Kumar
> Sr. Manager - Cloud & DevOps 
> IndiQus Technologies
> M +91 7503460090 
> www.indiqus.com <http://www.indiqus.com/>
> 
> 
> 
> 
>> On 13-Aug-2021, at 12:26 AM, Vivek Kumar > <mailto:vivek.ku...@indiqus.com>> wrote:
>> 
>> Hello Guys, 
>> 
>> So I have ACS 4.11.2 with KVM and VMware Zone. I am facing a weird issue 
>> while clicking on public IP range - It’s showing blank. So if I go deeper 
>> and found that some how the API - “listVlanIpRange” is not executing. It’s 
>> giving below Error - 
>> 
>> 
>> 2021-08-12 11:34:37,456 DEBUG [c.c.a.ApiServlet] 
>> (qtp510113906-42840:ctx-40b971e9) (logid:b327c8d2) ===START===  198.18.4.50 
>> -- GET  
>> command=listVlanIpRanges=1e830804-3d18-4cf7-b371-9cfc4574b877=a1e43fdf-3cd7-46d5-8dcc-244789ce478f=json&_=1628778877473
>> 2021-08-12 11:34:37,458 DEBUG [c.c.c.CapacityManagerImpl] 
>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) Found 2 VM, not running on 
>> host 131
>> 2021-08-12 11:34:37,466 DEBUG [c.c.c.CapacityManagerImpl] 
>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate cpu 
>> capacity, host:131 usedCpuCore: 0 reservedCpuCore: 0
>> 2021-08-12 11:34:37,467 DEBUG [c.c.c.CapacityManagerImpl] 
>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate cpu 
>> capacity, host:131 usedCpu: 0 reservedCpu: 0
>> 2021-08-12 11:34:37,467 DEBUG [c.c.c.CapacityManagerImpl] 
>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate memory 
>> capacity, host:131 usedMem: 0 reservedMem: 0
>> 2021-08-12 11:34:37,467 DEBUG [c.c.a.ApiServer] 
>> (qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) CIDRs from 
>> which account 'Acct[c76bb5dd-90f1-11e8-8be7-000c29372a8b-admin]' is allowed 
>> to perform API calls: 0.0.0.0/0,::/0
>> 2021-08-12 11:34:37,500 DEBUG [c.c.c.CapacityManagerImpl] (Thread-25:null) 
>> (logid:) Found 23 VMs on host 160
>> 2021-08-12 11:34:37,525 DEBUG [c.c.c.CapacityManagerImpl] 
>> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) Found 28 VMs on host 156
>> 2021-08-12 11:34:37,529 ERROR [c.c.a.ApiServer] 
>> (qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) unhandled 
>> exception executing api command: [Ljava.lang.String;@5d1ade57
>> java.lang.NullPointerException
>> at 
>> com.cloud.api.ApiResponseHelper.isForSystemVms(ApiResponseHelper.java:772)
>> at 
>> com.cloud.api.ApiResponseHelper.createVlanIpRangeResponse(ApiResponseHelper.java:753)
>> at 
>> com.cloud.api.ApiResponseHelper.createVlanIpRangeResponse(ApiResponseHelper.java:672)
>> at 
>> org.apache.cloudstack.api.command.admin.vlan.ListVlanIpRangesCmd.execute(ListVlanIpRangesCmd.java:149)
>> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
>> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:732)
>> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:556)
>> at 
>> com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:310)
>> at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130)
>> at 
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>> at 
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>> at 
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:127)
>> at com.cloud.api.ApiServlet.doGet(ApiServlet.java:89)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
>> at 
>> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852)
>> at 
>> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
>> at 
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>> at 
>> org.eclipse.jetty.security.SecurityHandler.handl

Re: Not able to see Public IP Range

2021-08-13 Thread Vivek Kumar
Hey Guys, 

Any help on this will be highly appreciated.! Please help if anyone ever came 
across the below issue. 


Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com




> On 13-Aug-2021, at 12:26 AM, Vivek Kumar  wrote:
> 
> Hello Guys, 
> 
> So I have ACS 4.11.2 with KVM and VMware Zone. I am facing a weird issue 
> while clicking on public IP range - It’s showing blank. So if I go deeper and 
> found that some how the API - “listVlanIpRange” is not executing. It’s giving 
> below Error - 
> 
> 
> 2021-08-12 11:34:37,456 DEBUG [c.c.a.ApiServlet] 
> (qtp510113906-42840:ctx-40b971e9) (logid:b327c8d2) ===START===  198.18.4.50 
> -- GET  
> command=listVlanIpRanges=1e830804-3d18-4cf7-b371-9cfc4574b877=a1e43fdf-3cd7-46d5-8dcc-244789ce478f=json&_=1628778877473
> 2021-08-12 11:34:37,458 DEBUG [c.c.c.CapacityManagerImpl] 
> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) Found 2 VM, not running on 
> host 131
> 2021-08-12 11:34:37,466 DEBUG [c.c.c.CapacityManagerImpl] 
> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate cpu 
> capacity, host:131 usedCpuCore: 0 reservedCpuCore: 0
> 2021-08-12 11:34:37,467 DEBUG [c.c.c.CapacityManagerImpl] 
> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate cpu 
> capacity, host:131 usedCpu: 0 reservedCpu: 0
> 2021-08-12 11:34:37,467 DEBUG [c.c.c.CapacityManagerImpl] 
> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) No need to calibrate memory 
> capacity, host:131 usedMem: 0 reservedMem: 0
> 2021-08-12 11:34:37,467 DEBUG [c.c.a.ApiServer] 
> (qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) CIDRs from 
> which account 'Acct[c76bb5dd-90f1-11e8-8be7-000c29372a8b-admin]' is allowed 
> to perform API calls: 0.0.0.0/0,::/0
> 2021-08-12 11:34:37,500 DEBUG [c.c.c.CapacityManagerImpl] (Thread-25:null) 
> (logid:) Found 23 VMs on host 160
> 2021-08-12 11:34:37,525 DEBUG [c.c.c.CapacityManagerImpl] 
> (CapacityChecker:ctx-589c2cf2) (logid:4b339585) Found 28 VMs on host 156
> 2021-08-12 11:34:37,529 ERROR [c.c.a.ApiServer] 
> (qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) unhandled 
> exception executing api command: [Ljava.lang.String;@5d1ade57
> java.lang.NullPointerException
> at 
> com.cloud.api.ApiResponseHelper.isForSystemVms(ApiResponseHelper.java:772)
> at 
> com.cloud.api.ApiResponseHelper.createVlanIpRangeResponse(ApiResponseHelper.java:753)
> at 
> com.cloud.api.ApiResponseHelper.createVlanIpRangeResponse(ApiResponseHelper.java:672)
> at 
> org.apache.cloudstack.api.command.admin.vlan.ListVlanIpRangesCmd.execute(ListVlanIpRangesCmd.java:149)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:732)
> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:556)
> at 
> com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:310)
> at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:127)
> at com.cloud.api.ApiServlet.doGet(ApiServlet.java:89)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
> at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852)
> at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
> at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
> at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
> at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
> at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
> at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
> at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
> at 
> org.ecl

Not able to see Public IP Range

2021-08-12 Thread Vivek Kumar
ndle(Server.java:530)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)


  
at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256)
at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
at java.lang.Thread.run(Thread.java:748)
2021-08-12 11:34:37,534 DEBUG [c.c.a.ApiServlet] 
(qtp510113906-42840:ctx-40b971e9 ctx-fb92ca90) (logid:b327c8d2) ===END===  
198.18.4.50 -- GET  
command=listVlanIpRanges=1e830804-3d18-4cf7-b371-9cfc4574b877=a1e43fdf-3cd7-46d5-8dcc-244789ce478f=json&_=1628778877473


Can someone help me in the right direction ?


Vivek Kumar
Sr. Manager - Cloud & DevOps 
IndiQus Technologies
M +91 7503460090 
www.indiqus.com






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

2021-07-26 Thread Vivek Kumar
Hello Abhishek,

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

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

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


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

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


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

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

Regards
Vivek Kumar

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

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


Re: Memory and CPU Failure

2021-07-26 Thread Vivek Kumar
Hello Abhishek,

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



Regards,
Vivek Kumar


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



Re: Limit Host Resource.

2021-07-26 Thread Vivek Kumar
Hello Abhishek, 

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

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


Regards,
Vivek Kumar



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



Re: Error while starting VM ID ###

2021-07-19 Thread Vivek Kumar
Hello,

You should probably look management-server.log, it will give you more clarity 
why it’s is failing.

Regards,
Vivek Kumar


> On 19-Jul-2021, at 4:32 PM, Poco Loco  wrote:
> 
> Hello everyone - I am experiencing a weird issue with my Cloudstack install 
> v4.15, the Primary storage appears to have 52.71% allocated but all new VMs 
> are failing as the ROOT/Data disks are not being created properly then the 
> deployment fails. 
> 
> I am relatively new using cloudstack on a homelab setup and any assistance 
> will be very much helpful. 
> 
> Regards,
> Paul



  1   2   3   >