Skip to content

exception occurred in runner cloud.create #14

@ugurengin

Description

@ugurengin

I have tested it with latest version of saltstack (2016.3.4), but it was returned an exception after reacting a new event from auto scaling group.It seems that "cloud.create runner" needed one more argument to work with event as well. Probably something is changed in latest version of salt which contain core framework.

Exception

salt/run/20161124075253378593/ret { "_stamp": "2016-11-24T07:52:53.444115", "fun": "runner.cloud.create", "jid": "20161124075253378593", "return": "Exception occurred in runner cloud.create: Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/salt/client/mixins.py\", line 326, in low\n expected_extra_kws=CLIENT_INTERNAL_KEYWORDS\n File \"/usr/lib/python2.7/site-packages/salt/utils/__init__.py\", line 1021, in format_call\n used_args_count\nSaltInvocationError: create takes at least 2 arguments (1 given)\n", "success": false, "user": "Reactor" }

Tracing log:

2016-11-24 12:10:47,865 [salt.template ][PROFILE ][13984] Time (in seconds) to render '/srv/reactor/ec2-autoscale.sls' using 'py' renderer: 0.0761120319366 2016-11-24 12:10:47,879 [salt.utils.process][DEBUG ][13984] ThreadPool executing func: <bound method RunnerClient.low of <salt.runner.RunnerClient object at 0x32ad7d0>> with args:('cloud.create', {'name': u'ec2_autoscale_launch', 'instance_id': 'i-5c6c50cg', 'instances': 'i-5c6c50cg', 'state': 'runner', '__user__': 'Reactor', '__sls__': '/srv/reactor/ec2-autoscale.sls', 'reactor': True, 'order': 1, '__id__': 'ec2_autoscale_launch'}) kwargs{}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions