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

Path modify is not working in avi_deploy_controller.py when vcenter folder name is not matching "Datacenters" #188

Open
ShellPower11 opened this issue Nov 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ShellPower11
Copy link

Describe the bug

if paths[0] == 'Datacenters':
paths.remove('Datacenters')
return '/' + '/'.join(paths)
)

Its a problem when your vcenter folder is not named "Datacenters". The module is not working for me, because i have a folder named: "Datacenter". So the path modify is not working in avi_deploy_controller.py line 223-225. Maybe work with the Object ID "group-d1" and then take the name and use it to modify the path. Or give the option to define the folder in vars as workaround. At the moment i have to modify the module and exchange the script in the collection.

Reproduction steps

  1. Use avi_deploy_controller.py Module

...

Expected behavior

The module can work, even the folder name in your environment is different.

Additional context

No response

@ShellPower11 ShellPower11 added the bug Something isn't working label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant