-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.16.0
-
Rocket
-
0
-
False
-
Moderate
-
platmgmt-sat-rocket
-
Known Issue
-
-
Done
-
No Coverage
-
Yes
Description of problem:
As, per cu while Creating a compute resource for openshift virtualization fails in satellite 6.16 on RHEL 9. This was working in 6.15. Cu has confirmed this happens in a LEAPP upgraded Satellite and a fresh install. The error presented in the GUI is:
~~~
Unable to save
wrong number of arguments (given 3, expected 1..2)
~~~
How reproducible:
Is this issue a regression from an earlier version: Yes
Steps to Reproduce:
1.
2.
3.
Actual behavior:
Expected behavior:
[Describe what should be happening instead]
Business Impact / Additional info:
As, per him it seems to be related to the amount of required variables. he has not been able to determine if its a code change or possibly due to the updated ruby packages. After testing, he did determine it would work if he removes data in the name field. However, he wouldn't be able to actually create the resource that way.
The following output is from using the test connection option with all required fields in production.log. Debug logging has been enabled for satellite:
~~~
2024-11-11T11:35:53 [I|app|07f5039d] Started PUT "/compute_resources/test_connection" for
at 2024-11-11 11:35:53 -0600
2024-11-11T11:35:53 [I|app|07f5039d] Processing by ComputeResourcesController#test_connection as /
2024-11-11T11:35:53 [I|app|07f5039d] Parameters: {"authenticity_token"=>"[FILTERED]", "compute_resource"=>
, "fakepassword"=>"[FILTERED]", "cr_id"=>""}
2024-11-11T11:35:53 [D|tax|07f5039d] Current location set to Bramblelab
2024-11-11T11:35:53 [D|tax|07f5039d] Current organization set to Servers
2024-11-11T11:35:53 [D|app|07f5039d] Unpermitted parameter: :cr_id
2024-11-11T11:35:53 [D|app|07f5039d] Rendered /usr/share/gems/gems/foreman_kubevirt-0.2.0/app/views/compute_resources/form/_kubevirt.html.erb (Duration: 6.0ms | Allocations: 3245)
2024-11-11T11:35:53 [D|app|07f5039d] Rendered taxonomies/_loc_org_tabs.html.erb (Duration: 9.4ms | Allocations: 2119)
2024-11-11T11:35:53 [D|app|07f5039d] Rendered compute_resources/_form.html.erb (Duration: 22.2ms | Allocations: 9101)
2024-11-11T11:35:53 [I|app|07f5039d] Completed 200 OK in 116ms (Views: 20.8ms | ActiveRecord: 11.8ms | Allocations: 20402)
~~~
Without the name set we can actually test the connection. From production.log:
~~~
2024-11-11T11:34:14 [I|app|53ca9f46] Started PUT "/compute_resources/test_connection" for 192.168.20.98 at 2024-11-11 11:34:14 -0600
2024-11-11T11:34:14 [I|app|53ca9f46] Processing by ComputeResourcesController#test_connection as /
2024-11-11T11:34:14 [I|app|53ca9f46] Parameters: {"authenticity_token"=>"[FILTERED]", "compute_resource"=>
, "fakepassword"=>"[FILTERED]", "cr_id"=>""}
2024-11-11T11:34:14 [D|tax|53ca9f46] Current location set to Bramblelab
2024-11-11T11:34:14 [D|tax|53ca9f46] Current organization set to Servers
2024-11-11T11:34:14 [D|app|53ca9f46] Unpermitted parameter: :cr_id
2024-11-11T11:34:14 [D|app|53ca9f46] Rendered /usr/share/gems/gems/foreman_kubevirt-0.2.0/app/views/compute_resources/form/_kubevirt.html.erb (Duration: 14.1ms | Allocations: 4236)
2024-11-11T11:34:14 [D|app|53ca9f46] Rendered taxonomies/_loc_org_tabs.html.erb (Duration: 14.9ms | Allocations: 2895)
2024-11-11T11:34:14 [D|app|53ca9f46] Rendered compute_resources/_form.html.erb (Duration: 56.0ms | Allocations: 17091)
2024-11-11T11:34:14 [I|app|53ca9f46] Completed 200 OK in 148ms (Views: 65.7ms | ActiveRecord: 22.7ms | Allocations: 31837)
~~~
Please find errata link : https://access.redhat.com/security/security-updates/security-advisories
- depends on
-
SAT-29938 Update rubygem-fog-kubevirt to 1.4.0 by ekohl · Pull Request #11551 · theforeman/foreman-packaging · GitHub
-
- Closed
-