Skip to content

Instance start returns a generic "Unable to orchestrate the start" when the network's virtual router cannot start, and the log names the wrong offering #14967

Backlog

Description

@jmsperu

ISSUE TYPE

Improvement Request (with a small log text bug)

COMPONENT NAME

Management server (VirtualMachineManagerImpl, NetworkOrchestrator, deployment planner), API error text

CLOUDSTACK VERSION

4.22.1.1

CONFIGURATION

KVM, advanced zone, one management server, two KVM hosts. Isolated network using a network offering whose virtual router system offering has host tag fe2-nosuchtag. No host has that tag.

OS / ENVIRONMENT

Ubuntu 24.04 LTS management server and KVM hosts (agent 4.22.1.1).

SUMMARY

When the first instance on an isolated network is deployed, the virtual router has to start first. If the router cannot be placed (here: no host matches the router system offering's host tags), the async job fails with:

errorcode 530
Unable to orchestrate the start of VM instance {"instanceName":"i-31-424-VM","uuid":"d1580cce-..."}.

The real cause is only in management-server.log:

No suitable host found for the following compute offering tags [fe2-nosuchtag].Ï
Failed to implement Network: Network {...}

An unrelated failure, a KVM agent restart while the router was starting, gives exactly the same API text (only the instance name and uuid change). The cause there was AgentUnavailableException followed by InsufficientServerCapacityException in the log.

So neither the user nor the admin can tell from the API or the UI whether the problem is their instance, the network, the router offering or a host. Alert type 8 is raised with the subject "... on Host null", which does not help either.

Second, smaller point: the log line says "compute offering tags", but fe2-nosuchtag is a host tag on the router's system offering, not on the user's compute offering. An admin following the log checks the wrong offering.

STEPS TO REPRODUCE

1. Create a system offering for the domain router with hosttags=nosuchtag (no host has it).
2. Create an isolated network offering (SourceNat, Dhcp, Dns via VirtualRouter) with serviceofferingid=<that offering>, enable it.
3. Create a network from it.
4. deployVirtualMachine on that network.

EXPECTED RESULTS

The job error says that the network could not be started because its virtual router could not be placed, and names the network. For admins, the text (or error metadata) says that no host matches the router offering's host tags and names that offering. The log line says "router offering tags" (or "system offering tags") when the offering is a system offering.

ACTUAL RESULTS

Generic 530 "Unable to orchestrate the start of VM instance {...}" with an internal object dump. The cause is only in the log, and the log labels the router tags as compute offering tags.

NOTES

PR #12336 introduces the key vm.start.orchestrate.failed for this text. Carrying the wrapped cause (network implement failure, router placement failure) into the error metadata there would let UIs show the real reason. Related general issue: #7297.

Activity

  1. github-actions commented on Dec 4, 2026

    @github-actions

    Warning

    threat detection engine error
    The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.

    What happened

    The threat detection engine failed to produce results.

    Review the workflow run logs for details.

    🎯 Triage report

    When an instance's isolated network cannot start its virtual router, the API returns a generic Unable to orchestrate the start of VM instance error (530). The real cause is only in the management server log. That log also calls the router's host tags "compute offering tags", which points an admin at the wrong offering. The reporter asks for the router cause to be carried into the error, and for the log wording to be corrected.

    📊 Assessment

    Dimension Value Reasoning
    Type type:improvement Better error reporting, plus a small log text fix
    Component component:orchestration, component:api VM start orchestration and API error metadata
    Severity n/a Not a functional failure; the start is refused either way
    Labels type:improvement, component:orchestration, component:api
    Coding agent Needs more info The log wording fix is small. Carrying the cause into the error metadata needs a decision on the key introduced in #12336

    🔗 Similar issues

    💡 Notes and suggestions
    • Reproduction is in the report: a system offering with a host tag that no host has, an isolated network using it, then deploy a VM on that network.
    • The log wording fix could be split from the error metadata change, so it can merge on its own.
    • Confirm that the cause text sent to the API does not expose internal object dumps.

    Triage by Copilot (automated)

    Generated by Daily Issue Triage · copilot · haiku55 · ~8 AIC · ⊞ 3.8K · ◷

    Add this agentic workflow to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/daily-issue-triage.md@139fa09ef17cde4135e696ff8e7af09bc5ddfa6e
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions