#4291 migrate small services to sundries servers/ansible
Closed: Fixed None Opened 9 years ago by kevin.

There's a number of small services we have that don't really merit their own instances, so we want to migrate all of those from puppet to ansible and from app servers to sundries servers.

These services include at least to start with:

{{{
geoip-city
mirrormanagers admin web interface
freemedia cgi
busmon
}}}

Additionally, we may want to move some cron jobs and such that run on bapp02 to these servers, but thats still up in the air.


Adding geoip-city role to ansible and removing same things from puppet.

geoip should be all moved now.

I searched puppet repo, but I can't determine what in mirrormanager module corresponds to mirrormanager admin web interface. Quick explanation what needs to be ported from puppet to ansible would be really helpful.

It's in the modules/mirrormanager/ in puppet, but it's mixed in with 2 other big things. ;(

There's mirrorlists application, which is already moved over to ansible.

There's the 'nobalance' stuff thats currently in puppet and running on bapp02. We will sometime be moving this to a new mirrormanager-backend instance.

Finally there's the part of the module thats the admin interface. This is the thing we want to move to sundries. It's the thing thats at: https://admin.fedoraproject.org/mirrormanager/ and is for admins of mirror sites to set things for their mirror.

Not sure if thats enough info, but happy to try and help split it out some more.

I hope this is mirrormanager web interface stuff. At the moment mirrormanager ansible role is similar to puppet module. That is just something to start with. What is the plan with mirrormanager port? Are we going to have mirrormanager role with subroles like app,mirrorlist, map etc.? Or are we going to have mirrormanager admin web interface as a separate standalone role?

Sorry for the delay here. ;(

Some comments:

  • We don't need mm_sync_data, that should only be needed for the backend part.

  • Why not install mirrormanager-app.conf as mirrormanager-app.conf instead of mirrormanager.conf ? (I guess puppet did this but it seems confusing to me)

  • We will need changes to the playbooks/groups/sundries.yml to add the role there. I'd say lets just make this a mirrormanager/frontend role and we can make the backend stuff mirrormanager/backend. I guess the package role is ok since both backend and frontend would need it.

Can you re-arrange and post a new patch and I can get it merged. ;) Thanks!

New patch. If something is missing or if there are errors in the patch let me know and I will fix it.

For some reason this patch isn't applying for me...

Can you rebase it and stick it on lockbox somewhere?

Or I can just apply manually, it's not too big...

Hopefully this will do it.

Worked fine with a few tweaks. ;)

So, we are down to just freemedia. I think we are going to just drop busmon.

Sorry for the errors in mirrormanager patch. Ok here is the patch for freemedia.

applied. Thanks!

woo hoo. All moved off app servers!

Thanks for all your work on this...

Login to comment on this ticket.

Metadata