Re: Issue starting a specific VM

2023-11-15 Thread Wei ZHOU
Hi,

The logs show

2023-11-15 23:00:13,172 WARN  [resource.wrapper.LibvirtStartCommandWrapper]
(agentRequest-Handler-3:null) (logid:456eabd2) LibvirtException
org.libvirt.LibvirtException: internal error: Only 1 IDE controller is
supported
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.domainCreateXML(Unknown Source)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1816)

How many volumes/nics does the vm have ? Can you list the vm settings ?


-Wei


On Thu, 16 Nov 2023 at 08:06, Jeremy Hansen 
wrote:

> I’m having an issue with a specific VM being unable to start and I’m not
> quite sure why or how it got in this state.
>
> cloudstack 4.18.1.0
>
> Management log:
>
> 2023-11-15 22:56:44,938 ERROR [c.c.a.ApiAsyncJobDispatcher]
> (API-Job-Executor-1:ctx-fc2bc1f9 job-78702) (logid:a3519842) Unexpected
> exception while executing
> org.apache.cloudstack.api.command.admin.vm.StartVMCmdByAdmin
> com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM
> [cc216a54-5d5b-4ec2-a178-474ff957e53f] due to [Unable to create a
> deployment for VM instance
> {"id":218,"instanceName":"i-4-218-VM","type":"User","uuid":"cc216a54-5d5b-4ec2-a178-474ff957e53f"}].
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:841)
> at
> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:258)
> at
> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:214)
> at
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5401)
> at
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5251)
> at
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3179)
> 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:52)
> 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.$Proxy185.startVirtualMachine(Unknown Source)
> at
> org.apache.cloudstack.api.command.user.vm.StartVMCmd.execute(StartVMCmd.java:181)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163)
> at
> com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:112)
> 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)
> Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable
> to create a deployment for VM instance
> {"id":218,"instanceName":"i-4-218-VM

Re: AW: Cloudstack Linstor cant do live vm snapshots?

2023-11-15 Thread Bryan Tiang
Hi Slavka,

Thanks! Another question, I understand that  Storage-based Instance Snapshots 
on KVM does not support memory snapshot.

Are there any workaround to allow memory snapshot?

Still using KVM and Linstor

Regards,
Bryan
On 16 Nov 2023 at 3:21 PM +0800, Slavka Peleva , 
wrote:
> Hi Bryan,
>
> Yes, you need qemu-guest-agent to be installed. This operation creates a
> volume snapshot for each volume that is attached to the VM while the
> virtual machine is frozen.
> Storage-based Instance Snapshots on KVM
> 
>
> Best regards,
> Slavka
>
> On Thu, Nov 16, 2023 at 7:47 AM Bryan Tiang 
> wrote:
>
> > Hey Swen,
> >
> > Thanks for this. But for this to work, we need to make sure each VM
> > spinner up has the QEMU agent installed, right?
> >
> > Regards,
> > Bryan
> > On 10 Nov 2023 at 9:54 PM +0800, m...@swen.io, wrote:
> > > Hi Bryan,
> > >
> > > you can use KVM with linstor to do VM snapshots. You just need to enable
> > kvm.snapshot.enabled and kvm.vmstoragesnapshot.enabled in global settings.
> > No NFS storage needed at all.
> > >
> > > Regards,
> > > Swen
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Bryan Tiang 
> > > Gesendet: Freitag, 10. November 2023 14:12
> > > An: Vivek Kumar via users 
> > > Betreff: Cloudstack Linstor cant do live vm snapshots?
> > >
> > > Hi Community,
> > >
> > > We are using Cloudstack with Linstor. We want to achieve live snapshots
> > as this is an important feature for us (can’t live without it).
> > >
> > > But based on the Cloudstack documentation, KVM Supports VM Snapshots
> > only when using NFS Shared Storage.
> > >
> > > Linstor does support NFS, but there are some limitations to it such as
> > not being able to resize the NFS share file (need to create a new NFS and
> > do manual migration).
> > >
> > > How are other users overcoming this issue with Cloudstack + Linstor? Our
> > setup details below:
> > >
> > > Compute Hypervisor: Ubuntu 20/22 LTS KVM Primary Storage: Linstor Raw
> > Block Storage
> > >
> > > Regards,
> > > Bryan
> > >
> > >
> >


Re: AW: Cloudstack Linstor cant do live vm snapshots?

2023-11-15 Thread Slavka Peleva
Hi Bryan,

Yes, you need qemu-guest-agent to be installed. This operation creates a
volume snapshot for each volume that is attached to the VM while the
virtual machine is frozen.
Storage-based Instance Snapshots on KVM


Best regards,
Slavka

On Thu, Nov 16, 2023 at 7:47 AM Bryan Tiang 
wrote:

> Hey Swen,
>
> Thanks for this. But for this to work, we need to make sure each VM
> spinner up has the QEMU agent installed, right?
>
> Regards,
> Bryan
> On 10 Nov 2023 at 9:54 PM +0800, m...@swen.io, wrote:
> > Hi Bryan,
> >
> > you can use KVM with linstor to do VM snapshots. You just need to enable
> kvm.snapshot.enabled and kvm.vmstoragesnapshot.enabled in global settings.
> No NFS storage needed at all.
> >
> > Regards,
> > Swen
> >
> > -Ursprüngliche Nachricht-
> > Von: Bryan Tiang 
> > Gesendet: Freitag, 10. November 2023 14:12
> > An: Vivek Kumar via users 
> > Betreff: Cloudstack Linstor cant do live vm snapshots?
> >
> > Hi Community,
> >
> > We are using Cloudstack with Linstor. We want to achieve live snapshots
> as this is an important feature for us (can’t live without it).
> >
> > But based on the Cloudstack documentation, KVM Supports VM Snapshots
> only when using NFS Shared Storage.
> >
> > Linstor does support NFS, but there are some limitations to it such as
> not being able to resize the NFS share file (need to create a new NFS and
> do manual migration).
> >
> > How are other users overcoming this issue with Cloudstack + Linstor? Our
> setup details below:
> >
> > Compute Hypervisor: Ubuntu 20/22 LTS KVM Primary Storage: Linstor Raw
> Block Storage
> >
> > Regards,
> > Bryan
> >
> >
>


Issue starting a specific VM

2023-11-15 Thread Jeremy Hansen
I’m having an issue with a specific VM being unable to start and I’m not quite 
sure why or how it got in this state.

cloudstack 4.18.1.0

Management log:

2023-11-15 22:56:44,938 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-1:ctx-fc2bc1f9 job-78702) (logid:a3519842) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.admin.vm.StartVMCmdByAdmin
com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM 
[cc216a54-5d5b-4ec2-a178-474ff957e53f] due to [Unable to create a deployment 
for VM instance 
{"id":218,"instanceName":"i-4-218-VM","type":"User","uuid":"cc216a54-5d5b-4ec2-a178-474ff957e53f"}].
at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:841)
at 
org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:258)
at 
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:214)
at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5401)
at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5251)
at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3179)
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:52)
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.$Proxy185.startVirtualMachine(Unknown Source)
at 
org.apache.cloudstack.api.command.user.vm.StartVMCmd.execute(StartVMCmd.java:181)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:112)
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)
Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable to 
create a deployment for VM instance 
{"id":218,"instanceName":"i-4-218-VM","type":"User","uuid":"cc216a54-5d5b-4ec2-a178-474ff957e53f"}Scope=interface
 com.cloud.dc.DataCenter; id=1
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1226)
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5412)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
... 18 more

