/srv/irclogs.ubuntu.com/2016/06/28/#maas.txt

smosernturner, theres a lot of variables there.01:30
smosercurtin basically suports 2 image formats:01:30
smosera.) .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:31
smoserb.) dd-img this curtin will just 'dd' to the first disk, and fingers crossed.01:32
smoseryou possibly have something that you can dd, but you possibly have somethign that would have no hope of booting on hardware.01:32
=== frankban|afk is now known as frankban
jojdenhi10:50
jojdenhow can get details from node/details10:51
jojdenclient.get(u"nodes/%s/" % node_id, "details") => Giving bson data. how can i parse that data ?10:51
=== Guest98782 is now known as spammy
jojdenhttp://askubuntu.com/questions/792289/bson-data-iteration12:23
kikojojden, can you send me the raw BSON data somehow?14:37
kikojojden, I'm writing an answer and wanted to test14:37
kikojojden, I'm kiko@canonical.com if you can mail me the binary output14:37
mupBug #1596483 changed: [2.0b8] Support for IPv6 autoconfigured IP addresses , and avoid confusion with "auto" label <MAAS:Opinion> <https://launchpad.net/bugs/1596483>14:48
mupBug #1594991 changed: [2.0RC1] MAAS logs every power query as a NodeEvent <MAAS:Won't Fix> <https://launchpad.net/bugs/1594991>15:42
kikojojden, yo15:50
=== frankban is now known as frankban|afk
=== valeech_ is now known as valeech
=== valeech_ is now known as valeech
nturnersmoser, 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:31
nturnerI'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:34
smoserwell, i'd start with https://maas.ubuntu.com/docs/os-support.html18:35
nturnersmoser, that's where I started before I came here. I got far enough to realize I lacked key information. :)18:35
smoserthe dd-tgz is a gzip compressed tarball for sparseness of a single file.18:36
smosercurtin selects which disk it thinks is "first"18:36
nturnerdo 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/so18:36
smoserand then uncompress tarball | extract file-to-stdout | dd if=- of=/dev/disk18:36
smoseri dont think so18:37
smoserchecking18:37
nturnerand by "disk" here we mean the whole disk (e.g. /dev/sda) not some partition?18:37
nturnerit sounds like this is exactly what I had hoped18:38
smoserhttp://bazaar.launchpad.net/~curtin-dev/curtin/trunk/view/head:/curtin/commands/block_meta.py#L7518:39
smosernturner, yes a disk.  like /dev/sda18:39
nturnersmoser, nice :) that is the kind of specific info i was looking for18:40
mupBug #1597044 opened: maas documentation is incorrect about the maas user home directory <MAAS:Confirmed> <https://launchpad.net/bugs/1597044>18:55
nturnersmoser, 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...18:58
mupBug #1547313 changed: newly enlisted nodes have no power type set. <power> <MAAS:Invalid> <https://launchpad.net/bugs/1547313>19:25
f1gjammpontillo, I just sent you an email of my draft document19:30
mpontillof1gjam: nice doc! looks like it would make a good blog post =)19:59
mupBug #1595304 changed: add Subnet fails with "Extra data: line 1 column 8 (char 7) <MAAS:Invalid> <https://launchpad.net/bugs/1595304>20:37
pacavaca_What is the difference between "Custom" image and "Generated" one?20:47
pacavaca_found that in the docs, nevermind. Sorry for not looking there first.20:49
f1gjammpontillo, thats what I am looking to do, then put a link on my linkedIn :)21:02
f1gjamlandscape seem to ha=ng at 77%23:34

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