[fcos] support xz-encoded images#3008
Conversation
|
/cc @LorbusChris |
|
/hold |
|
/hold cancel |
|
/override ci/prow/vsphere Known issues, skipping |
|
/override ci/prow/e2e-vsphere |
|
@vrutkovs: Overrode contexts on behalf of vrutkovs: ci/prow/e2e-vsphere DetailsIn 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. |
|
@vrutkovs: /override requires a failed status context to operate on.
Only the following contexts were expected:
DetailsIn 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. |
There was a problem hiding this comment.
Comment is not accurate anymore.
There was a problem hiding this comment.
What calls decompressFile?
https://github.com/openshift/installer/pull/3008/files#diff-9b6f80c907f7bc24013cc46e73583067R119-R146 should be updated too.
There was a problem hiding this comment.
decompressor func is detected from compressorMap and called (see below)
|
Trying to keep the delta between master and fcos small: Can we get this into master already as well? /retest |
| } | ||
| defer xzfile.Close() | ||
|
|
||
| reader, err := xz.NewReader(xzfile) |
There was a problem hiding this comment.
Tangentially see coreos/mantle@c7b6994
Of course the mantle codebase has a lot of stuff around this area, including now signature checking...maybe at some point we could try to make it a shared library.
|
/approve |
|
/hold It's still not clear to me what calls |
|
/retest |
|
@vrutkovs: The decompression code must be called in pkg/tfvars/azure/azure.go I think. Also the type of blob storage must be page instead of block. Terraform will complain about that later. Currently I prepare a PR for that including that the decompression code will be called. |
|
@vrutkovs @LorbusChris The proof that in principle the upload should work: This screenshot tells you that Microsoft recommends to use page blobs for VHD files: For the conversion of the VHD file into an Azure image it seems to be necessary that the VHD file is in fixed size. The fcos image provided by the core os team seems to be in dynamic size which breaks Terraform during the creation of the image. |
Uses github.com/ulikunitz/xz to uncompress artifacts, identified by application/octet-stream
|
/hold cancel |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, LorbusChris 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 |
|
/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. |
|
/override ci/prow/e2e-vsphere known bootstrap issue |
|
@vrutkovs: Overrode contexts on behalf of vrutkovs: ci/prow/e2e-vsphere DetailsIn 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. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
10 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/override ci/prow/e2e-vsphere known bootstrap issue |
|
@vrutkovs: Overrode contexts on behalf of vrutkovs: ci/prow/e2e-vsphere DetailsIn 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. |
|
@vrutkovs: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. I understand the commands that are listed here. |
|
/cherry-pick master |
|
@LorbusChris: #3008 failed to apply on top of branch "master": DetailsIn 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. |
Some FCOS images are xz-compressed, however RHCOS is gzipped