openshift / openshift/installer

convenient ability to just boot a coreos node with custom butane/ignition

Open
#6,392 7 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

lifecycle/frozen
Dominant language
Go
Stars
1.6k
Forks
1.5k
Avg merge
5d 5h
Merged PRs (30d)
39

Description

I've had this desire a few times myself, most recently I wanted to point some users at this in https://issues.redhat.com/browse/OCPBUGS-1327

Basically when one wants to debug an IPI issue, it'd be really, really useful to have something like:

openshift-install provision-one-coreos --with-butane foo.bu

(And --with-ignition foo.ign)

That would use the relevant bits of the install-config.yaml and run through all the same Terraform setup code to set up basically the same flow for the bootstrap node and...that's it. The user would normally put a SSH key in the install config for this. (But with --with-butane one could inject one easily, alongside any other desired config)

This would make it much easier to debug e.g. networking issues between instances, verify hardware works etc. without entirely dropping to fully custom UPI.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the openshift-install CLI entry point and trace the Terraform setup code used for the bootstrap node. Check how install-config.yaml supplies the existing provisioning settings, then determine how the proposed Butane and Ignition inputs should enter that flow. Done means a command can provision one CoreOS node using the existing setup path for debugging.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, terraform
Domain
cli, devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.