tinkerbell / playground

Example deployments of the Tinkerbell Stack for use as playground environments
Apache License 2.0
131 stars 87 forks source link

Hegel filters out important information for running TB workflows #64

Closed moadqassem closed 3 years ago

moadqassem commented 3 years ago

Expected Behaviour

The executed ubuntu workflow in the workflows repo will work as expected.

Current Behaviour

While running the ubuntu TB workflow from this repo, the workflow will fail due to lack of information from Hegel meta server:

echo 'metadata.facility.plan_slug is missing, empty or null'
metadata.facility.plan_slug is missing, empty or null
functions.sh: line 172: $3: unbound variable

Possible Solution

Can be found attached to this PR https://github.com/tinkerbell/sandbox/pull/63

Steps to Reproduce (for bugs)

  1. Setup TB using the tf provisioner on equinix in the sandbox project
  2. Execute this workflow
  3. Take a look at the logs of the tink-worker in worker node

Context

I am trying to install ubuntu after the worker boots up.

Your Environment