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

Taking over incomplete volume parameters #361

Open
libc225so opened this issue Oct 7, 2024 · 0 comments
Open

Taking over incomplete volume parameters #361

libc225so opened this issue Oct 7, 2024 · 0 comments

Comments

@libc225so
Copy link

Describe the bug
When a new VM is to be created with a request for disks that are not in the ComputeProfile but simply added for example like this ( through hammer ) with: --volume='size=10GB' --volume='size=20GB' the disks do not show up properly in the json.

They show up like this:
"volumes_attributes"=>{
"0"=>{"storage_type"=>"hard_disk", "storage"=>"local-lvm", "controller"=>"virtio", "device"=>"0", "cache"=>"none", "size"=>"19GB", "id"=>"virtio0"},
"1"=>{"size"=>"10GB"},
"2"=>{"size"=>"20GB"}},

To Reproduce

  1. add new vm with hammer like this:
    hammer host create ....... --volume='size=10GB' --volume='size=20GB'

  2. check and see how much disks the created host has in proxmox ( only the ones defined in the ComputeProfile) will show and the extra added with the --volume lines wont be visible

Expected behavior
In no2 from the reproducing step, the manual added disks should show as well in the interface

Desktop (please complete the following information):

  • OS: Linux
  • Browser Chrome
  • Version 128.0.6613.137

Smartphone (please complete the following information):
Did not check it there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant