RunOnFlux/fluxnode-multitool

[BUG] Multi nodes - Incorrect flux front end URL

Closed this issue ยท 2 comments

Environment

Self-Hosted

System

Ubuntu 20.04 LTS

Version

Latest from GitHub

Describe the problem

Background:
I'm installing multiple nodes using the 8 available TCP ports. For that I've prepared the install_config.json files for each node and run the installation for them.

Installation process:

  1. Switch to root user
  2. Run the multitool script and install Docker with option 1
  3. Switch to the local user
  4. Copy install_config.json containing all the config
  5. Run the multitool script and install Flux with option 2
  6. Installation goes all well and services are up and running at the end

BUT: there is an incorrect information outputted on the terminal.

Before the "FLUXNODE INSTALLATION COMPLETED" ascii art banner, it's outputting this:
๐Ÿ“Œ To access your FluxOS use this url: http://192.168.100.8:16196
(note the 16196 port which is the correct one for that 8th node)

But then, at the very end of the installation, before the system returns to the shell prompt, it's outputting this:
๐Ÿ“Œ To access your frontend to Flux enter this in as your url: 70.114.12.58:16126
(note that this is the default 16126 port, which is incorrect and should be the user specified port 16196 for this node)

This is a pretty minor bug but can mislead users.

Additional info

No response

Please tick the boxes

Added to PR #76 to update the ZELFRONTPORT variable so it displays the correct port.

Closed by bd9a09c