You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I presume the recent change made with user-defined metadata #58 is involved here. Because I am not sending any of them by purpose. Technically I should be able to do it because they are not an unstructured object.
Steps to Reproduce (for bugs)
Follow the vagrant workflow and create the hardware as I pasted here
Create a workflow and start a worker
Your Environment
Operating System and version (e.g. Linux, Windows, MacOS):
MacOS
How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:
Vagrant with Virtualbox
The text was updated successfully, but these errors were encountered:
Signed-off-by: cbkhare <Chitrabasukhare89@gmail.com>
## Description
If hardware data without metadata is inserted into the Tinkerbell, then during tftp boot of the worker node boots container panics.
## Why is this needed
Fixes: #61
Panic is due to the reference to the `Instance` field in the `Metadata` which has the `Hostname`. Since metadata is not given, call to `Hostname` panics.
## How Has This Been Tested?
- [x] tested with hardware data without metadata.
- [x] tested with hardware data with metadata.
- [x] Added unit test
Expected Behaviour
The worker boots correctly and exec the workflow
Current Behaviour
I am using the vagrant setup with this hardware:
Boots panics:
Possible Solution
I presume the recent change made with user-defined metadata #58 is involved here. Because I am not sending any of them by purpose. Technically I should be able to do it because they are not an unstructured object.
Steps to Reproduce (for bugs)
Your Environment
MacOS
Vagrant with Virtualbox
The text was updated successfully, but these errors were encountered: