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

redcavalierHey, I've ran into another weird cloud-issue issue on our centos instances in our Openstack setup.00:17
redcavalierThis time, there's just this one VM which, for some reason, considers its cloud-init cache corrupt on every reboot.00:19
redcavalierSo basically, it ignores its cache, deletes it and re-execute all metadata/userdata every reboot.00:21
redcavalierThis seems to be unique to this one instance though, so I'm not sure what to check beside what I've already check. I think something may be interfering.00:26
smoserredcavalier: a /var/log/cloud-init.log would be the starting point.00:27
smoserfor debugging00:28
redcavalierYea, that'S how I know it'S discarding its cache. I can post it on a pastebin00:29
redcavaliersmoser, http://pastebin.centos.org/385126/ . Line 25 bothers me especially, as the cache gets deleted every reboot.00:48
=== jpmethot is now known as redcavalier
blackboxswbummer, powersj, the disabled fastestmirror plugin wasn't the magic bullet I'd hoped. still hit subprocess.CalledProcessError: Command '['yum', 'install'... on https://jenkins.ubuntu.com/server/job/cloud-init-ci/415/console   :(14:51
powersj:(14:54
powersjbtw is smoser morning the loss today?15:25
powersjtoo soon? ;)15:25
smoserpowersj: yeah, in mourning this morning.15:38
smosernow my only hope is in the Houstan Astros.  I can't imagine anyone ever wants to see the Yankees win, and I'm kind of sore on the dodgers right now.15:41
powersjheh I missed a 'u'15:45
smoserpowersj: so looking at https://jenkins.ubuntu.com/server/job/cloud-init-integration-a/171/consoleText15:45
smoseri remember we had this in curtin15:45
smoserits hard to tell easily what test failed15:45
powersjyeah because of the large amount of text that gets spit out15:46
powersjI usually search for "FAIL:"15:46
smoserwell, yes, but also because15:46
smoser test_no_warnings_in_log (tests.cloud_tests.testcases.get_suite.<locals>.tmp) ... FAIL15:46
smoserdoesnt tell me anything15:46
smoseri thought in curtin we did something so that it would list the class being run15:46
powersjwell it is telling you the test that fails :)15:47
powersjthat there are no warnings in the log15:47
powersjWe did do that in Curtin and I even thought we already did that in our tests... let me check15:48
powersjhmm you are right, this is not obvious where that test lives15:50
powersjoh wait, we do have the change15:52
powersjin base.py:shortDescription(self)15:52
powersj"""Prevent nose from using docstrings."""15:52
smoserpowersj: so i download artifacts from jenkins17:21
smoseris there a way i can run 'verify' with those ?17:22
powersjsmoser: python3 -m tests.cloud_tests verify -h17:23
smoserhttp://paste.ubuntu.com/25780059/17:23
powersjpoint to it via the --data-dir variable17:23
smoserthats my failed attempt^17:23
powersjgive it to /cloud-init/results17:24
powersjsorry to be more specific --data-dir=/tmp/artful-171/archive/cloud-init/results17:24
smoserthanks17:27
smoserso why doesnt shortDescription work17:34
smoser:-(17:34
* smoser nothaving a good day17:35
smoseroh.17:35
smosercause we dont run nose17:36
smoserpowersj, blackboxsw https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33258519:04
* blackboxsw thinks that was related to you testing my branch19:05
blackboxswjust a 'feeling'19:05
blackboxsw:)19:06
powersj+1'ed19:11
smoserblackboxsw: were you fixing the ntp warning ?19:12
blackboxswsmoser: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33254019:12
blackboxswwas debating about fixing the lxd warning in that branch19:12
blackboxswif you want19:12
blackboxswor separate branch19:12
smoseri have http://paste.ubuntu.com/25780634/19:13
smoserthat i was going to grab in a "actually fix all warnings" merge19:13
smoseri can fix the ntp also, but if you had a branch that fixed it i woudl not19:13
blackboxswyeah if you have a separate branch for that you're good, or take mine to supplement yours19:13
blackboxswsmoser: yeah my branch fixes ntp plus adds a unit test that'll show these integration test errors to us earlier once jsonschema is defined for a module19:14
blackboxswit didn't address the lxd cfg warning throuhg19:14
blackboxswthough19:14
smoserblackboxsw: i have that one fine.19:16
smoserso if you're fixing jsonschema warning in19:17
smoser tests/cloud_tests/testcases/modules/ntp.yaml19:17
blackboxswyep fixed per the above branch19:17
smoserthen we'll just grab yours, then mine. then i think we'll be happy on no failures from warnings19:17
blackboxswyeah for sure19:17
smoserbut /me doesn't kniow why ididnt see these when i ran...19:17
smoseri really promise ir an!19:17
smoserI ran19:17
blackboxswwe didn't use to have a warning validation test did we?19:17
* blackboxsw looks over the git logs again.19:18
blackboxswyeah, maybe you were referring to when you landed 41152f10ddbd8681cdac44b408038a4f23ab02df19:19
smoserblackboxsw: ... confused.19:19
blackboxswI certainly am. I'll take another good sir19:19
smosernever mind19:19
smoseryou fixsed it right19:19
smoseri was confused that modules/ntp.yaml had empty dicts for pools and servers19:19
smoserbut you fixed that ;)19:19
blackboxswright-o19:20
smoserblackboxsw: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33258719:32
smoserthat has the other fixes19:32
smoseri think enough to get a integration test fully run19:33
blackboxswreviewing (will have a minor test patch for that branch)19:33
blackboxswlanded the ntp thanks19:33
blackboxsw& thx powersj19:33
smoserim going to grab https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/332585 after ci ACKs it19:38
blackboxswyes sorry, distracted on the followup19:39
blackboxswapproved19:39
smoserpowersj had already done it, so i wasnt going to wait on you :)19:39
powersj:)19:39
smoserYour code has been rated at 10.00/1019:40
smoseri love that.19:40
smoser2 significant digits of perfection.19:40
smoseror is that 419:40
smosereither way. i'm like the Mary Lou Retton of python coding.19:41
blackboxswhahah19:41
smoserpowersj: https://github.com/canonical-server/jenkins-jobs/blob/master/cloud-init/integration.yaml19:44
smoserin that, i think we're making the same sort of error as we were in curtin at one point.19:44
powersjwhich error :)19:45
smoserwe're running trunk c-i against distro version of the code19:45
smosererr.. trunk level of integration test with distro version of code19:45
powersjI'm taking trunk, and building it using an sbuild of a particular release19:46
blackboxswsmoser: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/332587 updated19:46
powersjthere should be no test mismatch there19:46
powersjif I were, however, to take the daily build of cloud-init and run it against the trunk tests then I would agree19:46
powersjdaily build of cloud-init for a particular release* to be even more specific19:47
=== blackboxsw changed the topic of #cloud-init to: is Reviews: http://bit.ly/ci-reviews | Meeting minutes: https://goo.gl/mrHdaj | Next status meeting: Monday 10/16 16:00 UTC | cloud-init 17.1 released | quotes: <@smoser> either way. i'm like the Mary Lou Retton of python coding.
blackboxsw:)19:47
smoseryeah, you're right.19:47
=== blackboxsw changed the topic of #cloud-init to: is Reviews: http://bit.ly/ci-reviews | Meeting minutes: https://goo.gl/mrHdaj | Next status meeting: Monday 10/16 16:00 UTC | cloud-init 17.1 released
smoserhm.. so why did i not see that failure.19:51
smoserhttps://jenkins.ubuntu.com/server/job/cloud-init-ci/419/console19:51
blackboxswnot behind a proxy?19:52
blackboxswwhere fastestmirror plugin is disabled?19:52
smoseri thought we disabled it.19:53
smoserwhere was that mp ?19:53
blackboxswhrm: Loaded plugins: fastestmirror19:53
blackboxswthat mp landed yesterday.19:53
blackboxswdigging it up19:53
blackboxswhttps://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/33251119:53
blackboxswstrange to see fastestmirror showing up on that run as I thought it was behind a proxy (and as such fastestmirror should be disabled)19:54
blackboxswor maybe I'm just focusing on the wrong problem19:54
powersjyour branch doesn't have my fix?19:55
blackboxswchecking your branch out to make sure it has the fix19:55
powersjit doesn't19:56
powersjhttps://git.launchpad.net/~smoser/cloud-init/tree/tools/run-centos?h=fix/citest-show-class-in-failures19:56
blackboxswhttps://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/332585 doesn't yeah : )19:57
blackboxswrebase for the win19:57
blackboxswtoo bad that canadian fastestmirror will be sad19:58
smoserblackboxsw: thanks.20:02
smoserhttps://jenkins.ubuntu.com/server/job/cloud-init-ci/422/ is about to post on https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33258520:19
smoserand then happy i'll pull that20:20
smoserblackboxsw: did you sort the maas/-proposed thing ?20:24
blackboxswnope smoser I'm trying to figure out what gives with https://bugs.launchpad.net/cloud-init/+bug/1684869 and why it doesn't generate a 'proposed' image for me20:28
ubot5Ubuntu bug 1684869 in cloud-init (Ubuntu Artful) "growing root partition does not always work with root=PARTUUID=" [Medium,Fix released]20:28
blackboxswwas trying to reproduce the resize failure locally20:28
smoserhm..20:31
smoserblackboxsw: https://git.launchpad.net/~smoser/cloud-init/+git/sru-info/plain/bin/get-proposed-cloudimg just "worked for me"20:35
smoserhttp://paste.ubuntu.com/25781060/20:35
blackboxswweird I think I'm being dumb.20:36
blackboxswthe zesty image I downloaded didn't upgrade cloud-init20:36
blackboxswchecking logs20:36
smoseroh. yeah. it would not i guess.20:37
smoseror possibly20:37
smoseras cloud-init got kicked maybe ?20:37
smoserhm.. no i get it there.20:37
blackboxswpulling latest get-proposed-cloudimg to check20:37
smoserhm.. why is sfdisk --part-uuid not working20:39
blackboxswuefi images on xenial right?20:39
smoseroh. no. what a pita20:39
smoserxenial are mbr20:40
smoserfudge20:40
blackboxswhttps://bugs.launchpad.net/cloud-init/+bug/1684869/comments/820:40
ubot5Ubuntu bug 1684869 in cloud-init (Ubuntu Artful) "growing root partition does not always work with root=PARTUUID=" [Medium,Fix released]20:40
blackboxsw:)20:40
blackboxswok my get-proposed-cloudimg was stale20:42
blackboxswok my network in the kvm I created is borked. Could not resolve host: entropy.ubuntu.com or anything else, which is why my proposed cloud-init package didn't update20:47
smoserblackboxsw: testing this20:48
smoser http://paste.ubuntu.com/25781127/20:49
smoserdns issues scare me20:49
smoserartful guest ?20:49
blackboxswartful host, zesty guest20:52
blackboxswtrying on another box to be certain20:52
smoserhow did you make guest ?20:52
blackboxswstrange it's working on another box. ok will copy it in20:53
smoseroh. inside the mounted image you were failing dns ?20:53
smosermy test got throug, following that bug and / got rezied on xenial.20:55
smosertryinng now with zesty20:55
blackboxswsmoser: yes inside the image20:55
blackboxswand inside the image is cloud-init 0.7.920:56
blackboxswnot 17.1 as I had expected to see20:56
blackboxsw0.7.9-233-ge20:57
blackboxswyeah20:57
smoserok. yeah. so you have to (and i made this mistake) boot the -proposed20:57
blackboxswok I performed the steps I had used in previous SRU https://bugs.launchpad.net/cloud-init/+bug/168486920:57
ubot5Ubuntu bug 1684869 in cloud-init (Ubuntu Artful) "growing root partition does not always work with root=PARTUUID=" [Medium,Fix released]20:57
blackboxswahh gotcha right20:57
smoserblackboxsw: so modify that template on the bug like:20:59
smoserproposed=${raw%.*}-proposed.img20:59
smoserqemu-img create -f qcow2 -b $proposed disk.img 10G21:00
smoserbut i did that just now for zesty and worked fine. verified cloud-init 17.1.... in the guest21:00
blackboxswoooooh21:02
blackboxswoops21:02
blackboxswthanks21:02
blackboxswok, made it to the finish line. see the resize succeed on 17.121:08
blackboxswzesty21:08
blackboxswsoooo, our test case doesn't validate https://bugs.launchpad.net/cloud-init/+bug/1725067   for some reason21:08
ubot5Ubuntu bug 1725067 in cloud-init (Ubuntu) "cloud-init resizefs fails when booting with root=PARTUUID=" [Medium,Triaged]21:08
blackboxswand bbsw is out of his depth21:09
smoserblackboxsw: doesnt validate ?21:09
blackboxswI need knowledge smoser. got 10 mins before your weekend?21:15
smoserblackboxsw: http://paste.ubuntu.com/25781261/21:16
smoseryeah, we can chat 10  minutes21:16
smoserthat "works for me" to recreate failure actually in xenial21:16
blackboxswok, I was wondering what I did wrong as I saw resizes happening on 17.1 zesty I thought21:17
smoseri'm in hangout21:17
smoserand yeah, it does seem to work fine for zesty21:17
blackboxswsorry joining21:18
blackboxswwas running your script21:18
smoserblackboxsw: for irc logs21:33
smoserhttps://github.com/cloud-init/qa-scripts/blob/master/scripts/get-proposed-cloudimg21:33
smoserhttps://github.com/cloud-init/ubuntu-sru/blob/master/bugs/lp-1684869/recreate.sh21:34
blackboxswyeah thanks, stinks to close the hangout window  when you didn't grab all the links discussed21:34
smoserblackboxsw: ok. so the difference between xenial and zesty21:38
smoseron zesty, *something* is making /dev/root exist21:38
smoserbut on xenial21:38
smoser$ ls -l /dev/root21:39
smoserls: cannot access '/dev/root': No such file or directory21:39
smoserzesty21:39
blackboxswahh interesting... ok21:39
smoser$ ls -l /dev/root21:39
smoserbrw------- 1 root root 8, 1 Oct 20 21:39 /dev/root21:39
blackboxswright I'm with you21:39
blackboxswsaw the failure on xenial now thanks21:40
smoseryeah, so fix at this point should be pretty straight forward knowing what we did originally and such.21:40
smoserhave a good one.21:40
* smoser out21:40
blackboxswyeah thanks again you too21:45
smoserblackboxsw: https://jenkins.ubuntu.com/server/job/cloud-init-ci/426/console21:57
smoserthat is from https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33258721:57
blackboxswno fastestmirror21:57
blackboxswhrm21:57
smoseryeah21:57
smoserits definitely not that coee21:57
smoserit'd be nice ot have that in21:58
* smoser hits 'rebuild'21:58
smoseryou're welcome to just pull that though if you want...21:59
smoserespecially with powersj approval21:59
smoserhopefully ci at 427 will agree21:59
smoser https://jenkins.ubuntu.com/server/job/cloud-init-ci/427/console21:59
smoser(straight rebuild)21:59
smoserbut with that, trunk should pass c-i again .21:59
smoseror rather the nightly integration test22:00
powersjit only failed MAAS tests22:00
powersjfor that merge I don't care :) about those22:00
powersjpush it :D22:00
blackboxswI'll push it in22:03

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