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

blkadderIs there a way to specify installation order of packages?00:16
blkadderI’m finding that they aren’t necessarily done in the order specified.00:16
redcavalierA few weeks ago, I ended up filing a bug related to the cloud-init package on centos 7 on the centos bug tracker. I haven't had any feedback from centos since, but I'm figuring out I'll probably need to make my own package. Are there any pointers as to how to properly make a spec file for the rpm for cloud-init? I've never built my own packages before.02:55
redcavalier(btw, the bug prevents root filesystem resize on boot)02:56
blackboxswredcavalier: we have nightly builds in our copr repo at  https://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/ if you'd like a centos specific bug fix in cloud-init upstream I'm sure we'd be happy to look it over with a bug filed at https://bugs.launchpad.net/cloud-init/+filebug referencing your centos bug02:57
blackboxswto get yourself started, we have some build tools that help us out when testing:02:58
blackboxswif you are building yourself. you could look at running: "make ci-deps-centos" to get all build dependencies02:58
blackboxswthen try "make rpm"02:58
blackboxswit builds an rpm for us from cloud-init/packages/redhat/cloud-init.spec.in03:00
redcavalierI see. I'll make the launchpad bug and then go forward with testing newer versions.03:01
blackboxswthat'd be good, we have addressed a couple of resize fs bugs in recent history on lp:cloud-init/master03:03
redcavalierOut of curiosity, are you aware if the the centos official builds are based on the latest cloud-init versions? Or do they generally use older versions? I'm not sure if their numbered releases match the upstream numbers, or if they just renumber them when released as a centos package.03:03
blackboxswredcavalier: most distros generally lag the latest cloud-init version by a little bit. We are working on improving the distro & cloud adoption frequency03:05
blackboxswI'd expect centos is still on 0.7.9, but we've recently released 17.1 (re-versioned to match <YEAR>.<minor-release-num>03:06
redcavalierblackboxsw, yes, centos just release 0.7.9 last month, they were on 0.7.5 before03:06
redcavalierNormally I would have downgraded until my issue is fixed, but I'm getting pressure from higher up to not downgrade so I'm looking for alternatives. Since this issue needs to be fixed pretty much yesterday, as it affects all our customers, I'm crossing my fingers that upgrading will fix it.03:08
blackboxswout of curiosity: redcavalier, do you have a link to that centos bug03:09
redcavalieryes, https://bugs.centos.org/view.php?id=1393103:10
blackboxswredcavalier: that texture of error looks like it might be pointing to invalid vendordata from your cloud instance03:12
redcavalierftr, our cloud-init userdata does quite a few operations, like writing network files, changing passwords, executing scripts, but the only operation that has started to fail is the resize.03:12
redcavalierblackboxsw, yea, but vendordata is empty and has always been03:13
redcavalierThis is on openstack Ocata btw03:13
blackboxswhrm. I'll peek at our ocata instances as well tomorow. and I'll look back in the irc log for when you first brought this up03:14
blackboxswthis convesation/problem rings a bell03:14
redcavalieryea, it was last month, I have the log right here03:14
redcavalierThu Sep 28 around noon japan time03:15
blackboxswcheers. will look it up a bit and see if anything jogs a memory.03:15
blackboxswahh thanks again for the reference03:15
redcavalierI'll come back tomorrow at around the same time to see if you'Ve seen anything. In the meantime though, I'll continue testing with more recent versions on my side.03:17
=== blahdeblah is now known as blahdebsvlah
=== blahdebsvlah is now known as blahdeblah
=== shardy is now known as shardy_lunch
=== shardy_lunch is now known as shardy
=== hrybacki|trainin is now known as hrybacki
smoserpaulmey, so azure clients... the python one 'az' is generally the future plan ? rather than the node 'azure' ?13:58
paulmeyOh yes, smoser , definitely14:38
smoserpaulmey, ok. thanks.14:40
smoseri filed https://github.com/Azure/azure-sdk-for-python/issues/152714:40
smoserfind its usage odd.14:40
smoseri dont htink that was the right place though14:41
smoserthere. https://github.com/Azure/azure-cli/issues/465614:45
paulmeysmoser: there was much complaining about positional parameters on the nodejs cli... so now everything is a named parameter. Thanks for giving feedback though!18:27
smoserpaulmey, funny18:28
smoserits very reminiscent of lxc 1.0 interface18:29
smoserlxc-create -n containername18:29
paulmeyin a boo hoo way or in a ha ha way?18:29
smoserbut containername was required (and quite possibly the only argument needed)18:29
smoserlxc-delete -n containername18:29
smoserWHY DO I NEED -N !18:29
smoserbut lxc 2.0/lxd is:18:29
smoser lxc delete containername18:29
smoseroh well18:29
paulmeyI guess you'll have to wait for az 2.0 then...18:30
smoserblackboxsw, https://bugs.launchpad.net/cloud-init/+bug/172321318:34
ubot5Ubuntu bug 1723213 in cloud-init "vendor_raw stored to disk is broken if non-empty and not bytes" [Undecided,New]18:34
smoserits not as bad as we thouguht though18:34
smoserthe key thing i realized...18:34
smosernothing uses the vendordata_raw.18:34
smoserwe dont ever read it back. its just there for other consumers. it should be a blob.18:35
blackboxswfor other consumers that load the bpickle and run get_vendordata() on the datasource?18:36
smoserother consumers ?18:36
blackboxswper "its just there for other consumers"18:36
smoseryeah, and i suspect there arent many.18:37
smoserand it really should be a blob.18:37
blackboxsws/m// :)18:37
blackboxswjust because it's also broken right?18:37
smoserwell that does make it harder :)18:37
smoserblackboxsw, ok... so i'll start at bottom of the checklist18:42
smoserin https://trello.com/c/wROS4mKT18:42
blackboxswsmoser: I'm testing landscape right now18:42
powersjsmoser: that bug you just filed, isn't it the same as LP: #172299218:49
ubot5Launchpad bug 1722992 in cloud-init "On the latest centos 7 release, we are unable to resize our instances filesystems" [Undecided,New] https://launchpad.net/bugs/172299218:49
smoserit probably is.18:49
smoserwhoops18:49
powersjsmoser: thx18:51
smoserblackboxsw, i'm going to try to fix mount-image-callback lxd:19:18
blackboxswsmoser: yes please.19:18
smoseras i tried to use it (through lxc-proposed-snapshot) and foobar19:18
blackboxswI'll need that shortly I suspect19:18
blackboxswyeah, I had been using artful, so hadn't gotten that far yet19:18
blackboxswmount-image-callback is used by lxc-proposed-snapshot right?19:19
smoseryes. as i found :)19:19
smoseri didnt remmeber, but yeah19:19
blackboxswpushed two bug updates to sru-info for puppet and landscape19:33
blackboxswmoving onto the list from the top of the trello card19:33
blackboxsw Unapproved: rejected cloud-init [source] (zesty-proposed) [17.1-17-g45d361cb-0ubuntu1~17.04.1]20:51
blackboxswhmm checking it out20:51
blackboxswwell see it in rejected state in the queue https://launchpad.net/ubuntu/zesty/+queue?queue_state=4&queue_text=21:04
blackboxswtrying to find the history of it21:04
smoserblackboxsw, 17 is less than 1821:05
smoser18 is in21:05
blackboxswahh dumb me21:05
smoserhttps://launchpad.net/ubuntu/+source/cloud-init21:05
smoserand on that link above ...21:05
smoser"higher numbers are better"21:05
smoser:)21:05
smoserthe source of my confusion earlier21:05
smoseri think the best thing to do for mount-image-callback is to drop support for lxd:21:06
powersjdoh21:06
smoserbut add a 'lxc-chroot' which does something like it did21:06
smoseri had a lxc-chroot before, but moved to using mount-image-callback as it was nice. but the chroot path seems quite plausable now.21:08
blackboxswsmoser: you mean like sudo chroot /var/lib/lxd/containers/a1/rootfs/21:11
blackboxswand then manipulate the rootfs before lxc start a121:12
* blackboxsw looks at mount-image-callback again to see what it thinks it is doing21:12
smoserthats mostly what mount-image-callback does21:13
smoserthe two things it really aded for lxd was21:13
smoserwell... it effectively gave you "chroot" into a lxd container21:14
smoserwhich meant no network namespace21:14
smoserand mic would set up /etc/resolv.conf to work, and then it appeared that networkign was all golden21:14
blackboxswdone testing chef on artful21:43
blackboxswand pushed an sru-info test for it21:43

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