/srv/irclogs.ubuntu.com/2017/10/19/#cloud-init.txt

smoserblackboxsw: sorry about that. dont know at what point in my history i did that. and then just assumed.01:00
smoserhttp://paste.ubuntu.com/25769370/01:00
smoserpowersj: around ?01:10
smoserunderstand whats going on at https://jenkins.ubuntu.com/server/job/cloud-init-ci/ ?01:10
smoserhttps://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/332446 has 2 failures reported, which i do not think are valid, and also 412 is still running . that seems odd. i figured it posted at end.01:11
powersjsmoser: nacc reported some odd runs at the end of the day. I think something is up with the system or Jenkins master is taking a dump01:26
powersj2017-10-19 12:06:38,215 - schema.py[WARNING]: Invalid config:\nntp.pools: {} is not of type \'array\'\nntp.servers: {} is not of type \'array\'\n14:28
powersjbased on this cloud-config: https://github.com/cloud-init/cloud-init/blob/master/tests/cloud_tests/testcases/modules/ntp.yaml14:30
powersj2017-10-19 12:06:14,762 - cc_lxd.py[WARNING]: lxd/bridge config must be a dictionary. found a \'<class \'NoneType\'>\'\n14:31
powersjcased by this cloud-config: https://github.com/cloud-init/cloud-init/blob/master/tests/cloud_tests/testcases/modules/lxd_dir.yaml14:32
powersj"If you are using the default CentOS configuration, and if you are not behind a proxy server, fastestmirror is highly recommended."16:32
powersjwell we are behind a proxy... soooo yeah enough of this16:32
rharperpowersj: we can inject a disable fastmirror16:43
powersjsed -i s/enabled=1/enabled=0/ /etc/yum/pluginconf.d/fastestmirror.conf16:43
rharperI did that in curtin a while back when we were testing16:43
rharperI think there's a --disable-plugin <foo> to yum16:44
powersjthere is a block where I think we detect if we need to set the proxy16:44
rharperif that's easier16:44
powersjwell if we only do it when we set the proxy, then it means others can keep using it rather than putting --disable.. everywhere we do a yum16:44
rharperyeah16:44
powersjI'll get an MP for that shortly16:44
* powersj is very fed up with those failures16:44
powersjhttps://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/33251116:51
powersjblackboxsw: rharper ^ disables fastest mirror when using a proxy16:51
blackboxswI'll try disabling as well in my centos lxc to validatate here too16:52
blackboxswvalidate even16:52
blackboxswpowersj: with enabled=0 on both my existing centos6 lxc and a fresh image w/ fastest mirror disabled, I can pull update and install any packages (epel included) without issues with the default mirrors provided.17:03
blackboxswwe may have to tweak our preferred mirrors at some point if we find problems. but this is a step in the right direction.17:06
powersjYeah can try this first :)17:06
powersjThanks for checking17:06
blackboxswsorry meant to type that here.17:07
blackboxswagreed. I've +1'd your branch. ci fell over on it I'm just checking17:08
blackboxswCannot contact torkoal: java.lang.InterruptedException17:09
blackboxswbah17:09
blackboxswAborted by Joshua Powers17:09
blackboxswhrh17:09
blackboxswheh, who does that guy think he is17:09
powersjyeah...17:11
blackboxswsmoser: I'm about to merge powersj ci-script fix for no fastestmirror plugin on centos. I know it'll force us to cherrypick into ubuntu/artful your jsonschema branch instead of upstream-snapshot17:49
blackboxswhttps://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/33251117:49
blackboxswany concerns smoser ?17:49
smoserblackboxsw: my concern is that my favorite mirror in japan might not get used17:52
blackboxswsmoser: ha, and all your click-through ad revenue17:52
smoserslightly better17:52
smoserinside "$name" sed -i "s/enabled=1/enabled=0/" "/etc/yum/pluginconf.d/fastestmirror.conf"17:53
smoserdont need shell there17:53
smoserblackboxsw: powersj commented there.17:55
blackboxswsmoser: ah right you mean drop the sh -c17:58
blackboxswagreed17:58
blackboxswcan could do the same with the line above17:58
smoseryeah, as i said there... milliseconds faster. for a package build and install of dozens of packages...17:58
smoserthe line above uses the shell for redirection17:59
blackboxswcan't we still pass that w/out sh -c to lxc exec -- "stringcmd >> output"17:59
* blackboxsw checks17:59
smoserno.18:00
smoserthere is no shell involved.18:00
blackboxswsure enough. smoser correct +118:01
smosershell is what reads '>>' and opens 'output' for write append and then hands the filehandle to the child process as 118:01
* blackboxsw continues to be pleased w/ hackmd.io for doc writing18:03
smoseryeah, hackmd.io is the new gist18:03
smoserthey just need to have a 'commit' button18:04
smoserthen powersj can stop making fun of me for using gists and instead make fun of me for using hackio.md18:04
* powersj shakes head at smoser's "hacks"18:05
powersjI like that even better18:05
powersjsmoser: https://paste.ubuntu.com/25774147/18:27
smoserpowersj: no quotes18:27
smoserthere, you're executing a command 'sed -i s/....'18:27
smoserjust like if you typed that (with the quotes) in your shell18:28
powersjah ok18:28
powersjahhh I see how it is used in other places now18:28
powersjblackboxsw: updated https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/33251118:29
blackboxswpowersj: running it now18:30
smoseri just want to  make sure everyone realizes that i realize how tiny an improvement that is..18:30
smosercompared to the vast improvment that powersj made18:30
blackboxswI have a whole bag of 'microseconds' for you smoser18:31
powersj:D18:31
smoseryou got them from not downloading dozens of megabytes from japan18:31
smosera penny saved is a penny earned18:31
blackboxswand mutiply that by 1000 CI runs18:32
blackboxswand you can buy a bag of candy18:32
rharpermmm, candy18:39
blackboxswpowersj: drop fastestmirror merged19:06
powersjblackboxsw: thanks!19:10
blackboxswnp created a card so we track things that we've actually landed in cloud-init (as I feel it's been too light given recent SRU work)19:10
blackboxswhttps://www.irccloud.com/pastebin/bsxEyHr8/19:36
blackboxswoops sorry about that paste... shame on you irccloud19:36
blackboxswpowersj: was there a bug associated with this? schema.py[WARNING]: Invalid config:\nntp.pools: {} is not of type \'array\'\nntp.servers: {} is not of type \'array\'\n19:37
* blackboxsw checks if it is still happening. (I believe it should still happen on master)19:39
blackboxswand I'm writing a tiny MP for it19:39
powersjblackboxsw: I have not put a bug in yet19:42
blackboxswpowersj: don't worry 'bout it. I'll file one if needed19:43
blackboxswI think there's another ntp schema related bug smoser just filed. I can piggy back19:43

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