Skip to content

KVM - Upgrade to main fails if the storage's UUID doesn't follow the UUID format #6652

@slavkap

Description

@slavkap
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Primary storage, DB
CLOUDSTACK VERSION
4.17.0.0 to main
SUMMARY

If the UUID of the primary storage doesn't meet the format of the UUID, the upgrade of CloudStack fails. This probably affects the storage plug-ins: Datera/Nexenta/Cloudbyte/StorPool and Local storage if the UUID is set in the agent.properties file. This is caused by change #5382

STEPS TO REPRODUCE
On version 4.16.1.0 or lower
Set UUID to a storage that doesn't meet the format `%-%-%-%`
Upgrade to version 4.17.0.0 or above
EXPECTED RESULTS
successful upgrade
ACTUAL RESULTS
java.lang.StringIndexOutOfBoundsException: begin 0, end 16, length 4

or 

java.lang.NumberFormatException: For input string: "SP"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions