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
{{ message }}
Repository navigation
Requesting Removal of InstallConfig ClusterID #538
Right now you must pre-generate your own UUID and set it as the ClusterID if you are using your own install-config.yml, otherwise the install fails. UUID is set when generating an install config and the rest of the code assumes it's set, but this is not the case if you're using a config file generated by other means. (i.e. Hive)
In past discussions the plan was to remove this from install-config as it was not meant to be something users could set.
Alternatively, we could keep it as an override and update the code to realize no UUID is set, and generate one. (we've requested being able to generate our own UUIDs as this would give us all info needed to cleanup a cluster in the event of install failure, without having to wrap install and upload metadata files, however this did not appear popular with install team in past discussions.)
Alternatively, we could keep it as an override and update the code to realize no UUID is set, and generate one.
This sounds straightforward.
... we've requested being able to generate our own UUIDs as this would give us all info needed to cleanup a cluster in the event of install failure, without having to wrap install and upload metadata files, however this did not appear popular with install team in past discussions.
If you are referring to this, I had been arguing that you didn't need to be able to set the UUID in order to cleanup in the event of an install failure. I don't remember arguing that a configurable UUID was a bad idea (I'd be a bit concerned about foot-gunning, but folks who set it themselves would be explicitly deciding to do so). Was there other discussion that was more strongly against user-provided UUIDs?
No that was it, it seemed the proposal to generate was not something desired given the alternatives mentioned, but I guess we did not settle why. If we are all ok with keeping Cluster ID, and allowing override if someone wants to do so, and a small update to the code to generate if it's empty string, this would be awesome from my POV.
Is this problem more general than ClusterID? I'd expect many fields in the loaded install-config could be optional (e.g. we could inject networking if you left it out).
Good question, we haven't really defined what is optional on our side yet so we tend to specify most things so far. Does the installer clearly define what is optional in InstallConfig right now? I know the generated ones are somewhat thin so it must be doing ok, but might be some more problems there if networking for example wasn't setup.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Activity
wking commentedon Oct 25, 2018
This sounds straightforward.
If you are referring to this, I had been arguing that you didn't need to be able to set the UUID in order to cleanup in the event of an install failure. I don't remember arguing that a configurable UUID was a bad idea (I'd be a bit concerned about foot-gunning, but folks who set it themselves would be explicitly deciding to do so). Was there other discussion that was more strongly against user-provided UUIDs?
dgoodwin commentedon Oct 25, 2018
No that was it, it seemed the proposal to generate was not something desired given the alternatives mentioned, but I guess we did not settle why. If we are all ok with keeping Cluster ID, and allowing override if someone wants to do so, and a small update to the code to generate if it's empty string, this would be awesome from my POV.
wking commentedon Oct 25, 2018
/assign
wking commentedon Oct 25, 2018
Is this problem more general than
ClusterID? I'd expect many fields in the loaded install-config could be optional (e.g. we could inject networking if you left it out).dgoodwin commentedon Oct 25, 2018
Good question, we haven't really defined what is optional on our side yet so we tend to specify most things so far. Does the installer clearly define what is optional in InstallConfig right now? I know the generated ones are somewhat thin so it must be doing ok, but might be some more problems there if networking for example wasn't setup.
wking commentedon Oct 25, 2018
There are some brief notes in this direction in #263. No clear docs, as far as I know.
wking commentedon Jan 18, 2019
Fixed by #1057.
/close
openshift-ci-robot commentedon Jan 18, 2019
@wking: Closing this issue.
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.