/srv/irclogs.ubuntu.com/2015/09/23/#cloud-init.txt

smosersputnik13, i'm not opposed to having it extended to support lvm00:00
sputnik13smoser do you think it's better to extend growpart vs having a separate module for lvm?00:02
smoseri think it is most  useful if a signle executable can "do the right thing" personally.00:03
smoserwith minimal depends.00:03
harlowjawould it just be called 'part' instead of 'growpart'?00:03
smoserright now going forward, growpart works for gpt or mbr with just a dependency on sfdisk00:03
harlowjaor better name00:03
smoserwhich is like everyone00:03
smoserand i'd like "growpart --any"00:03
smoseror something00:03
harlowjamiraclegrowpart00:04
smoserit is kind of silly that you ahve to tell it which partition it needs to grow.00:04
smoserit looks and could quite easily know which partitions have space between them00:04
harlowjagrowpart --miracle00:04
harlowjalol00:04
smoseri have to run. sputnik13 i can look tomorrow at what is going wrong ther.00:05
sputnik13k, ttyl00:05
sputnik13growpart --magic00:05
harlowjagrowpart --ifeellucky00:06
natoriousI'd noticed some issues w/ growpart and raid recently.  Wheres the issue tracker for that project?03:19
smosernatorious, cloud-utils13:34
smoserhttps://bugs.launchpad.net/cloud-utils/+filebug13:34
natoriousaw sweet, thnx14:00
natorioushttps://bugs.launchpad.net/cloud-utils/+bug/149893014:00
natoriouswho uses raid in the cloud lol14:00
smoserhm.14:01
smoseri'd think you  might have this same problem without growpart14:01
smoserif the md device was on an un-partitioned disk14:01
smoserand then you grew that disk14:02
smoseryou'd still have "lost" that metadata.14:02
smoserright?14:02
natoriousso if your to grow the raid volume say md126 or whatnot, it doesn't corrupt it14:02
natoriousbut if you grow say sda1 which is in raid 1 or 0 ex on md126, it would14:03
smoserright.14:03
smoserbut if sda was not partitioned14:03
smoserand you "grew" that "physical volume"14:04
smoserin the host.14:04
smoserso there were zeros at the end14:04
smoseryou'd then have busted that md device14:04
smoserright? ie, you cant just add zeros to a disk that has been used as a md14:04
natoriousthe physical volume or the raid volume14:04
smoser"physical"14:04
smoser/dev/vda14:05
smoserie, its common in cloud/virt to just make a disk bigger.14:05
smosershutdown. add zeros at the end. start up.14:05
smoserthat would bust a md that was on an un-partitioned disk.14:05
smoserwe're supposed to be having the cloud-inti 2.0 dev interlock right now.14:06
natoriousif the disk isn't part of a raid volume w/ a filesystem, it shouldn't be an issue14:06
smoserso lets go do that right now.14:06
natoriousif there is a filesystem and its raid 1, that same fs would show on sda14:06
natoriousnot raid 0 though14:06
natoriousor most the others14:06
natoriousk14:07
smoserk.  i think i'm right, but just not explaining well,. but maybe im' wrong.14:07
natoriousnp14:07
smoserhttp://bit.ly/cloudinit-reviews-public14:07
smosercloud-inti 2.0 meeting time.14:07
smoserlets run through those really quick, and then smoser will actually look at them.14:07
smoserand maybe have some other work today on cloud-init.14:08
smoserok. i just started reading claudiopopa's https://review.openstack.org/#/c/220095/14:08
smoseri will post some thoughts on it after this meeting.14:08
smoserthen we have the task flow thing (which is much larger a python2.6 discussion really as Odd_Bloke is now a taskflow fanboy)14:09
smosernatorious, i'll take a quick look at your mp and have anyone else here interested do the sam.e14:10
natoriousthnx14:11
Odd_Blokeo/14:18
Odd_BlokeI don't have anything new at the moment, I'm afraid.14:18
Odd_BlokeI'm heads down on some stuff that needs to happen for the next Ubuntu release.14:18
Odd_Blokesmoser: The Debian maintainer for taskflow has it building for Python 3 now, so that's another blocker gone.14:19
Odd_BlokeWell, a sync/merge away.14:19
smoserare we delta'd on it ?14:21
* smoser swears at sillyness of <python>-<libraryname> as the source package name.14:21
smoserhttps://launchpad.net/ubuntu/+source/python-taskflow14:22
smoserwe do have a delta.14:22
Odd_BlokeThat looks like a fairly trivial delta.14:22
smoserok. i'm goign to read over claudiopopa's review above, and will be around.14:22
smoserright, easy enough sync, i was just wondering if it was *no* sync14:22
smoserif its just a sync, i'm not oppsed to filing a bug and doing that in wily14:23
smoserabove, the sillyness of python-libraryname is made abundently clear when <libraryname> drops python support and only works on python3.  meaning that the source packagek "python-libraryname" then only has binaries of "python3-libraryname".14:24
smoseranwyay... </rant>14:24
natoriousthe pip2dist stuff looks cool.  Would you need to follow cross platform dep changes though?14:32
smosernatorious, cross platform dep changes ?15:14
smoseroh. i think by nto allowing them :)15:14
smoserie, if we're supporting a given OS, then stuff has to run in that. or it cant be accepted.15:15
natoriousah, nice catch on the misspelling btw.  I should remember to double check everythings when working late on weekends15:18
smoseri never make typos15:18
smoser(do not read 2 lines above where i spelled 'not' wrong)15:18
* natorious chuckles15:19
natoriousthere was another bit with that buffer regarding behavior change that was glanced over in review15:20
natoriousso as previously written the base's meta_data.json returned a buffer obj15:20
natoriousand w/ the refactor bc it always has json suffix, it would be processed and returned as dict15:21
natoriousand so http ds wouldn't be able to return the buffer attr from that15:21
natoriousnot sure if the dict or buffer would be preferred w/ something explicitly json15:21
smoseri think we want to rid of '.buffer' early rather than late.15:22
natoriousk, cool.  Was trying not to change behavior for existing and had noticed that after the fact15:22
smoserso this is sort of wheere 0.7.x has userdata_raw and userdata (and vendordata_raw too)15:23
smoserits handled differently there, with  user-data and vendorddata , but maybe we want these unified.15:23
natoriousvendordata and meta_data makes sense.  Userdata can be anything though right?15:24
smoserthe difference being that cloud-init 0.7.x datasource puts in the vendordata the stuff that is meant for it.15:24
smoserversus *everything*15:24
smoserie, in that json dict, it will only take out 'cloud-init' stuff  if there is such a thing there.15:24
smoseryou are correct, yeah.15:25
smoseruserdata is a binary blob15:25
smoserbut user-data does have a similar behavior to vendor-data15:25
natoriousso buffering for http would still be sufficient or were you saying axe it?15:25
smoserin that cloud-init might find some things intended for it15:25
smoserand some things not.15:25
smoserand kind of this is inconsistent in 0.7 . the way it handles.15:26
smoseri know i'm being confusing . sorry.15:26
natoriousmore so than usual but ok15:26
smoser:)15:26
smoserlet me think.15:26
natoriousthe buffer was really the part that needed to go for the configdrive module to inherit from base15:26
natoriousthat was the primary reason for this15:27
natoriousthe refactoring and adding network json support in base would be needed for my test cases15:27
natoriousto get it working with my openstack envs etc15:28
smoserso i dont think it makes sense for the user of userdata() to do .buffer15:29
smoserthat seems silly.15:29
natoriousI was thinking that was a req for http ds15:29
natoriousbut maybe no15:29
sputnik13alo alo alo17:03
harlowjasmoser did i hear https://launchpad.net/ubuntu/+source/python-taskflow17:11
harlowjalol17:11
harlowjading ding17:11
harlowjalol17:11
harlowjasmoser hey, soooo about turning off bzr,,,,,,17:12
harlowjasputnik13 i think was wondering where to submit a 0.7.x patch17:12
harlowjaannnnnddddd17:12
smoserharlowja, can i have 45 minutes and ping me back?17:13
harlowja44.9 minutes17:13
harlowjalol17:13
smoser44.617:14
smoserahh.. will that clock ever stop ticking!17:15
harlowja:-P17:15
sputnik13:)17:20
sputnik13ohhhh, taskflow packaged in to ubuntu...  harlowja's baby is moving up in the world :-D17:21
harlowjalol17:22
harlowjasputnik13 our baby17:22
harlowjahaha17:22
harlowjaerrr17:22
sputnik13I'm just the step parent that's helping out and trying to win its affection, it was already birthed by the time I came around17:22
sputnik13:-D17:22
sputnik13this is spinning off in a weird direction, I'm going to stop now17:23
sputnik13:)17:23
harlowjalol17:23
harlowjadef17:23
harlowjaubuntulog2 stop logging all this17:23
=== zz_gondoi is now known as gondoi
harlowjatiems up18:00
harlowjalol18:00
gsterhi all, I am hitting this old bug here https://bugzilla.redhat.com/show_bug.cgi?id=836269 on cloud-init v 0.7.5 release 10.el7.centos18:18
gsterdo you know any workaround e.g set systemd timeout maybe?18:22
harlowjasmoser come back18:29
harlowjalol18:29
smoseralmost back.18:30
smoserstupid security18:30
=== gondoi is now known as zz_gondoi
smoserharlowja, ok.18:37
smoserfocus-on-git time.18:37
harlowjalol18:37
smoserwhat do you have18:37
harlowjai have whatever u need man18:37
harlowjalol18:37
harlowjahttps://code.launchpad.net/~harlowja/cloud-init/cloud-init-git-tarball-make might help18:38
harlowjabut i guess we can further fix things that pop up18:38
smoserok. let me take alook18:39
=== shardy is now known as shardy_afk
harlowjaand i thinks https://github.com/harlowja/cloud-init/tree/0.7.x-fixed-final is the latest resync from bzr18:43
harlowjalayered ontop of https://github.com/stackforge/cloud-init/tree/0.7.x18:47
gsterharlowja: is this about the systemd timeout problem I  metionned earlier?18:57
harlowjagster nope, for that one not sure who is the best to respond (not me)18:58
harlowjasome redhat person?18:58
smoserharlowja,18:58
smoser$ python setup.py --version18:58
smoser0.7.718:58
smoser(sorry to ignore you gster, but dont have time right now to look)18:59
harlowjasmoser ?18:59
smoserit always shows that.18:59
smoserbut i need a REVPOSTFIX18:59
harlowjano postfix for u18:59
harlowjalol18:59
harlowjasmoser so integration of pbr will let u have a REVPOSTFIX because it makes one19:02
harlowjabut for 0.7.x maybe in git-mode REVPOSTFIX can just be an env variable ?19:02
gsterNo problem smoser. I also found it in here https://github.com/sdake/heat-jeos/issues/1 on Fedora.. Quite a old bug though (2012)...19:02
smoserharlowja, ok. so some symantic differences between what you're suggesting and what i've done before.19:12
harlowjapossibly19:13
harlowjafrom my understanding alot of openstack stuff has the following19:13
smoserright. reading from http://docs.openstack.org/developer/pbr/semver.html19:14
smoserwhich is what pbr says it does19:14
harlowjahttps://github.com/openstack/nova/blob/master/nova/version.py#L2119:14
harlowjaothers also have a 'NOVA_PACKAGE = None # OS distro package version suffix'19:14
harlowjaor equivalent19:14
harlowjaright, so semver + a prefix that is plugged into that (or equivalent) file19:14
harlowjahttps://github.com/openstack/taskflow/blob/master/taskflow/version.py19:15
harlowjaand others19:15
smoserso i think theres 2 things i'm struggling with19:15
smosera.) cloudinit, i would behvae like:19:15
smoser release 0.7.X19:15
smoser h... call taht : release 0.7.219:15
smoser then "open 0.7.3"19:16
harlowjaright19:16
harlowjawe can keep more of the status quo without pbr for that 0.7.x branch and tags (0.7.2)19:16
smoser so at this point, python setup.py --version shows '0.7.3'19:16
harlowjaright19:17
smoser but then i'd do a REVPOSTFIX with a '~bzrXXX'' where XXX was the trunk19:17
smoserso that '~' means to dpkg "this is *less* than 0.7.3"19:17
smoserbut on 2.0 branch right now:19:17
smoser$ python setup.py --version19:17
smoser1.9.0.dev15819:17
smoserwhere:19:17
harlowjaya, the 2.0 branch is all weird right now with respect to version19:17
harlowjapbr is trying to calculate that, not sure why it picked 1.919:18
smoser$ dpkg --compare-versions 1.0.0.dev1 gt 1.0.0 && echo dev is greater than tag || echo dev is less than tag19:18
smoserdev is greater than tag19:18
smoserwell, it picked 1.9 because its in setup.cfg19:18
harlowjaah19:18
harlowjak19:18
smoserso the issue rigth now is that if i were to use the pbr symantics exactly as the are, my released versions would be versioned smaller than my development versions leading up to the release.19:19
harlowjaright19:19
harlowjai think we just need to make sure pbr has its deb version command exposed19:20
harlowjalike https://review.openstack.org/#/c/196191/19:20
harlowjapretty sure it knows how to generate a deb version correctly19:20
harlowjajust might need to be exposed as --deb-version command or something19:20
harlowjaif not, we need to bug pbr authors19:21
harlowjahttps://github.com/openstack-dev/pbr/blob/master/pbr/version.py#L231 exists19:21
harlowjalikely just needs to be expoed19:21
harlowja*just like the rpm one that i exposed19:21
harlowjalifeless is also trying/working on getting pbr adopted by pip, so it will probably be everywhere soon19:22
harlowja* https://review.openstack.org/#/c/219468/19:22
harlowjaso with 'debian_string(self):' exposed, i think that will do the right sorting for u19:23
harlowjai can propose that smoser19:25
harlowja*pretty much same as 19619119:26
smoserall it does is ~ right ?19:26
smoserin my reading ?19:26
harlowjaseems like it19:27
harlowjahttps://github.com/openstack-dev/pbr/blob/master/pbr/version.py#L31119:27
harlowjaif its busted and/or not working, can just tweak pbr19:28
smoserk. i can work somethign together.19:28
harlowjaokie19:28
smoserso then i wonder..19:28
smoserhow does it count "commits since last tag" or whatevre it does to get 'devX'19:28
harlowjaya, that logic i'm not sure of19:29
smoseri just dont know how to figure which tag to go from19:29
harlowjahttps://github.com/openstack-dev/pbr/blob/master/pbr/packaging.py#L63619:29
harlowjahttps://github.com/openstack-dev/pbr/blob/master/pbr/packaging.py#L51619:30
harlowjabut some pbr folks can probably better describe that (vs reading code)19:30
smoserwell thats magic19:31
smosergit describe19:31
harlowjamagic might need better docs, not sure19:31
harlowjaother option, not use PBR, just increment the numbers ourself19:33
smoseri'm ok to use pbr on 2.0 and maybe use 'git-describe' which seems mostly functional on 0.7.X19:34
harlowjak19:34
smoserfrom git-describe:19:34
harlowjagit describe19:35
harlowja0.7.6-443-g23d428219:35
harlowjainteresting19:35
smoserOtherwise, it suffixes the tag name with the number of additional commits on top of the tagged object and he abbreviated object name of the most recent commit.19:35
smoserright19:35
harlowjathats https://github.com/harlowja/cloud-init/tree/0.7.x-fixed-final19:35
smoserbut what is that g23d ?19:35
harlowjacommit 23d4282b1fd8aee9ecf372435b10185dfb59731d19:36
smoseras 'git show' doesnt show it. how can i turn that into something useful if i was curious19:36
harlowjalast commit19:36
harlowjag(commit)19:36
smosera. g19:36
smoserright.19:36
smoserduh.19:36
harlowjamaybe leave off g23d428219:36
harlowja:-/19:36
smoserit doesnt hurt.19:36
harlowjak19:36
smoserher. i'll get something .thanks for patience. let me poke19:37
harlowjacool beans19:37
smoserwe're even lucky19:37
harlowja??19:37
harlowjawe're always lucky19:38
harlowjalol19:38
smoseroh shoot. its not.19:38
smoseri thought the 443 was lucky enough to be > trunk's revno19:38
harlowjaits ssl port19:38
harlowjalol19:38
smoserright19:38
smoseras a tribute to sabdfl19:39
harlowjadistance to 0.7.6?19:39
harlowjabut 443 changes seems like alot19:39
smoserwell, my thought was that i could just grab that (0.7.6-443) and turn it into 0.7.7~dev44319:39
smoser$ git log --format=oneline 0.7.6.. | wc -l19:40
smoser44319:40
harlowjaya19:41
harlowjaso i guess thats how it got that19:41
harlowjabut u want it since commits for all time right?19:42
smoserwell, that would work . but this is easy enough.19:43
harlowjaya19:43
harlowjatell it to use first commit19:43
harlowja*tell git describe19:43
smoserso here is plan19:43
smoseri'll git a shell snippet19:43
harlowjaafter/before https://github.com/harlowja/cloud-init/tree/0.7.x-fixed-final is resynced -> stackforge?19:44
harlowja*or other repo that openstack-infra needs to sync19:44
harlowjato replace https://github.com/stackforge/cloud-init/tree/0.7.x19:44
harlowja^ which is missing commits...19:44
smoserlet me work out what iw ant to do19:47
smoserand then you can help me. k ?19:47
harlowjak19:50
harlowjasure boss19:50
harlowjasputnik13 get er all done19:50
harlowjathx19:50
harlowjalol19:50
=== shardy_afk is now known as shardy
smoserharlowja, http://paste.ubuntu.com/12534794/20:30
smoseri think i'm happy with that for those tools.20:35
smoserand seems to retain bzr support also.20:35
smoserharlowja, http://paste.ubuntu.com/12535144/21:01
smoseri like that better.21:01
smoserthat is on top of your lp:~harlowja/cloud-init/cloud-init-git-tarball-make21:02
smoserat http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/cloud-init/wily/view/head:/debian/README.source#L4321:03
smoserthe 'improt a new snapshot' i'll have to adjust to work with git.21:04
smoserbut the tools/read-version --dev will be useful.21:04
harlowjasmoser cool, works for me21:06
harlowjai'm all good with whatever u are good with :-P21:06
bdxsmoser: how's it goin?21:56
bdxsmoser: does cloud-init using nocloud provider preform any /etc/ssh/sshd_config modifications by default in trusty cloudimg?21:58
sputnik13sooooo...  where do I submit patches bzr or git? :)23:28
sputnik13smoser harlowja ^23:28
harlowjaummmm23:29
sputnik13I know your answer already23:29
sputnik13:)23:29
harlowja:-P23:29

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