You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
One has a single machine specification (including portMappings) and requests 2 machines
The other has two identical machine specifications (including identical portMappings) and requests 1 of each of these machines (with different base names)
Running footloose create with the former succeeds, but with the latter fails reporting ports being unavailable.
Why?
INFO[0000] Creating SSH key: cluster-key ...
INFO[0000] Image: quay.io/footloose/centos7:0.6.0 present locally
INFO[0000] Creating machine: firekube-node0 ...
INFO[0001] Creating machine: firekube-node1 ...
> footloose delete -c footloose_2machines_1machinespec.yaml
INFO[0000] Machine firekube-node0 is started, stopping and deleting machine...
INFO[0000] Machine firekube-node1 is started, stopping and deleting machine...
> footloose create -c footloose_2machines_2machinespecs.yaml
INFO[0000] Image: quay.io/footloose/centos7:0.6.0 present locally
INFO[0000] Image: quay.io/footloose/centos7:0.6.0 present locally
INFO[0000] Creating machine: firekube-master0 ...
INFO[0001] Creating machine: firekube-worker0 ...
ERRO[0001] Error response from daemon: driver failed programming external connectivity on endpoint firekube-worker0 (1c9f2625b25f7f7ec2c2f69c1de2e94f50969a9fcf9d159e72b2109c3c212e92): Bind for 0.0.0.0:30443 failed: port is already allocated
ERRO[0001] Error: failed to start containers: firekube-worker0
FATA[0001] exit status 1
currently, it's been designed like this.
if we create machines from the same spec like node0 , node1, port numbers will be mapped with an increment variable.
while when we have master0 and worker0 specs , both start from index 0 but have the similar port mapping spec. so their port mappings collide.
Attached are two footloose manifests.
Running
footloose create
with the former succeeds, but with the latter fails reporting ports being unavailable.Why?
footloose_2machines_1machinespec.yaml.txt
footloose_2machines_2machinespecs.yaml.txt
The text was updated successfully, but these errors were encountered: