cilium / packer-ci-build

Contains the scripts and data for building the Cilium CI testing VM.
10 stars 17 forks source link

provision: Export HUBBLE_SERVER socket #340

Closed qmonnet closed 2 years ago

qmonnet commented 2 years ago

Running Hubble in the VMs fails with the following error message, because Relay is not deployed and there is nothing to listen to at the default address:

failed to connect to 'localhost:4245': connection error: desc = "transport: error while dialing: dial tcp 127.0.0.1:4245: connect: connection refused"`

We can have Hubble working on its own by exporting the HUBBLE_SERVER environment variable and making it point to the Hubble socket.

Let's use /etc/environment so that the variable is exported for all users, and Hubble remains accessible when working as root.

qmonnet commented 2 years ago

/build

qmonnet commented 2 years ago

Build error didn't seem related /build-4.9