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

cmdlib: Drop cache qcow2, just use virtiofs #3615

Closed
wants to merge 1 commit into from

Conversation

cgwalters
Copy link
Member

Another chunk of technical debt drops away; we went through a lot of gyrations in the initial development of doing rpm-ostree+qemu, but just using virtiofs to talk to the host seems to work fine here now.

An immediate motivation is coreos/rpm-ostree#4565

Another chunk of technical debt drops away; we went through
a lot of gyrations in the initial development of doing rpm-ostree+qemu,
but just using virtiofs to talk to the host seems to work fine here
now.

An immediate motivation is coreos/rpm-ostree#4565
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

Haven't tested this myself but I certainly like the direction!

@openshift-ci
Copy link

openshift-ci bot commented Sep 14, 2023

@cgwalters: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/rhcos afd5f5e link true /test rhcos

Full PR test history. Your PR dashboard.

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.

mv -T cache2.qcow2.tmp "${workdir}"/cache/cache2.qcow2
fi
# And remove the old one
# Clean up old cache qcow2; we now always rely on virtiofs
Copy link
Member

Choose a reason for hiding this comment

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

Since CI failed and we'll need to do another run.. maybe we can add a comment here to say to delete the runvm_with_cache function after 2023 to let future us know for sure when it's safe to get rid of it.

Copy link
Member

Choose a reason for hiding this comment

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

Or we can move the rm -vf to runvm() and nuke it now. There's only two callers of that function, defined just above it.

@dustymabe
Copy link
Member

for:

error: Creating repo: fsetxattr(user.ostreemeta): Operation not supported

You might need change things to pass --xattr to virtiofsd.

@cgwalters
Copy link
Member Author

cgwalters commented Sep 14, 2023

error: Creating repo: fsetxattr(user.ostreemeta): Operation not supported

Hmm, strange...this works in my toolbox setup. I am a little uncertain about adding --xattr as that may have a larger blast radius.

Will dig in at some point, for now moving to draft.

(edit: And the probable short term fix is #3619 )

@openshift-merge-robot
Copy link

PR needs rebase.

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.

@cgwalters cgwalters added the needs-work/failing-ci Legitimate CI failure label Sep 18, 2023
@Tbhjk

This comment was marked as spam.

dustymabe added a commit to dustymabe/coreos-assembler that referenced this pull request Feb 6, 2024
Now that our OSBuild workflow is using the cache we saw at least one
case where the pipeline was running out of space. Since we had a
previous proposal [1] to just drop the cahce altogether anyway let's
try to at least remove it from the runcompose functions to eliminate
the use of it there anyway.

[1] coreos#3615
dustymabe added a commit to dustymabe/coreos-assembler that referenced this pull request Feb 6, 2024
Now that our OSBuild workflow is using the cache we saw at least one
case where the pipeline was running out of space when composing the
extensions. Since we had a previous proposal [1] to just drop the
cache altogether anyway let's try to at least remove it from the
runcompose functions to eliminate the use of it there anyway.

[1] coreos#3615
dustymabe added a commit to dustymabe/coreos-assembler that referenced this pull request Feb 6, 2024
Now that our OSBuild workflow is using the cache we saw at least one
case where the pipeline was running out of space when composing the
extensions. Since we had a previous proposal [1] to just drop the
cache altogether anyway let's try to at least remove it from the
runcompose functions to eliminate the use of it there anyway.

[1] coreos#3615
@dustymabe
Copy link
Member

closing this old PR out. there is an evolution of it in #3720, which also stalled unfortunately.

@dustymabe dustymabe closed this May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants