Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Automatically launch Ironic within the bootstrap VM to provision masters #68

Closed
russellb opened this issue Apr 30, 2019 · 2 comments
Closed
Assignees

Comments

@russellb
Copy link
Member

kni-install currently assumes Ironic has been stood up outside of the installer. Terraform will drive that instance of Ironic to provision the masters.

Instead, we'd like to be able to minimize external pre-requisites and be able to spin up Ironic within the bootstrap VM for provisioning the masters.

Either way, this instance of Ironic is supposed to be temporary. Once the cluster comes up, the baremetal-operator should be managing Ironic within the cluster.

@stbenjam
Copy link
Member

stbenjam commented Jun 4, 2019

It occurs to me that we launch the masters and bootstrap concurrently. We'll need a mechanism to have Terraform wait for Ironic to be available on the bootstrap node before trying to create any baremetal resources.

The solution to this seems to be using depends_on, to have each individual Ironic resource wait for something. It can't be used at the module level, but this workaround may work for us.

We'd then use a local-exec provisioner on the bootstrap resource we're waiting for to poll until Ironic API is up.

@hardys
Copy link

hardys commented Jul 22, 2019

Moved tracking of this to openshift/installer#2060

@hardys hardys closed this as completed Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants