OpenNebula / minione

Easy to use deployment tool for an OpenNebula evaluation environment
Apache License 2.0
173 stars 55 forks source link

OneGate not reachable for edge cloud VMs #41

Closed vholer closed 1 year ago

vholer commented 4 years ago

In the oned.conf, OneGate endpoint is configured for local VMs. But, this is the private IP address unreachable for remote edge cloud VMs. E.g.,

ONEGATE_ENDPOINT = "http://172.16.100.1:5030"

Maybe we can have OneGate to listen on all interfaces (0.0.0.0) and simply use a primary host IP address of as universal endpoint. Not sure if it would work for both local and edge cloud VMs, hopefully yes.

xorel commented 1 year ago

for the frontend only (intended for oneprovision) there is

# FRONTEND + PREPARE FIREEDGE, ONEPROVISION
else
    ONEGATE_ENDPOINT=${PUBLIC_IP:-$ETH0_IP}                                                                                                                                  
    ONEGATE_SERVER=$ETH0_IP
    FIREEDGE_ENDPOINT=${PUBLIC_IP:-$ETH0_IP}
    REPORT_IP=${PUBLIC_IP:-$ETH0_IP}
fi