Compute node logs:

==> agent.log <==
2023-11-15 23:00:10,017 INFO [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:5281116a) Trying to fetch storage pool 
b221bcf2-819c-37c7-b007-bf7749ab468b from libvirt
2023-11-15 23:00:10,200 INFO [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:5281116a) Trying to fetch storage pool 
b221bcf

RE: Palo Alto VM Firewall with Cloudstack

2023-11-15 Thread Alex Mattioli
You can deploy a Palo Alto firewall as a VM using the as-is feature in VMWare.
In KVM it might be trickier, it depends on how Palo Alto supports KVM. Last 
time I used Palo Alto it supported only ESX.

You can deploy it in two (or three) L2shared networks. One for WAN, one for 
Lan, and if needed one for DMZ. Plus an isolated network for the management 
interface with port forwarding to the management UI or API.

On the LAN shared network you then set the gateway to the IP of the firewall, 
the VMs will receive that default gateway from the VR's DHCP server.
On the wan interface you can use just an L2 network in the same VLAN of router 
upstream from the PaloAlto firewall.

Also, as you suggested, you can place the PaloAlto north of the router serving 
the public IP range for the Zone.
Or, the PaloAlto could be the gateway of the public IP range of the Zone. This 
way you can have multiple public IP ranges, 1 or more going through the 
PaloAlto and others taking a different path. Or you can scale horizontaly and 
have several PaloAltos, 1 as the gateway of each Public IP range.

There are many many ways to make this work...

 


-Original Message-
From: Bryan Tiang  
Sent: Thursday, November 16, 2023 6:35 AM
To: users@cloudstack.apache.org; users@cloudstack.apache.org
Subject: RE: Palo Alto VM Firewall with Cloudstack

Hey Alex,

Thanks for the response.

I’ll try to get a trial VM Firewall from Palo Alto and see if it still works 
with Cloudstack 4.18. Will update our findings.

But in the event that this doesn’t work, we were thinking of still using it, 
but outside of CloudStack. Meaning we will put the Palo Alto Firewall after the 
router (filtering all traffic into the cloud tenants). Cloudstack will not know 
of its existence, and we will need to manage this firewall manually.

Will this work?

Regards,
Bryan
On 16 Nov 2023 at 1:11 PM +0800, Alex Mattioli , 
wrote:
> I've deployed PaloAlto firewalls as VNFs in CloudStack, but didn't use the 
> integration, it seems to have been abandoned as it didn't work with the 
> version of PAN-OS I was using. That was back with ACS 4.11, didn't try with 
> later versions.
>
>
>
>
>
>
> -Original Message-
> From: Bryan Tiang 
> Sent: Thursday, November 16, 2023 6:08 AM
> To: users@cloudstack.apache.org; users@cloudstack.apache.org
> Subject: Re: Palo Alto VM Firewall with Cloudstack
>
> Hi Tesfay,
>
> Thanks for the links. We are using KVM Ubuntu for our hypervisors.
>
> I’ll take it as Palo Alto integration with Cloudstack UI and API is still 
> supported.
>
> Anyone using this setup in production? Is it stable? Any experiences to share?
>
> Regards,
> Bryan
> On 16 Nov 2023 at 1:00 PM +0800, Tesfay Tesfamariam 
> , wrote:
> > Check PaloAlto supported hypervisor page.
> >
> > https://docs.paloaltonetworks.com/compatibility-matrix/vm-series-firewalls/vms-series-hypervisor-support
> >
> > CloudStack documentation
> >
> > http://docs.cloudstack.apache.org/en/4.18.1.0/adminguide/networking/palo_alto_config.html
> >
> > May be post your question in the community page if none works for you .
> >
> > https://live.paloaltonetworks.com/
> > 
> > From: Bryan Tiang 
> > Sent: Wednesday, November 15, 2023 11:02:23 PM
> > To: Vivek Kumar via users 
> > Subject: Palo Alto VM Firewall with Cloudstack
> >
> > Hi Guys,
> >
> > Has anyone used Cloudstack together with Palo Alto VM Firewall?
> >
> > I can see Palo Alto is supported in the Documentation but I know some 
> > documents aren’t updated.
> >
> > We want to be able to manage the Palo Alto VM Firewall via Cloudstack for a 
> > fully automated solution.
> >
> > Regards,
> > Bryan


