You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[salt-cloud openstack] TypeError: unhashable type: 'dict' on map creation #24017
According to the docstring of raw_mod, the name argument is wrong as suspected above:
'''
Returns a single module loaded raw and bypassing the __virtual__ function
.. code-block:: python
import salt.config
import salt.loader
__opts__ = salt.config.minion_config('/etc/salt/minion')
testmod = salt.loader.raw_mod(__opts__, 'test', None)
testmod['test.ping']()
'''
However, the above frame's comment is blatant
> /home/jpic/salt/salt/loader.py(190)minion_mods()
# Load any provider overrides from the configuration file providers option
# Note: Providers can be pkg, service, user or group - not to be confused
# with cloud providers.
if opts.get('providers', False):
providers = opts.get('providers', False)
for mod in providers:
funcs = raw_mod(opts, providers[mod], ret.items()) <---------
So maybe it's actually a user configuration problem.
Activity
kiorky commentedon May 21, 2015
@jpic just got that one using the lxc provider.
jpic commentedon May 21, 2015
Is that normal ?
kiorky commentedon May 21, 2015
bt ?
on which portion of the code, many "cloud" function receive the vm opts mangled as the first param, its normal.
jpic commentedon May 21, 2015
Similar to what @arthurlogilab posted:
jpic commentedon May 21, 2015
FTR, that's
loader.file_mapping:Again FTR, that's what the Python error is about:
Hope this helps.
jpic commentedon May 21, 2015
According to the docstring of raw_mod, the
nameargument is wrong as suspected above:However, the above frame's comment is blatant
So maybe it's actually a user configuration problem.
Leaving this here FTR for saltstack#24017 but that's probably not the…
kiorky commentedon May 21, 2015
there must be a provider or providers some where in your conf which conflict with thtat,
kiorky commentedon May 21, 2015
i know how to make a patch to fix the problem one and for all
pushing it on a minute.
gladiatr72 commentedon May 22, 2015
*\o/*