{"action":"opened","issue":{"url":"https://api.github.com/repos/StackStorm/st2contrib/issues/335","labels_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/335/comments","events_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/335/events","html_url":"https://github.com/StackStorm/st2contrib/issues/335","id":121379600,"number":335,"title":"[ansible] using inventory-file (-) as alias parameter breaks parser","user":{"login":"vikrantpogula","id":2432643,"avatar_url":"https://avatars.githubusercontent.com/u/2432643?v=3","gravatar_id":"","url":"https://api.github.com/users/vikrantpogula","html_url":"https://github.com/vikrantpogula","followers_url":"https://api.github.com/users/vikrantpogula/followers","following_url":"https://api.github.com/users/vikrantpogula/following{/other_user}","gists_url":"https://api.github.com/users/vikrantpogula/gists{/gist_id}","starred_url":"https://api.github.com/users/vikrantpogula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikrantpogula/subscriptions","organizations_url":"https://api.github.com/users/vikrantpogula/orgs","repos_url":"https://api.github.com/users/vikrantpogula/repos","events_url":"https://api.github.com/users/vikrantpogula/events{/privacy}","received_events_url":"https://api.github.com/users/vikrantpogula/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-10T01:16:11Z","updated_at":"2015-12-10T01:16:11Z","closed_at":null,"body":"Stack trace (/var/log/st2/st2api.log)\r\n\r\n```\r\nAPI call failed: bad character in group name u'inventory-file'#012Traceback (most recent call last):#012  File \"/usr/local/lib/python2.7/dist-packages/pecan/core.py\", line 631, in __call__#012    self.invoke_controller(controller, args, kwargs, state)#012  File \"/usr/local/lib/python2.7/dist-packages/pecan/core.py\", line 531, in invoke_controller#012    result = controller(*args, **kwargs)#012  File \"/usr/lib/python2.7/dist-packages/st2common/models/api/base.py\", line 230, in callfunction#012    result = f(*args, **kwargs)#012  File \"/usr/lib/python2.7/dist-packages/st2api/controllers/v1/aliasexecution.py\", line 78, in post#012    param_stream=command)#012  File \"/usr/lib/python2.7/dist-packages/st2api/controllers/v1/aliasexecution.py\", line 123, in _extract_parameters#012    return parser.get_extracted_param_value()#012  File \"/usr/lib/python2.7/dist-packages/st2common/models/utils/action_alias_utils.py\", line 80, in get_extracted_param_value#012    matched_stream = re.match(reg, self._param_stream, re.DOTALL)#012  File \"/usr/lib/python2.7/re.py\", line 137, in match#012    return _compile(pattern, flags).match(string)#012  File \"/usr/lib/python2.7/re.py\", line 244, in _compile#012    raise error, v # invalid expression#012error: bad character in group name u'inventory-file'\r\n2015-12-10T01:03:34.362035+00:00 localhost st2api[4932]: ERROR 140361395123536 [-] Traceback (most recent call last):#012  File \"/usr/local/lib/python2.7/dist-packages/pecan/core.py\", line 631, in __call__#012    self.invoke_controller(controller, args, kwargs, state)#012  File \"/usr/local/lib/python2.7/dist-packages/pecan/core.py\", line 531, in invoke_controller#012    result = controller(*args, **kwargs)#012  File \"/usr/lib/python2.7/dist-packages/st2common/models/api/base.py\", line 230, in callfunction#012    result = f(*args, **kwargs)#012  File \"/usr/lib/python2.7/dist-packages/st2api/controllers/v1/aliasexecution.py\", line 78, in post#012    param_stream=command)#012  File \"/usr/lib/python2.7/dist-packages/st2api/controllers/v1/aliasexecution.py\", line 123, in _extract_parameters#012    return parser.get_extracted_param_value()#012  File \"/usr/lib/python2.7/dist-packages/st2common/models/utils/action_alias_utils.py\", line 80, in get_extracted_param_value#012    matched_stream = re.match(reg, self._param_stream, re.DOTALL)#012  File \"/usr/lib/python2.7/re.py\", line 137, in match#012    return _compile(pattern, flags).match(string)#012  File \"/usr/lib/python2.7/re.py\", line 244, in _compile#012    raise error, v # invalid expression#012error: bad character in group name u'inventory-file'#012Traceback (most recent call last):#012  File \"/usr/local/lib/python2.7/dist-packages/pecan/core.py\", line 631, in __call__#012    self.invoke_controller(controller, args, kwargs, state)#012  File \"/usr/local/lib/python2.7/dist-packages/pecan/core.py\", line 531, in invoke_controller#012    result = controller(*args, **kwargs)#012  File \"/usr/lib/python2.7/dist-packages/st2common/models/api/base.py\", line 230, in callfunction#012    result = f(*args, **kwargs)#012  File \"/usr/lib/python2.7/dist-packages/st2api/controllers/v1/aliasexecution.py\", line 78, in post#012    param_stream=command)#012  File \"/usr/lib/python2.7/dist-packages/st2api/controllers/v1/aliasexecution.py\", line 123, in _extract_parameters#012    return parser.get_extracted_param_value()#012\r\n```"}}