-
Notifications
You must be signed in to change notification settings - Fork 1.5k
cmd/openshift-install/create: Add metadata.json to ignition-configs #1070
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Looks like it will solve the problem nicely thanks. If I can help lend a hand in requesting the exception let me know. |
|
with metadata being a separate asset, we need this to be part of |
Should be fixed with b09f8c8 -> 76e67a4. |
staebler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes needed to support None platform.
|
Looks like this crashes when you move on to "create cluster": |
From Devan Goodwin [1]: The two uses cases were (1) service delivery will start receiving telemetry for the cluster while it's installing, but they have no knowledge of the UUID which is a problem for them, and (2) if Hive fails to upload that UUID after install we have an orphaned cluster that can't be cleaned up automatically. Writing the metadata.json as an asset is a perfect solution, we can upload once ready and if it fails, no harm done, we'll just keep retrying. Matthew recommended the no-op load [2]: My suggestion is that, for now, Load should return false always. The installer will ignore any changes to metadata.json. In the future, perhaps we should introduce a read-only asset that would cause the installer to warn (or fail) in the face of changes. [1]: openshift#1057 (comment) [2]: openshift#1070 (comment)
I think I fixed this with 76e67a4 -> a9afdc9. At least, I can no longer reproduce your panic. Can you check to confirm? |
|
Approved from perspective of feature freeze (this causes significant bug for Hive). I'll let others on team do code approval. |
|
Panic is fixed, thx! |
There's suspicion that these are openshift/cluster-ingress-operator#105 from other clusters in the account. /retest |
|
/hold cancel
defering to @staebler for |
/retest |
/retest |
| installConfig := &installconfig.InstallConfig{} | ||
| parents.Get(clusterID, installConfig) | ||
|
|
||
| if installConfig.Config.Platform.None != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With these changes, metadata.json has become information and not just a file used by the destroy command. It would rather see consistency where the file is generated even when the platform is None. With that said, I can live with the changes as they are, and we can address what to do about the None platform for later releases.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: staebler, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
and many, many more. I think something is busted in CI, so I'm not going to kick this again yet. |
|
Actually, I must just be misreading that summary, because: /retest |
and more, although that one has been killing us in CI recently. /retest |
and more. /retest |
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
From @dgoodwin:
/hold