AMP
AMP copied to clipboard
Ports Duplicated on Instance Creation
Operating System
Ubuntu 24.04
AMP Version and Build Date
2.6
AMP Release Stream
Mainline
I confirm that
- [X] I have searched for an existing bug report for this issue.
- [X] I am using the latest available version of AMP.
- [X] my operating system is up-to-date.
Intended Action
N/A
Expected Behaviour
N/A
Actual Behaviour
N/A
Reproduction
There needs to be a lock put in so multiple instances getting created at once doesn't use the same ports.
So looks like the basic problem is that new instances aren't added to the manifest until they're downloaded+configured etc which takes some time. So indeed two instances created at the same moment may try and use the same port numbers.
We can either use a semaphore or similar to prevent two instances from being created at the same time, or an actual proper queue of instance operations to perform.
Fixed in the next release.