Skip to content

Incorrect log statement for Deployment planner #9497

@rajujith

Description

@rajujith
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Log
CLOUDSTACK VERSION
4.19.x
Mostly all versions
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

CloudStack logs 'DeploymentPlanner allocation algorithm: null' for instance deployment async jobs although the correct deployment planner is used as per 'vm.deployment.planner'.

STEPS TO REPRODUCE
1. Deploy an instance
2. Check the logs for the job
EXPECTED RESULTS
Logging should print the correct deployment planner
ACTUAL RESULTS
It always logs 'null' for deployment planner

Example:

2024-08-07 07:33:13,456 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-1:ctx-fcfd4f0d job-96 ctx-e5e1c26a) (logid:849ff926) DeploymentPlanner allocation algorithm: null

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions