ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
When trying to import an unmanaged instance it's necessary to change the network guest for the instance to be at the right environment network.
But when selecting the appropiate network and click on import, Cloudstack returns an error saying "Unale to use network with id = ID, permission denied", the problem is, even thoug I wrotte the correct network name Cloudstack will use the last network created.
To solve this, I just deleted and created the network guest, making the network the first option on the selection menu.
STEPS TO REPRODUCE
1- Open the Import-Export instances
2- Select a Unmanaged instances
3- After inform all the data from the vm, on the "Network selection" section change the network for a different on the same vlan:
3.1- The default option:

3.2- The select option:

4- The error:

5- The confirmation that the id was from the 1 option that appers on the selection menu:

6- The ID of the corret network guest:

EXPECTED RESULTS
The network guest selected is used to import the vm.
ACTUAL RESULTS
The fisrt option on the selection menu is used every time.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
When trying to import an unmanaged instance it's necessary to change the network guest for the instance to be at the right environment network.
But when selecting the appropiate network and click on import, Cloudstack returns an error saying "Unale to use network with id = ID, permission denied", the problem is, even thoug I wrotte the correct network name Cloudstack will use the last network created.
To solve this, I just deleted and created the network guest, making the network the first option on the selection menu.
STEPS TO REPRODUCE
1- Open the Import-Export instances





2- Select a Unmanaged instances
3- After inform all the data from the vm, on the "Network selection" section change the network for a different on the same vlan:
3.1- The default option:
3.2- The select option:
4- The error:
5- The confirmation that the id was from the 1 option that appers on the selection menu:
6- The ID of the corret network guest:
EXPECTED RESULTS
ACTUAL RESULTS