Skip to content

Conversation

sethboyles
Copy link

@sethboyles sethboyles commented Jan 26, 2022

When upgrading to fog-core 2.1, we see a lot of errors like this:


                NameError:
                  uninitialized constant Fog::Aliyun::Compute
                  Did you mean?  Fog::Compute

Updating the syntax should resolve this and make fog-aliyun compatible with fog-core 2.1

johha added a commit to cloudfoundry/cloud_controller_ng that referenced this pull request Jun 5, 2024
Seems to be no longer needed with fog-core >= 2.3.0

References:
- fog/fog-core#269
- fog/fog-aliyun#155
@jochenehret
Copy link

This PR is not required anymore. We've tested cloudfoundry/cloud_controller_ng#3744 on an AliCloud landscape and found no issues.

We also did a counter test and inserted this hack again:

# Hack until https://github.com/fog/fog-aliyun/pull/155 is merged and released
Fog::Aliyun::Compute = Fog::Compute::Aliyun

and then we received this error:

rake aborted!
NameError: uninitialized constant Fog::Compute::Aliyun (NameError)

Fog::Aliyun::Compute = Fog::Compute::Aliyun
                                   ^^^^^^^^
/var/vcap/data/packages/cloud_controller_ng/f3dbe2f9a2f67f55efc2e49100c58b67efdb8065/cloud_controller_ng/lib/cloud_controller/blobstore/fog/providers.rb:11:in `<top (required)>'

So the workaround is really not required anymore.

philippthun pushed a commit to cloudfoundry/cloud_controller_ng that referenced this pull request Sep 6, 2024
* build(deps): bump fog-core from 2.1.2 to 2.4.0

Bumps [fog-core](https://github.com/fog/fog-core) from 2.1.2 to 2.4.0.
- [Changelog](https://github.com/fog/fog-core/blob/master/changelog.md)
- [Commits](fog/fog-core@v2.1.2...v2.4.0)

---
updated-dependencies:
- dependency-name: fog-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Remove fog aliyun hack

Seems to be no longer needed with fog-core >= 2.3.0

References:
- fog/fog-core#269
- fog/fog-aliyun#155

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Johannes Haass <[email protected]>
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.

2 participants