Hide Forgot
Description of problem: Can't create rule-engine rule by xmlrpc Version-Release number of selected component (if applicable): 4.4.12059-1 How reproducible: 100% Steps to Reproduce: 1.Try to create a rule by: context = ssl._create_unverified_context() proxy = xmlrpclib.ServerProxy('https://bzweb.host.qe.eng.pek2.redhat.com/xmlrpc.cgi', context=context, verbose=False) result = proxy.RuleEngine.create({'login':'qgong', 'password': '****', 'definition': '{"match_json":{"keywords":{"word":"is any of","values":["CommonBugs"]},"component":{"word":"is any of","values":["component1"]},"product":{"values":["Auto Test"]},"classification":{"values":["Red Hat"]}},"action_json":{"keywords":{"action":"remove","values":["CommonBugs"]},"comment":{"text":"this comment is added by rule engine","private":0}}}', 'owners': [], 'description': 'The Description of Auto Test', 'rule_group_id': 4, 'is_active': False, 'is_periodic': False, 'name': 'gqEydUYvpX'}) 2. 3. Actual results: xmlrpclib.Fault: <Fault 50: 'The function requires a rules argument, and that argument was not set.'> Expected results: Additional info:
This is not a new bug. Use bug 1365495 for this.