Project

General

Profile

Actions

Bug #21942

open

Remote execution flag on host always remain checked in UI

Added by Ivan Necas almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1524480

Description of problem: Remote execution flag in edit host page always remain checked though tried to uncheck it. API calls in background performs correctly but UI always showed flag as checked.

Version-Release number of selected component (if applicable): Satellite 6.3 snap 28

How reproducible: always

Steps to Reproduce:
1. Create a host with remote execution flag checked
2. Now edit the host and uncheck the remote execution flag
3. Save the host
4. Check whether the flag is unchecked editing the host

Actual results:
Remote execution flag will remain checked in UI.

Expected results:
Remote execution flag should uncheck.

Additional info: API calls performed correctly.

When remote execution flag is checked

2017-12-11 10:10:13 821ca325 [app] [I] Started PATCH "/hosts/2" for IP at 2017-12-11 10:10:13 -0500
2017-12-11 10:10:13 821ca325 [app] [I] Processing by HostsController#update as */*
2017-12-11 10:10:13 821ca325 [app] [I]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"hEjFi1eU+zZOt36iqyWR7dzPXyi94VU2rOgstBJ0poybfJ3CbJgp9tlLj
/9oX+6QJZQZtLEaDC1+E7LeEkucyw==", "host"=>{"name"=>"rhel7-libvirt", "hostgroup_id"=>"2", "content_facet_attributes"=>{"lifecycle_environment_id"=>" 
2", "content_view_id"=>"2", "content_source_id"=>"1", "kickstart_repository_id"=>"16"}, "environment_id"=>"1", "puppet_proxy_id"=>"1", "puppet_ca_p
roxy_id"=>"1", "openscap_proxy_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "uuid"=>"186a9f2f-4389-43bb-bac1-4c665e7d8c0e", "progress_repo
rt_id"=>"[FILTERED]", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "mac"=>"52:54:00:b7:6c:7b", "identifier"=>"eth0", "name"=>"rhel7-libvirt", " 
domain_id"=>"1", "subnet_id"=>"2", "ip"=>"192.168.100.144", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "tag"=>" 
", "attached_to"=>"", "id"=>"4"}}, "compute_attributes"=>{"memory"=>"1073741824"}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "ptable_id"=>
"90", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "is_owned_by"=>"3-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}, "capabilities"=>"b
uild image new_volume", "provider"=>"Libvirt", "media_selector"=>"synced_content", "bare_metal_capabilities"=>"build", "id"=>"2"}

When remote execution flag is unchecked

2017-12-11 10:11:07 250b3bb3 [app] [I] Started PATCH "/hosts/2" for IP at 2017-12-11 10:11:07 -0500
2017-12-11 10:11:07 250b3bb3 [app] [I] Processing by HostsController#update as */*
2017-12-11 10:11:07 250b3bb3 [app] [I]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"xMTbHiNk5zllv+6n5Q7N5h8PkDIBVbkU+AYM5oaPw5fb8INXGGg1+fJDH
/omdLKb5lTWrg2u4A8q/ZKMhrD50A==", "host"=>{"name"=>"rhel7-libvirt", "hostgroup_id"=>"2", "content_facet_attributes"=>{"lifecycle_environment_id"=>" 
2", "content_view_id"=>"2", "content_source_id"=>"1", "kickstart_repository_id"=>"16"}, "environment_id"=>"1", "puppet_proxy_id"=>"1", "puppet_ca_p
roxy_id"=>"1", "openscap_proxy_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "uuid"=>"186a9f2f-4389-43bb-bac1-4c665e7d8c0e", "progress_repo
rt_id"=>"[FILTERED]", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "mac"=>"52:54:00:b7:6c:7b", "identifier"=>"eth0", "name"=>"rhel7-libvirt", " 
domain_id"=>"1", "subnet_id"=>"2", "ip"=>"192.168.100.144", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"0", "tag"=>" 
", "attached_to"=>"", "id"=>"4"}}, "compute_attributes"=>{"memory"=>"1073741824"}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "ptable_id"=>
"90", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "is_owned_by"=>"3-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}, "capabilities"=>"b
uild image new_volume", "provider"=>"Libvirt", "media_selector"=>"synced_content", "bare_metal_capabilities"=>"build", "id"=>"2"}

No data to display

Actions

Also available in: Atom PDF