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

The format Fog::Storage::Google is deprecated #417

Closed
HarlemSquirrel opened this issue Sep 6, 2018 · 9 comments
Closed

The format Fog::Storage::Google is deprecated #417

HarlemSquirrel opened this issue Sep 6, 2018 · 9 comments

Comments

@HarlemSquirrel
Copy link

Upon updating fog-core 2.1.2 (was 2.1.0), I received this warnings while running my test suite:

[fog][DEPRECATION] Unable to load Fog::Google::Compute
[fog][DEPRECATION] The format Fog::Compute::Google is deprecated
[fog][DEPRECATION] Unable to load Fog::Google::DNS
[fog][DEPRECATION] The format Fog::DNS::Google is deprecated
[fog][DEPRECATION] Unable to load Fog::Google::Storage
[fog][DEPRECATION] The format Fog::Storage::Google is deprecated
[fog][DEPRECATION] Unable to require fog/google/storage
[fog][DEPRECATION] The format fog/storage/google is deprecated
[fog][DEPRECATION] Unable to load Fog::Google::Storage
[fog][DEPRECATION] The format Fog::Storage::Google is deprecated

Adding gem 'fog-core', '2.1.0' to my Gemfile fixed this for me.

@Temikus
Copy link
Member

Temikus commented Sep 17, 2018

Thanks for reporting this! I'll shortly release a version locking the dep and start working on sorting this out the proper way.

This is a good time to lock the rest of the fog core deps down as well.

Temikus added a commit to Temikus/fog-google that referenced this issue Sep 17, 2018
To make sure we can gracefully upgrade and avoid issues like fog#417
@Temikus Temikus mentioned this issue Sep 17, 2018
@stanhu
Copy link
Contributor

stanhu commented Sep 19, 2018

Thanks, the fog-core changes are really disruptive. The latest version of fog-aws uses fog-core 2.1.2+, and the warning messages are alarming if you go with the lowest common denominator and use fog-core 2.1.0 with fog-aws: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21788#note_102836639

@Temikus
Copy link
Member

Temikus commented Sep 26, 2018

@HarlemSquirrel @stanhu Sorry for the delay, I'm rolling out 180 once tests pass on #426

@Temikus
Copy link
Member

Temikus commented Sep 26, 2018

1.8.0 has been released.

If you're still seeing any issues - just let me know.

@Temikus Temikus closed this as completed Sep 26, 2018
@stanhu
Copy link
Contributor

stanhu commented Sep 26, 2018

@Temikus Thanks, first issue is that the fog-core version dependency wasn't bumped. :) #427

Temikus referenced this issue Oct 15, 2018
Relaxing the lower version constraint to be less restrictive in combinations with other providers.

Reference: ManageIQ/manageiq-providers-google#73
@codeodor
Copy link

codeodor commented Dec 31, 2018

Edit: never mind. I just realized I put gem 'fog' and not fog-core.

@majksner
Copy link

I'm getting this warning again, using the latest version of fog-google. I can provide any additional info if necessary.

@Temikus
Copy link
Member

Temikus commented Mar 19, 2022

@majksner this was an intentional tradeoff, see #562

@VILATTI
Copy link

VILATTI commented May 17, 2022

+1

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

No branches or pull requests

6 participants