Tuesday, 2023-09-05

@arneme:matrix.orgJust started looking into StarlingX, and from what I have ssen so far it looks very interesting. I will now try to install StarlingX to see it "in real life". Looking at the installation part for a [all in one virtual setup](https://docs.starlingx.io/deploy_install_guides/release/virtual/aio_simplex_environ.html) there are two things that I am wondering about. The first thing is related to the section with heading "Physical host requirements and setup", and the question is: Do I rally need a physical host (i.e. can it not be a virtual machine)? The second part (and I must admit that it worries me a bit), is that in the same section it is stated that the physical machine needs to run Ubuntu 16.04 LTS. Is this really true? This release of Ubuntu was ages ago.... (well, to be presise, it was released in 2016, but in our world that is a very long time ago :-) )07:54
@arneme:matrix.org * Just started looking into StarlingX, and from what I have ssen so far it looks very interesting. I will now try to install StarlingX to see it "in real life". Looking at the installation part for a [all in one virtual setup](https://docs.starlingx.io/deploy_install_guides/release/virtual/aio_simplex_environ.html) there are two things that I am wondering about. The first thing is related to the section with heading "Physical host requirements and setup", and the question is: Do I really need a physical host (i.e. can it not be a virtual machine)? The second part (and I must admit that it worries me a bit), is that in the same section it is stated that the physical machine needs to run Ubuntu 16.04 LTS. Is this really true? This release of Ubuntu was ages ago.... (well, to be presise, it was released in 2016, but in our world that is a very long time ago :-) )07:56
@arneme:matrix.org * Just started looking into StarlingX, and from what I have ssen so far it looks very interesting. I will now try to install StarlingX to see it "in real life". Looking at the installation part for a [all in one virtual setup](https://docs.starlingx.io/deploy_install_guides/release/virtual/aio_simplex_environ.html) there are two things that I am wondering about. The first thing is related to the section with heading "Physical host requirements and setup", and the question is: Do I really need a physical host (i.e. can it not be a virtual machine)? I do have a relatively large server that I use to instanciate virtual machines on, but it is running the latest version of Debian. The second part (and I must admit that it worries me a bit), is that in the same section it is stated that the physical machine needs to run Ubuntu 16.04 LTS. Is this really true? This release of Ubuntu was ages ago.... (well, to be presise, it was released in 2016, but in our world that is a very long time ago :-) )07:59
@arneme:matrix.org * Just started looking into StarlingX, and from what I have seen so far it looks very interesting. I will now try to install StarlingX to see it "in real life". Looking at the installation part for a [all in one virtual setup](https://docs.starlingx.io/deploy_install_guides/release/virtual/aio_simplex_environ.html) there are two things that I am wondering about. The first thing is related to the section with heading "Physical host requirements and setup", and the question is: Do I really need a physical host (i.e. can it not be a virtual machine)? I do have a relatively large server that I use to instanciate virtual machines on, but it is running the latest version of Debian. The second part (and I must admit that it worries me a bit), is that in the same section it is stated that the physical machine needs to run Ubuntu 16.04 LTS. Is this really true? This release of Ubuntu was ages ago.... (well, to be presise, it was released in 2016, but in our world that is a very long time ago :-) )08:59
@tcervi:matrix.orgHi arneme! you can install STX on both ways: bare metal/physical or virtual. 11:48
The page you just pointed is actually about a virtual deployment, using libvirt in a Ubuntu 16.04 LTS 64-bit. This is probably the tested host OS and not a hard requirement though....
AFAIK brunomuniz was recently working on documentation for virtual deployments, he might be the best one to help you here
@brunomuniz:matrix.orgHi, arneme . I've installed the Virtual setup on top of Ubuntu 20.04 and 22.04 already. I believe Debian works just fine as well.12:18
My team and I use https://docs.starlingx.io/deploy_install_guides/release/virtual/automated_install.html to get either an AIO-SX (All-In-One, meaning all functions in one box; Simplex, meaning only one controller) or AIO-DX (Duplex, meaning two controllers in high-availability) setup working, which is what the automated install helper currently supports.
@arneme:matrix.orgThanks, having taken a closer look at the setup scripts I do believe that it would work on Debian as well. I guess I will find out. Do you have any idea why the network setup adds 4 bridges? I am also wondering if the $EXTERNAL_IP should be set to the routable ip address of my Debian host?12:34
@arneme:matrix.org * Thanks, having taken a closer look at the setup scripts I do believe that it would work on Debian as well. I guess I will find out. Do you have any idea why the network setup adds 4 bridges? I am also wondering if the $EXTERNAL\_IP should be set to the routable ip address of my Debian host? I am having a hard time understanding exactly how the networking is working. I guess what I would like to achieve is that the StarlingX system is reachable from the outside and that the application running in StarlingX can reach out.12:37
@arneme:matrix.org * Thanks, having taken a closer look at the setup scripts I do believe that it would work on Debian as well. I guess I will find out. Do you have any idea why the network setup adds 4 bridges? I am also wondering if the $EXTERNAL\_IP should be set to the routable ip address of my Debian host? I am having a hard time understanding exactly how the networking is working. I guess what I would like to achieve is that the StarlingX system is reachable from the outside and that the application running in StarlingX can reach out and be reachable from the outside :-)12:38
@arneme:matrix.org * Thanks, having taken a closer look at the setup scripts I do believe that it would work on Debian as well. I guess I will find out. Do you have any idea why the network setup adds 4 bridges? I am also wondering if the $EXTERNAL\_IP should be set to the routable ip address of my Debian host? I am having a hard time understanding exactly how the networking is supposed to work. I guess what I would like to achieve is that the StarlingX system is reachable from the outside and that the application running in StarlingX can reach out and be reachable from the outside :-)12:38
@arneme:matrix.org * Thanks, having taken a closer look at the libvirt setup scripts I do believe that it would work on Debian as well. I guess I will find out. Do you have any idea why the network setup adds 4 bridges? I am also wondering if the $EXTERNAL\_IP should be set to the routable ip address of my Debian host? I am having a hard time understanding exactly how the networking is supposed to work. I guess what I would like to achieve is that the StarlingX system is reachable from the outside and that the application running in StarlingX can reach out and be reachable from the outside :-)12:41
@brunomuniz:matrix.orgThis might be helpful to understand the networks, I believe: https://docs.starlingx.io/deploy/kubernetes/common-components.html12:50
@brunomuniz:matrix.orgWhat would be `$EXTERNAL_IP`? Is it a variable in a script or something? Can you link?12:51
@arneme:matrix.orgYes, the $EXTERNAL_IP is a variable in the setup scripts for libvirt (virtual) installation. The script can be found in the virtual-deployment/libvirt/setup_network.sh script15:47
@arneme:matrix.org * Yes, the $EXTERNAL\_IP is a variable in the setup scripts for libvirt (virtual) installation. The script can be found in the virtual-deployment/libvirt/setup_network.sh script17:08
@arneme:matrix.orgbrunomuniz: When you used the Automated Virtual installation, can you only access your StarlingX Horizon GUI from http://localhost:8080 or can you also reach it using the routable ip address of your server? I want to install StarlingX on a headless server and need to be able to access the GUI from outside the server using its routable ip address. To me, it does not look like that the install scripts sets up the network to make this happen. Maybe I have to do some additional network configuration not covered by the install scripts?17:50
@arneme:matrix.org * brunomuniz: When you used the "Automated Virtual installation", can you only access your StarlingX Horizon GUI from http://localhost:8080 or can you also reach it using the routable ip address of your server? I want to install StarlingX on a headless server and need to be able to access the GUI from outside the server using its routable ip address. To me, it does not look like that the install scripts sets up the network to make this happen. Maybe I have to do some additional network configuration not covered by the install scripts?17:51
@brunomuniz:matrix.org> <@arneme:matrix.org> Yes, the $EXTERNAL\_IP is a variable in the setup scripts for libvirt (virtual) installation. The script can be found in the virtual-deployment/libvirt/setup_network.sh script19:43
Sorry, I don't have experience with the `libvirt` setup, unfortunately.
@brunomuniz:matrix.org> <@arneme:matrix.org> brunomuniz: When you used the "Automated Virtual installation", can you only access your StarlingX Horizon GUI from http://localhost:8080 or can you also reach it using the routable ip address of your server? I want to install StarlingX on a headless server and need to be able to access the GUI from outside the server using its routable ip address. To me, it does not look like that the install scripts sets up the network to make this happen. Maybe I have to do some additional network configuration not covered by the install scripts?19:46
The way the documentation suggests you to use the script is by setting up a VirtualBox Nat Network for the OAM Network of StarlingX. See the parameters `--vboxnet-type nat` and `--vboxnet-name NatNetwork`.
@brunomuniz:matrix.orgYou can take a look at this for more details about the Nat Network: https://www.virtualbox.org/manual/ch06.html#network_nat_service19:47
@brunomuniz:matrix.orgThe script adds a port forward so your host's `8080` is forwarded to the controller's `8080`. VirtualBox is the thing managing this port forward.19:49
@brunomuniz:matrix.org> Maybe I have to do some additional network configuration not covered by the install scripts?19:51
Yeah, probably you gonna need some additional stuff. I've seen people using another VM as a router, for example, but I don't know very much about this.
@brunomuniz:matrix.orgLet me see if the script currently is able to run other types of network in the `--vboxnet-type`.19:51
@brunomuniz:matrix.orgWell, the script seems to support only hostonly or nat, which are internal networks (internal to you host)20:13
@brunomuniz:matrix.org * Well, the script seems to support only hostonly or nat, which are internal networks (internal to your host)20:14
@brunomuniz:matrix.orgIt creates port forward rules that VirtualBox manages, which should be enough on a simple setup for you to access from outside of the host with the routable IP address of the host (I have a similar setup here where a have a desktop running some VMs on my internal network and other hosts are able to reach the Horizon Dashboard or other HTTP endpoints that I setup on the Kubernetes cluster for my own workloads)21:02
@brunomuniz:matrix.org * > Maybe I have to do some additional network configuration not covered by the install scripts?21:08
del>Yeah, probably you gonna need some additional stuff. I've seen people using another VM as a router, for example, but I don't know very much about this.</delI guess maybe you don't need anything else in this case.

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!