#5159 Write SOP for geoip-city-wsgi
Closed: Fixed 7 years ago Opened 8 years ago by ralph.

It's this thing: https://github.com/fedora-infra/geoip-city-wsgi

I don't know what it's for or why we run it (or where it runs). We should document all that (including the reason for its existence, upstream). How can it break? How do we fix it when it breaks?

Once the SOP is written, we should include a link to it in this document before closing this ticket: https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/apps-fp-o/files/apps.yaml


Still I am searching for:

  • possible break reasons, checking ansible playbooks only can think in change of name of the packages python-paste-deploy or GeoIP-data

  • Dependencies with other apps, my only clue is the last commit comment from @kevin in github

So this is only a draft, waiting for ideas or comments.

Yeah, it's a pretty simple app, so there's not much to cause it to break. ;)

As for dependencies. I am not sure the gnome folks are using it anymore... but I know anaconda is for setting initial timezones. Also, it would depend on our proxies being up and able to reach it.

That looks like a great start.

One addtion: You might note for testing you can add:

?ip=AAA.AAA.AAA.AAA

(ie, fill in a real ip there) and it will report the location for that IP instead of the one you are submitting to it).

Otherwise it looks good to me. Add the above, and commit/push it and we can close this.

:department_store:

Ok, this is the new version of the SOP with the additional info.

I clone and check the git repo :spy: , where I can put the file?? Have I permissions to do it ??
I'm not even a member of the apprentice group

so, If somebody can put it in the right place , I would be happy

br :smiley:

geoip-city-wsgi.rst

I thought you were in the apprentice group... in any case I have now added you.

Take a look at the ssh sop: https://infrastructure.fedoraproject.org/cgit/infra-docs.git/tree/sshaccess.rst login to batcave01 and 'git clone /git/infra-docs/ and then add your sop and 'git add .' and then 'git commit -a -m 'adding geoip city wsgi doc'' and then 'git push' and it will be live.

Looks great! Thanks for working on this...

:ideograph_advantage:

@kevin changed the status to Closed

7 years ago

Login to comment on this ticket.

Metadata
Attachments 1
Attached 7 years ago View Comment