r/ApacheCloudStack • • Feb 22 '24

Cloudstack with XCP-NG

4 Upvotes

We are actively looking for VMware alternatives, one of the options we are trying for cloudstack and xcp-ng

Can anyone help with good demo on this , documentation or videos. We are having some issues on setting it up.


r/ApacheCloudStack • • Nov 16 '25

Building a homelab using Apache CloudStack, MaaS, Kubernetes, and Knative

Thumbnail
gallery
17 Upvotes

First-time poster here. I finally decided to start experimenting with building a homelab, and I'm documenting the entire process on GitHub. The tech stack is as follows:

  • Canonical MaaS: Managing and provisioning physical servers

  • Apache CloudStack: Infrastructure as a Service (IaaS) cloud computing platform

  • Kubernetes: Container orchestration

  • Knative: Serverless workloads on Kubernetes

  • Cilium: Advanced networking & observability on Kubernetes

  • Traefik: Reverse proxy, ingress controller, and API gateway on Kubernetes

I have been tinkering with standardising the deployment and configuration process. I currently have Windows 11 and Ubuntu 24.04 VMs running and a 3-node CKS-managed Kubernetes cluster with Cilium CNI, Traefik ingress, and Knative for deploying serverless applications that scale based on traffic and cluster capacity. Canonical's MaaS is very handy for configuring and deploying the physical servers that will run CloudStack.

Any suggestions or recommendations would be helpful. I will continue to update the repo on GitHub to reflect the homelab's state, and Terraform will be used to manage the CloudStack environment.

