Commit Graph
34 Commits
Author SHA1 Message Date
JamesBhattarai b7dbcaf315 Fix: remove hardcoded vnc vm port & remove consts 2026-05-25 19:07:25 +05:45
JamesBhattarai 0e59fee995 Fix(Chore): gpu infra, passthrough 2026-05-25 19:00:47 +05:45
JamesBhattarai 71379950bc Chore: Remove unnecessary constants 2026-05-25 19:00:47 +05:45
JamesBhattarai bb9feac770 Chore(VM): Openstack Cloud VM type for Cloud Init 2026-05-24 19:38:40 +05:45
JamesBhattarai f1d47cb3a2 Feat(Fix): Implemented Mac, Network ID for MDS lookup 2026-05-24 19:38:40 +05:45
JamesBhattarai 0cba37d3bf Chore(Fix)-infrautils: remove redundant api prefix 2026-05-24 19:38:40 +05:45
JamesBhattarai e60271d1b9 Fix: make pod_id nullable
Essential for vm creation (as no seperate table for vm)
Exception handle for pod_id enforcer
2026-05-24 17:29:41 +05:45
JamesBhattarai ec106a992e Chore/Fix(network): MDS and Network Dispatch
autostart mds in nscontroller
added missing docker volume/packages for socket mounts for ns
added network id env for nscontroller
add missing module of sdn_helper
error handle when ovs-ofctl is empty
2026-05-24 17:22:01 +05:45
JamesBhattarai cc5f91728a Chore(images): enable format for image's user input 2026-05-24 17:16:10 +05:45
JamesBhattarai 38ddcb5d4d Chore: appropos removed constants
Removed redundant code level constatnt with repo based runtime_urls.py
Added run-master, run-worker.sh scripts for convinient clean, builds
2026-05-23 19:20:18 +05:45
JamesBhattarai 7b685d3580 Chore(Fix): Throw Error when checksum not supplied for volume with image remote/http* 2026-05-23 11:14:50 +05:45
JamesBhattarai bf47406b59 Chore(Fix): added volume http image handler and Removed NorthSouth IP Filter 2026-05-23 02:15:53 +05:45
JamesBhattarai 3ac855cd81 Fix: ovs sdn worker package link + Container-host worker socket 2026-05-23 02:14:27 +05:45
JamesBhattarai a5531e317a Chore(Fix): Worker Docker and Setup
Added docker volume for worker's code
Added pcie and qemu docker package
Added worker_settings local volume bootstrap path
2026-05-23 02:13:05 +05:45
JamesBhattarai 93b3784805 Chore: /ws prefix + pciutils in docker 2026-05-22 09:37:33 +05:45
JamesBhattarai 18b2ec006c Fix(Chore): Infra utils
missing package, docker race state
throw errors in metadata proxy failure in worker
merge all the migrations
add missing field in VmMetadata
2026-05-22 09:34:07 +05:45
JamesBhattarai 80975fb953 Feat: Implemented Metadata Sockets
Added APIs to expose the metadata endpoints (from api server)
Proxy in worker hosts that listen on sockets and forwards metadata requests to API
Proxy in NSController to forward metadata requests via socket to its worker host.
2026-05-19 02:15:11 +00:00
JamesBhattarai 11c0e000fe Feat(Fix): allow same NS IP across hosts, and L2 Flow isolation
Chore: OVS Flow Code Refractor
2026-05-19 02:15:11 +00:00
JamesBhattarai 35106a2ed7 Feat: GPU VM & GPU-Dynamic Passthrough
API to register GPU (worker does at initialization), list all GPUs (to fetch during creation menu)
Schedular to Match with relevant hosts filter
A Table to store GPU models
 A table to map gpu to pcie to  workload and host
