Code Monkey home page Code Monkey logo

Comments (19)

VilleS1 avatar VilleS1 commented on August 15, 2024 2

I am in same situation. ansible-role-cuda needs to be moved to another org and Ansible galaxy seems broken, from CSCfi to fgci-org.

from galaxy.

VilleS1 avatar VilleS1 commented on August 15, 2024 1

Namespace requested.

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

@martbhell

It appears that right now all of your Galaxy roles work. Or, at least the one I tested works.

I can update the 'namespace' in the Galaxy database, and that should accomplish what you're looking for.

I expect that once we change the namespace to CSCfi, then users attempting to run ansible-galaxy install CSC-IT-Center-for-Science.<role_name> will be broken.

Please confirm that you want me to update the namespace to CSCfi, and I'll get it done today.

Thanks!

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

From @martbhell on August 21, 2017 16:53

Hello, update away please :)

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

Updated.

I had trouble moving the following roles:

jetty
shibboleth-sp
apache
mariadb
elasticsearch
ansible-role-elasticsearch
shibboleth-idp

They seemed to be duplicates, so I deleted them from the old namespace. However, they're not showing up under the new namespace.

Can you try re-importing these, assuming you still want them, and let me know what happens.

Thanks!

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

From @martbhell on August 22, 2017 4:38

Hm. Some of those we do want and I can't re-add them.

When I now go to https://galaxy.ansible.com/roleadd#/ I don't see the roles of my new organization's name, they old ones still have the old name and I don't see all.

How do I get them? Do I need to remove and the organization?

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

From @martbhell on September 8, 2017 5:23

Hello @chouseknecht ?

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

@martbhell

Apologies. I have some time to work on this now.

Not clear on exactly what you need me to do. I see lots of roles under the new 'CSCfi' organization. What's missing, or what needs deleting?

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

From @martbhell on September 12, 2017 16:23

Hi, when I go to my account and import and add role I only see old organization name, not the new one. How do I get the new one there?

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

@martbhell

There is a link near the top of the My Roles page that takes you into GitHub where you can grant Galaxy access to your orgs. Look for "If you don't see all of your roles, review and add your authorized organizations."

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

From @martbhell on September 12, 2017 16:47

ansible galaxy oauth is allowed access to the organization. I don't see that text on github.
I see the role I want to update in galaxy by the way, it's just pointing to the old organization name it seems - if I do a reimport it does not find the new tag. The role I'm looking at is ansible-role-cuda by the way.

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

@martbhell

Curious. What if you attempt to import it via the command line? You can use the ansible-galaxy CLI to authenticate with GitHub, and then start an import. Instructions here: http://docs.ansible.com/ansible/latest/galaxy.html#authenticate-with-galaxy

Sometimes, when a user has access to lots of repos on GitHub, the Galaxy server can't process and present the entire list. It actually gets throttled by the GitHub API. Perhaps that's happening here.

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

From @martbhell on September 12, 2017 17:33

Cool! I'll give it a shot. Next update in a day or two.

from galaxy.

chouseknecht avatar chouseknecht commented on August 15, 2024

From @martbhell on September 13, 2017 5:53

OK that manual import worked and updated this one role, but we have as you say many roles.
Does this mean if we want to update roles on ansible-galaxy (while keeping the old organizational name/symlink working) we need to run this command manually every time there's an update?

From the output below these two work:
https://galaxy.ansible.com/CSCfi/cuda/
https://galaxy.ansible.com/CSC-IT-Center-for-Science/cuda/

But this one does not.
https://galaxy.ansible.com/CSC-IT-Center-for-Science/ansible-role-cuda/

I got the below warning when I successfully imported/updated the role:

$ ansible-galaxy import --role-name=cuda CSCfi ansible-role-cuda
WARNING: More than one Galaxy role associated with Github repo CSCfi/ansible-role-cuda.
The following Galaxy roles are being updated:

CSCfi.ansible-role-cuda
CSCfi.cuda
CSC-IT-Center-for-Science.ansible-role-cuda

To properly namespace this role, remove each of the above and re-import CSCfi/ansible-role-cuda from scratch

from galaxy.

martbhell avatar martbhell commented on August 15, 2024

Hello! Thought I would look at ansible galaxy again because I noticed in CSCfi/ansible-role-nis#10 that the version in galaxy is oold :)

But when I login to galaxy.ansible.com I only see the old name of the organization. I don't see a place to change this in the preferences. So I can't import any roles from CSCfi organization.

$ ansible-galaxy login martbhell --github-token TOKEN
Successfully logged into Galaxy as martbhell
$ ansible-galaxy import CSCfi ansible-role-nis
ERROR! Permission denied.
# and the old cuda role from this original ticket..
$ ansible-galaxy import --role-name cuda CSCfi ansible-role-cuda
ERROR! Permission denied.
$ ansible-galaxy import CSC-IT-Center-for-Science ansible-role-nis
# this worked however, but that's not what I wanted..

And just to be sure I revoked the galaxy Oauth App in Github and signed in again to galaxy. Still could not import the cuda or nis role

from galaxy.

martbhell avatar martbhell commented on August 15, 2024

Closing this in favor of #2110
I have managed to get ansible-role-cuda updated in galaxy by adding the webhook to .travis.yml.
Ah. Guess I can't close it. Ping @chouseknecht

from galaxy.

VilleS1 avatar VilleS1 commented on August 15, 2024

The permissions should be correct in github and galaxy but in galaxy the list of organisations is empty.

from galaxy.

martbhell avatar martbhell commented on August 15, 2024

Hello!

'CSC-IT-Center-for-Science' is an existing namespace in Ansible Galaxy where me, Ossi and Martin(mathies..) are owners and it doesn't have any repos under it. I have now disabled it, if that helps..

from galaxy.

easybe avatar easybe commented on August 15, 2024

@VilleS1 maybe you should create a new issue clearly stating your intentions. Do you want to move ansible-role-cuda to a new Ansible Galaxy namespace or should it stay in CSCfi?

I could not find a namespace for fgci-org. Otherwise, an admin of CSCfi can maybe link the repository from the new GitHub org to the role (by removing and adding it?).

from galaxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.