robottelo icon indicating copy to clipboard operation
robottelo copied to clipboard

Automate : edit storage section of compute profile

Open tkolhar opened this issue 10 years ago • 3 comments

please automate https://bugzilla.redhat.com/show_bug.cgi?id=1223398 create a compute profile edit compute profile -> storage -> size add size ### it should throw error

tkolhar avatar May 20 '15 12:05 tkolhar

The actual bz is till in new state.

sghai avatar Nov 18 '16 12:11 sghai

This likely affects VMWare and oVirt. @lhellebr can you check this out and see if this actually still applies?

JacobCallahan avatar Apr 20 '21 13:04 JacobCallahan

I checked with RHEV and can confirm this is indeed reproducible on Sat 6.9. I can fill whatever value and it's accepted. If it's just a string of letters, it's then shown in WebUI as 0, if it's a string starting with number, that number is shown in WebUI. However, using Hammer, I can see the value is saved as I entered it, e.g.:

# hammer compute-profile info --id 4
Id:                 4
Name:               testcp
Created at:         2021/04/30 13:41:33
Updated at:         2021/04/30 13:41:33
Compute attributes: 
 1) Id:               1
    Name:             1 Cores and 1 GB memory
    Compute Resource: testrhev
    VM attributes:    {"cluster"=>"<uuid>", "template"=>"", "instance_type"=>"", "cores"=>"1", "sockets"=>"1", "memory"=>"1073741824", "ha"=>"0", "display"=>{"type"=>"vnc", "keyboard_layout"=>"en-us"}, "volumes_attributes"=>{"0"=>{"size_gb"=>"5", "storage_domain"=>"<uuid>", "id"=>"", "preallocate"=>"0", "wipe_after_delete"=>"0", "interface"=>"virtio_scsi"}, "1"=>{"size_gb"=>"0", "storage_domain"=>"<uuid>", "id"=>"", "preallocate"=>"0", "wipe_after_delete"=>"0", "interface"=>"virtio_scsi"}, "<id>"=>{"size_gb"=>"a 4 f", "storage_domain"=>"<uuid>", "id"=>"", "preallocate"=>"0", "wipe_after_delete"=>"0", "interface"=>"virtio_scsi"}, "<id>"=>{"size_gb"=>"4 h", "storage_domain"=>"<uuid>, "id"=>"", "preallocate"=>"0", "wipe_after_delete"=>"0", "interface"=>"virtio_scsi"}}}

lhellebr avatar Apr 30 '21 13:04 lhellebr