Skip to content

Conversation

@markmc
Copy link
Contributor

@markmc markmc commented Feb 20, 2019

Update to v1beta3 version. Remove everything except where we want to supply required information or override the defaults.

@markmc markmc force-pushed the installconfig-networking branch from dbf028b to db6c447 Compare February 20, 2019 12:58
@markmc markmc changed the title Installconfig networking Update install-config Feb 20, 2019
@markmc
Copy link
Contributor Author

markmc commented Feb 20, 2019

Sorry for all the pushes, should be done now.

@hardys
Copy link

hardys commented Feb 20, 2019

Thanks @markmc - sorry but can you rebase this please, I just merged #75 which touched the same script.

Update to v1beta3 install-config.yaml

Use the defaults for everything except the pieces of
information that are required or that we want to override.

We were setting the machine pool replicas to null to try
and get "create cluster" to launch a bootstrap VM but no
masters. According to the "FIXME: this doesn't work", it
looks like we're not depending on this right now.

The connection URI isn't actually used for generating ignition
configs.
@markmc markmc force-pushed the installconfig-networking branch from 7c83451 to 805beac Compare February 21, 2019 05:54
@markmc
Copy link
Contributor Author

markmc commented Feb 21, 2019

No worries, rebased and squashed

URI: qemu:///system
network:
if: tt0
libvirt: {}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yeah, good catch - the URI is there because I was originally trying to use the openshift-install libvirt backend to launch the bootstrap vm via "create cluster", but it turns out evern with replicas:null it still builds a single master node as well.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're on this lets change this to platform: none - it should be the same as libvirt, but later on we change it for baremetal use cases

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this and you need to do:

platform:
  none: {}

Just setting platform to either null or the string none doesn't work, there's a json marshalling error from openshift-install

Copy link
Collaborator

@derekhiggins derekhiggins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works for me

@derekhiggins derekhiggins merged commit 76f1fd9 into openshift-metal3:master Feb 21, 2019
@markmc markmc deleted the installconfig-networking branch March 7, 2019 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants