[Ci-users] Introducing python-cicoclient: A library and CLI to admin.ci.centos.org

Fri Nov 20 14:55:02 UTC 2015
David Moreau Simard <dms at redhat.com>

Glad you like it!

There's two things I'd like to address before making it a "default" choice:
- inventory by ssid (I find myself using grep too much)
- ssid management: the ssid is output in regular text right now, it's
probably not optimal. I probably want to do something like store the ssids
and the machines tied to them in ~/.cache/cico/cico.cache or something like
that. Right now our ansible playbooks recovers that ssid in a temporary
file so it knows which ssid to release at the end of a job.

Also, more than willing to put it on cbs but:
1) I don't know how to (need to look at docs)
2) It requires the RDO repo. Is that acceptable ? I kind of hate that but
to be honest the packages in the base repos are very, very old.

David Moreau Simard
Senior Software Engineer | Openstack RDO

dmsimard = [irc, github, twitter]
On Nov 20, 2015 8:55 AM, "Fabian Arrotin" <arrfab at centos.org> wrote:

> Hash: SHA1
> On 20/11/15 01:14, Karanbir Singh wrote:
> > On 19/11/15 23:31, Ben Kero wrote:
> >> I just took a look at the 'cico inventory' output, and find it
> >> super useful. The one piece of information that I see as missing
> >> though is which user checked out a node.
> >
> >> One of my primary uses for the module would be to see if I have
> >> any nodes that got stuck and need returned.
> >
> >> To do that I would like to see a 'user' column so that I can
> >> find the ones that say 'openstack-puppet'. :)
> >
> >
> > the inventory call will accept a key, and only return nodes and
> > their session-id's allocate to that key. You likely want that,
> > instead of the entire inventory list of all in-production
> > machines.
> >
> I gave myself python-cicoclient a try and already like it :-)
> I see that David provides now rpm package for it through his copr
> repository :
> https://copr.fedoraproject.org/coprs/dmsimard/python-cicoclient/
> I'd like to deploy it on the slave jenkins nodes through rpm so that
> $project willing to use it would be able to , without having to use a
> python virtualenv, or something else.
> Opinions about this ?
> Then we'd be also able to ask David to build and maintain it through
> cbs.centos.org too ;-)
> - --
> Fabian Arrotin
> The CentOS Project | http://www.centos.org
> gpg key: 56BEC54E | twitter: @arrfab
> Version: GnuPG v2.0.22 (GNU/Linux)
> =ryIK
> _______________________________________________
> Ci-users mailing list
> Ci-users at centos.org
> https://lists.centos.org/mailman/listinfo/ci-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/ci-users/attachments/20151120/2c66cae2/attachment-0003.html>