Commit Graph
8 Commits
Author SHA1 Message Date
Victor Palma 79f14d2dd3 F OpenNebula/one#7984: improve OneKS appliance discovery (#4484)
* support manually imported appliances in air-gapped environments

* OneKS appliance discovery for accessible resources
  - Use INFO_ALL when looking up appliance images and VM templates so resources available through permissions or ACLs can also be discovered.
 - Find appliance templates using image names
 - Improve appliance resolution with stale images. Try all matching appliance images in priority order and use the first
one with an available VM template.

(cherry picked from commit b310ae5016)
2026-09-03 12:28:04 +02:00
Ruben S. Montero 1d421ca89d M #-: Bump version to 7.3.85 2026-07-14 08:38:08 +02:00
Victor Palma fa9d1b5bfb F OpenNebula/one#7676: Add support for OneKS multi-cluster deployment (#4256)
Updates FireEdge’s OneKS API client/proxy to support the new deployment placement API and schema. This only exposes deployment validation to FireEdge, readiness check execution remains a CLI/server operation.

Changes:
- FireEdge:
  * Add proxy route/action for POST /clusters/deployment/validate.
  * Add oneKsDeploymentSchema for deployment bodies, updating existing postCreateBody.
  * Add validateOneKsDeployment API hook in modules/features/OneApi/oneKs.js.
- Add DB migrator for existing OneKS documents, moving legacy public_network/private_network fields into the new deployment section.
- Add new filters and helpers to ODS OneHelper modules to support OpenNebula/one-ee-tools#351
2026-06-23 19:31:11 +02:00
Victor Palma c596cf8612 F OpenNebula/one#7644: Add shared ODS streaming support and VM exec helper (#4239)
Adds shared ODS support required for streaming operations and VM guest command execution.

- Adds Server-Sent Events (SSE) support to ODS responses through `stream_events` and `EventStream`.
- Implements incremental SSE response parsing and exposes each event payload to callers, enabling progress tracking.
- Adds ODS client support for streaming POST requests with `post_stream`.
- Adds `EventProgressPrinter` for CLI commands consuming streamed progress events, including spinner support for interactive terminals and plain output for non-TTY environments.
- Extracts a reusable `OneHelper::VirtualMachine.exec` helper from K8sHelper to execute commands through VM exec, making it accessible from other components such as the Cluster Readiness Service.
2026-05-28 13:27:31 +02:00
Victor Palma dbb750aaee F OpenNebula/one#7645: Add OneHelper to ODS (#4202) 2026-05-12 13:07:32 +02:00
Victor Palma c3a4d46a8b F #-: Refactor ODS logs endpoint (#4185) 2026-05-04 10:52:07 +02:00
Jan Orel 185c30920a M #-: Allow added config dirs in branch protect smoke test (#4182)
* M #-: Allow added config dirs in branch protect smoke test
* L #: subtle lint

(cherry picked from commit 2545db19d8)
2026-04-28 16:39:28 +02:00
Victor Palma ea1df5ffec F #7259: Add OpenNebula Document Server (ODS)
OpenNebula Document Server (ODS) is a lightweight Sinatra-based server that
provides a foundation for building API servers within the OpenNebula ecosystem
which work with Documents. It can be used as a base class for custom services,
making it easier to maintain consistency across different OpenNebula
servers.

Features
========

- Provides a configurable base server class that can be inherited.
- Centralized logging setup with `LogConfig`.
- Supports modular route registration via `AppRoutes`.
- Easy configuration through `ConfigLoader`.
- Preconfigured error handling and exception management.
2026-04-28 09:03:45 +02:00