-
Notifications
You must be signed in to change notification settings - Fork 12
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
Doesn't seem to work at all #3
Comments
@Miscreancy I ran into the same problem and have submitted a pull request which worked for me. You might like to try https://github.com/dave-pollock/yum-gs-iam until the maintainer accepts/rejects my PR. |
Thanks @dave-pollock , appreciate the response. I'll take a look 👍 |
Update on this - attempted to work with @dave-pollock's fork but sadly also wasn't successful. Same machine as previously, error 'Plugin "gsiam" can't be imported'. Happy to work with anyone to resolve this, otherwise I'll start hacking through the code myself and seeing what I can make of it. |
@Miscreancy if the plugin is not being loaded it sounds more like this issue: #2 My fork worked for me when my output looked like this:
|
@fabianmenges, or anyone else with a Docker container (or CentOS install they're willing to risk), can test like this, from the root of the Git repo: docker run --rm -it \
-v $(pwd)/example.repo:/etc/yum.repos.d/example.repo \
-v $(pwd)/gsiam.conf:/etc/yum/pluginconf.d/gsiam.conf \
-v $(pwd)/gsiam.py:/usr/lib/yum-plugins/gsiam.py \
yum-gs-iam \
yum repolist (My container image On a9fb5cb right now:
Using my pull request's commit shatil@0442f65, you'll instead see that the GCS plugin works and parses the
|
Fix #3 w/ CentOS 7.7+ compatibility for gsiam.py
Attempted to use this today as we'd like to use GCS as the backend for a yum repo for internal releases.
Installed all dependencies, set the repo file up, and came back with error:
Cannot find a valid baseurl for repo: [reponame]
Further up we could see:
Confirmed the creds are there for bucket access and we can see the plugin is loading, it just doesn't appear to actually do anything for yum.
Further specs:
Linux: Centos 7.7.1908 (Core)
Yum version: yum-3.4.3-163
RPM version: rpm-4.11.3-40
yum-plugin-gs-iam version: 1.0.0
google-auth version: 1.9
google-cloud version: 0.34.0
google-cloud-storage version: 1.26.0
Happy to provide more information if required.
The text was updated successfully, but these errors were encountered: