/srv/irclogs.ubuntu.com/2014/09/19/#cloud-init.txt

=== alexpilotti_ is now known as alexpilotti
=== harlowja is now known as harlowja_away
=== zz_gondoi is now known as gondoi
=== JoshNang_ is now known as JoshNang
harmwsmoser: ready for new release?17:40
smoser:)17:40
smoserdont' you avhe something else to do on friday night then bother me17:40
harmwforgive me for asking so often, I'm just eager to submit that fbsd port17:40
harmwhehe17:40
smoseryou are completely justified there, harmw 17:44
* hiren_ likes harmw's persistence ;-)18:02
harmwlol18:02
harmwyea18:02
harlowjadamn i must of missed an important conversation, lol18:45
harmwdont you always 18:45
harlowjai think so :-P18:45
harlowja_of course right when i say that my thunderbolt crap cable comes undone, lol18:46
harlowja_thats what i don't like about the cable, it doesn't hold itself in, lol18:46
harlowja_stupid apple18:46
harmw:p18:47
harmwharlowja_: how sucky  is the Y! cloud?19:03
harlowja_lol19:03
harlowja_define sucky19:04
harlowja_lol19:04
harlowja_define parameters to be sucky19:04
harlowja_haha19:04
harmwhiren_'s having a hard time getting cirros up and running19:04
harlowja_hmmm, not sure, haven't heard what he's doing19:04
hiren_harlowja_: in our internal n/w19:04
harlowja_well shouldn't be that hard, idk how well cirros supports config drive19:04
harlowja_if it don't support config drive, then it may not work :-P19:04
harmwisn't there a normal metadataservice?19:05
harlowja_nope19:05
harlowja_just config-drive (until we revist that debate)19:06
harlowja_our security team didn't want a channel from VM -> controller layer19:06
harmwjeez19:06
hiren_ http://dpaste.com/184H91R19:06
harlowja_and metadata service is one such channel19:06
harmwwankers19:06
harlowja_ya, i tried fighting that, i gave up19:06
JayFDoing a metadata service in a secure and multitenant way is not an easy task :)19:07
harlowja_config-drive is nice and read-only, no two way channel...19:07
JayFputting an ISO partition on a VM/disk is super easy :)19:07
harmwso true19:07
harlowja_right, thats partially why its very attractive for security scaredfolks19:07
JayFharlowja_: actually, you can put ConfigDrives in vfat according to the spec19:07
harlowja_ya, vfat, iso966019:07
JayFharlowja_: so it doesn't have to be r/o... although we implement it as an iso966019:07
harlowja_right19:07
harlowja_well r/w it will still be a local thing19:07
harlowja_r/o is just more of an optimization19:08
harlowja_so hiren_ the following seems odd19:08
harlowja_cp: write error: No space left on device19:08
harlowja_cp: write error: No space left on device19:08
harlowja_cp: write error: No space left on device19:08
harlowja_cp: write error: No space left on device19:08
harlowja_failed to copy results from configdrive to /run/cirros/datasource19:08
harlowja_:-/19:08
harlowja_that would seem to be an issue, lol19:08
hiren_heh yeah19:08
harmw:)19:08
hiren_brb.19:09
harmwharlowja_: there is dhcp or did they skip that as well?19:09
harlowja_not for vms19:09
harlowja_for the existing way baremetal is deployed, it uses dhcp19:10
harlowja_and pxeboot 19:10
harmwso they must get their config from configdrive, right?19:10
harlowja_yes19:10
harmwhmk19:10
harmwinteresting19:11
* harlowja_ we'll move over to ironic which afaik has a similar dhcp, pxeboot, ipmi as the thing we already have (people are shifting from that team to ironic)19:11
harlowja_JayF will get a bunch of new iroinc friends (besides rloo)19:11
harlowja_soon enough, ha19:11
harmw:P19:11
JayFYou guys going to use ipa?19:11
harmwipa?19:11
harlowja_unsure19:11
harlowja_JayF probably, although i'm not that in touch with all that stuff, haha19:12
harmwwhats ipa :)19:12
JayFironic-python-agent19:12
harmwah19:12
JayFthe newest, sexiest deploy driver for ironic19:12
JayF:P19:12
harmwlol k19:12
harmwi'm still clueless when it comes to ironic :p19:12
* harlowja_ mostly me too, ha19:12
harlowja_can't be everywhere :-P19:12
harmw:p19:13
harlowja_y! will likely have to figure out a different mechanism than config-drive for ironic stuff though, something like maybe what JayF and folks have done (writing the config-drive on the main disk)19:13
harlowja_attaching a cd isn't gonna work, lol19:13
harlowja_or maybe we'll revisit that whole networking metadata webservice debate19:14
harmw:)19:14
JayFDude, we already have it handled19:14
harlowja_even better, ha19:14
harmwsmoser: did that configdrive change for fbsd got merged yet? from raginbajin?19:14
smoseri dont think so.19:15
smoserthere was some work to still dothere.19:15
JayFharlowja_: Yeah, I am not sure if it's fully upstreamed, but it works entirely and we'll help you get it working if you need :)19:15
harmwhm ok, 19:15
JayFharlowja_: nova is the one who generates teh configdrive... it just gets passed through ironic, to the agent, into the drive19:15
harmwwell I need it to test with configdrive, since Y! apparently requires/uses that19:15
harlowja_JayF ya, that seems nutty :-P19:15
JayFharlowja_: we just create a small partition at the end of the disk, and write it out19:15
harlowja_to much passing of crap around, lol19:15
JayFharlowja_: that's the Openstack Way(tm)19:15
harlowja_:(19:15
smoserfor ocnfig-drive on bare metal...19:16
JayFharlowja_: in our original implementation, the agent built the iso :(19:16
harlowja_JayF why doesn't nova just pass the data that is the config-drive to ironic19:16
harlowja_seems saner19:16
smosermy opinion is that long term, nova (or deployer, whatever) has to be *very* stupid.19:16
harlowja_then passing a binary disk19:16
smoserand just dd stuff to the first disk19:16
smoserand then look for a partition on that disk named "config-drive" or re-use the EFI partition or something19:16
smoserand write the data in there.19:16
smoserin that way, the image is smart19:17
JayFharlowja_: because Nova is used to just writing it out itself19:17
smoserand tine installer is dumb19:17
harlowja_sux19:17
smoserand you have a standard.19:17
JayFsmoser: that's pretty similar to what ipa does19:17
harlowja_nova's like an old grandpa or something, lol19:17
smosersort of similar.19:17
smoserbut ipa (i think) has to know how to "make it boot". ?19:17
JayFsmoser: puts an image on a disk, looks for a partition labelled 'config-2', if it exists, we dd the configdrive into that partition, if not, we create it at the end of the disk19:17
JayFsmoser: the bootloader is entirely in the image19:17
smoserit dd the disk ?19:17
JayFyeah19:18
smoserincluding the partition table ?19:18
JayFlet me link you the code19:18
JayFyeahhh19:18
smosernice. 19:18
JayFnow we'll have to support the partition-images eventually19:18
smoseryeah, that is theo nly way you can actually accomplish secureboot19:18
JayFbceause --preserve-ephemeral (hate)19:18
smosermeh19:18
smoserpartition images dont have to be supported.19:18
JayFbut I would not use it :)19:18
JayFsmoser: tell that to Devananda, hahaha19:18
smoserits just not scalable.19:18
smoserit means that the installer has to know information about the things its installing19:19
JayFsmoser: https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/shell/write_image.sh + https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/shell/copy_configdrive_to_disk.sh19:19
smoser--preserve-ephemeral could just be "i write as many blocks as are in the image. no more , no less"19:19
smoseryou want presevation of data then keep the thing i'm writing small.19:20
JayFI'm not sure I agree, but I also hate the same feature you hate which is funny19:20
harlowja_haters gonna hate19:20
smoserwhere is /tmp ?19:20
smoseris that dis ?19:20
JayFsmoser: that code runs from inside the ramdisk agent19:20
smoserand why do you "erase mbr from device?"19:20
smoserso qemu-img convert -O raw $IMAGEFILE /tmp19:21
JayFputs it into the disk :)19:21
JayFer, into ram19:21
smosermeans that you have enough ram to contain the entire contents of the disk?19:21
JayFyeah, right now19:21
JayFwe want to make that stream eventually19:21
smosergood thing most people have way more ram than disk space19:21
smoseroh wait19:21
smoser:)19:21
JayFheh19:21
JayFin this case? every server it's running on19:21
JayFhas at least as much disk as ram19:21
JayFin 2/3 cases it's less disk than ram 19:22
JayF(for the OnMetal case specifically)19:22
smosercurtin reads tar file extracts to stdout | dd of=/dev/foo19:22
JayFyeah qemu-convert doesn't output to stdout19:22
JayFif it did I would've done something like that19:22
smoserwell, you dont have to support a silly format :)19:22
JayFsomeone is working on vhd support, which I think that whole bucket of things will get refactored19:22
smoser(and i fully realize i tell everyone they have to support qcow2)19:22
JayFIt is what it is man :) We're making it better, but it works now, and it works pretty reliably19:23
JayFI have trouble finding too much fault with working software :P19:23
smoseryeah. 19:23
smoseroh.19:23
smoserfyi, qemu-img convert -O raw http://foo.bar/my-image /dev/sda19:23
smoserthat requires seek support in the http server19:24
smoserbut works otherwise.19:24
JayFwhile this is a shitty answer for purposes of open source19:24
JayFwhen we implemented it, we found it was much faster do convert, then dd19:24
JayFbecause we could set dd options that made imaging on our satadoms much faster19:24
smoseryeah. realistically you need to just fix the image format19:24
smoserwhy did you get an image format in qcow2?19:24
harlowja_O raw http://foo.bar/my-image /dev/sda would be neat if nova hosted the image19:24
JayFthis was when this  was still teeth-agent not ironic-python-agent yet19:24
smoserthat doesn't make any sense.19:24
harlowja_or ironic/nova 19:25
JayFsmoser: I don't know man :) that was a long time ago19:25
JayFharlowja_: right now we only support images from swift temp urls19:25
JayFharlowja_: so it's already a direct download19:25
harlowja_cool19:25
smoserso the easiest solution is to fix the producer of the images to create something that streams.19:25
harlowja_except for non-swift users, haha19:25
JayFWell yeah man, we made it work for our case19:25
JayFand now the gaps get filled in as ironic gets more upstream support19:25
harlowja_wfm19:25
JayFthe agent has support for probably a half dozen things that won't land until k19:26
harlowja_sounds like openstack19:26
harlowja_lol19:26
harlowja_reminds me gotta get my plane tickets19:28
harlowja_smoser u going to paris?19:28
* JayF will be in paris19:29
JayFwe should have a cloud-init design thinger one evening19:29
harlowja_sure19:29
smoseri will.19:29
smoserwe should.19:29
smoseri was wanting to say we shoudl have a hack fest or somethign.19:30
JayFI mean, my brain will be mush, almost certainly19:30
harlowja_i'm up for either19:30
harlowja_we can have pow wow19:32
harmwParis is first week of november, right?19:33
smoseryeah.19:33
harmwsad that's not an option though19:33
smoseri go from paris (openstack) to re:invent (aws)19:33
harmwcool19:33
smoserharmw, :-(19:33
harmwyea well, it's my first week at $newjob19:33
harmwso not wise to jump in plane instead of meating $newppl :P19:34
harlowja_meat them19:34
harlowja_haha19:34
harlowja_those meatbags19:34
harmwlol19:34
harmwdamn19:34
harlowja_:)19:34
harmwthats probably the most lame typo ever19:34
harmwnice, Jenkins finaly archived my 3 shiny cirros images20:09
=== alexpilotti_ is now known as alexpilotti
=== gondoi is now known as zz_gondoi
=== alexpilotti_ is now known as alexpilotti

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