Re: [ansible-project] Re: cobbler external inventory script, does not seem to pick up the already existing hosts in cobbler

2014-03-17 Thread Michael DeHaan
IIRC, the management=true stuff is after my time with the project. IMHO, the inventroy script shouldn't care about this, but it may be something on the API side that was not returning something. On Mon, Mar 17, 2014 at 10:23 AM, Joost Ringoot wrote: > With help of Wouter Jagers, the script n

[ansible-project] Re: cobbler external inventory script, does not seem to pick up the already existing hosts in cobbler

2014-03-17 Thread Joost Ringoot
With help of Wouter Jagers, the script now picks up the systems installed by cobbler. I needed to perform something like this for the hosts cobbler system edit --name=$COBBLERHOSTNAME --dns-name=$FQDN--management=true Thanks Wouter. Thanks also to Michael for all your e

[ansible-project] Re: cobbler external inventory script, does not seem to pick up the already existing hosts in cobbler

2014-03-07 Thread Tomasz Leśniewski
It is required to have filled both "management interface" and "dns name" (for the same interface if you have more than one). W dniu wtorek, 11 lutego 2014 16:17:16 UTC+1 użytkownik Joost Ringoot napisał: > > Hi Wouter, > > Thank you for looking into this and sharing your findings Wouter. > Good

[ansible-project] Re: cobbler external inventory script, does not seem to pick up the already existing hosts in cobbler

2014-02-11 Thread Joost Ringoot
Hi Wouter, Thank you for looking into this and sharing your findings Wouter. Good to hear that enabling management fixed it for you. Alas for me that's not the case. [root@geppetto ansible]# cobbler system list metop-20.oma.be metop-28.oma.be zotac-09 zotac-24.oma.be zotac-29 zo

[ansible-project] Re: cobbler external inventory script, does not seem to pick up the already existing hosts in cobbler

2014-02-08 Thread Wouter Jagers
Hi Joost, I just spent some time digging for the same. Turns out that my existing systems did not have "management" set and were therefore not included in the results. Should this be the case, you should start getting output after issuing one of these: # cobbler system edit --name=somenode --m

Re: [ansible-project] Re: cobbler external inventory script, does not seem to pick up the already existing hosts in cobbler

2014-02-04 Thread Vincent Van der Kussen
I'm about to test cobbler to. I might have a look when I find the time. Maybe later in the afternoon at cgmgmntcamp. Vincent On Tue, Feb 4, 2014 at 9:52 AM, Joost Ringoot wrote: > Hi Michael, > > That's really no problem. I just wanted to give it a go since it was in the > tutorial. > Thanks fo

Re: [ansible-project] Re: cobbler external inventory script, does not seem to pick up the already existing hosts in cobbler

2014-02-04 Thread Joost Ringoot
Hi Michael, That's really no problem. I just wanted to give it a go since it was in the tutorial. Thanks for looking into it anyway. I am glad I am now on http://cfgmgmtcamp.eu/ , the tutors here are great, I am learning a lot here. Joost Op maandag 27 januari 2014 14:34:34 UTC+1 schreef Mi

Re: [ansible-project] Re: cobbler external inventory script, does not seem to pick up the already existing hosts in cobbler

2014-01-27 Thread Michael DeHaan
That's curious. I wrote that script against a live Cobbler install and we've got users using it in the wild. Unfortunately, this isn't something we really have time to troubleshoot here. It is something that we'd help support customers with, but it involves replicating and digging inside of your

[ansible-project] Re: cobbler external inventory script, does not seem to pick up the already existing hosts in cobbler

2014-01-27 Thread Joost Ringoot
I looked a bit further, did RTFM of cobbler, and found this: https://fedorahosted.org/cobbler/wiki/CobblerXmlrpc Where I did a test with the included example code: *#!/usr/bin/python import xmlrpclib server = xmlrpclib.Server("http://127.0.0.1/cobbler_api";) server = xmlrpclib.Server("http://127.