Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 123
    • Merge requests 123
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1143

Merged
Created Mar 17, 2022 by Łukasz Nowak@lukeMaintainer11 of 11 tasks completed11/11 tasks

Feature/kvm external disk

  • Overview 77
  • Commits 11
  • Pipelines 40
  • Changes 20

Implement external-disk parameter being an ordered list of parameters type and path.

type is one of qcow2 and ceph.

If path starts with / is considered absolute, otherwise relative to the instance root.

path is never automatically created, if it does not exist or it is not available to the user (read/write), it shall result with failing start of the VM and most possibly missing promise.

Hide external-disk-number, external-disk-size and external-disk-format, but keep it working to ease eventual manual migration by the user.

Tasks:

  • (this is totally separated) fully testing existing features of external-disk-number, external-disk-size and external-disk-format with enabled external_storage_list in slapos.cfg
  • make new implementation with test
  • hide old implementation from schemas (keep it working)
  • provide migration notes (that storage_home becomes obsolete, and how to link disks)
  • test ceph backend OR mark it as experimental, solution: marked as experimental
  • resilient won't be supported, as it makes no sense with external-disk
  • review and improve if needed
  • finish and merge:
    • !1141 (merged)
    • slapos.core!369 (merged)
  • tentative: fail the profile or disallow starting with failing promise if external-disk and external-disk-number are both present
Edited Jul 07, 2022 by Łukasz Nowak
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feature/kvm-external-disk
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7