bbradley | i found a message in cloud-init-dev about building a package for cloud-init. i'll post a bug to the debian package if it works. | 00:07 |
---|---|---|
=== rangerpb is now known as rangerpbzzzz | ||
=== harlowja is now known as harlowja_away | ||
smoser | bbradley, should be able to (with dependencies installed) ./packages/bddeb | 06:37 |
=== [1]claudiupopa is now known as claudiupopa | ||
bbradley | smoser: thanks. if i have anymore trouble after testing a new version, i'm going to post to the mailing list. | 11:03 |
=== rangerpbzzzz is now known as rangerpb | ||
bbradley | oh my | 13:47 |
bbradley | i think it's because i'm quoting the value of source in apt_sources. | 13:47 |
bbradley | that's not it | 14:13 |
bbradley | but something is causing my apt_sources block to quit parsing. if i move my apt_sources block above other statements, the rest of the file is not parsed. | 14:14 |
bbradley | very strange | 14:14 |
smoser | can you show a file that is working and one that is wrong ? | 14:17 |
smoser | pastebin | 14:17 |
bbradley | http://pastebin.com/4uDjfG77 | 14:18 |
bbradley | this one has the apt_sources statement at the bottom. | 14:19 |
bbradley | if i moved that statement above other statements, apt_sources & all below it do not execute. | 14:19 |
bbradley | move | 14:19 |
bbradley | smoser ^ | 14:19 |
bbradley | it works if i remove the apt_sources statement. | 14:21 |
smoser | bbradley, /var/log/cloud-init-output.log ? | 14:23 |
bbradley | one moment | 14:23 |
bbradley | http://pastebin.com/xvdKJAxy | 14:26 |
smoser | use paste.ubuntu.com . much less obnoxious | 14:28 |
bbradley | sure no worries | 14:28 |
smoser | (also, for your info, you can 'apt-get install pastebinit; pastebinit /var/log/cloud-init.log') | 14:29 |
bbradley | sweet | 14:30 |
bbradley | http://paste.ubuntu.com/10952975/ cloud config | 14:30 |
smoser | so what is it that you think failed ? | 14:30 |
bbradley | apt_sources does not add anything to the sources.list or sources.list.d | 14:31 |
bbradley | nor are packages installed using using this source. | 14:31 |
bbradley | -using | 14:32 |
smoser | paste /var/log/cloud-init.log ? | 14:32 |
bbradley | oih i'm on debian so pastebinit made this. | 14:34 |
bbradley | http://paste.debian.net/170226/ | 14:34 |
smoser | fine with me. | 14:35 |
smoser | still much less obnoxious than pastebin.com . | 14:35 |
bbradley | cool | 14:36 |
bbradley | please observe lines 708 and 709 | 14:36 |
smoser | line 708 has warning. yeah. | 14:37 |
smoser | it is failing. you will need to declare the mirror for 'security' which you can just define to ftp.debian.org. or maybe None | 14:37 |
smoser | let me see how you could do that | 14:37 |
bbradley | oh ok | 14:38 |
smoser | ideally your debian image would have done that for you. | 14:38 |
bbradley | i can do that with my setup. | 14:38 |
bbradley | i'm using xen-tools to build images and it copies sources.list from the host machine. | 14:39 |
bbradley | i suppose cloud-init uses unattended-upgrades packages and needs a security package repo. is that the problem? | 14:40 |
bbradley | hmm | 14:43 |
bbradley | i have security in my sources file. | 14:44 |
bbradley | so you mean in the cloud config. | 14:44 |
smoser | http://paste.ubuntu.com/10953096/ | 14:45 |
smoser | try adding that stanza | 14:45 |
bbradley | i noticed the 'security' in the warning immediately but was not sure of the context until your help just now. | 14:50 |
bbradley | done | 14:51 |
bbradley | will be a few minutes until i know if it works. | 14:51 |
bbradley | what do you mean by 'debian image would have done that for you'? | 14:53 |
bbradley | ah | 14:59 |
bbradley | my cloud.cfg (unedited from official package install) only has a failsafe for the primary. | 15:00 |
bbradley | smoser: that worked. | 15:03 |
bbradley | thanks a bunch | 15:03 |
bbradley | will file a bug with debian cloud-init. | 15:09 |
bbradley | the default cloud.cfg should have a failsafe security mirror in it. | 15:09 |
=== harlowja_away is now known as harlowja | ||
bbradley | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783847 | 17:26 |
nosleep77 | hi there, can I inject a cloud init file into an existing running openstack instance? | 18:46 |
nosleep77 | and then have it run of course | 18:46 |
=== setient_ is now known as setient | ||
=== rangerpb_ is now known as rangerpbzzzz |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!