Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key error when accessing vSphere folder #84

Open
petrSchreiber opened this issue Aug 20, 2021 · 0 comments
Open

Key error when accessing vSphere folder #84

petrSchreiber opened this issue Aug 20, 2021 · 0 comments

Comments

@petrSchreiber
Copy link
Contributor

Traceback (most recent call last):
  File "/app_python/labmanager-unit-vsphere/vcenter/vcenter.py", line 947, in __collect_system_folders
    raise e
  File "/app_python/labmanager-unit-vsphere/vcenter/vcenter.py", line 915, in __collect_system_folders
    root_folder_moref = self.__get_system_root_folder()
  File "/app_python/labmanager-unit-vsphere/vcenter/vcenter.py", line 823, in __get_system_root_folder
    folder = self.vm_folders[settings.app['vsphere']['folder']]
KeyError: '/vm/qa/your_cluster'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/app_python/labmanager-unit-vsphere/vcenter/vcenter.py", line 308, in deploy
    self.vm_folders.create_folder(settings.app['vsphere']['folder']),
  File "/app_python/labmanager-unit-vsphere/vcenter/vcenter.py", line 881, in create_folder
    self.__collect_system_folders()
  File "/app_python/labmanager-unit-vsphere/vcenter/vcenter.py", line 949, in __collect_system_folders
    objView.DestroyView()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant