Comments (4)
@rgl Agreed this would be a good capability to create a default "wait-for-work" template + container that comes baked with Tinkerbell. We also need this in Packet, and I think would have broad appeal. Perhaps we can capture that in a separate issue.
from smee.
Instead of being a noop I would like to be able to specify a workflow for the machines that do not (yet) have a workflow. That way I can deal with them (e.g. run some kind of inventory application on them and show the machine in some kind of "un-provisioned/new" machines catalog).
from smee.
Updates so far.
-) Development & Testing activity:
-
Changes to fetch worker id for given hardware. Dev + test (Done)
-
Changes to fetch workflow for a given worker id. Dev - (Done) + Test in progress.
-
Point 2 requires addition of a rpc client to fetch workflow, changes is required in both boots and tink. Actually, I was using existing client to fetch workflow and after i got go panic error i found, rpc client is currently specific to hardware clis. So, i added a rpc client for workflow. Dev (Done) + Boots Test (Done) + Tink in progress.
-
Endpoints to fetch workflow using client. Dev (Done) + Test, in progress, currently fixing client in point3.
-
Using above workflow client, i can fetch workflows and filter which are active. Once, my testing on clients and endpoints are completed i will complete this. Dev + Test (in progress)
I have raised below PR, for workflow client changes in boots and tink. Later, i will add my other changes in same branch.
96bb35d
tinkerbell/tink@f14f070
from smee.
Tested this PR along with tinkerbell/tink#200.
- Testing with Active workflow :- completed
{"level":"info","ts":1593695857.2480636,"caller":"job/job.go:55","msg":"found active workflow for hardware 0eba0bf8-3772-4b4a-ab9f-6ebe93b90a94 with workflow id d0f730bc-894d-42de-8c37-9e423f5c761d","service":"github.com/tinkerbell/boots","pkg":"http","dhcp":"0eba0bf8-3772-4b4a-ab9f-6ebe93b90a94"}
- Testing without active workflow:-completed
{"level":"info","ts":1593696050.6527524,"caller":"boots/dhcp.go:76","msg":"retrieved job is empty","service":"github.com/tinkerbell/boots","pkg":"main","type":"DHCPDISCOVER","mac":"08:00:27:00:00:01","err":"No active workflow found for hardware 0eba0bf8-3772-4b4a-ab9f-6ebe93b90a94"}
from smee.
Related Issues (20)
- socker-sompose dhcp x509 certifcate error HOT 2
- Consolidate data model selection, add supporting flags for env vars. HOT 1
- Doc: dead link in iPXE Doc on main branch HOT 1
- Stop building 32b images
- Provide a configurable minimum lease expiry for DHCPOFFERs
- Release 0.7 HOT 1
- Add documentation around updated components in Boots HOT 1
- Deprecate and remove Cacher backend
- Remove Cacher backend HOT 1
- Support customization of HTTP port HOT 1
- Consume Tink v1alpha2 APIs
- Customscript error handling does not seem correct HOT 7
- [pls ignore] pxe boot HOT 1
- kernel arg `ip=dhcp` can cause very long boot time in Hook HOT 1
- Binding DHCP server to a specific interface instead of 0.0.0.0 HOT 2
- Add flag to set TFTP block size. HOT 1
- smee/dhcprelay is broadcasting DHCPOFFER instead of unicasting in an L3 environment
- The file backend does not update the runtime config on file change HOT 2
- documenation | static ip addresses | example required HOT 1
- Does smee support binding to IPv6 address ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smee.