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

Drop cc_snap.maybe_install_squashfuse. #1448

Merged

Conversation

aciba90
Copy link
Contributor

@aciba90 aciba90 commented May 11, 2022

cc_snap.maybe_install_squashfuse no longer needed in Bionic++.

squashfuse install no longer required as snapd feature was backported
and released (and Xenial support is no longer available for
cloud-init).

Proposed Commit Message

Drop cc_snap.maybe_install_squashfuse.

cc_snap.maybe_install_squashfuse no longer needed in Bionic++.

squashfuse install no longer required as snapd feature was backported
and released (and Xenial support is no longer available for
cloud-init).

Additional Context

SC-903

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

cc_snap.maybe_install_squashfuse no longer needed in Bionic++.

squashfuse install no longer required as snapd feature was backported
and released (and Xenial support is no longer available for
cloud-init).
@aciba90 aciba90 marked this pull request as draft May 11, 2022 15:04
@aciba90 aciba90 marked this pull request as ready for review May 11, 2022 15:18
"squashfuse_in_container": {
"type": "boolean",
"default": false,
"description": "DEPRECATED: This key is no longer needed and will be removed in a future version of cloud-init."
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess the moment to drop it is now. Do we have to explicitly say something in the changelog or something else? Or should we keep this for backward compatibility?

Copy link
Member

Choose a reason for hiding this comment

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

I'll let others weigh in here too, but I'm ok dropping it completely since the docs always specified development only.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we are clear enough here to drop. It was an optional thing to use in containers until about 2018 with snapd version 2.32.3.1. It is unnecessary and anybody using this config option doesn't really need to anymore. The workaround if someone really wanted to install squashfuse in a container would be to provide packages: [squashfuse] in #cloud-config if necessary for their appllication (which it shouldn't be).

Copy link
Member

@holmanb holmanb left a comment

Choose a reason for hiding this comment

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

Thanks for this cleanup PR. This looks good to me. To your question, I think input from @blackboxsw would be helpful. We are still working out versioning / publishing of the schema.

  • no further references of squashfuse_in_container
  • no remaining unnecessary references to "squash" or "fuse"
  • docs updated in this pr

"squashfuse_in_container": {
"type": "boolean",
"default": false,
"description": "DEPRECATED: This key is no longer needed and will be removed in a future version of cloud-init."
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we are clear enough here to drop. It was an optional thing to use in containers until about 2018 with snapd version 2.32.3.1. It is unnecessary and anybody using this config option doesn't really need to anymore. The workaround if someone really wanted to install squashfuse in a container would be to provide packages: [squashfuse] in #cloud-config if necessary for their appllication (which it shouldn't be).

@blackboxsw blackboxsw merged commit ce85e85 into canonical:main May 13, 2022
@aciba90 aciba90 deleted the remove_cc_snap_maybe_install_squashfuse branch May 23, 2022 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants