Skip to content
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

[Azure] Change block blob to page blob #3567

Merged
merged 1 commit into from Jun 10, 2020

Conversation

jomeier
Copy link
Contributor

@jomeier jomeier commented May 7, 2020

Hi,

Azure VHD files must be of type 'page blob' as described here:

https://stackoverflow.com/questions/29079268/differences-between-azure-block-blob-and-page-blob

https://docs.microsoft.com/en-gb/azure/storage/blobs/storage-blob-pageblob-overview

https://www.ibm.com/support/knowledgecenter/SSPREK_9.0.7/com.ibm.isam.doc/admin/task/tsk_upload_vhd_azure.html

https://docs.microsoft.com/en-gb/azure/lab-services/devtest-lab-upload-vhd-using-storage-explorer

I'm not sure why the master branch of the installer can use block blob mode but I assume it has something todo with the RHCOS image itself being in a Azure container blob storage.

This commit should also work with RHCOS.

We like to test that like discussed with @LorbusChris.

Greetings,

Josef

@openshift-ci-robot
Copy link
Contributor

Hi @jomeier. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@openshift-ci-robot openshift-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 7, 2020
@LorbusChris
Copy link
Member

Let's see how this experiment goes
/test e2e-azure

@LorbusChris
Copy link
Member

/ok-to-test
/test e2e-azure

@openshift-ci-robot openshift-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 7, 2020
@jomeier
Copy link
Contributor Author

jomeier commented May 7, 2020

@LorbusChris Azure tests failed but it seems as if the cluster was created successfully, at least the VMs (and that is what counts here). What's your impression?

@jomeier
Copy link
Contributor Author

jomeier commented May 12, 2020

@LorbusChris ?

@LorbusChris
Copy link
Member

if this works, e2e should succeed
/retest

@LorbusChris
Copy link
Member

/test e2e-azure

@patrickdillon
Copy link
Contributor

Can you please update the commit message to contain details about this change? See: https://github.com/openshift/installer/blob/master/CONTRIBUTING.md#commit-message-format

The PR description contains good detail, but was there a motivation for this besides best practices according to docs (e.g. did you see a particular error)?

@LorbusChris
Copy link
Member

@patrickdillon this would be mainly to align with OKD. There, manual FCOS image upload is required at the moment, and that only seems to work with page type blobs.

Though there might be a good reason that I'm unaware of for RHCOS to use the bock type.

@jomeier
Copy link
Contributor Author

jomeier commented May 12, 2020

@patrickdillon As requested I changed the commit message.

@patrickdillon
Copy link
Contributor

Thank you!

Lost the azure test with force push:
/test e2e-azure

@abhinavdahiya abhinavdahiya added the version/4.6 Tracking changes that should end up in 4.6 release label May 13, 2020
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 9, 2020
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 9, 2020
@jomeier
Copy link
Contributor Author

jomeier commented Jun 9, 2020

/test e2e-azure

@LorbusChris
Copy link
Member

LorbusChris commented Jun 9, 2020

@jomeier from the CI logs it looks like Page has to be upper-case

msg="Error: expected type to be one of [Append Block Page], got page"

It seems to be necessary for VHD image files that they have the Azure blob container type 'page' instead of 'block'. That's required for the Azure OKD installer to work.
@jomeier
Copy link
Contributor Author

jomeier commented Jun 9, 2020

/test e2e-azure

@jomeier
Copy link
Contributor Author

jomeier commented Jun 9, 2020

@jomeier from the CI logs it looks like Page has to be upper-case

msg="Error: expected type to be one of [Append Block Page], got page"

Yes. I fixed it. Maybe the version of the terraform provider for Azure has changed.

@LorbusChris
Copy link
Member

Azure passed 🎉
@abhinavdahiya is this good to go?

@abhinavdahiya
Copy link
Contributor

/approve
/lgtm

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 9, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

16 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@jomeier
Copy link
Contributor Author

jomeier commented Jun 10, 2020

@LorbusChris:
I assume the remaining failing tests can be ignored for this PR, that's specific for Azure?

@LorbusChris
Copy link
Member

@jomeier yes, but the bot doesn't know that :) I don't have the power to override tests here -- we'll just have to wait patiently. It will merge eventually.

@LorbusChris
Copy link
Member

/retest

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@jomeier
Copy link
Contributor Author

jomeier commented Jun 10, 2020

/retest

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jun 10, 2020

@jomeier: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-openstack-upi c7dfb07 link /test e2e-openstack-upi

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.

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. I understand the commands that are listed here.

@sdodson
Copy link
Member

sdodson commented Jun 10, 2020

/override ci/prow/e2e-aws-scaleup-rhel7
/override ci/prow/e2e-ovirt
/override ci/prow/e2e-aws
Not relevant.

@openshift-ci-robot
Copy link
Contributor

@sdodson: Overrode contexts on behalf of sdodson: ci/prow/e2e-aws, ci/prow/e2e-aws-scaleup-rhel7, ci/prow/e2e-ovirt

In response to this:

/override ci/prow/e2e-aws-scaleup-rhel7
/override ci/prow/e2e-ovirt
/override ci/prow/e2e-aws
Not relevant.

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.

@openshift-merge-robot openshift-merge-robot merged commit 9cb1aa2 into openshift:master Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. version/4.6 Tracking changes that should end up in 4.6 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants