/srv/irclogs.ubuntu.com/2013/11/05/#cloud-init.txt

gondoianyone know where boothooks.sh comes from? I don't see it as part of the package, but it's there and trying to run setenforce when selinux is not installed17:47
ypaqhi22:30
ypaqi was just trying to deploy a ubuntu node on rackspace with knife. in my bootstrap script i do a noninteractive apt-get update/upgrade. during the upgrade a command line dialog pops up and asks me how i want to proceed with the change of '/etc/cloud/cloud.cfg'.22:32
ypaqthis is a problem since i cannot interact with the shell. is there a way to make cloud init shut-up?22:33
ypaqi have never used cloud-init before22:34
utlemmingypaq: https://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt22:36
utlemmingypaq: let cloud-init handle the update via the #cloud-config directive22:36
utlemmingypaq: or "export DEBIAN_FRONTEND; apt-get...."22:37
utlemmingypaq: or "export DEBIAN_FRONTEND=noninteractive; apt-get...."22:37
ypaqi already do the latter22:37
ypaqDEBIAN_FRONTEND=noninteractive apt-get -q -y 22:37
utlemmingypaq: did you change /etc/cloud/cloud.cfg? 22:38
ypaqnope.. i didn't even know it existed22:38
utlemmingypaq: run "apt-get -y install pastebinit; cat /etc/cloud/cloud.cfg | pastebinit"?22:39
utlemmingypaq: that will give a pastebin of your cloud.cfg...I'm interested in what changed22:39
ypaqok... see what i can do22:39
utlemmingypaq: any luck? 22:48
ypaqit's a dragging process22:49
ypaqhttp://paste.ubuntu.com/6367342/22:50
ypaqguy from RS support says they are looking into the issue22:50
ypaqcan you tell anything from the pastebin?22:51
utlemmingyeah, RS didn't read the documentation22:51
ypaqlol22:51
utlemmingits a RS issue. Basically they configured it wrong22:51
ypaqthanks very much! anything i can tell them?22:52
utlemmingin order to prevent the error, they should be putting local changes in /etc/cloud/cloud.cfg.d/<NUM>_rackspace.cfg instead of change /etc/cloud/cloud.cfg22:54
utlemmingchanging that file, which _is_ packaged, will result in errors22:54
utlemminger, s/errors/config diffs/ on upgrade22:54
ypaqthanks again! :)22:56
ypaqi pasted this to RS support22:57
utlemmingypaq: np...its an easy mistake to make...I did it that way for a while myself22:59
utlemmingypaq: although, you want to get RS to fix that...because if you accept the package changes then the instance will behave differently than you would expect if you rebundle it. 23:01
ypaqright now i just need to be able to deploy nodes23:02
ypaqnot that i'm going to set up cloud init now23:02
ypaqRS says i'd have to run my upgrade interactive as workaround.. wtf23:02
utlemming:|23:03
utlemmingypaq: which release? 23:04
utlemmingypaq: put "apt-mark hold cloud-init" before you do anything else. That will prevent the cloud-init stuff...but if they have mangled anything else it may not hold. Honestly, they should configure cloud-init with a cfg.d file.23:05
utlemmings/it may not hold/then other packages may require interactive upgrades/23:07
ypaq12.0423:07
utlemmingypaq: yeah, "apt-mark hold cloud-init" should get you through this23:07
ypaqcool.. trying that23:10
ypaqone sec23:10
ypaqexcellent.. seems like it made it 23:12
utlemmingypaq: I would recommend removing that once RS gets this straightened out...I'm not a big fan of apt-mark'ing something since you tend to forget about it. 23:14
ypaqthank you very much!! 23:15
ypaqyeah.. makes sense23:15

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