Puppet to Ansible Migration wiki page

2014-02-28 Thread Graham Williamson
As mentioned in the last meeting, I've created a page to track what
still needs to be migrated from puppet to ansible.

https://fedoraproject.org/wiki/Infrastructure/PuppetToAnsibleMigration

After a couple of false starts, I think I've gotten the right list of
hosts to be migrated.  I ended up using the 'if it's got an eth?_ip
defined in host vars, then it's been migrated.  That may not be a true
assumption, but that's what I used to create the table.

I thought we should strike-through the hosts as they're done and maybe
create a completed table later if it gets too unwieldy.


signature.asc
Description: This is a digitally signed message part
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Re: Meeting Agenda Item: Introduction Achilleas Pipinellis

2014-02-28 Thread Kevin Fenzi
On Thu, 27 Feb 2014 14:32:41 +0200
Achilleas Pipinellis  wrote:

> Hey guys,
> 
> I want to apply for the fi-apprentice group so here's a little
> introduction.
> 
> I started contributing to Fedora almost a year ago, mainly through the
> GSoC program. I am now a packager (yay!) and still struggling to
> package ~80 rubygems for the GitLab project. Unfortunately, I don't
> have much time now so it's an ongoing progress. Good thing is I found
> a pair reviewer (thanks ktdreyer) that will speed things up :)
> 
> Now, apart from packaging I was always interested in sysadmin tasks
> hence my application. From what I read in the wiki, I am interested
> mainly in sysadmin-hosted and sysadmin-web groups, but that doesn't
> mean that's final.
> 
> I also really want to know more about ansible/puppet and how things
> are working internally. I can spare 3-4 hours a week mostly on
> weekends.
> 
> I have yet to see the list of easyfixes on trac and pick one to work
> on. I have already dealt with an easyfix on fedmsg [0] but I don't
> count that, as it was reallyeasyfix :p Just mentioning though.
> 
> On a side note, I'm studying to get the RHCE certificate sometime
> soon, so I believe my involvement in infra team will be beneficial
> both ways :)
> 
> That's it, hope I will make it to today's irc meeting and get to know
> better!
> 
> [0] https://github.com/fedora-infra/fedmsg/issues/130

Welcome! (again) ;) 

Just check in on #fedora-admin on IRC and we can see about getting you
started. 

kevin



signature.asc
Description: PGP signature
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Re: Scheduling a sprint? github2fedmsg

2014-02-28 Thread Kevin Fenzi
On Fri, 28 Feb 2014 12:07:00 -0500
Ralph Bean  wrote:

> Pierre and I were talking in #fedora-apps, and a tool we've been
> wanting to build is a service that republishes select github events on
> our fedmsg bus.
> 
> It will be a webapp where you can login to and register your github
> repos.  Behind the scenes it will tell github to notify it of events.
> 
> When github pings our app, it will then publish a fedmsg message
> saying such and such event has occurred over at
> github.com/fedora-infra/python-fedora, or whatever.
> 
> We can then use this to:
> 
> - sync fedorahosted git repos
> - watch upstreams that opt-in for statistics
> - award badges for upstream development.
> 
> Two questions:
> 
> - What do people think about this idea?

I think it's a pretty great idea. ;) 

I wonder if debian folks would also be interested in the app for their
bus?

> - If you're interested in hacking on it, do you have any preference
>   for a sprint date?  We would do it virtually in #fedora-apps.  We
>   were thinking of March 17th, 18th and 19th.
>   https://apps.fedoraproject.org/calendar/infrastructure/2014/3/17/

No preference. 

kevin



signature.asc
Description: PGP signature
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Re: Problems with recent ansible

2014-02-28 Thread Kevin Fenzi
On Fri, 28 Feb 2014 11:15:00 +0100
Miroslav Suchý  wrote:

> It happen again.But now I have more traces and hints.

...snip...

