Bug 1225348
Summary: | Can't remove NIC from compute profile | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | David Juran <djuran> | ||||
Component: | WebUI | Assignee: | Marek Hulan <mhulan> | ||||
WebUI sub component: | Foreman | QA Contact: | Sachin Ghai <sghai> | ||||
Status: | CLOSED ERRATA | Docs Contact: | Russell Dickenson <rdickens> | ||||
Severity: | medium | ||||||
Priority: | unspecified | CC: | bbuckingham, bkearney, cwelton, mhulan, mmccune, rdickens, sghai | ||||
Version: | Unspecified | Keywords: | ReleaseNotes, Triaged | ||||
Target Milestone: | Unspecified | ||||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Known Issue | |||||
Doc Text: |
Issue:
If you attempt to remove a network interface card (NIC) from a compute profile, it will fail, with no error message output.
Workaround:
None at this time.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-09-15 07:21:58 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1190823 | ||||||
Attachments: |
|
Description
David Juran
2015-05-27 07:44:50 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. This was already fixed and works correctly in latest 6.1 compose so moving to MODIFIED. Delivered in Snap10 @Marek: Hey could you please share the steps to verify this bz ? Assuming this can be verified on libvirt CR ? Sachin, go to compute profiles and create one with at least one network interface, save it. Then edit this compute profile and try to remove the NIC from it, it should remove the interface after saving. Definitely should work with libvirt. verified with sat6.1.1 GA snap13. I created a compute-profile with libvirt compute-resource. And added two interfaces. Later I removed both interfaces and navigate back to same compute-profile and UI still shows the removed interfaces even after submit the form successfully. Created attachment 1053842 [details]
profile interfaces are still visible even after deletion.
Verified with SAT 6.1.2 SNAP 1 I added a new interface to compute profile. 2015-09-01 02:52:15 [I] Processing by ComputeAttributesController#edit as */* 2015-09-01 02:52:15 [I] Parameters: {"compute_profile_id"=>"4-testp", "id"=>"1"} 2015-09-01 02:52:16 [I] Rendered compute_resources_vms/form/libvirt/_network.html.erb (19.3ms) 2015-09-01 02:52:16 [I] Rendered compute_resources_vms/form/libvirt/_network.html.erb (19.1ms) 2015-09-01 02:52:16 [I] Rendered compute_resources_vms/form/libvirt/_volume.html.erb (4.6ms) 2015-09-01 02:52:16 [I] Rendered compute_resources_vms/form/libvirt/_volume.html.erb (129.3ms) 2015-09-01 02:52:16 [I] Rendered compute_resources_vms/form/_libvirt.html.erb (186.4ms) 2015-09-01 02:52:16 [I] Rendered compute_attributes/_form.html.erb (201.0ms) 2015-09-01 02:52:16 [I] Rendered compute_attributes/edit.html.erb (204.2ms) 2015-09-01 02:52:16 [I] Completed 200 OK in 214ms (Views: 202.9ms | ActiveRecord: 3.6ms) 2015-09-01 02:52:24 [I] Processing by ComputeAttributesController#update as HTML 2015-09-01 02:52:24 [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"tPWsP2eacGSmfhmxnxnF9yJy9KjnRUS6po7ypWDxsVY=", "compute_attribute"=>{"vm_attrs"=>{"cpus"=>"1", "memory"=>"2147483648", "nics_attributes"=>{"new_nics"=>{"type"=>"bridge", "_delete"=>"", "bridge"=>"enp0s29u1u1u5", "model"=>"virtio"}, "0"=>{"type"=>"network", "_delete"=>"", "network"=>"foreman", "model"=>"virtio"}, "new_1441090338641"=>{"type"=>"network", "_delete"=>"", "network"=>"foreman", "bridge"=>"enp0s29u1u1u5", "model"=>"virtio"}}, "volumes_attributes"=>{"new_volumes"=>{"pool_name"=>"default", "capacity"=>"10G", "allocation"=>"0G", "format_type"=>"raw", "_delete"=>""}, "0"=>{"pool_name"=>"default", "capacity"=>"10G", "allocation"=>"0G", "format_type"=>"raw", "_delete"=>""}}}}, "compute_profile_id"=>"4-testp", "id"=>"1"} 2015-09-01 02:52:24 [I] Redirected to https://cloud-qe-22.idmqe.lab.eng.bos.redhat.com/compute_profiles/4-testp 2015-09-01 02:52:24 [I] Completed 302 Found in 37ms (ActiveRecord: 10.1ms) 2015-09-01 02:52:24 [I] Processing by ComputeProfilesController#show as HTML 2015-09-01 02:52:24 [I] Parameters: {"id"=>"4-testp"} 2015-09-01 02:52:24 [I] Rendered compute_profiles/show.html.erb within layouts/application (6.3ms) 2015-09-01 02:52:24 [I] Rendered home/_submenu.html.erb (1.5ms) 2015-09-01 02:52:24 [I] Rendered home/_user_dropdown.html.erb (1.0ms) 2015-09-01 02:52:24 [I] Read fragment views/tabs_and_title_records-3 (0.1ms) 2015-09-01 02:52:24 [I] Rendered home/_topbar.html.erb (3.4ms) 2015-09-01 02:52:24 [I] Rendered layouts/base.html.erb (4.4ms) 2015-09-01 02:52:24 [I] Completed 200 OK in 22ms (Views: 10.7ms | ActiveRecord: 3.0ms) Later, I was able to remove that interface. 2015-09-01 02:58:01 [I] Processing by ComputeAttributesController#update as HTML 2015-09-01 02:58:01 [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"tPWsP2eacGSmfhmxnxnF9yJy9KjnRUS6po7ypWDxsVY=", "compute_attribute"=>{"vm_attrs"=>{"cpus"=>"1", "memory"=>"2147483648", "nics_attributes"=>{"new_nics"=>{"type"=>"bridge", "_delete"=>"", "bridge"=>"enp0s29u1u1u5", "model"=>"virtio"}, "0"=>{"type"=>"network", "_delete"=>"", "network"=>"foreman", "model"=>"virtio"}, "1"=>{"type"=>"bridge", "_delete"=>"1", "bridge"=>"enp0s29u1u1u5", "model"=>"virtio"}}, "volumes_attributes"=>{"new_volumes"=>{"pool_name"=>"default", "capacity"=>"10G", "allocation"=>"0G", "format_type"=>"raw", "_delete"=>""}, "0"=>{"pool_name"=>"default", "capacity"=>"10G", "allocation"=>"0G", "format_type"=>"raw", "_delete"=>""}}}}, "compute_profile_id"=>"4-testp", "id"=>"1"} 2015-09-01 02:58:01 [I] Redirected to https://cloud-qe-22.idmqe.lab.eng.bos.redhat.com/compute_profiles/4-testp 2015-09-01 02:58:01 [I] Completed 302 Found in 52ms (ActiveRecord: 25.9ms) 2015-09-01 02:58:02 [I] Processing by ComputeProfilesController#show as HTML 2015-09-01 02:58:02 [I] Parameters: {"id"=>"4-testp"} 2015-09-01 02:58:02 [I] Rendered compute_profiles/show.html.erb within layouts/application (6.4ms) 2015-09-01 02:58:02 [I] Rendered home/_submenu.html.erb (1.4ms) 2015-09-01 02:58:02 [I] Rendered home/_user_dropdown.html.erb (1.0ms) 2015-09-01 02:58:02 [I] Read fragment views/tabs_and_title_records-3 (0.1ms) 2015-09-01 02:58:02 [I] Rendered home/_topbar.html.erb (3.4ms) 2015-09-01 02:58:02 [I] Rendered layouts/base.html.erb (4.3ms) 2015-09-01 02:58:02 [I] Completed 200 OK in 22ms (Views: 10.6ms | ActiveRecord: 3.0ms) Also, as per comment 10. I can delete volumes too. Thanks Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2015:1786 |