The final homelab is to host applications such as NextCloud, Jellyfin, Tailscale for ZTNA, and Cloudflare tunnels for making services public. It's also to experiment with various cloud security tools. I work as an Infrastructure Security Engineer, so it's handy to test various cloud-native security tools without dealing with the hyperscalers (shocker, I'm not a fan even though I use all three daily).


r/ApacheCloudStack • • Nov 27 '25

Firecracker Extension

13 Upvotes

I’ve been working on a Firecracker Extension for Apache CloudStack and finally made the repo public.

The idea is simple: bring Firecracker microVMs into CloudStack using the new Orchestrator Extensions framework.

The extension includes:

  • An external hypervisor module that plugs into the CloudStack management server

  • A host-side agent that exposes each Firecracker node as an HTTPS API endpoint

  • PAM-based authentication

  • Configurable storage and network backends (LVM, file-based volumes, VLAN-aware bridges, etc.)

If you’re interested in CloudStack, lightweight virtualization, or just enjoy playing with Firecracker, feel free to take a look or share feedback.

GitHub: https://github.com/msinhore/cloudstack-firecracker-extension


r/ApacheCloudStack • • Jun 08 '26

CloudStack 4.20 + XCP-NG 8.2: CloudStack tries to create VLANs instead of using existing labeled physical networks and Problem with Secondary Storage

2 Upvotes

Hi everyone,

I'm new to the Apache CloudStack environment and have started building a POC. I'm using XCP-NG as the underlying platform. Originally I come from VMware and am considering removing the product from our portfolio due to the current conditions imposed by Broadcom.

There's one thing I don't quite understand, and I was hoping you could help me with it.

I've configured the networking on the XCP side: MGMT, SAN, Live Migration, etc. These are all on different VLANs. MGMT is running on a 1 Gbps connection, while SAN and Live Migration are each on their own 25 Gbps fiber optic adapters. I can reach everything and it's working. I've also assigned the corresponding labels.

I installed CloudStack as a VM and started the setup. All hosts have been added successfully. However, I then got an error that storage cannot be added. By the way, I'm using XCP-NG 8.2 and CloudStack 4.20.

In the logs I could see a message for the networks from the zone (i.e. the physical networks) that basically said something like "I can't create a VLAN on a VLAN". This means CloudStack recognized the existing configuration on XCP-NG. I actually thought that by assigning the labels I was telling it which physical network to use, and not that CloudStack should try to create a new one.

Additionally, I can't access the Secondary Storage. Unlike Primary Storage, which is connected through the hosts, it seems CloudStack wants to reach Secondary Storage via the MGMT interface of the Cloudstack VM. That obviously doesn't work, because only the SAN interface/adapter has the necessary connectivity. How can I tell CloudStack to use exactly this path via the SAN adapter? Adding a PIF with an IP address from the SAN network didn't help.

Please don't stone me — I've read a lot and implemented quite a bit in this POC, but these points just aren't becoming clear to me.

Many thanks in advance!


r/ApacheCloudStack • • Jun 20 '25

Help! CloudStack KVM - Unable to deploy system VMs

3 Upvotes

Message :

Hi everyone,

I’m having a big issue with my Apache CloudStack setup and I’m running out of ideas.
Context:

  • CloudStack 4.x with KVM hypervisors

  • Primary storage: iSCSI (TrueNAS) mounted on KVM host

  • Secondary storage: NFS

  • Trying to deploy a new Secondary Storage VM (SSVM) in a zone

The problem:

  • When CloudStack tries to deploy the SSVM, it fails at the step where it needs to copy the system VM template to the primary storage.

  • The SSVM never starts, and the management server logs show errors like:

  • textUnable to create volume [...] due to [com.cloud.utils.exception.CloudRuntimeException: Can't find volume:...] Resource [StoragePool:3] is unreachable: Unable to create volume [...]

  • On the KVM host, the primary storage is mounted (/mnt/primary01), but it is empty.

  • The system VM template is present on the secondary storage (NFS), but apparently never copied to the primary.

What I’ve tried:

  • Verified that /mnt/primary01 is mounted and accessible from the KVM host (but it’s empty).

  • Checked that the template exists on the secondary storage.

  • Refreshed the libvirt storage pool with virsh pool-refresh.

  • Checked permissions on both storage exports.

  • Restarted CloudStack agent and management server.


r/ApacheCloudStack • • Aug 13 '25

AWS deleted my 10-year account and all data without warning

Thumbnail seuros.com
2 Upvotes

r/ApacheCloudStack • • Mar 10 '25

Cloudstack question

2 Upvotes

Good morning! My company is working with Cloudstack and we're looking at some of the features called out in the documentation, such as the new B&R plugin, as well as the snapshot copy functionality as we are working on setting up a feasible disaster recovery solution for our clients.

We've looked into some of the options with snapshot copying and Linbit's DRBD solution for replication of snapshots/data, and I was curious about something.

In the documentation for snapshotting, it says that the snapshots are taken and then immediately copied off to secondary storage. Is it possible to define what secondary storage is targeted on a per-domain/instance basis for this? E.g., could we set up separate 'secondary storage' targets per customer domain, such that snapshots for one customer's domain remain separate from general storage/the rest of the customers?


r/ApacheCloudStack • • Feb 27 '26

Proxmox cloudinit

3 Upvotes

Hi everyone,

I’m currently working on integrating Apache CloudStack with Proxmox and I’m hitting a bit of a wall regarding automated networking.

Specifically, I’m trying to deploy instances where CloudStack handles the IP assignment and passes that configuration to the guest OS via Cloud-Init.

Does the Proxmox extension in CloudStack automatically update the Proxmox VM's "Cloud-Init" network settings, or do I need to pass a specific user-data string during deployment?

Has anyone had issues with the Cloud-Init datasource being set to NoCloud vs CloudStack when running on Proxmox?

Are there any specific global settings in CloudStack I need to toggle to ensure the metadata is passed correctly to the PVE API?

Any advice or example configurations would be hugely appreciated!


r/ApacheCloudStack • • Jan 31 '26

Question Proxmox Cluster works with Apache Cloudstack?

4 Upvotes

Over at r/selfhosted, asked for any open-source private cloud platforms. Apache Cloudstack was a recommendation.

With version 4.22 of Cloudstack, Proxmox console access is now available.

With that being said, does Cloudstack support Proxmox clusters for nested virtualization?

I plan to use it to manage a 5-node Proxmox Ceph cluster. The plan is to have individuals spin up Proxmox instances and create a cluster of them and run VMs in this virtual cluster. This is obviously nested virtualization.

Thanks for the replies.


r/ApacheCloudStack • • Nov 19 '25

Question CloudStack Agent wont Stay Running

2 Upvotes

Hey all, I am running the following OS:

questions: What files need to be edited and their parameters so CloudStack Agent stays running?

details:

PRETTY_NAME="Ubuntu 24.04.3 LTS"

NAME="Ubuntu"

VERSION_ID="24.04"

VERSION="24.04.3 LTS (Noble Numbat)"

VERSION_CODENAME=noble

ID=ubuntu

ID_LIKE=debian

I cannot for the life of me, get the management server to connect to the host.

I have noticed that the agent will never stay running. I could not find documentation on what settings need to be configured for the agent to run. I have gone down so many rabbit holes and looked at forms and asked AI for help, but no solution has worked.

Errors:
loudstack-agent.service: Main process exited, code=exited, status=1/FAILURE

cloudstack-agent.service: Failed with result 'exit-code'.

cloudstack-agent.service: Referenced but unset environment variable evaluates>...skipping...

cloudstack-agent.service: Main process exited, code=exited, status=67/NOUSER

cloudstack-agent.service: Scheduled restart job, restart counter is at 70 (and counting).

I also noticed:
In the /etc/cloudstack/agent/agent.properties, there are unset parameters but could not find documentation on what to set them to, or what format it expects things in.

thank you for your time, just unsure what needs to be set.


r/ApacheCloudStack • • Jul 12 '23

Event CloudStack India Meetup 18th Aug '23 in Bangalore

2 Upvotes

Are you based in India and working with Apache CloudStack? If you are an existing #CloudStack user or want to know more about the technology, join us on August 18th for a half-day event with exciting tech talks, demos and user stories. Register here: https://www.meetup.com/india-cloudstack-user-group/events/294738405/


r/ApacheCloudStack • • Feb 07 '24

NEWS Fantastic new CloudStack Project Website - https://cloudstack.apache.org

Post image
4 Upvotes

r/ApacheCloudStack • • Oct 04 '23

NEWS CloudStack Collaboration Conference 2023 Agenda is Now Live! | Apache CloudStack

Thumbnail cloudstack.apache.org
2 Upvotes

r/ApacheCloudStack • • Feb 13 '24

Event Webinar: Apache CloudStack 4.19 - A First Look Into the Latest CloudStack LTS Release

Thumbnail
youtube.com
3 Upvotes

r/ApacheCloudStack • • Oct 04 '23

Announcement Apache CloudStack 4.18.1.0 Released!

Thumbnail cloudstack.apache.org
2 Upvotes

r/ApacheCloudStack • • Oct 25 '23

Event Join us at the CloudStack Collaboration Conference on Nov 23-24 in Paris, France

2 Upvotes

Join us at the CloudStack Collaboration Conference on Nov 23-24 in Paris, France.

This community event is focused on Apache CloudStack, open-source technologies, and our community. You'll have the opportunity to meet leading cloud providers, telcos, MSPs, project members, and developers from the project.

Register now to secure your spot: https://events.hubilo.com/cloudstack-collaboration-conference-2023/register


r/ApacheCloudStack • • Jun 11 '24

Event CloudStack Collaboration Conference 2024

Thumbnail
cloudstackcollab.org
2 Upvotes

r/ApacheCloudStack • • Apr 25 '24

KVM with uefi and cloudstack

4 Upvotes

Cloudstack is showing kvm hosts as uefi support false , has anyone successfully tried to make uefi support on kvm with cloudstack , documentation does not have much details on it


r/ApacheCloudStack • • Jan 29 '24

Cloudstack storage solutions

5 Upvotes

Due to the Broadcom, we are are looking into migrated from our VMware environment to Cloudstack. We are happy with Cloudstack we're a little lost when it comes to storage. We have a number of FC and iSCSI storage arrays today that we would like to leverage for another few years if possible. What are people using in production as a clustered file system?

What are others using for as their primary storage for Cloudstack in production?


r/ApacheCloudStack • • Jun 02 '24

Question Onboarding VM on KVM deployed outside cloudstack

2 Upvotes

Hi All ,

Has anyone ever onboarded any VM on cloudstack which was already created on KVM , Unmanaged instances only show instances which are built on cloudstack and then unmanaged.


r/ApacheCloudStack • • Aug 07 '24

CloudStack Collaboration Conference Insights: Grégoire Lamodière and Joffrey Luangsaysana, DIMSI

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/ApacheCloudStack • • Dec 31 '23

Migrate from VMware

3 Upvotes

Can anyone recommend a solution to migrate from VMware to Cloudstack with the least amount of downtime? Most of the material talks about taking the machine offline and converting. Is there software that can replicate from inside the machine or the hypervisor to keep the cutover time to as low as possible?


r/ApacheCloudStack • • Apr 12 '24

Apache CloudStack PoC on Proxmox VE 8

4 Upvotes

I'm building a PoC lab for my upcoming project I want to propose Apache CloudStack as main cloud platform. I saw Shapeblue guide. Anyone successfully build a cluster using this guide in a Proxmox environment?


r/ApacheCloudStack • • Jul 25 '23

Event CloudStack Collaboration Conference 2023

1 Upvotes

On November 23-24th 2023, the annual CloudStack Collaboration Conference will be taking place in the VOCO Paris, Porte de Clichy. Once again, this year’s CCC will be a hybrid event, seeing the global CloudStack community joining on site and virtually from around the world. Registration is currently open, with free entry to anybody adopting or interested in the open-source technology.

Read more at https://cloudstack.apache.org/blog/cloudstack-collaboration-conference-2023