> I am not sure about the first one.
> 
> The second one is some ansible playbook (can it be that nirik check
> of differences?) But I'm really clueless how it can
> remove /usr/share/ansible/utilities/* Does somebody have some idea?

Well, yeah, there is a nightly cron now that runs 'ansible-playbook
--check --diff' on all the playbooks. 

It really shouldn't make any changes to the hosts and I don't know why
it would. ;( 

However, we can run it manually with -vvv against the copr-be playbook
when you are available and see if it does this and why?

Just ping me on irc when you are available to watch the copr-be end. 

kevin


signature.asc
Description: PGP signature
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Scheduling a sprint? github2fedmsg

2014-02-28 Thread Ralph Bean
Pierre and I were talking in #fedora-apps, and a tool we've been
wanting to build is a service that republishes select github events on
our fedmsg bus.

It will be a webapp where you can login to and register your github
repos.  Behind the scenes it will tell github to notify it of events.

When github pings our app, it will then publish a fedmsg message
saying such and such event has occurred over at
github.com/fedora-infra/python-fedora, or whatever.

We can then use this to:

- sync fedorahosted git repos
- watch upstreams that opt-in for statistics
- award badges for upstream development.

Two questions:

- What do people think about this idea?
- If you're interested in hacking on it, do you have any preference
  for a sprint date?  We would do it virtually in #fedora-apps.  We
  were thinking of March 17th, 18th and 19th.
  https://apps.fedoraproject.org/calendar/infrastructure/2014/3/17/

-Ralph


pgp2a7hkjVxQn.pgp
Description: PGP signature
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Re: Problems with recent ansible

2014-02-28 Thread Miroslav Suchý

It happen again.But now I have more traces and hints.

This morning (9:33 UTC) I get Nagios alert that:
WARN:  datanommer has not seen a copr message in 6 hours, 10 minutes, 39 seconds
which means that sometime between 3:30 UTC and 4:30 UTC something happen.

I logged to copr-be and to my surprise:
ansible-playbook - -c ssh /home/copr/provision/builderpb.yml
ERROR: debug is not a legal parameter in an Ansible task or handler
without changing anything over night.

To my surprise I find that:
rpm -V ansible
...
missing /usr/share/ansible/utilities
missing /usr/share/ansible/utilities/accelerate
missing /usr/share/ansible/utilities/debug
missing /usr/share/ansible/utilities/fail
missing /usr/share/ansible/utilities/include_vars
missing /usr/share/ansible/utilities/pause
missing /usr/share/ansible/utilities/set_fact
missing /usr/share/ansible/utilities/wait_for

I.e. Whole content of /usr/share/ansible/utilities is missing.
I quickly reinstall ansible package and everything started working again.

Now I have to find the cause otherwise I expect that it happen again this night.

I checked syslog and only relevant informations are:
1)
Feb 28 03:46:22 dhcp-client03 systemd[1]: Got automount request for 
/proc/sys/fs/binfmt_misc, triggered by 24347 (find)
Feb 28 03:46:22 dhcp-client03 systemd[1]: Mounting Arbitrary Executable File 
Formats File System...
Feb 28 03:46:22 dhcp-client03 systemd[1]: Mounted Arbitrary Executable File 
Formats File System.

2)
Feb 28 04:04:05 dhcp-client03 systemd-logind[291]: New session 24 of user root.
Feb 28 04:04:05 dhcp-client03 ansible-yum: Invoked with CHECKMODE=True name=cloud-utils list=None 
disable_gpg_check=False conf_file=None state=present disablerepo=None enablerepo=None

Feb 28 04:04:05 dhcp-client03 systemd-logind[291]: Removed session 24.
Feb 28 04:04:05 dhcp-client03 systemd-logind[291]: New session 25 of user root.
Feb 28 04:04:05 dhcp-client03 ansible-command: Invoked with executable=None shell=False args=growpart /dev/vda 2 
removes=None creates=None chdir=None

Feb 28 04:04:06 dhcp-client03 systemd-logind[291]: Removed session 25.
Feb 28 04:04:06 dhcp-client03 systemd-logind[291]: New session 26 of user root.
Feb 28 04:04:06 dhcp-client03 ansible-setup: Invoked with CHECKMODE=True 
filter=* fact_path=/etc/ansible/facts.d
Feb 28 04:04:06 dhcp-client03 systemd-logind[291]: Removed session 26.
Feb 28 04:04:07 dhcp-client03 systemd-logind[291]: New session 27 of user root.
Feb 28 04:04:07 dhcp-client03 ansible-yum: Invoked with CHECKMODE=True name=fedmsg,libsemanage-python,python-psutil 
list=None disable_gpg_check=False conf_file=None state=installed disablerepo=None 
pkg=fedmsg,libsemanage-python,python-psutil enablerepo=None

Feb 28 04:04:42 dhcp-client03 systemd-logind[291]: Removed session 27.

I am not sure about the first one.

The second one is some ansible playbook (can it be that nirik check of 
differences?)
But I'm really clueless how it can remove /usr/share/ansible/utilities/*
Does somebody have some idea?

--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
___
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure