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
salt vc01 vmware_vm.relocate vm_name=vm01 new_host_name=host1 datastore_name=ds01:
vc01:
The minion function caused an exception: Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/salt/metaproxy/proxy.py", line 483, in thread_return
opts, data, func, args, kwargs
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 149, in __call__
return self.loader.run(run_func, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 1201, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/contextvars/__init__.py", line 38, in run
return callable(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 1216, in _run_as
return _func_or_method(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/executors/direct_call.py", line 10, in execute
return func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 149, in __call__
return self.loader.run(run_func, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 1201, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/contextvars/__init__.py", line 38, in run
return callable(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 1216, in _run_as
return _func_or_method(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/saltext/vmware/modules/vm.py", line 515, in relocate
service_instance, datastore_name=datastore_name, datacenter_name=datacenter_name
NameError: name 'datacenter_name' is not defined
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Salt Version:
Salt: 3004.1Dependency Versions:
cffi: 1.11.5cherrypy: unknowndateutil: 2.6.1docker-py: Not Installedgitdb: Not Installedgitpython: Not InstalledJinja2: 2.10.1libgit2: 0.26.8M2Crypto: 0.35.2Mako: Not Installedmsgpack: 0.6.2msgpack-pure: Not Installedmysql-python: Not Installedpycparser: 2.14pycrypto: Not Installedpycryptodome: Not Installedpygit2: 0.26.4Python: 3.6.8 (default, Nov 17 2021, 16:10:06)python-gnupg: Not InstalledPyYAML: 3.12PyZMQ: 19.0.0smmap: Not Installedtimelib: Not InstalledTornado: 4.5.3ZMQ: 4.3.4System Versions:
dist: almalinux 8.5 Arctic Sphynxlocale: UTF-8machine: x86_64release: 4.18.0-348.20.1.el8_5.x86_64system: Linuxversion: AlmaLinux 8.5 Arctic Sphynx
Additional context vcenter proxy minion against vSphere 7.0.3. pyVmomi 7.0.3
The text was updated successfully, but these errors were encountered:
salt vc01 vmware_vm.relocate vm_name=vm01 new_host_name=host1 datastore_name=ds01
:Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
vcenter
proxy minion against vSphere 7.0.3. pyVmomi 7.0.3The text was updated successfully, but these errors were encountered: