/srv/irclogs.ubuntu.com/2017/09/16/#cloud-init.txt

blackboxswhmm looks like I can't run dhclient from /run/cloud-init/tmp/something/dhclient01:50
blackboxswhttp://pastebin.ubuntu.com/25544142/01:50
smosertmpfs /run tmpfs rw,nosuid,noexec,relatime,size=378640k,mode=755 0 001:50
smosernoexec01:50
smoser:-(01:50
smoserits fallout of https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/170722201:50
blackboxswyeap01:50
ubot5Ubuntu bug 1707222 in cloud-init "usage of /tmp during boot is not safe due to systemd-tmpfiles-clean" [High,Confirmed]01:50
blackboxswsooo where to store our tmp files01:51
smoserwouldn't it be neat if there was a directory named "/tmp" or something01:52
blackboxswtemp_utils dumps them under /run/cloud-init which breaks our dhcp ec2local01:52
blackboxswheh01:52
blackboxsw:)01:52
blackboxswyeah I'm testing passing dir='/tmp' right now01:52
blackboxswto temp_utils.tempdir01:52
smoserwell, that'll work, but possibly have your directory deleted01:52
blackboxswright might have a race still on the cleanup01:53
blackboxswcould drop it in /etc :)01:53
blackboxswnasty nasty01:53
smoseri think /var/tmp might be an option.01:54
blackboxswnot a bad idea01:54
smosernot sure. have to look at systemd-tmpfiles-clean01:54
blackboxsw: SUCCESS: found local data from DataSourceEc2Local01:55
blackboxswok so using dir=/tmp works, I'll try a reboot w/ /var/tmp01:55
blackboxswsmoser: per unit tests in systemd "        # files in /var/tmp/ older than 30d should get cleaned up01:59
blackboxsw"01:59
blackboxswchecking the code now01:59
blackboxswlooks to be commented out in /usr/lib/tmpfiles.d/tmp.conf in artful #q /var/tmp 1777 root root 30d02:00
blackboxswok dhclient runs Ec2Local work from /var/tmp02:03
blackboxswsmoser: for monday https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33087502:09
blackboxswgotta run02:09
smoserk. i'll ask xnox for review too02:09
smoserneed to file a bug02:09
smoseri will02:09
smoseryou go02:09
smoserlater02:09
smoserbug https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/171762702:16
ubot5Ubuntu bug 1717627 in cloud-init (Ubuntu) "permission denied when executing dhclient in Ec2 datasource" [High,Confirmed]02:16
blackboxswthanks smoser, so maybe my patch should really just be http://paste.ubuntu.com/25544275/02:23
blackboxswshouldn't we change where our temp_utils default tmp dir is?02:23
smoseri dont know.02:23
smoserits obnoxious02:23
blackboxswyeah it is.02:24
smoseri can reproduce the GCE one02:24
smoserits failure of some of my changes for GCE metadata servvice02:24
blackboxswthanks, what'd I break?02:24
smoserthe 'add a main'02:24
blackboxswahh02:24
blackboxswAdded https://trello.com/c/qDqAXygV/387-bug-gce-datasource-doesnt-run-bootcmd-config02:46
blackboxswOk outta here02:46
blackboxswHave a good one02:46
smoserblackboxsw, https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1717598 has a branch for you at your leisure02:53
ubot5Ubuntu bug 1717598 in cloud-init (Ubuntu) "Traceback when passing user-data on GCE" [High,In progress]02:53
dknight87hi guys, how can I usee masterless puppet and cloudinit to provision aws servers?07:49
blackboxswdknight87.  Puppet-apply is how most folks run puppet locally. Any config keys and. Values provided under the puppet: conf: key get written into /etc/puppet/puppet.conf so you could specify where your local manifests etc live and have a cron job run that runs puppet-apply for you.  I thought this tutorial was fair22:04
blackboxswhttps://www.digitalocean.com/community/tutorials/how-to-set-up-a-masterless-puppet-environment-on-ubuntu-14-0422:04
blackboxswThe puppet: conf: keys I mentioned would be in your #cloud-config user-data file you provide at instance launch time. http://cloudinit.readthedocs.io/en/latest/topics/modules.html#puppet22:05

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