Description of problem: When a node is added to 3.6 cluster using xml rpc in the general sub tab of Action Items section it always says "Gluster command failed on server" Version-Release number of selected component (if applicable): ovirt-engine-webadmin-portal-3.6.0-0.0.master.20150406175153.gite240701.el6.noarch How reproducible: Always Steps to Reproduce: 1. Add a rhel7 host to the cluster using xml rpc. 2. Now click on the general subtab of hosts. 3. Actual results: In the action items section it displays "gluster command failed on server" Expected results: User should not be seeing this in the general sub tab of host. Additional info:
please find engine and vdsm logs in the link below. http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/rhsc/1209457/
From the vdsm logs on my setup: Thread-27::ERROR::2015-05-04 18:07:41,251::BindingXMLRPC::261::BindingXMLRPC.RequestHandler::(send_error) Bad request version ('encodin g="UTF-8"?><methodCall><methodName>glusterHostsList</methodName><params/></methodCall>') Thread-28::ERROR::2015-05-04 18:07:41,259::BindingXMLRPC::261::BindingXMLRPC.RequestHandler::(send_error) Bad request syntax ('P') vdsm version: vdsm-4.17.0-614.gitd2905ba.fc20.x86_64 Piotr, is this a known issue?
I am not aware of this issue. Please provide logs and I will take a look.
Piotr, I ran into Bug 1219429 while trying to reproduce issue with latest master. Are you able to access the logs mentioned in comment 1?
In the log I can see: Thread-29::ERROR::2015-04-07 17:46:28,099::BindingXMLRPC::261::BindingXMLRPC.RequestHandler::(send_error) Unsupported method ('OST') Thread-29::ERROR::2015-04-07 17:46:28,101::BindingXMLRPC::261::BindingXMLRPC.RequestHandler::(send_error) Bad request version ('encoding="UTF-8"?><methodCall><methodName>glusterHostsList</methodName><params/></methodCall>') The code which raise this error looks as following: mname = 'do_' + self.command if not hasattr(self, mname): self.send_error(501, "Unsupported method (%r)" % self.command) How do you build your request? Why there is 'OST'?
I see the same errors with other methods too... Thread-22::ERROR::2015-04-07 16:48:04,796::BindingXMLRPC::261::BindingXMLRPC.RequestHandler::(send_error) Unsupported method ('OST') Thread-22::ERROR::2015-04-07 16:48:04,798::BindingXMLRPC::261::BindingXMLRPC.RequestHandler::(send_error) Bad request version ('encoding="UTF-8"?><methodCall><methodName>getVdsHardwareInfo</methodName><params/></methodCall>') But the same method glusterHostsList returns with result too : Thread-13::DEBUG::2015-04-07 16:53:09,860::BindingXMLRPC::1159::vds::(wrapper) client [10.70.37.115]::call hostsList with () {} Thread-13::DEBUG::2015-04-07 16:53:10,085::BindingXMLRPC::1166::vds::(wrapper) return hostsList with {'status': {'message': 'Done', 'code': 0}, 'hosts': [{'status': 'CONNECTED', 'hostname': '10.70.37.162/23', 'uuid': '83f7efc4-5fbd-46f6-8c46-0150f5af5f5d'}, {'status': 'CONNECTED', 'hostname': '10.70.36.1', 'uuid': '53ff9082-c862-4fc6-ac81-efebca2cfe90'}]}
Could not reproduce with latest vdsm master - vdsm-4.17.0-783.git79781a1.fc21.x86_64 Logs - Thread-13::DEBUG::2015-05-12 19:05:12,618::BindingXMLRPC::1157::vds::(wrapper) client [10.3.226.170]::call hostsList with () {} Thread-13::DEBUG::2015-05-12 19:05:12,778::BindingXMLRPC::1164::vds::(wrapper) return hostsList with {'status': {'message': 'Done', 'code': 0}, 'hosts': [{'status': 'CONNECTED', 'hostname': '10.70.43.181/22', 'uuid': '5dbb4b15-bc27-4c3f-a0d5-7aa9b8dfc05a'}]} The gluster prefix seems to be removed from verbs. Was this intentional?
I am not sure where was the prefix removed but as I understand we should keep it.
The gluster prefix is not removed from the verbs and even logging has always been this way.
Thanks for confirming Darshan. Since I could not reproduce the issue with laster master of engine and vdsm, closing this. Please reopen if you face the issue after upgrading your nodes.