Re: AW: Cloudstack Linstor cant do live vm snapshots?

2023-11-15 Thread Bryan Tiang
Hey Swen,

Thanks for this. But for this to work, we need to make sure each VM spinner up 
has the QEMU agent installed, right?

Regards,
Bryan
On 10 Nov 2023 at 9:54 PM +0800, m...@swen.io, wrote:
> Hi Bryan,
>
> you can use KVM with linstor to do VM snapshots. You just need to enable 
> kvm.snapshot.enabled and kvm.vmstoragesnapshot.enabled in global settings. No 
> NFS storage needed at all.
>
> Regards,
> Swen
>
> -Ursprüngliche Nachricht-
> Von: Bryan Tiang 
> Gesendet: Freitag, 10. November 2023 14:12
> An: Vivek Kumar via users 
> Betreff: Cloudstack Linstor cant do live vm snapshots?
>
> Hi Community,
>
> We are using Cloudstack with Linstor. We want to achieve live snapshots as 
> this is an important feature for us (can’t live without it).
>
> But based on the Cloudstack documentation, KVM Supports VM Snapshots only 
> when using NFS Shared Storage.
>
> Linstor does support NFS, but there are some limitations to it such as not 
> being able to resize the NFS share file (need to create a new NFS and do 
> manual migration).
>
> How are other users overcoming this issue with Cloudstack + Linstor? Our 
> setup details below:
>
> Compute Hypervisor: Ubuntu 20/22 LTS KVM Primary Storage: Linstor Raw Block 
> Storage
>
> Regards,
> Bryan
>
>


RE: Palo Alto VM Firewall with Cloudstack

2023-11-15 Thread Bryan Tiang
Hey Alex,

Thanks for the response.

I’ll try to get a trial VM Firewall from Palo Alto and see if it still works 
with Cloudstack 4.18. Will update our findings.

But in the event that this doesn’t work, we were thinking of still using it, 
but outside of CloudStack. Meaning we will put the Palo Alto Firewall after the 
router (filtering all traffic into the cloud tenants). Cloudstack will not know 
of its existence, and we will need to manage this firewall manually.

Will this work?

Regards,
Bryan
On 16 Nov 2023 at 1:11 PM +0800, Alex Mattioli , 
wrote:
> I've deployed PaloAlto firewalls as VNFs in CloudStack, but didn't use the 
> integration, it seems to have been abandoned as it didn't work with the 
> version of PAN-OS I was using. That was back with ACS 4.11, didn't try with 
> later versions.
>
>
>
>
>
>
> -Original Message-
> From: Bryan Tiang 
> Sent: Thursday, November 16, 2023 6:08 AM
> To: users@cloudstack.apache.org; users@cloudstack.apache.org
> Subject: Re: Palo Alto VM Firewall with Cloudstack
>
> Hi Tesfay,
>
> Thanks for the links. We are using KVM Ubuntu for our hypervisors.
>
> I’ll take it as Palo Alto integration with Cloudstack UI and API is still 
> supported.
>
> Anyone using this setup in production? Is it stable? Any experiences to share?
>
> Regards,
> Bryan
> On 16 Nov 2023 at 1:00 PM +0800, Tesfay Tesfamariam 
> , wrote:
> > Check PaloAlto supported hypervisor page.
> >
> > https://docs.paloaltonetworks.com/compatibility-matrix/vm-series-firewalls/vms-series-hypervisor-support
> >
> > CloudStack documentation
> >
> > http://docs.cloudstack.apache.org/en/4.18.1.0/adminguide/networking/palo_alto_config.html
> >
> > May be post your question in the community page if none works for you .
> >
> > https://live.paloaltonetworks.com/
> > 
> > From: Bryan Tiang 
> > Sent: Wednesday, November 15, 2023 11:02:23 PM
> > To: Vivek Kumar via users 
> > Subject: Palo Alto VM Firewall with Cloudstack
> >
> > Hi Guys,
> >
> > Has anyone used Cloudstack together with Palo Alto VM Firewall?
> >
> > I can see Palo Alto is supported in the Documentation but I know some 
> > documents aren’t updated.
> >
> > We want to be able to manage the Palo Alto VM Firewall via Cloudstack for a 
> > fully automated solution.
> >
> > Regards,
> > Bryan


Re: IP Address Not Showing On UI

2023-11-15 Thread Jithin Raju
Hi Carlo,

We don’t have to run the command manually cloudstack uses it internally.

-Jithin

From: Carlo Fernandez 
Date: Thursday, 16 November 2023 at 11:01 AM
To: users@cloudstack.apache.org 
Subject: Re: IP Address Not Showing On UI
Hi Jithin,

Thank you so much!

I’ve never used the guestfish command, but from the sample command it looks 
like this would have to be run manually for every guest VM.

Is there a way to automate this?

Thanks,

Carlo Fernandez

