Skip to content

Remove fog-local and fog-openstack blobstore support#5197

Open
WeiQuan0605 wants to merge 2 commits into
cloudfoundry:mainfrom
sap-contributions:Remove-fog-local-and-openstack
Open

Remove fog-local and fog-openstack blobstore support#5197
WeiQuan0605 wants to merge 2 commits into
cloudfoundry:mainfrom
sap-contributions:Remove-fog-local-and-openstack

Conversation

@WeiQuan0605

Copy link
Copy Markdown
Contributor

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:
    Remove fog-local and fog-openstack gem dependencies and all related code paths.

  • An explanation of the use cases your change solves
    fog-local and fog-openstack are legacy blobstore providers that are no longer used in production Cloud Foundry deployments. They have no migration path in storage-cli, which is the recommended replacement for all fog-based blobstores. Removing them reduces the gem surface area, eliminates dead code branches in FogClient, and removes a real-filesystem dependency from the test suite that caused unnecessary I/O and cleanup complexity.

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

Drop the fog-local and fog-openstack gems, remove all related code paths
in FogClient (local? method, Local storage branch in files_for, OpenStack
limit workaround, local endpoint override), and migrate all test specs from
real-filesystem fog-local mocks to in-memory fog-aws mocks.
local? is a required interface method declared in client.rb and forwarded
by RetryableClient/SafeDeleteClient/ErrorHandlingClient via Forwardable.
FogClient is never local, so it always returns false.
@WeiQuan0605 WeiQuan0605 force-pushed the Remove-fog-local-and-openstack branch from 0ee8209 to 568022d Compare June 16, 2026 18:10
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.

1 participant