Dynamic binding unbinding of vfio, nvidia driver at runtime for passthrough
2026-05-16 03:59:00 +00:00
JamesBhattarai 1aa35b3b7b Feat: implemented templating 2026-05-14 11:25:43 +05:45
JamesBhattarai f4de833cb6 Fix: Redundant add of WorloadHostResources for GPU Discovery Storation per host 2026-05-14 10:12:27 +05:45
JamesBhattarai 405c5a1093 Feat: Implemented LVM API & Debug Volume Fits Image
API can call volumes.type = lvm
worker_settings.json require  "LVM_VG_NAME"
Check/Debug if image fits into  volume size (local/lvm)
2026-05-06 10:19:59 +05:45
JamesBhattarai b9cf5f23ff Feat: Implemented Logging Streams 2026-05-06 01:35:54 +05:45
JamesBhattarai c58454c3f5 Feat: DHCP via NSController w OVSFlow & Fix: NSController Delete Schedulars; Fix: NSController Per Network
Implement NS Controller API for Dispatch & Delete to Per Host Per Network
 Chore: Used_ips filter to show deleted (network.py:106) while creating new
DHCP templated w DNSMasq (Mapped Port to IP in NSController)
Protect NSControllers from Delete during Reconsilation
2026-05-05 23:52:42 +05:45
JamesBhattarai fe888efcb8 Feat(Chore): Implement DHCP, NS-Controller IP Store in DB
Also preper ip passed in param when creating port (essentail for NS-Controller) later use.
2026-05-05 23:52:42 +05:45
JamesBhattarai 5e6b8e74f6 Feat: Implemented SSH Key Management 2026-05-05 23:52:42 +05:45
JamesBhattarai bbdd90bcbf Chore(VM): added Serial Console for Libvirt Debug 2026-04-22 07:54:41 +05:45
JamesBhattarai f7b58c8c1c Fix(Revert): Clash of Port attachment in Libvirt 2026-04-22 07:54:41 +05:45
JamesBhattarai 9485e1bcc2 Feat: Add GPU Scheduling + PCIE Discovery Enabled
Warning! : It uses Static, Hardcoded at libvirt_xml_builder.py

Implemented GPUCapableHosts Filter
Santize GPU Payload from User Input
Add Endpoint to register PCIE Devices
Seed the all regions with pcie filter of AMD and NVIDIA GPU
2026-04-22 07:54:37 +05:45
JamesBhattarai bbf71012ea FIX(api): correct WorkloadHostFixedResource field access in _enrich_host_data
Previous code accessed resource.resource_type and resource.quantity which
never existed on WorkloadHostFixedResource. The correct fields are type,
model, manufacturer and physical_address, matching the model definition
and DB schema since the initial migration.

Bug introduced  in 1731e2c.
2026-04-22 07:53:44 +05:45
JamesBhattarai bb357fcbd1 Feat(Fix): VM Networking, Volume,
VM:
Enabled Filter VM Scheduling by  HasSufficientResources
Implemented to Record Resource Usage by WorkloadResourceUsage; creates new record on basis of resource_type (CPU,RAM)

Volume:
Implemented Local Volume vm spin (Fallback Local and reject other volume types for spinning vm),
Fix: hardcode to image for image backed volume in vm payload :298

Network:
Added error handle for port creation, bridge heirarchy selection (network to stored)
2026-04-22 07:53:37 +05:45
JamesBhattarai 6401cded78 Fix: normalize image location_type from 'Local'/'HTTP' to 'image'/'http'
Worker tasks depends on fixed enums location_type of Image [Ref:worker_tasks/volume.py:188]
2026-04-22 07:46:42 +05:45
JamesBhattarai 3c50a66706 Feat(Compute): Server Groups & Feat(DB): allembic manage.py
Added Affinity/Anti-Affinity Rules for VM & Containers
Allow to see current status, rollback, history of db migrations
2026-04-04 15:53:51 +05:45
JamesBhattarai 99028f40b1 Chore(Feat): added Infra utils
Added Swagger/OpenAPI
Added .env.examples
2026-04-02 19:19:16 +05:45