Skip to content

Basic Zone - change init sequence #5302

@tampler

Description

@tampler
ISSUE TYPE
  • Improvement Request
COMPONENT NAME
UI, Zone
CLOUDSTACK VERSION
4.15.1
CONFIGURATION

Single Server deployment
Basic Zone
LocalStorage enabled

OS / ENVIRONMENT

Ubuntu 20.04.2

SUMMARY

Creation of a Basic Zone after a clean CloudStack setup fails with the error: TypeError: h.prefillContent.secondaryStorageProvider is undefined

The host can't be added BEFORE secondary storage is created. GUI wizard asks to setup Secondary Storage AFTER host setup, which causes this problem

So, need to change the init sequence.Init Secondary Storage right after creating a Zone (when secondary storage is zone-wide) or after creating a Cluster (when secondary storage is cluster-wide)

STEPS TO REPRODUCE

Change init/create sequence for Basic Zone so that Secondary Storage is created BEFORE adding the host

zone-secondary


EXPECTED RESULTS
Basic Zone is created without errors
ACTUAL RESULTS
Error creating a Basic Zone

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions