-
Notifications
You must be signed in to change notification settings - Fork 42
Description
when networks are not available to in default and only available for individual projects, the api call to listNetworks will not return any networks unless the projectid is sent as part of the API call.
in this case, this plugin fails to find the network_name or network_id
example.
1 607e9baa-8219-464b-aba7-653b39b9d0dd bat-80- xmllint --format -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 114 100 114 0 0 4252 0 --:--:-- --:--:-- --:--:-- 4384
Vagrant fails to lookup the network ID or NAME
==> default: Fetching UUID for network with name 'bat-80'
/Users/XXX/.vagrant.d/gems/2.4.4/gems/vagrant-cloudstack-1.5.0/lib/vagrant-cloudstack/service/cloudstack_resource_service.rb:47:in resourcefield_to_id': No UUID found for network with name 'bat-80' (VagrantPlugins::Cloudstack::Exceptions::CloudstackResourceNotFound) from /Users/XXXX/.vagrant.d/gems/2.4.4/gems/vagrant-cloudstack-1.5.0/lib/vagrant-cloudstack/service/cloudstack_resource_service.rb:65:in name_to_id'
from /Users/XXXX/.vagrant.d/gems/2.4.4/gems/vagrant-cloudstack-1.5.0/lib/vagrant-cloudstack/service/cloudstack_resource_service.rb:17:in `sync_resource'