Traceback (most recent call last):


 "/usr/lib/python2.7/site-packages/salt/cloud/cli.py", line 284, in run

self.config.get('names')


 "/usr/lib/python2.7/site-packages/salt/cloud/__init__.py", line 1457, in run_profile

ret[name] = self.create(vm_)


 "/usr/lib/python2.7/site-packages/salt/cloud/__init__.py", line 1287, in create

output = self.clouds[func](vm_)


 "/usr/lib/python2.7/site-packages/salt/cloud/clouds/ec2.py", line 2509, in create

data, vm_ = request_instance(vm_, location)


 "/usr/lib/python2.7/site-packages/salt/cloud/clouds/ec2.py", line 1890, in request_instance

if 'Ebs.VolumeType' not in ex_blockdevicemappings[dev_index]:
TypeError: 'NoneType' object has no attribute '__getitem__'

Traceback (most recent call last):


 "E:\py-3.6.8\lib\site-packages\django\core\handlers\exception.py", line 34, in inner

response = get_response(request)


 "E:\py-3.6.8\lib\site-packages\django\core\handlers\base.py", line 156, in _get_response

response = self.process_exception_by_middleware(e, request)


 "E:\py-3.6.8\lib\site-packages\django\core\handlers\base.py", line 154, in _get_response

response = response.render()


 "E:\py-3.6.8\lib\site-packages\django\template\response.py", line 106, in render

self.content = self.rendered_content


 "E:\py-3.6.8\lib\site-packages\django\template\response.py", line 83, in rendered_content

content = template.render(context, self._request)


 "E:\py-3.6.8\lib\site-packages\django\template\backends\django.py", line 61, in render

return self.template.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 171, in render

return self._render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 163, in _render

return self.nodelist.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 937, in render

bit = node.render_annotated(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 904, in render_annotated

return self.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\loader_tags.py", line 150, in render

return compiled_parent._render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 163, in _render

return self.nodelist.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 937, in render

bit = node.render_annotated(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 904, in render_annotated

return self.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\loader_tags.py", line 150, in render

return compiled_parent._render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 163, in _render

return self.nodelist.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 937, in render

bit = node.render_annotated(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 904, in render_annotated

return self.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\loader_tags.py", line 62, in render

result = block.nodelist.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 937, in render

bit = node.render_annotated(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 904, in render_annotated

return self.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\loader_tags.py", line 62, in render

result = block.nodelist.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 937, in render

bit = node.render_annotated(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 904, in render_annotated

return self.render(context)


 "E:\py-3.6.8\lib\site-packages\crispy_forms\templatetags\crispy_forms_tags.py", line 199, in render

c = self.get_render(context).flatten()


 "E:\py-3.6.8\lib\site-packages\crispy_forms\templatetags\crispy_forms_tags.py", line 118, in get_render

actual_form.form_html = helper.render_layout(actual_form, node_context, template_pack=self.template_pack)


 "E:\py-3.6.8\lib\site-packages\crispy_forms\helper.py", line 308, in render_layout

template_pack=template_pack


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 140, in render

return self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields

for field in self.fields


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 104, in <genexpr>

for field in self.fields


 "E:\py-3.6.8\lib\site-packages\crispy_forms\utils.py", line 62, in render_field

form, form_style, context, template_pack=template_pack,


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 361, in render

fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields

for field in self.fields


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 104, in <genexpr>

for field in self.fields


 "E:\py-3.6.8\lib\site-packages\crispy_forms\utils.py", line 62, in render_field

form, form_style, context, template_pack=template_pack,


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 361, in render

fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields

for field in self.fields


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 104, in <genexpr>

for field in self.fields


 "E:\py-3.6.8\lib\site-packages\crispy_forms\utils.py", line 62, in render_field

form, form_style, context, template_pack=template_pack,


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 287, in render

fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields

for field in self.fields


 "E:\py-3.6.8\lib\site-packages\crispy_forms\layout.py", line 104, in <genexpr>

for field in self.fields


 "E:\py-3.6.8\lib\site-packages\crispy_forms\utils.py", line 148, in render_field

html = template.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\backends\django.py", line 61, in render

return self.template.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 171, in render

return self._render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 163, in _render

return self.nodelist.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 937, in render

bit = node.render_annotated(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 904, in render_annotated

return self.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\defaulttags.py", line 309, in render

return nodelist.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 937, in render

bit = node.render_annotated(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 904, in render_annotated

return self.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\defaulttags.py", line 309, in render

return nodelist.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 937, in render

bit = node.render_annotated(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 904, in render_annotated

return self.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\defaulttags.py", line 309, in render

return nodelist.render(context)


 "E:\py-3.6.8\lib\site-packages\django\template\base.py", line 940, in render

bits.append(str(bit))


 "E:\py-3.6.8\lib\site-packages\django\utils\html.py", line 397, in <lambda>

klass.__str__ = lambda self: mark_safe(klass_str(self))


 "E:\py-3.6.8\lib\site-packages\django\forms\boundfield.py", line 33, in __str__

return self.as_widget()


 "E:\py-3.6.8\lib\site-packages\django\forms\boundfield.py", line 93, in as_widget

renderer=self.form.renderer,
TypeError: render() got an unexpected keyword argument 'renderer'
