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

'vSphere Network not found' when network_name has a forward slash in it #74

Open
tomrgio opened this issue May 16, 2016 · 2 comments
Open

Comments

@tomrgio
Copy link

tomrgio commented May 16, 2016

================================================================================
Error executing action `converge` on resource 'machine[rhel6provisioner1]'
================================================================================

    RuntimeError
    ------------
    vSphere Network not found [VLAN_1244_10.248.44.0/24]

    Resource Declaration:
    ---------------------
    # In /opt/opscode/chef-repo/.chef/local-mode-cache/cache/cookbooks/vsphere-provision/recipes/provision.rb

     30: machine "rhel6provisioner1" do
     31:   run_list ['rhel_baseline::default']
     32: end
     33:

This only happens when the network_name contains a '/' within it, when we use another one within the same datacenter it passes this point successfully.

@mwrock
Copy link
Contributor

mwrock commented May 16, 2016

The driver splits the network name on / and traverses it treating each fragment as a separeta folder in the network view. That strategy unfortunately does not play nice with a network name with a / in it.

@tomrgio
Copy link
Author

tomrgio commented May 17, 2016

Looks like this would be fixed by #65, if it gets approved

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

2 participants