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

=== harlowja_ is now known as harlowja_away
harmwharlowja_away: thanks, I see you fiddled with the distro code as well :p Ill try to merge it tonight, thanks08:04
harmwmy problem was just the unittest, but this is fine as well :)08:04
vbernatHey! Is there a way to disable cloud-init after first boot?12:52
vbernatOnce the host is provisioned, I don't expect cloud-init to modify anything12:53
harmwvbernat: c-i will configure the lot at first boot, and will check at consequtive boots if it needs to do something14:22
harmwso there is no real reason to disable it14:22
vbernatharmw: I am using NoCloud provider and if it is not able to detect its CDROM, the machine will try to get meta-data using the EC2 way14:23
harmwah, and you umount the cd drive causing the instance to fallback to ec214:24
vbernatI don't want cloud-init to fight with puppet on each boot, I would feel more confident if it wasn't there.14:24
harmwwhich slows it down14:24
vbernatyes14:24
harmwhm, I believe there is some option to have it just stop 14:24
vbernatI have tried an empty /etc/cloud/cloud.cfg or an almost empty one, no luck14:25
harmwhm, specifying an empty datasource perhaps14:25
vbernatI have tried datasource_list: [] but no luck14:26
harmwah ok14:26
vbernatin /etc/cloud/cloud.cfg14:26
harmwyea14:26
harmwsmoser: this would be where you fly into the scene and make some clever one-liner :p14:27
vbernatI could just uninstall cloud-init but I don't know how to uninstall it while ensuring it runs to completion14:28
vbernatIf I uninstall it while it is setting up the machine, I think this will break badly :)14:28
harmwnah, there's probably an easy solution here14:29
vbernatusing ds= on the kernel command line doesn't make a change14:29
harmwI read that was broken, not sure in which version though14:31
vbernathow do I know what is run during "cloud-init final"?14:32
vbernatI could disable cloud-init init scripts from here if I could run a command14:32
harmwyou could ofcourse just pass in some ordinary cmd in your user-data, like systemd disable cloud-init14:33
harmwbut I'm not confortable with that, so smoser or harlowja_away should just wake up - they'll know :)14:33
vbernatyes, that would be a solution but then I may skip some tests14:34
vbernatbut if I understand cloud.cfg correctly, runcmd is run during "config"14:34
vbernatbut I could disable cloud-init in the user scripts since they are run in final module14:34
vbernatI'll try that14:34
vbernatharmw: well, that seems to work reliably14:42
harmw:)14:45
=== zz_gondoi is now known as gondoi
=== harlowja_away is now known as harlowja_
=== harlowja_ is now known as harlowja_away
=== harlowja_away is now known as harlowja_
harlowja_i wake up17:09
harlowja_harmw ya fiddled with distro code, it was chopping off some of the values, so fixed that :)17:10
harlowja_i guess thats what tests are for (to find that, ha)17:11
harlowja_harmw ie, re.compile(r'^(\w+)="?(\w+)"?') was chopping things in quotes that were like spaces and such17:20
harlowja_like "a   b" 17:20
harlowja_anyways17:21
harmwah lol17:37
harmwhehe17:37
harmwstupid17:37
harmw*me17:37
harlowja_all good17:37
harmwill go ahead and apply it in a whil17:37
harlowja_kk17:38
harmwAttributeError: 'TestNetCfgDistro' object has no attribute 'patchUtils'17:47
harmwwould that be my pthon env missing some packages?17:47
harlowja_hmmm17:48
harlowja_patchUtils is like a cloud-init thing i made17:48
harlowja_so probably not env17:48
harmwoh ok17:48
harlowja_are u deriving from the right class17:48
harlowja_patchUtils is in http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/tests/unittests/helpers.py#L16117:49
harlowja_so u have to derive tests from that sucker if u want to use that function17:49
harmwoopsiedoopsie17:49
harmwI had some old lines of code in thre17:49
harmwit works now :)17:49
harlowja_kk17:49
harmwok, done17:57
harmwpushed17:57
harlowja_cool17:57
harmwsmoser: ping17:57
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
harlowja_harmw '10 files modified (has conflicts)' :-/18:14
harmwthe hell18:14
harlowja_ya, must be a conflict somewhere18:14
harmwand I did a merge from trunk like 5 days ago18:15
JayFConflicts could easily be caused by my pep8 fixing patch18:15
JayFthat went in two days ago18:15
JayFthat touched a lot of files18:15
harmwaha!18:17
harmwwell, since I'm way to lazy Ill just let harlowja_ sort it  :>18:17
harlowja_:-/18:17
harlowja_lol18:17
harlowja_i'm just gonna let smoser  handle it18:17
harlowja_lol18:17
harmw:P18:17
harlowja_responsibilty deferred :-P18:17
harmw+118:17
harlowja_pass the buck ftw18:18
harlowja_lol18:18
harlowja_harmw btw, a guy from yahoo (not sean as u know) i think gonna get involved with the freebsd 18:18
harlowja_guy pinged me yesterday18:18
harmwgoing by the name of hiren?18:19
harlowja_https://www.linkedin.com/in/hirenpanchasara 18:19
harlowja_damn18:19
harlowja_how u know all this stuff18:19
harlowja_lol18:19
harmwyea well18:19
harmw:p18:19
harlowja_is the freebsd people like a group of like 10 people that all know each other18:19
harlowja_and live in a communue?18:19
harlowja_freebsd commune18:19
harlowja_lol18:19
harmwlol18:20
harlowja_harmw added a few more review comments to that freebsd one18:25
harlowja_beasite?18:25
harlowja_wtf18:25
harlowja_lol18:25
harmwah lets see18:25
harlowja_*beastie18:26
harlowja_lol18:26
hiren_:-)18:26
harmwhaha yea, given the linux world is using fedora/ubuntu18:26
harlowja_hiren_ yo yo18:26
hiren_howdy18:26
harmwah look who's there18:26
harlowja_ah i get it, reference to the freebsd demon picture thingy18:26
harlowja_magic!18:26
harmwno shit sherlock18:26
harlowja_so hiren_  i think https://code.launchpad.net/~harmw/cloud-init/freebsd/+merge/231024 is just going through final adjustments18:26
harlowja_if u want to look it over, please do (i'm no freebsd expert that might miss something there)18:27
hiren_k, let me18:27
harlowja_hiren_ but after that goes in, we can start building freebsd images and seeing what to do next :-P18:27
harlowja_harmw did u need anything else put in freebsd ports (maybe hiren_ knows people or something that can make this happen faster?)18:27
harmwnope, the dependencies are taken care of already18:28
harmwif this is merged and version bumped Ill submit the c-i port18:28
harlowja_cool18:28
hiren_yep! Super excited to see this finally happening :-)18:29
hiren_harmw: yes do let me know if you need any help from ports people. 18:29
harmwnah, excitement will kick in once smoser version bumps :>18:29
hiren_heh18:29
harmwok, though last time that was no problem18:29
hiren_cool.18:30
harmwmarino talked me through some bits, got everything in just a few days18:30
harlowja_mario?18:30
harlowja_the mario?18:30
harmwread18:30
harmwdamn18:30
harlowja_;)18:31
harlowja_lol18:31
harmw:P18:31
hiren_ha.18:31
hiren_harmw: cool.18:31
harmwharlowja_: diff comments, wtf is up with that :p18:32
harmwI can see a conflict, with the <<< and such18:32
harlowja_ya, thats bzr/launchpad for u18:32
harlowja_i've never understood why it shows commits like that18:32
harlowja_lol18:32
harlowja_*commits that have conflicts18:32
harmwhmk18:32
harlowja_+<<<<<<< TREE18:33
harlowja_9def _resize_ufs(mount_point, devpth):18:33
harlowja_10return ('growfs', devpth)18:33
harlowja_11+=======18:33
harlowja_12+def _resize_ufs(mount_point, devpth): # pylint: disable=W061318:33
harlowja_13+ return ('growfs', '-y', devpth)18:33
harlowja_14+>>>>>>> MERGE-SOURCE18:33
harlowja_that one right18:33
harlowja_pylint stuff ;)18:33
harmwyea18:33
harmwbut thats all?18:33
harlowja_seems like it18:33
harmwsince it puts the rest of the patch there as well18:33
harmwwhich kinda draws away my attention :>18:33
harmw(though I get it, since its still part of the full merger18:33
harmw)18:33
harlowja_i'm gonna say its all smoser  fault18:34
harlowja_lol18:34
harmwofcourse18:34
harmwlike you always do :P18:34
harlowja_:)18:34
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi
kamikazemicrowavI’m using the “set RANDOM password” feature of cloud-init and I just noticed that its being logged to the console when its performed which means its getting logged to “/var/log/boot.log”. Is there a way to make cloud-init not do that?19:27
=== gondoi is now known as zz_gondoi

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