[01:30] <smoser> nturner, theres a lot of variables there.
[01:30] <smoser> curtin basically suports 2 image formats:
[01:31] <smoser> a.) .tar.gz (root tarball of /).  curtin in one way or another needs to know a lot about the internels of such a thing... it has to be able to create a filesystem , extract the tar, and then make the thing boot (by grub-install or something)
[01:32] <smoser> b.) dd-img this curtin will just 'dd' to the first disk, and fingers crossed.
[01:32] <smoser> you possibly have something that you can dd, but you possibly have somethign that would have no hope of booting on hardware.
[10:50] <jojden> hi
[10:51] <jojden> how can get details from node/details
[10:51] <jojden> client.get(u"nodes/%s/" % node_id, "details") => Giving bson data. how can i parse that data ?
[12:23] <jojden> http://askubuntu.com/questions/792289/bson-data-iteration
[14:37] <kiko> jojden, can you send me the raw BSON data somehow?
[14:37] <kiko> jojden, I'm writing an answer and wanted to test
[14:37] <kiko> jojden, I'm kiko@canonical.com if you can mail me the binary output
[14:48] <mup> Bug #1596483 changed: [2.0b8] Support for IPv6 autoconfigured IP addresses , and avoid confusion with "auto" label <MAAS:Opinion> <https://launchpad.net/bugs/1596483>
[15:42] <mup> Bug #1594991 changed: [2.0RC1] MAAS logs every power query as a NodeEvent <MAAS:Won't Fix> <https://launchpad.net/bugs/1594991>
[15:50] <kiko> jojden, yo
[18:31] <nturner> smoser, ok, so the component that actually deploys the image to the hardware is called curtin. I'll see if I can dig up some info on that.
[18:34] <nturner> I'm fairly confident my image will boot on the hardware I have (it's built using a process used to image real hardware via other means, so it has grub configured correctly on the MBR etc.) but I don't know the details of how maas (or curtin) wants the dd-tgz file to be laid out.
[18:35] <smoser> well, i'd start with https://maas.ubuntu.com/docs/os-support.html
[18:35] <nturner> smoser, that's where I started before I came here. I got far enough to realize I lacked key information. :)
[18:36] <smoser> the dd-tgz is a gzip compressed tarball for sparseness of a single file.
[18:36] <smoser> curtin selects which disk it thinks is "first"
[18:36] <nturner> do the tarball has a single member. does that member have to have a specific name?
[18:36] <smoser> (ie, which would be likely to have the bios boot from it)
[18:36] <nturner>  s/do/so
[18:36] <smoser> and then uncompress tarball | extract file-to-stdout | dd if=- of=/dev/disk
[18:37] <smoser> i dont think so
[18:37] <smoser> checking
[18:37] <nturner> and by "disk" here we mean the whole disk (e.g. /dev/sda) not some partition?
[18:38] <nturner> it sounds like this is exactly what I had hoped
[18:39] <smoser> http://bazaar.launchpad.net/~curtin-dev/curtin/trunk/view/head:/curtin/commands/block_meta.py#L75
[18:39] <smoser> nturner, yes a disk.  like /dev/sda
[18:40] <nturner> smoser, nice :) that is the kind of specific info i was looking for
[18:55] <mup> Bug #1597044 opened: maas documentation is incorrect about the maas user home directory <MAAS:Confirmed> <https://launchpad.net/bugs/1597044>
[18:58] <nturner> smoser, thanks for the code pointer. I think I see my first problem (curtin expects the rootfs in the image to have a /curtin directory).
[18:58]  * nturner modifies the image creation process...
[19:25] <mup> Bug #1547313 changed: newly enlisted nodes have no power type set. <power> <MAAS:Invalid> <https://launchpad.net/bugs/1547313>
[19:30] <f1gjam> mpontillo, I just sent you an email of my draft document
[19:59] <mpontillo> f1gjam: nice doc! looks like it would make a good blog post =)
[20:37] <mup> Bug #1595304 changed: add Subnet fails with "Extra data: line 1 column 8 (char 7) <MAAS:Invalid> <https://launchpad.net/bugs/1595304>
[20:47] <pacavaca_> What is the difference between "Custom" image and "Generated" one?
[20:49] <pacavaca_> found that in the docs, nevermind. Sorry for not looking there first.
[21:02] <f1gjam> mpontillo, thats what I am looking to do, then put a link on my linkedIn :)
[23:34] <f1gjam> landscape seem to ha=ng at 77%