Hi Sandeep,

Welcome to the community.

If you're facing issues mbx, please report it on the github: 
https://github.com/shapeblue/mbx -- you must typically use it with a x86 
machine (not virtualised) and Linux (Ubuntu Linux is preferred, but can be EL 
or Fedora) — it won't work with MacOS or Windows or any other arch (M-series 
chip or arm64).

You can also do an all in a box DIY setup using libvirt (virt-manager, cockpit 
etc using KVM/Linux), UTM (on Mac https://github.com/shapeblue/devcloud-mac) or 
try VirtualBox/VMware workstation (Linux and Windows) and use it (typically all 
except the management server and database which runs on your base laptop/OS) 
for your dev purposes. While developing if you're getting build etc errors, use 
a released version of cloudstack (such as a stable LTS release, say git tag 
4.20.1.0) initially to rule out env and branch related errors.

In terms of CloudStack related learning materials you can find my notes at: 
https://github.com/shapeblue/hackerbook.

For writing a new primary storage plugin, you can refer to the existing ones as 
example:
https://github.com/apache/cloudstack/tree/main/plugins/storage/volume

Some other reading/reference materials:
https://docs.cloudstack.apache.org/en/latest/adminguide/storage.html
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Storage+subsystem+2.0

Cheers.

 


________________________________
From: sandeep locharla <[email protected]>
Sent: Friday, September 26, 2025 19:16
To: [email protected] <[email protected]>
Subject: Need help setting up dev environment

Hello Everyone,

I'm *working on a storage plugin* and I'm looking to setup a dev
environment. I have *brought up management server  via code* as I want to
be able to test and debug my changes *on macbook IntelliJ IDE*. I've tried
using *Monkeybox to setup kvm + cloudstack agent on an Ubuntu
machine*. The *monkeybox
*code available *seems to be not updated so the installation failed midway *and
I had to *manually install cloudstack agent*. I have followed the wireguard
configuration setup and was able to setup a peer network successfully. When
I'm *adding Zone *it keeps failing intermittently at 'Add Zone' as the *agent
keeps going down or it keeps getting stuck post creating Primary storage as
SSVM doesn't come up.*

Is there a *straightforward and definitive way to get my dev environment to
work*? Would really appreciate any ideas, blogs or documentation.

Best,
Sandeep

Reply via email to