| Summary: | Unable to configure SmartProxy Affinity | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Fabien CAMBI <fcambi> | ||||||
| Component: | UI - OPS | Assignee: | Robin Knaur <rknaur> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Niyaz Akhtar Ansari <nansari> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.6.0 | CC: | abellott, dajohnso, dclarizi, fcambi, hkataria, jhardy, mpovolny, nansari, obarenbo, rknaur, sacpatil | ||||||
| Target Milestone: | GA | ||||||||
| Target Release: | cfme-future | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | smartstate | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2017-10-11 08:01:27 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: | |||||||
| Attachments: |
|
||||||||
Jozef, Can you investigate this one, looks like as if checkbox transaction is not being sent upto the server. Let me know if you have questions. Thanks, ~Harpreet It does work sometimes but I couldn't find a pattern of when and why. It seems totally random. 1. Fresh install of a 5.6.0.13 CFME. #appliance_console Menu selections : 8 - 1 - 1 - Y - 1 - (password x2: redhat) - 2. Activate the SmartProxy role on this appliance 2.1. Go to Settings -> Configuration -> Server: EVM [1000000000001] (current) 2.2. In « Server Control », switch the SmartProxy Role to ON and click SAVE 2.3. Click Zone: Default Zone (current) 3. Make this server a SmartProxy 3.1. Switch to the section "SmartProxy Affinity" 3.2. Check the box next to Server: EVM [1000000000001] 3.3. -> You should be able to click SAVE but the button stays greyed and unclickable. Hi Fabien, I still continue on bugfixing as I don't know what is proper fix (in terms of proper functionality of the SmartProxy Affinity tab)- requesting feedback from my manager. I tested on CFME-5.8.0, CFME-5.8.1 and CFME-5.7.2.1.2. The "save" button was not highlighted when host/datastore was marked. However production.log shows the activity,
~~~
[----] I, [2017-10-10T23:10:19.978884 #5697:18893ec] INFO -- : Started POST "/ops/smartproxy_affinity_field_changed/svr-23r1?check=1" for 127.0.0.1 at 2017-10-10 23:10:19 -0400
[----] I, [2017-10-10T23:10:19.992759 #5697:18893ec] INFO -- : Processing by OpsController#smartproxy_affinity_field_changed as JS
[----] I, [2017-10-10T23:10:19.992977 #5697:18893ec] INFO -- : Parameters: {"check"=>"1", "id"=>"svr-23r1"}
[----] I, [2017-10-10T23:10:20.140759 #5697:18893ec] INFO -- : Completed 200 OK in 147ms (Views: 4.7ms | ActiveRecord: 21.3ms)
[----] I, [2017-10-10T23:10:22.015702 #5697:1889018] INFO -- : Started POST "/ops/smartproxy_affinity_field_changed/svr-23r1?check=0" for 127.0.0.1 at 2017-10-10 23:10:22 -0400
[----] I, [2017-10-10T23:10:22.020462 #5697:1889018] INFO -- : Processing by OpsController#smartproxy_affinity_field_changed as JS
[----] I, [2017-10-10T23:10:22.020677 #5697:1889018] INFO -- : Parameters: {"check"=>"0", "id"=>"svr-23r1"}
[----] I, [2017-10-10T23:10:22.065098 #5697:1889018] INFO -- : Completed 200 OK in 44ms (Views: 0.8ms | ActiveRecord: 3.0ms)
[----] I, [2017-10-10T23:10:23.551925 #5697:1888e9c] INFO -- : Started POST "/ops/smartproxy_affinity_field_changed/xx-23000000000001__host?check=1" for 127.0.0.1 at 2017-10-10 23:10:23 -0400
[----] I, [2017-10-10T23:10:23.555323 #5697:1888e9c] INFO -- : Processing by OpsController#smartproxy_affinity_field_changed as JS5.
[----] I, [2017-10-10T23:10:23.555537 #5697:1888e9c] INFO -- : Parameters: {"check"=>"1", "id"=>"xx-23000000000001__host"}
[----] I, [2017-10-10T23:10:23.594773 #5697:1888e9c] INFO -- : Completed 200 OK in 39ms (Views: 0.5ms | ActiveRecord: 3.0ms)
~~~
I tested on Firefox-56 as Google Chrome-Version 60.0
I have Openstack-11 as a provider.
Created attachment 1337031 [details]
host and datastore with "save" button enabled
(In reply to Sachin from comment #10) > Created attachment 1337031 [details] > host and datastore with "save" button enabled Unless you have "actual" host and datastore to select the "save" button will not be highlighted |
Created attachment 1193036 [details] Screenshot of the grey button Description of problem: It is impossible to configure a zone's SmartProxy Affinity on CFME 5.6.0.13 as the "save" button stays gray and unclickable. Version-Release number of selected component (if applicable): 5.6.0.13 Steps to Reproduce: 1. Fresh install of a 5.6.0.13 CFME. 2. Activate the SmartProxy role on this appliance 3. Go to its zone configuration in the "SmartProxy Affinity" Tab and select your EVM server. Actual results: The "save" button stays grey and you can't click it in any way. Expected results: The "save" button should become blue and you should be able to click it.