smoser | nturner, theres a lot of variables there. | 01:30 |
---|---|---|
smoser | curtin basically suports 2 image formats: | 01:30 |
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:31 |
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. | 01:32 |
=== frankban|afk is now known as frankban | ||
jojden | hi | 10:50 |
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 ? | 10:51 |
=== Guest98782 is now known as spammy | ||
jojden | http://askubuntu.com/questions/792289/bson-data-iteration | 12:23 |
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:37 |
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> | 14:48 |
mup | Bug #1594991 changed: [2.0RC1] MAAS logs every power query as a NodeEvent <MAAS:Won't Fix> <https://launchpad.net/bugs/1594991> | 15:42 |
kiko | jojden, yo | 15:50 |
=== frankban is now known as frankban|afk | ||
=== valeech_ is now known as valeech | ||
=== valeech_ is now known as valeech | ||
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:31 |
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:34 |
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:35 |
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:36 |
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:37 |
nturner | it sounds like this is exactly what I had hoped | 18:38 |
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:39 |
nturner | smoser, nice :) that is the kind of specific info i was looking for | 18:40 |
mup | Bug #1597044 opened: maas documentation is incorrect about the maas user home directory <MAAS:Confirmed> <https://launchpad.net/bugs/1597044> | 18:55 |
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... | 18:58 | |
mup | Bug #1547313 changed: newly enlisted nodes have no power type set. <power> <MAAS:Invalid> <https://launchpad.net/bugs/1547313> | 19:25 |
f1gjam | mpontillo, I just sent you an email of my draft document | 19:30 |
mpontillo | f1gjam: nice doc! looks like it would make a good blog post =) | 19:59 |
mup | Bug #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 |
f1gjam | mpontillo, thats what I am looking to do, then put a link on my linkedIn :) | 21:02 |
f1gjam | landscape seem to ha=ng at 77% | 23:34 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!