Skip to content

MicroCloud should consciously set the instances.migration.stateful key #717

Description

@roosterfish

latest/edge MicroCloud always sets instances.migration.stateful=true which makes custom storage volumes from non-remote storage pools (dir, zfs, btrfs) unusable. This is especially painful for the local storage pool.

A user would need to explicitly set migration.stateful=false on every instance to which a custom storage volume from a non-remote pool should be attached.

To work around this there are several options:

  • (1) Set instances.migration.stateful=true only in case no local storage got configured.
    • No additional action required by the user
    • Live migration is enabled on server level
    • Drawback:
      • If a local storage pool gets configured, a user would have to manually enable live migration on server level or per instance
  • (2) Set instances.migration.stateful=true only in case remote storage got configured.
    • No additional action required by the user
    • Live migration is enabled on server level
    • Drawback:
      • No volumes from the local storage pool (if created) can be attached to any instance
      • If no remote storage pool gets configured, a user would have to manually enable live migration on server level or per instance
  • (3) Don't set instances.migration.stateful
    • A user would have to manually enable live migration on server level or per instance (current state in MicroCloud 2 LTS)
  • (4) Always set instances.migration.stateful=true (this is the current state in MicroCloud edge)

Metadata

Metadata

Assignees

Labels

DocumentationDocumentation needs updatingIncompleteWaiting on more information from reporterJiraAllows the synchronization of a GitHub issue in Jira

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions