'vSphere Network not found' when network_name has a forward slash in it
tomrgio opened this issue · 2 comments
tomrgio commented
================================================================================
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 commented
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.