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

Obtain list of images not declared in VM TEMPLATES #3629

Closed
7 tasks
OpenNebulaSupport opened this issue Aug 30, 2019 · 1 comment
Closed
7 tasks

Obtain list of images not declared in VM TEMPLATES #3629

OpenNebulaSupport opened this issue Aug 30, 2019 · 1 comment

Comments

@OpenNebulaSupport
Copy link
Collaborator

Description
Get list of images not declared in any templates. Also possibly implement an extra field in the image XML, similar to VMS (which shows the Virtual Machines using the image) but with teh VM_TEMPLATES.

Use case
With the time passing, it is possible for an opennebula setup to be full of images whose templates are no longer existing. There is no quick way of doing so.

Interface Changes

  • CLI: Something like oneimage list --orphans
  • Sunstone: Templates Tab, similar to VMS tab.

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
@OpenNebulaSupport
Copy link
Collaborator Author

This concept of orphaned elements could also be extended to other objects in the OpenNebula setup.

  • virtual networks (networks not declared in any VM template)
  • VM templates (VM templates not referenced by oneflow service template)

@rsmontero rsmontero assigned christian7007 and unassigned dann1 Sep 27, 2019
christian7007 pushed a commit to christian7007/one that referenced this issue Sep 30, 2019
rsmontero pushed a commit that referenced this issue Oct 1, 2019
christian7007 pushed a commit to christian7007/one that referenced this issue Oct 1, 2019
rsmontero pushed a commit that referenced this issue Oct 1, 2019
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

4 participants