Joining ShapeBlue

I’ve been part of the Apache CloudStack community for a while now. One of my major contributions to the project is that I built new data sources and resources for the CloudStack Terraform Provider during my Google Summer of Code project, helping extend how CloudStack integrates with modern DevOps workflows. You can read more about that experience in my final GSoC report or watch my CloudStack Collaboration Conference talk. ShapeBlue has long been a key driving force behind CloudStack’s growth — not only through deep technical contributions but also through consistent community leadership and stewardship....

November 1, 2025 · 2 min · Daman Arora

CloudStack Runtime Map — Core vs Plugin Modules

A concise runtime map of Apache CloudStack modules showing which are core vs plugin, and how they depend on each other. Runtime Layer Map (top → bottom) ────────────────────────────────────────────── [ UI Layer ] → /ui/ (Vue.js frontend) ────────────────────────────────────────────── │ (calls REST APIs via /client/api) ▼ [ API Layer ] → /api/ ────────────────────────────────────────────── │ Defines: BaseCmd, BaseAsyncCmd, annotations, │ response objects, validation, and command dispatch ▼ [ Service / Manager Layer ] → /server/, /engine/, /services/ ────────────────────────────────────────────── │ Core business logic: │ - VmManager, NetworkManager, VolumeManager, etc....

October 31, 2025 · 2 min · Daman Arora

CloudStack Hypervisor Network Topology Debugging

This guide covers how to map and debug CloudStack VM and Virtual Router (VR) network topology using tools like brctl, virsh, ip, tcpdump, and iptables — all from the hypervisor (host) level. Mapping Network Topology Tools That Work Together Tool What it Tells You brctl show Shows which interfaces are connected to which Linux bridges virsh domiflist <vm> Maps VMs/VRs to their tap devices and bridges virsh dumpxml <vm> Shows MACs, interface order, bridge assignments (detailed view) Example Use Step 1: See which interfaces are on a bridge sudo brctl show Example:...

October 22, 2025 · 2 min · Daman Arora

CloudStack KVM Host Add Failure - Part 1

Error encountered while attempting to add a KVM host to CloudStack: Failed to setup keystore on the KVM host: 192.168.122.10 Stack trace from management-server.log: 2025-10-03 22:36:14,828 DEBUG [c.c.h.k.d.KvmServerDiscoverer] (qtp1438988851-25:[ctx-99e0fc72, ctx-e969ec93]) (logid:a67f40bb) can't setup agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to setup keystore on the KVM host: 192.168.122.10 - Failed to setup keystore on the KVM host: 192.168.122.10 com.cloud.utils.exception.CloudRuntimeException: Failed to setup keystore on the KVM host: 192.168.122.10 at com.cloud.hypervisor.kvm.discoverer.LibvirtServerDiscoverer.setupAgentSecurity(LibvirtServerDiscoverer.java:196) at com.cloud.hypervisor.kvm.discoverer.LibvirtServerDiscoverer.find(LibvirtServerDiscoverer.java:339) at com....

October 22, 2025 · 2 min · Daman Arora

CloudStack KVM Host Add Failure - Part 2

This document captures the logs and analysis of a failure while attempting to add a KVM host to a CloudStack zone, due to issues setting up the agent certificate keystore. Error Summary DiscoveryException: Could not add host at [http://192.168.122.10] ... Failed to setup certificate in the KVM agent's keystore file, please see logs and configure manually! 2025-10-04 23:41:58,838 INFO [c.c.a.ApiServer] (qtp1438988851-22:[ctx-b8b55cff, ctx-2b748765]) (logid:046ec553) Could not add host at [http://192.168.122.10] with zone [Zone {"id": "2", "name": "MyAdvancedZone", "uuid": "30d1810a-9680-49c7-8926-75fcf5e4dfb8"}], pod [HostPod {"id":1,"name":"Pod1","uuid":"996b281e-a200-4a64-9cd2-9f7fc8d0d55a"}] and cluster [Cluster {id: "1", name: "Cluster1", uuid: "c6981176-f03d-45dd-aba8-bbe3ab38e6f4"}] due to: [ can't setup agent, due to com....

October 22, 2025 · 3 min · Daman Arora