> On Nov 15, 2023, at 9:22 PM, Jithin Raju  wrote:
>
> Hi Carlo,
>
> Ideally, the guest IPs served by external DHCP would be fetched by the 
> management server via hypervisor, I haven’t used it with KVM recently.
>
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=53740797
>
> Getting DHCP IP from the VM by CS
>1.  Retrieve the IP from the Vm and update in the CS DB.
>   a. VmWare
>  With the help of vmware tools, Vm IP will be read from the 
> information by the hypervisor
>   Note: Required vmware tools needs to be installed in Vm.
>
> b.   XenServer
>   Retrieve the VM IP from XenServer using the below command by 
> passing the VM name.
>   #xe vm-list name-label= params=networks
>  The output is parsed to get the vm ip address.
>  Note: Windows VM requires PV drivers to be installed to get the 
> VM IP.
>
> c. KVM
>  Use the guestfish command in KVM host to read the VM dhcp lease 
> and parse it get the VM IP address.
>  #guestfish --ro -i -d i-2-21-VM download  
> /var/lib/dhclient/dhclient-eth0.leases  -
>
> Note: Reading IP using guestfish command works for only Linux 
> guest VMs.
>
>
> -Jithin
>
> From: Carlo Fernandez 
> Date: Thursday, 16 November 2023 at 9:52 AM
> To: users@cloudstack.apache.org 
> Subject: IP Address Not Showing On UI
> Hi folks,
>
> I got CloudStack up and running on a few KVM hosts and everything is working 
> as expected, except for one thing.
>
> Since the IP addresses for guest VMs are assigned by an external DHCP server, 
> the IP addresses assigned won’t show up in the UI.
>
> Is there any way to get these to show up? Any script or anything that I can 
> add to my images?
>
> Currently, users have to log in via the console to see the IP address so that 
> they can SSH into their VMs.
>
> I appreciate any help you can provide!
>
> Regards,
>
> Carlo Fernandez
>
>
>

 



Re: IP Address Not Showing On UI

2023-11-15 Thread Carlo Fernandez
Hi Jithin,

Thank you so much!

I’ve never used the guestfish command, but from the sample command it looks 
like this would have to be run manually for every guest VM.

Is there a way to automate this?

Thanks,

Carlo Fernandez

> On Nov 15, 2023, at 9:22 PM, Jithin Raju  wrote:
> 
> Hi Carlo,
> 
> Ideally, the guest IPs served by external DHCP would be fetched by the 
> management server via hypervisor, I haven’t used it with KVM recently.
> 
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=53740797
> 
> Getting DHCP IP from the VM by CS
>1.  Retrieve the IP from the Vm and update in the CS DB.
>   a. VmWare
>  With the help of vmware tools, Vm IP will be read from the 
> information by the hypervisor
>   Note: Required vmware tools needs to be installed in Vm.
> 
> b.   XenServer
>   Retrieve the VM IP from XenServer using the below command by 
> passing the VM name.
>   #xe vm-list name-label= params=networks
>  The output is parsed to get the vm ip address.
>  Note: Windows VM requires PV drivers to be installed to get the 
> VM IP.
> 
> c. KVM
>  Use the guestfish command in KVM host to read the VM dhcp lease 
> and parse it get the VM IP address.
>  #guestfish --ro -i -d i-2-21-VM download  
> /var/lib/dhclient/dhclient-eth0.leases  -
> 
> Note: Reading IP using guestfish command works for only Linux 
> guest VMs.
> 
> 
> -Jithin
> 
> From: Carlo Fernandez 
> Date: Thursday, 16 November 2023 at 9:52 AM
> To: users@cloudstack.apache.org 
> Subject: IP Address Not Showing On UI
> Hi folks,
> 
> I got CloudStack up and running on a few KVM hosts and everything is working 
> as expected, except for one thing.
> 
> Since the IP addresses for guest VMs are assigned by an external DHCP server, 
> the IP addresses assigned won’t show up in the UI.
> 
> Is there any way to get these to show up? Any script or anything that I can 
> add to my images?
> 
> Currently, users have to log in via the console to see the IP address so that 
> they can SSH into their VMs.
> 
> I appreciate any help you can provide!
> 
> Regards,
> 
> Carlo Fernandez
> 
> 
> 


Re: IP Address Not Showing On UI

2023-11-15 Thread Jithin Raju
Hi Carlo,

Ideally, the guest IPs served by external DHCP would be fetched by the 
management server via hypervisor, I haven’t used it with KVM recently.

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=53740797

Getting DHCP IP from the VM by CS
1.  Retrieve the IP from the Vm and update in the CS DB.
   a. VmWare
  With the help of vmware tools, Vm IP will be read from the 
information by the hypervisor
   Note: Required vmware tools needs to be installed in Vm.

 b.   XenServer
   Retrieve the VM IP from XenServer using the below command by 
passing the VM name.
   #xe vm-list name-label= params=networks
  The output is parsed to get the vm ip address.
  Note: Windows VM requires PV drivers to be installed to get the 
VM IP.

 c. KVM
  Use the guestfish command in KVM host to read the VM dhcp lease 
and parse it get the VM IP address.
  #guestfish --ro -i -d i-2-21-VM download  
/var/lib/dhclient/dhclient-eth0.leases  -

 Note: Reading IP using guestfish command works for only Linux 
guest VMs.


-Jithin

From: Carlo Fernandez 
Date: Thursday, 16 November 2023 at 9:52 AM
To: users@cloudstack.apache.org 
Subject: IP Address Not Showing On UI
Hi folks,

I got CloudStack up and running on a few KVM hosts and everything is working as 
expected, except for one thing.

Since the IP addresses for guest VMs are assigned by an external DHCP server, 
the IP addresses assigned won’t show up in the UI.

Is there any way to get these to show up? Any script or anything that I can add 
to my images?

Currently, users have to log in via the console to see the IP address so that 
they can SSH into their VMs.

I appreciate any help you can provide!

Regards,

Carlo Fernandez

 



RE: Palo Alto VM Firewall with Cloudstack

2023-11-15 Thread Alex Mattioli
I've deployed PaloAlto firewalls as VNFs in CloudStack, but didn't use the 
integration, it seems to have been abandoned as it didn't work with the version 
of PAN-OS I was using. That was back with ACS 4.11, didn't try with later 
versions.



 


-Original Message-
From: Bryan Tiang  
Sent: Thursday, November 16, 2023 6:08 AM
To: users@cloudstack.apache.org; users@cloudstack.apache.org
Subject: Re: Palo Alto VM Firewall with Cloudstack

Hi Tesfay,

Thanks for the links. We are using KVM Ubuntu for our hypervisors.

I’ll take it as Palo Alto integration with Cloudstack UI and API is still 
supported.

Anyone using this setup in production? Is it stable? Any experiences to share?

Regards,
Bryan
On 16 Nov 2023 at 1:00 PM +0800, Tesfay Tesfamariam , 
wrote:
> Check PaloAlto supported hypervisor page.
>
> https://docs.paloaltonetworks.com/compatibility-matrix/vm-series-firewalls/vms-series-hypervisor-support
>
> CloudStack documentation
>
> http://docs.cloudstack.apache.org/en/4.18.1.0/adminguide/networking/palo_alto_config.html
>
> May be post your question in the community page if none works for you .
>
> https://live.paloaltonetworks.com/
> 
> From: Bryan Tiang 
> Sent: Wednesday, November 15, 2023 11:02:23 PM
> To: Vivek Kumar via users 
> Subject: Palo Alto VM Firewall with Cloudstack
>
> Hi Guys,
>
> Has anyone used Cloudstack together with Palo Alto VM Firewall?
>
> I can see Palo Alto is supported in the Documentation but I know some 
> documents aren’t updated.
>
> We want to be able to manage the Palo Alto VM Firewall via Cloudstack for a 
> fully automated solution.
>
> Regards,
> Bryan


Re: Palo Alto VM Firewall with Cloudstack

2023-11-15 Thread Bryan Tiang
Hi Tesfay,

Thanks for the links. We are using KVM Ubuntu for our hypervisors.

I’ll take it as Palo Alto integration with Cloudstack UI and API is still 
supported.

Anyone using this setup in production? Is it stable? Any experiences to share?

Regards,
Bryan
On 16 Nov 2023 at 1:00 PM +0800, Tesfay Tesfamariam , 
wrote:
> Check PaloAlto supported hypervisor page.
>
> https://docs.paloaltonetworks.com/compatibility-matrix/vm-series-firewalls/vms-series-hypervisor-support
>
> CloudStack documentation
>
> http://docs.cloudstack.apache.org/en/4.18.1.0/adminguide/networking/palo_alto_config.html
>
> May be post your question in the community page if none works for you .
>
> https://live.paloaltonetworks.com/
> 
> From: Bryan Tiang 
> Sent: Wednesday, November 15, 2023 11:02:23 PM
> To: Vivek Kumar via users 
> Subject: Palo Alto VM Firewall with Cloudstack
>
> Hi Guys,
>
> Has anyone used Cloudstack together with Palo Alto VM Firewall?
>
> I can see Palo Alto is supported in the Documentation but I know some 
> documents aren’t updated.
>
> We want to be able to manage the Palo Alto VM Firewall via Cloudstack for a 
> fully automated solution.
>
> Regards,
> Bryan


Re: Palo Alto VM Firewall with Cloudstack

2023-11-15 Thread Tesfay Tesfamariam
Check PaloAlto supported hypervisor page.

https://docs.paloaltonetworks.com/compatibility-matrix/vm-series-firewalls/vms-series-hypervisor-support

CloudStack documentation

http://docs.cloudstack.apache.org/en/4.18.1.0/adminguide/networking/palo_alto_config.html

May be post your question in the community page if none works for you .

https://live.paloaltonetworks.com

From: Bryan Tiang 
Sent: Wednesday, November 15, 2023 11:02:23 PM
To: Vivek Kumar via users 
Subject: Palo Alto VM Firewall with Cloudstack

Hi Guys,

Has anyone used Cloudstack together with Palo Alto VM Firewall?

I can see Palo Alto is supported in the Documentation but I know some documents 
aren’t updated.

We want to be able to manage the Palo Alto VM Firewall via Cloudstack for a 
fully automated solution.

Regards,
Bryan


IP Address Not Showing On UI

2023-11-15 Thread Carlo Fernandez
Hi folks,

I got CloudStack up and running on a few KVM hosts and everything is working as 
expected, except for one thing.

Since the IP addresses for guest VMs are assigned by an external DHCP server, 
the IP addresses assigned won’t show up in the UI.

Is there any way to get these to show up? Any script or anything that I can add 
to my images? 

Currently, users have to log in via the console to see the IP address so that 
they can SSH into their VMs.

I appreciate any help you can provide!

Regards,

Carlo Fernandez

Re: Unable to add second host

2023-11-15 Thread Jithin Raju
If you have the steps to reproduce the issue it might be worth reporting the 
issue.

-Jithin

From: Jimmy Huybrechts 
Date: Wednesday, 15 November 2023 at 3:53 PM
To: users@cloudstack.apache.org 
Subject: Re: Unable to add second host
Hi Jithin,

That was it actually, I filled in a guid in that table and now it added it, 
currently doing tests with it already :)

--
Jimmy

Van: Jithin Raju 
Datum: woensdag, 15 november 2023 om 05:15
Aan: users@cloudstack.apache.org 
Onderwerp: Re: Unable to add second host
Hi Jimmy,

>Guid is not updated for cluster with specified cluster id
Could you verify whether there is any value for the ‘guid’ filed in the 
‘cluster’ table for this cluster, if its NULL generate a random UUID and update 
the field.

-Jithin

From: Jimmy Huybrechts 
Date: Tuesday, 14 November 2023 at 10:13 PM
To: users@cloudstack.apache.org 
Subject: Re: Unable to add second host
Hi Gary,

I did that doing the fqdn indeed, just like the first host.

--
Jimmy

Van: Gary Dixon 
Datum: dinsdag, 14 november 2023 om 17:22
Aan: users@cloudstack.apache.org 
Onderwerp: RE: Unable to add second host
Hi Jimmy

