Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onetemplate clone --recursive always creates persistent image #5386

Closed
3 of 7 tasks
xorel opened this issue May 6, 2021 · 0 comments
Closed
3 of 7 tasks

onetemplate clone --recursive always creates persistent image #5386

xorel opened this issue May 6, 2021 · 0 comments

Comments

@xorel
Copy link
Member

xorel commented May 6, 2021

Description
When cloning a VM template including the image, a new image is always persistent even if the original is not.

oned.conf setting is default

#DEFAULT_IMAGE_PERSISTENT     = ""
#DEFAULT_IMAGE_PERSISTENT_NEW = ""

To Reproduce

# onemarketapp export "Alpine Linux 3.12" -d 1 test

# onetemplate clone test test2 --recursive

  ID USER     GROUP    NAME                              DATASTORE     SIZE TYPE PER STAT RVMS
  14 oneadmin oneadmin test2-disk-0                      default       256M OS   Yes rdy     0
  13 oneadmin oneadmin test                              default       256M OS    No rdy     0

Expected behavior
New image inherits the persistent attribute from the original.

Details

  • Affected Component: Storage
  • Version: 6.0

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants