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

smoserblackboxsw, \o/ looks good.01:10
smoseryou can have it drop the bug and the author from the comment.01:10
smoserand probably easier (or at least easy) to get log2dch  to do it.01:11
smoserblackboxsw, https://gist.github.com/smoser/813c84bc7a79efc75d3f7fc2f383f12f now has '--trello'02:00
smoserhttp://paste.ubuntu.com/25683387/02:02
=== meetingology` is now known as meetingology
cali_boxerhello02:07
cali_boxerwe're having an issue with cloud-init on openstack02:08
cali_boxerwe have a new ga image based on centos 7.3.161102:08
cali_boxercloud-init is grabbing the first software_config element from the heat template, but it never informs heat that it has completed the operation02:09
cali_boxerthe stack-build subsequently fails02:09
cali_boxerafter timing-out02:10
cali_boxerI've spent a few days on this, and can't get further on this,02:10
cali_boxerwe're on openstack-liberty02:10
cali_boxerall pre-reqs are in the image02:11
=== mgagne is now known as Guest66098
smosercali_boxer, can you give a /var/log/cloud-init.log ?02:35
smoserwhatever cloud-init would be doing would be in there.02:35
Junaidhello12:26
Junaidi want to ask something12:26
smoserJunaid, whats up?12:53
cali_box_webhello14:25
cali_box_webI need support for cloud-init14:25
cali_box_webis there anyone who can assist?14:26
smosercali_box_web, whats up?14:37
cali_box_webI have an openstack build that partially works14:38
cali_box_webthe system will build the ste stacks14:38
cali_box_webbut...14:39
cali_box_webcloud-init on some of the instances, does not signal the completion of the software_config section14:39
cali_box_webthe section is correctly deposited onto the system (ssh keys, hosts file)14:39
cali_box_webbut does not signal completion14:40
cali_box_webthis does work on other members in the stack that are Centos 7.214:40
cali_box_webthe system in target is a customized version of Centos 7.314:40
cali_box_web161114:40
cali_box_webcloudinit 0.7.9 is used on the new image14:40
cali_box_web0.7/5 is used on the centos 7.314:41
cali_box_weber 7.214:41
cali_box_webthe image in question is custom centos 7.2 linux14:41
cali_box_webit has all pre-reqs as far as i can see14:41
smosercan you pastebin a /var/log/cloud-init.log ?14:42
cali_box_webfrom the client?14:42
cali_box_websure14:42
cali_box_webjust a few14:42
smoseryeah14:44
cali_box_webtrying to figure out how to pastebin from putty14:51
cali_box_webjust a sec14:51
cali_box_webhttps://pastebin.com/By0CwW9q14:56
cali_box_webi can post a sanitized yaml file from the office14:58
cali_box_webthis is openstack liberty btw15:02
smosercali_box_web, the error there (search for WARN) i think is that some part of your user-data does not start with '#!'15:22
cali_box_webthere is no user-data15:23
smoseri think there is..15:24
cali_box_webhttps://pastebin.com/QD3cqaBq15:24
smoserprivate paste?15:25
cali_box_webweb client doesn't allow that15:26
smoseroh. i meant it tells me it is a privarte paste15:26
cali_box_webyes15:26
cali_box_weblet me see if I can post as something else15:27
smoseris that a public system ? i can hop in if you'd like and poke around, but *something* made cloud-init think that you had a script to be executed (i think heat does that)15:27
cali_box_webit's not public15:27
smoserbut the script did not start with a '#!' or otherwise kernel-recognizable format15:27
cali_box_webwhats your email i can send you the santized template15:27
smosercan you just collect all of /var/log/cloud-init* and /var/lib/cloud/ ?15:31
smosersend to scott.moser@canonical.com .15:31
cali_box_webyes15:31
cali_box_webthanks15:31
cali_box_websent from my work email15:39
smosercali_box_web, i tihnk it borked the content15:47
Junaidis there anyway to trace cloud data centre?16:14
Junaidi want dataset of locations of data centres16:15
JunaidCan anyone tell me about it?16:49
JunaidPlease16:49
cali_boxer@smoser, I'll resend as links16:50
smoserJunaid i'm not sure what you're after.16:52
Junaidhow can i trace x,y coordinates of cloud data centres?16:56
Junaidi want to know exact locations of data centres16:56
gholmsI'm pretty sure that is out of the scope of this channel.16:57
Junaidthen where can i get it? can you tell me channel name where i can raise this question?16:59
cali_boxersmoser, logs have been sent17:06
cali_boxeri added the user_data section, which is getting parsed, and deposits /var/lib/cloud/instances/scripts/userdata but the system still does not complete a checkin letting heat know that it has performed the action17:07
blackboxswhrm Junaid I think you'd have to send a request to cloud vendors specifically. and some of them may not provide that specific information due to privacy concerns17:18
blackboxswI know my former company wanted to keep their datacenter locations confidential for one reason or another17:19
blackboxswsmoser: shall I start on SRU MP for cloud-init?17:28
smoseryeah17:30
cali_boxersmoser, were you able to see anything in the logs?17:35
cali_boxeron the second set?17:35
smosercali_boxer, i'm not sure you sent what i wanted ?17:37
smoseri need /var/lib/cloud/ directory17:37
cali_boxerthat was in the second link17:42
cali_boxerthe lins from our sync.domain.com17:42
smosercali_boxer, http://paste.ubuntu.com/25687216/17:47
smoserthat is in /var/lib/cloud/<instance-id>/user-data.txt17:47
smoserwhatever sent that user-data, sent an empty file that was "type" of text/x-shellscript;17:48
smosercloud-init did what it is supposed to do (rather blindly) and put that into a file and executed it17:48
smoserand that resulted in the error you see17:48
cali_boxerok17:48
smoseradmittedly cloud-init coudl say "oh that doesnt make any sense" and fail in a nicer way.17:48
cali_boxerI modified the yaml file after your suggestion17:48
smoserbut very clearly that is the "garbage in" part of "garbage in -> garbage out"17:48
cali_boxeri now send a valid user_data containing, #!/bin/sh \n echo "hello"17:49
cali_boxerwhich executes17:49
cali_boxerbut the system still doesn't respond back to the metadata agent saying thatthe step is complete17:50
smoserwell, what you sent died because of the empty user-data17:54
smoseri can't diagnose a different failure without more ifo17:54
smoserinfo17:54
cali_boxerfair enough.17:55
cali_boxeri'll send a new set17:55
cali_boxerstand by17:55
cali_boxeritems sent18:08
smoserblackboxsw, http://paste.ubuntu.com/25687335/18:10
smoser(from #ubuntu-devel)18:12
blackboxswthanks joining that channel now too18:19
smosercali_boxer, well, i think i know what is wrong. i think that you didn't actually get networking up before cloud-init went to look for the metadata service (provided by openstack on 169.254.169.254)18:22
smoseri'm not sure why that would differ between the two.18:22
cali_boxerodd, since the unit file should have a want for networking18:25
cali_boxermy co-worker discovered a potential issue as well18:25
smoserso there are 2 boots in your log.18:26
cali_boxerit looks like salt-master/minion was not on the image18:26
cali_boxerthere are18:26
cali_boxeri may not have cleaned the log after sealing the image18:26
cali_boxeri've added it and am uploding the image to OS now18:26
smoseri'm not reallky able to look  much deeper.18:27
smoseri'm pretty sure that networking doesnt end up coming up.18:27
smoserperhaps you have some sysconfig configuration in /etc/sysconfig/network  that is messing it up.18:28
smoserin that second log you sent there are 2 boots, one worked, one failed.18:28
smoserblackboxsw, so what that means... is that we should (I will) make a metabug18:28
cali_boxerok, thank you for your help,18:29
cali_boxerI'll let you know if the salt thing fixes it18:29
blackboxswso smoser as with curtin, cloud-init will link related bugs to the merge proposal, but not list them in final changelog for release. Only list the master bug18:30
smoseryeah.18:31
smoserbug 172184718:36
ubot5bug 1721847 in cloud-init (Ubuntu Zesty) "sru cloud-init 2017-10-06 (17.1-17-g45d361cb-0ubuntu1)" [Medium,Confirmed] https://launchpad.net/bugs/172184718:36
smoserblackboxsw, ^18:36
blackboxswthx smoser working through https://gist.github.com/smoser/6391b854e6a80475aac473bba4ef0310 right?18:40
smoserhttps://gist.github.com/smoser/6391b854e6a80475aac473bba4ef0310#file-ubuntu-release-process-md18:41
smoseryes18:41
smoseri'm working on filling out that bug with more info18:42
smoserand you will drop the LP: refernces in the generated changelog18:42
smoserblackboxsw, fyi, what i did there was just18:49
smoser git cherry-pick 833c9d6570dd2bfe695c596f744bc70c292a25e518:49
smoseron each branch18:49
smoserand then manually update changelog18:49
smoserand git commit -m "update changelog"18:49
smoserthe hash above as found on ubuntu/devel branch18:50
blackboxsw+1 on that thanks18:52
smoserblackboxsw, one thing the changelog generation doesnt do..18:54
smoser1717477 is already fixed, but the changelog will show it18:54
smoserso we should drop that line from the commit message18:54
smoser(as it was sru'd already)18:54
blackboxswsmoser: ok I'm in the hangout to plow through Xenial19:13
smoserok. 5 minutes19:16
smoserk ?19:16
smoser(ill be there in)19:16
blackboxswyeah no worries19:16
blackboxswwill walk you through what I think I've done19:16
smoserblackboxsw, i'm here now.19:28
blackboxswsmoser: zesty's changelog has mix of zesty-proposed and zesty in recent changelogs20:31
blackboxswshall I make changelog distro zesty-proposed from here on?20:31
naccblackboxsw: it shouldn't really matter20:31
naccblackboxsw: as uploads go to zesty-proposed anyways20:32
naccblackboxsw: (speaking generally)20:32
blackboxswok nacc was just trying to figure if we needed/wanted  a  convention from here on20:32
naccblackboxsw: yeah, i would suggest using zesty not zesty-proposed, imo20:32
blackboxswas SRUs will go into *-proposed for real20:32
nacc(in the changelog)20:32
naccas that is the 'release' you are targetting20:32
smoserblackboxsw, yeah, thats what i was saying. it doesnt matter. i prefer -proposed as i just think its cleaner20:32
naccheh20:32
smoserbut then somebody always messes up20:32
smoser(probably it was me)20:32
smoser:)20:32
blackboxswdon't make me git blame ;)20:33
smoseri just like the clean break from 'xenial' to 'xenial-proposed' as it is then easy to see what was GA20:33
smoserbut really, no one other than me probably ever looks :)20:33
naccsmoser: oh that's a good point, xenial-updates would work just as well20:33
naccsmoser: but yeah, your point is valid20:33
blackboxswit's good to have a line in the sand or something.  I'm all for doc breadcrumbs whereever we can leave them.20:33
blackboxsw:)20:33
blackboxswok I'll go zesty-proposed for this commit as that's a convention we've kinda used in xenial for cloud-init20:34
blackboxswand attempted in zesty, when we didn't forget20:34
blackboxswit's official, I 💗 Chris Columbus. Not working on Monday20:35
smoserblackboxsw, you were so close to the statue in Central Park.20:36
blackboxswI should go back sometime.... like next week :)20:41
blackboxswsmoser: https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33197520:45
blackboxswI'm testing build now20:45
blackboxswsmoser: I just saw Get:1 http://archive.ubuntu.com/ubuntu zesty/universe amd64 python3-httpretty all 0.8.14-1 [19.5 kB] from apt build-dep.... which is ok right because that's pulling build-deps from current published upstream20:50
blackboxswwhich still depends on httpretty20:50
blackboxswwhich we are dropping20:50
smoserright20:50
smosers/upstream/packaged version/20:50
smoserits pulling it from apt source info20:50
blackboxswhrm, why do I see                python3-httpretty, in debian/control on zesty20:51
blackboxswchecking the built package details now to make sure it was patched out of there20:51
blackboxswyep safe/correct20:54
dhill_hi guys20:57
smoserblackboxsw, hey20:57
smoserwait. what ?20:58
blackboxswwhy am I seeing Changelog w/ bugs linkedhmm20:58
smoserblackboxsw, i just diffed xenial (your propseod) to artful20:58
smoserand found20:58
smoser http://paste.ubuntu.com/25688137/20:59
blackboxswlooking at the paste21:00
smoser more useful21:01
smoser http://paste.ubuntu.com/25688142/21:01
smoserblackboxsw, ^21:01
smoserthe thing i noticed really was the apport launcher21:01
smoserthink we'd want that.21:01
smoser:-(21:02
blackboxswright we don't have apport official integration without it right?21:02
blackboxswso xenial and zesty both need it don't they?21:02
blackboxswI was difffing against ubuntu/xenial and didn't see the apport diff21:03
blackboxsw*I dont think*21:03
blackboxswsure enough21:03
smoseri can account fo rhte other changes there, they make sense.21:04
smosereven that last one which looks suspiciouls (-aws) its ok.21:04
blackboxswso I need to resubmit MPs for xenial and zesty and bring in debian/apport-launcher.py21:05
smoserbut i'm tempted to cherry pick21:05
smoser 2baa6bf9c314630ec29a192e1e81f0f4530cb10221:05
smoser fec2d4a87fcff72aa9cafbfb88fff013a17db66521:05
blackboxswshould that have been pulled in from debian/new-upstream-snapshot ?21:06
blackboxswno because it is querying tip of master no ubuntu/devel right?21:07
smoserno. those are ubuntu/devel changes21:07
smoserwe dont merge from ubuntu/devel21:07
smoserwe could .21:07
smoser we dont21:07
blackboxswyeah ok makes sense21:07
blackboxswso cherry pick, new MP including those cherry picks for zesty and xenial?21:07
blackboxswyou're EOW , I can hangout if you want to talk quickly through pro/cons21:08
smoseryeah, we can chat quick.21:10
blackboxswok zesty pushed again21:40
smoseri did a sbuild && dput && git push21:44
smoserso it might all just go21:44
smoserand since i 'git pull'ed it should mark your MP as done also21:45
smoserthanks chad!21:45
blackboxswI'm testing the ubuntu-bug on my zesty container to be sure21:45
blackboxswthanks again smoser. I'm scrubbing trello bugs listed now21:46
blackboxswfor the rest of the afternoon I presume21:46
smoserall done i think thanks chad.21:47
seditionhey team. fixed all my issues. all user error on my part. appreciate the patience. =)21:51
* sedition is a derp sometimes21:51
blackboxswI know the feeling sedition21:52
seditionim trying to learn terraform and cloud-init at the same time on top of my BAU job21:52

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