Traceback (most recent call last):


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/arm.py", line 103, in handle_template_based_exception

raise CLIError(ex.inner_exception.error.message)
AttributeError: 'str' object has no attribute 'message'

Traceback (most recent call last):

 "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 284, in run
self.config.get('names')

 "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1451, in run_profile
ret[name] = self.create(vm_)

 "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1281, in create
output = self.clouds[func](vm_)

 "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/opennebula.py", line 956, in create
ret = salt.utils.cloud.bootstrap(vm_, __opts__)

 "/usr/lib/python2.7/dist-packages/salt/utils/cloud.py", line 514, in bootstrap
transport=opts.get('transport', 'zeromq')

 "/usr/lib/python2.7/dist-packages/salt/utils/cloud.py", line 1721, in fire_event
sock_dir = os.path.join(__opts__['sock_dir'], 'master')NameError: global name '__opts__' is not defined