Did you try to add the host via its IP or FQDN - it looks like you need to add 
it via FQDN

[cid:image195681.png@8AB6B0A1.40521B2B]
Gary Dixon​
Senior Technical Consultant
[cid:image607471.png@6EABA39E.15C283A8]
0161 537 4980
 +44 7989717661
[cid:image039452.png@587E2583.30F76F95]
gary.di...@quadris.co.uk
[cid:image674966.png@DDFF6C88.15096CB3]
www.quadris.com
[cid:image900790.png@68DA5719.E45F2990]
Innovation House, 12‑13 Bredbury Business Park
Bredbury Park Way, Bredbury, Stockport, SK6 2SN



 


-Original Message-
From: Jimmy Huybrechts 
Sent: Tuesday, November 14, 2023 4:18 PM
To: users@cloudstack.apache.org
Subject: Unable to add second host

I'm trying to add a second host to my cluster now after the tests I did with 
having only one, however I get a Error 530 in the GUI and the management log 
says the following:

2023-11-14 17:11:33,491 WARN [c.c.a.d.ParamGenericValidationWorker] 
(qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) Received unknown 
parameters for command addHost. Unknown parameters : clustertype
2023-11-14 17:11:33,495 ERROR [c.c.a.ApiServer] (qtp1278852808-495:ctx-1cea20ad 
ctx-5982a2e5) (logid:d7576e47) unhandled exception executing api command: 
[Ljava.lang.String;@44dcd5ae
com.cloud.utils.exception.CloudRuntimeException: Guid is not updated for 
cluster with specified cluster id; need to wait for hosts in this cluster to 
come up
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:640)
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.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.$Proxy199.discoverHosts(Unknown Source)
at 
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:136)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:782)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:603)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:151)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:665)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at 
org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
at org.eclipse.jetty.server.handler.ScopedHandler.ha

Palo Alto VM Firewall with Cloudstack

2023-11-15 Thread Bryan Tiang
Hi Guys,

Has anyone used Cloudstack together with Palo Alto VM Firewall?

I can see Palo Alto is supported in the Documentation but I know some documents 
aren’t updated.

We want to be able to manage the Palo Alto VM Firewall via Cloudstack for a 
fully automated solution.

Regards,
Bryan


Failed to fetch any free - False - ACS 4.18.1

2023-11-15 Thread cristian.c

Hello,

 

Today, I tried to deploy new VMs, but I encountered the following error:
failed to fetch any free public IP address. This is incorrect, as even on
the dashboard, I can see 12/22 for Public and 172/212 for Shared. For this
deployment, I used the Shared/guest network. I also checked the database and
saw 41 free IPs for this zone.


Any suggestions?


2023-11-15 11:18:53,441 INFO  [c.c.h.v.m.VirtualMachineMO]
(DirectAgent-19:ctx-a91068e2 usa-nyc-001.test.host, cmd:
GetVolumeStatsCommand) (logid:851b339a) Look for disk device info from
volume : ROOT-6215_2.vmdk with base name: ROOT-6215_2

2023-11-15 11:18:53,441 INFO  [c.c.h.v.m.VirtualMachineMO]
(DirectAgent-19:ctx-a91068e2 usa-nyc-001.test.host, cmd:
GetVolumeStatsCommand) (logid:851b339a) Test against disk device, controller
key: 1000, unit number: 0

2023-11-15 11:18:53,441 INFO  [c.c.h.v.m.VirtualMachineMO]
(DirectAgent-19:ctx-a91068e2 usa-nyc-001.test.host, cmd:
GetVolumeStatsCommand) (logid:851b339a) Test against disk backing : [nyc001]
i-2-6215-VMAMS/ROOT-6215_2.vmdk

2023-11-15 11:18:53,441 INFO  [c.c.h.v.m.VirtualMachineMO]
(DirectAgent-19:ctx-a91068e2 usa-nyc-001.test.host, cmd:
GetVolumeStatsCommand) (logid:851b339a) Disk backing : [nyc001]
i-2-6215-VMAMS/ROOT-6215_2.vmdk matches ==> scsi0:0

2023-11-15 11:18:54,194 INFO  [c.c.n.NetworkModelImpl]
(qtp1444635922-323:ctx-a813b819 ctx-3b16875f) (logid:2b3f6d9b) Checking
permission for account admin (17274c5e-d492-11e5-86c3-000c298715c8) on
network TestHost-Public-NYC (1bece1dc-d9c1-4bff-b5aa-67333a6830ae)

2023-11-15 11:18:54,309 INFO  [c.c.v.VirtualMachineManagerImpl]
(qtp1444635922-323:ctx-a813b819 ctx-3b16875f) (logid:2b3f6d9b) allocating
virtual machine from template:391d4eab-1506-44be-b743-5ae7bd0f4ad7 with
hostname:i-2-6262-VMAMS and 1 networks

2023-11-15 11:18:54,325 ERROR [c.c.n.IpAddressManagerImpl]
(qtp1444635922-323:ctx-a813b819 ctx-3b16875f) (logid:2b3f6d9b) Failed to
fetch any free

public IP address

2023-11-15 11:18:54,340 ERROR [c.c.a.ApiServer]
(qtp1444635922-323:ctx-a813b819 ctx-3b16875f) (logid:2b3f6d9b) unhandled
exception executing api command: [Ljava.lang.String;@4a8c9f6c

com.cloud.utils.exception.CloudRuntimeException: Failed to fetch any free
public IP address

at
com.cloud.network.IpAddressManagerImpl.lambda$assignAndAllocateIpAddressEntr
y$0(IpAddressManagerImpl.java:374)

at com.cloud.utils.db.Transaction.execute(Transaction.java:40)

at
com.cloud.network.IpAddressManagerImpl.assignAndAllocateIpAddressEntry(IpAdd
ressManagerImpl.java:339)

at
com.cloud.network.IpAddressManagerImpl.fetchNewPublicIp(IpAddressManagerImpl
.java:821)

at
com.cloud.network.IpAddressManagerImpl.fetchNewPublicIp(IpAddressManagerImpl
.java:810)

at
com.cloud.network.IpAddressManagerImpl.assignPublicIpAddress(IpAddressManage
rImpl.java:778)

at
com.cloud.network.IpAddressManagerImpl$10.doInTransactionWithoutResult(IpAdd
ressManagerImpl.java:2240)

at
com.cloud.utils.db.TransactionCallbackWithExceptionNoReturn.doInTransaction(
TransactionCallbackWithExceptionNoReturn.java:25)

at
com.cloud.utils.db.TransactionCallbackWithExceptionNoReturn.doInTransaction(
TransactionCallbackWithExceptionNoReturn.java:21)

at com.cloud.utils.db.Transaction.execute(Transaction.java:40)

at
com.cloud.network.IpAddressManagerImpl.allocateDirectIp(IpAddressManagerImpl
.java:2220)

at
com.cloud.network.guru.DirectNetworkGuru$1.doInTransactionWithoutResult(Dire
ctNetworkGuru.java:324)

at
com.cloud.utils.db.TransactionCallbackWithExceptionNoReturn.doInTransaction(
TransactionCallbackWithExceptionNoReturn.java:25)

at
com.cloud.utils.db.TransactionCallbackWithExceptionNoReturn.doInTransaction(
TransactionCallbackWithExceptionNoReturn.java:21)

at com.cloud.utils.db.Transaction.execute(Transaction.java:40)

at
com.cloud.network.guru.DirectNetworkGuru.allocateDirectIp(DirectNetworkGuru.
java:317)

at
com.cloud.network.guru.DirectNetworkGuru.allocate(DirectNetworkGuru.java:290
)

at
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.allocateNic(N
etworkOrchestrator.java:1025)

at
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.addRequestedN
icToNicListWithDeviceNumberAndRetrieveDefaultDevice(NetworkOrchestrator.java
:877)

at
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.allocate(Netw
orkOrchestrator.java:850)

at
com.cloud.vm.VirtualMachineManagerImpl.allocate(VirtualMachineManagerImpl.ja
va:491)

at
org.apache.cloudstack.engine.orchestration.CloudOrchestrator.createVirtualMa
chine(CloudOrchestrator.java:255)

at
com.cloud.vm.UserVmManagerImpl.commitUserVm(UserVmManagerImpl.java:4527)

at
com.cloud.vm.UserVmManagerImpl.commitUserVm(UserVmManagerImpl.java:4630)

at
com.cloud.vm.UserVmManagerImpl.getUncheckedUserVmResource(UserVmManagerImpl.
java:4261)

at
com.cloud.vm

System vm's local storage

2023-11-15 Thread Jimmy Huybrechts
Hi,

While having 2 hosts now I can see I still have a single secstorage and proxy 
vm on my cluster on the first host I built, same for router vm’s.
How does it communicate with the second host I have? (I know it works because I 
installed a vm on it).

When building the zone it was set to use local storage for system vm’s too.

When the first host crashes, would it auto rebuild them on the second host?

--
Jimmy


Re: CloudStack - TF Integration Status

2023-11-15 Thread Rohit Palsulkar
Hi Simon,

Thank you for sharing the details.
Will wait for the same.

On Thu, 2 Nov 2023 at 20:02, Simon Weller  wrote:

> All,
>
> There are some ongoing talks regarding a potential fork of Tungsten Fabric.
>  I suggest we let those play out before we make any decisions on the
> plugin.
>
> -Si
>
>
> On Mon, Oct 30, 2023 at 9:47 AM Rohit Yadav 
> wrote:
>
> > Hi Rohit P,
> >
> > As I've shared in my earlier reply, CloudStack already supports Tungsten
> > Fabric so given news on TF's website it's really up our community to
> > discuss this further, propose and evaluate options.
> >
> > Apart from TF, we do have alternative SDN support in CloudStack, first
> and
> > foremost CloudStack's very own native virtual router and support for VPC,
> > isolated, L2 and shared networks;  along with that, we've a bunch of
> > network plugins for variety of network functions (
> > https://github.com/apache/cloudstack/tree/main/plugins/network-elements)
> > and an upcoming integration with VMware NSX (there's a talk proposes for
> > CCC https://www.cloudstackcollab.org/#schedule and a work-in-progress
> > pull request).
> >
> > Generally speaking, as with any software project and integration
> > dependencies, when there is lack of access to software or hardware and
> > licenses (for testing, CI/CD) by the community, and lack of support by
> the
> > vendor or users, the original integration may develop stability and
> > maintenance issues longer term.
> >
> >
> > Regards.
> >
> > 
> > From: Rohit Palsulkar 
> > Sent: Monday, October 30, 2023 16:20
> > To: users@cloudstack.apache.org 
> > Subject: Re: CloudStack - TF Integration Status
> >
> > Hi Rohit,
> >
> > Kindly help me with the query I have asked earlier.
> >
> > "Could you please confirm if the development towards Tungsten Integration
> > will not happen going forward? If yes, do we have any alternatives to
> > Tungsten?"
> >
> >
> > On Fri, 27 Oct 2023 at 03:06, Rohit Palsulkar <
> rohit.palsul...@indiqus.com
> > >
> > wrote:
> >
> > > Thank you Stephan.
> > >
> > > Yes, Rohit Yadav
> > > I was referring to the *Tungsten Fabric* Website only. Wherein the
> > > Website's Landing page says -
> > >
> > > *"Thank you for your interest in Tungsten Fabric. The community has
> > > decided to shut down the project and will sunset this website on August
> > 1,
> > > 2024."*
> > >
> > > Could you please confirm if the development towards Tungsten
> Integration
> > > will not happen going forward? If yes, do we have any alternatives to
> > > Tungsten?
> > >
> > > On Thu, 26 Oct 2023 at 19:30, Rohit Yadav 
> > > wrote:
> > >
> > >> Thanks Stephan, Rohit P. for the thread. I couldn't see the attached
> > >> screenshot which possibly got stripped from the mail (mailing lists
> > doesn't
> > >> allow such attachments).
> > >>
> > >> Support for Tungsten Fabric already exists in CloudStack, but given
> the
> > >> new update on TF's website I suppose all of us in the community needs
> to
> > >> review this change and evaluate options.
> > >>
> > >>
> > >> Regards.
> > >>
> > >> 
> > >> From: Stephan Bienek 
> > >> Sent: Thursday, October 26, 2023 14:45
> > >> To: users@cloudstack.apache.org 
> > >> Subject: Re: CloudStack - TF Integration Status
> > >>
> > >> Rohit P. might be referring to Tungsten Fabric instead of Terraform.
> > >>
> > >> On the project website of Tungsten Fabric the project team states:
> > >>
> > >> "Thank you for your interest in Tungsten Fabric. The community has
> > >> decided to shut down the project and will sunset this website on
> August
> > 1,
> > >> 2024."
> > >>
> > >> which would give the right relation to Rohit`s question of how this
> will
> > >> impact the integration with Cloudstack
> > >>
> > >> Best regards,
> > >> Stephan
> > >>
> > >> > Rohit Yadav  hat am 26.10.2023 10:59
> CEST
> > >> geschrieben:
> > >> >
> > >> >
> > >> > Hi Rohit,
> > >> >
> > >> > Some triaging work was done last month, we hope to work towards the
> > >> next TF release v0.5.0 after ACS 4.19 release -
> > >> https://github.com/apache/cloudstack-terraform-provider/milestone/2
> > >> >
> > >> > In the meanwhile, any user efforts in testing and submitting
> > >> bugs/improvement requests on Github are welcome.
> > >> >
> > >> >
> > >> > Regards.
> > >> >
> > >> > 
> > >> > From: Rohit Palsulkar 
> > >> > Sent: Thursday, October 26, 2023 14:25
> > >> > To: users@cloudstack.apache.org 
> > >> > Subject: CloudStack - TF Integration Status
> > >> >
> > >> > Hi All,
> > >> >
> > >> > I just wanted to know the status of the CloudStack - TF Integration.
> > Is
> > >> it still happening?
> > >> >
> > >> > I came across the TF Website and saw below message -
> > >> >
> > >> > [Screenshot 2023-10-26 at 2.07.48 PM.png]
> > >> >
> > >> > Kindly let us know if this will affect the ongoing development
> towards
> > >> the Integration with Cloudstack?
> > >> >
> > >> > --
> > >> > Regards,
>

Re: Unable to add second host

2023-11-15 Thread Jimmy Huybrechts
Hi Jithin,

That was it actually, I filled in a guid in that table and now it added it, 
currently doing tests with it already :)

--
Jimmy

Van: Jithin Raju 
Datum: woensdag, 15 november 2023 om 05:15
Aan: users@cloudstack.apache.org 
Onderwerp: Re: Unable to add second host
Hi Jimmy,

>Guid is not updated for cluster with specified cluster id
Could you verify whether there is any value for the ‘guid’ filed in the 
‘cluster’ table for this cluster, if its NULL generate a random UUID and update 
the field.

-Jithin

From: Jimmy Huybrechts 
Date: Tuesday, 14 November 2023 at 10:13 PM
To: users@cloudstack.apache.org 
Subject: Re: Unable to add second host
Hi Gary,

I did that doing the fqdn indeed, just like the first host.

--
Jimmy

Van: Gary Dixon 
Datum: dinsdag, 14 november 2023 om 17:22
Aan: users@cloudstack.apache.org 
Onderwerp: RE: Unable to add second host
Hi Jimmy

Did you try to add the host via its IP or FQDN - it looks like you need to add 
it via FQDN

[cid:image195681.png@8AB6B0A1.40521B2B]
Gary Dixon​
Senior Technical Consultant
[cid:image607471.png@6EABA39E.15C283A8]
0161 537 4980
 +44 7989717661
[cid:image039452.png@587E2583.30F76F95]
gary.di...@quadris.co.uk
[cid:image674966.png@DDFF6C88.15096CB3]
www.quadris.com
[cid:image900790.png@68DA5719.E45F2990]
Innovation House, 12‑13 Bredbury Business Park
Bredbury Park Way, Bredbury, Stockport, SK6 2SN



-Original Message-
From: Jimmy Huybrechts 
Sent: Tuesday, November 14, 2023 4:18 PM
To: users@cloudstack.apache.org
Subject: Unable to add second host

I'm trying to add a second host to my cluster now after the tests I did with 
having only one, however I get a Error 530 in the GUI and the management log 
says the following:

2023-11-14 17:11:33,491 WARN [c.c.a.d.ParamGenericValidationWorker] 
(qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) Received unknown 
parameters for command addHost. Unknown parameters : clustertype
2023-11-14 17:11:33,495 ERROR [c.c.a.ApiServer] (qtp1278852808-495:ctx-1cea20ad 
ctx-5982a2e5) (logid:d7576e47) unhandled exception executing api command: 
[Ljava.lang.String;@44dcd5ae
com.cloud.utils.exception.CloudRuntimeException: Guid is not updated for 
cluster with specified cluster id; need to wait for hosts in this cluster to 
come up
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:640)
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.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.$Proxy199.discoverHosts(Unknown Source)
at 
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:136)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:782)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:603)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:151)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:665)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at 
org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at 
org.eclipse.jetty.server.handler.ScopedHandl