/srv/irclogs.ubuntu.com/2014/08/08/#cloud-init.txt

harmwah, Icehouse.2 is out13:39
=== zz_gondoi is now known as gondoi
harmwRaginBajin: I can confirm fbsd support is pretty broken, based on a first try to run c-i on it17:12
RaginBajinharmw:  I should put a copy of all the horrible hacks I put into the code so you can see it. That may help a bit. 17:23
harmwrm -rf /var/lib/cloud/ ; /usr/local/bin/cloud-init -d init17:33
harmwthats how I 17:33
harmwjust started it17:33
harmwbut I realy should first have it print more debug info, because it used to print stuff like which datasource and distro it was using - info I don't get to see now17:34
harmwI think the original code was against 0.7.417:34
harmwand worked :p17:35
harmwaha, this is kinda lol17:49
harmwRaginBajin: there is a pending mergerequest to adress some issues :p17:50
harmwhttps://code.launchpad.net/~harmw/cloud-init/freebsd-static-networking17:50
harmwsmoser: boohooo17:50
RaginBajinharmw: That's how I was initially testing it as well, till I put it into an image and rebooted it. That's when I found problems the PATH problems.  I had the debug issue not printing for a while, but I'm not sure what I did, it then started printing to a debug.log file which provided more info than --debug17:53
harmwexactly18:00
harmwah, ofcourse18:23
harmwRaginBajin: there is a /etc/cloud/cloud.cfg.d/05_logging.cfg that takes care of certain log stuff18:23
harmwthe dirty solution: move that file to some place lse18:23
RaginBajinahh. I bet I wasn't making it to that stage of the init. So that wasn't even getting started. That's whey when things started to work, I started seeing that file 18:24
harmwand now I can clearly see a regex IndexError18:25
harmwregarding the reading of rc.conf18:25
harmwok, on a newly created branch I see yet another issue: error: You must specify one of (systemd, sysvinit, sysvinit_deb, upstart) when specifying init system(s)!18:32
harmwfixed18:36
harmwcopying sysvinit/redhat/cloud-config -> /etc/rc.d/init.d18:37
harmwcopying sysvinit/redhat/cloud-final -> /etc/rc.d/init.d18:37
harmwcopying sysvinit/redhat/cloud-init -> /etc/rc.d/init.d18:37
harmwcopying sysvinit/redhat/cloud-init-local -> /etc/rc.d/init.d18:37
harmwthats something to look into as well18:37
harmwtht and installing the config file in /etc/cloud/18:39
harmw(that should be /usr/local/etc/..)18:39
harmwRaginBajin: while the code should just leave comments in /etc/rc.conf alone instead of silently deleting them, I think one can perfectly defend the current behavior from a cloudy point-of-view :p where there is no real need to put anything in rc.conf because thats is managed from either nova (with userscripts) or (as far as bsd concerns: someday) from tools like puppet18:50
smoserharmw is awesome.18:51
harmwoh lol18:52
* smoser has to go afk. later all.18:52
smoseri'll be more vailable next week18:52
harmw:)18:52
RaginBajinharmw:  Yeah that makes sense.  That's what I was thinking as well. Somehow those comments got into that file and was causing the problems. But I do know puppet normally leaves comments in those files. Not sure what that effect has just yet 18:56
harmwwell, the code was expecting key=val 19:04
harmwand ONLY lines that match that pattern19:04
harmwhm, for some reason its trying to set hostname to the current hostname instead of what it got from nova/metadata19:35
harmwhm, or is it...19:36
RaginBajinThat should mean that it's using None datasource, so it's using the current values and going through the init process. 19:40
RaginBajinI believe. 19:40
harmwyup, just got to that conclusion :)19:40
harmwimporter.py[DEBUG]: Failed at attempted import of 'DataSourceOpenStackEc2' due to: No module named DataSourceOpenStackEc219:47
harmwthat doesn't sound good19:47
harmw(and same goes for all the other datasources)19:48
harmwaha, so when I specify datasource_list: ['OpenStack'] in cloud.cfg, it all works20:34
harmwhttps://code.launchpad.net/~harmw/cloud-init/freebsd, thats current now20:52
harmwit includes the staticnetwork branch as well20:52
=== gondoi is now known as zz_gondoi

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!