=== imthewherd is now known as cgseller_is_away [13:01] blake_r, rvba, meeting? [13:01] dimitern: sorry, I have a conflicting meeting. Can we postpone? [13:02] dimitern: unless mpontillo can cover for me. [13:02] rvba: I'm here... but I think the only thing we need to discuss is "the fan"... and I'd want you to be there for that, rvba [13:03] mpontillo: okay, so let's postpone if that's okay with you dimitern. [13:04] rvba, fine with me [13:04] dimitern: can we talk in, like 1h? [13:08] rvba, I won't manage [13:09] dimitern: okay, let's pick another time then. [13:09] rvba, but mpontillo will brief you up :) [14:09] negronjl, smoser, rvba: for your review, http://askubuntu.com/questions/636837/are-there-examples-of-custom-installation-scripts/636867#636867 [14:17] hmm... [14:18] "As background, MAAS uses cloud-init as part of its installation process; cloud-init has the concept of preseeds, which in MAAS describe actions to be run at different points in the node lifecycle. " [14:18] that is odd [14:28] smoser, it's because I don't know what I am talking about. could you help clarify? [14:28] smoser, is it odd but factually correct? [14:30] kiko, no. [14:30] let me try to write something [14:57] smoser, thanks [14:59] kiko, http://paste.ubuntu.com/11725176/ [15:00] so i started writing some information for you... so that i could then clarify the doc. [15:00] but that got long winded... so you might be able to use some of that, it might be useful for your general undersanding... [15:03] thanks! [15:04] http://paste.ubuntu.com/11725201/ <-- just without long lines [15:04] http://paste.ubuntu.com/11725206/ <-- without *any* long lines [15:05] smoser, kiko: This works [15:09] smoser, I still think that first paragraph is correct; I mean, is there something factually wrong? [15:09] first MAAS does use cloud-init, correct? [15:09] second, cloud-init has preseeds, yes? [15:10] I guess the third piece is not very correct in that the actions in the preseeds are run when booting the ephemeral environment and in the first system boot [15:11] "preseeds" is a bad word. [15:12] "preseed" likely implies d-i. [15:12] smoser, what are they called in curtin? [15:12] cloud-init doesn't really use 'preseeds'. it uses user-data. [15:12] I guess I'm confused because they go into a directory called preseeds? [15:13] curtin reads curtin config. [15:13] hmm [15:13] okay, so the yaml-ish files are curtin config? [15:13] curtin reads curtin config [15:13] d-i reads d-i config [15:14] d-i config (and debian package install time configuration) is known as "preseed" [15:14] i'd avoid the use of preseed when not talking about d-i or debian package preseeds. [15:14] as that would most certainly confuse me. [15:15] ie, google 'preseed linux' : https://en.wikipedia.org/wiki/Preseed [15:37] Bug #1465722 opened: 1.8.0 Machine details styling [15:37] Bug #1465726 opened: 1.8.0 machine details button sizes not styled dynamically [15:46] Bug # opened: 1465732, 1465735, 1465736, 1465737, 1465739, 1465740 [15:58] Bug # changed: 1465732, 1465735, 1465736, 1465737, 1465739, 1465740 [16:07] Bug # opened: 1465732, 1465735, 1465736, 1465737, 1465739, 1465740, 1465742, 1465743 [16:10] Bug #1465742 changed: 1.8.0 Table design styles [16:10] Bug #1465743 changed: 1.8.0 Tags spacing [16:16] Bug #1465742 opened: 1.8.0 Table design styles [16:16] Bug #1465743 opened: 1.8.0 Tags spacing [16:17] smoser, how does cloud-init fit in with curtin and d-i? Is it that both curtin and d-i provide stuff for cloud-init to run, and the way you provide that stuff is different for curtin and d-i? [16:18] cloud-init has almost nothing to do with d-i [16:19] the only overlap between them is that maas installs the cloud-init package during a d-i install and "preseed"s the configuration of the maas datasource . so that on first boot, cloud-init knows where to find maas. [17:01] maas: for block devices who does the formatting? maas or the juju charm? [17:12] cholcombe, the system installation block device or additional block devices? [17:12] cholcombe, for the former, the OS install done by MAAS (with di-or-curtin/cloud-init) does the formatting/resizing [17:12] for the latter the charm does it [17:12] i see yeah that's exactly what i needed to know [17:13] i'll take that into account [17:13] i was referring to additional block devices [17:13] cholcombe, check out the ceph charm, I believe it knows how to handle additional block devices on the OST [17:14] good point. there's some code in there to test if a block device is legit. that's prob why that exists [17:14] oh, to avoid clobbering the system block device for instance? [17:15] possibly or just to make sure it's not getting a bogus drive specified [18:39] smoser, how come the user_data you supply to node start is always considered to be "late_commands" for curtin? [18:39] or is that also not exactly right? [18:41] ah, I think I understand now [18:48] kiko, its 2 separate cloud-inits entirely. [18:48] and actually 2 differnet cloud-init endpoints (or at least it used to be [18:49] i tried to clarify that in in http://paste.ubuntu.com/11725206/ [18:49] line 72 there. [18:56] smoser, here's an updated attempt, hopefully simpler: http://askubuntu.com/questions/636837/are-there-examples-of-custom-installation-scripts/636867#636867 [18:58] kiko, i'd strip "MAAS uses cloud-init as part of its installation process." as you dont really mention that in any other way, and its just confusing. the end user of maas doesn't care that maas uses cloud-init inside the installation process. [18:58] also, the first paragraph somewhat implies that cloud-init is not available to the user if d-i is used for isntallation [19:00] i dont want to nit-pick, you're welcome to ignore that if you think its bike-shedding [19:44] smoser, yeah, I think I see your point, but it leads to more questions :) [19:44] smoser, for instance, does user_data do something when you are deploying with d-i? :) [19:45] kiko, it does something *after* you deploy with d-i [19:45] whihc is what the end user cares about [19:45] from their perspective maas just gives them a machine with that has cloud-init inside it. [19:45] same as ec2. [19:48] smoser, so you could use the user_data mechanism regardless of whether curtin or d-i is being used? [19:49] yes [19:50] oh. [19:50] could I delete the "Depending on which installer you are using.." paragraph then? [19:50] ah [19:51] but of course, the file in /etc/maas/preseeds differss [19:55] kiko, right. the mechanism for customizing installation differs between installers (they're different installers) [19:56] but the mechanism for communicating with the installed Ubuntu is consistent. [21:31] what's the best way of importing and booting an image from an iso? [21:32] I've found lp:curtinator and managed to import the results of running that against an daily wily snapshot. And it shows up under "images" in maas in the "Generated Images" section [21:32] but I can't find where to tell it to boot that image. My preference would be to boot from the cli if that's possible [21:33] I'm currently on 1.7.5+bzr3369-0ubuntu1~trusty1 from the stable ppa [21:34] plars! [21:35] Heya kiko! [21:35] plars, let me check the API docs, but basically you specify a distro series name when telling a node to start [21:37] kiko: when importing it, I did somthing like: maas testmaas boot-resources create name=ubuntu/deskwily architecture=amd64/generic content@=/tmp/wily-desktop-amd64.iso.tar.gz [21:37] oh [21:37] I think you just say [21:37] kiko: and tried booting with something like: maas testmaas node start node-5337016e-3d56-11e4-a8dd-001cc08caad0 distro_series=deskwily [21:37] maas plars node uuid start distro_series=deskwily no? [21:37] right [21:37] kiko: right, I would have though so, but it says it's an invalid series [21:38] I purposely gave it a bogus series name so it wouldn't conflict with anything [21:38] surely that's not hardcoded to known releases though, right? [21:38] I wouldn't think so, I've heard of people booting centos, rhel, etc [21:38] plars, correct [21:38] plars, does that option show up in the UI at all? [21:39] kiko: well, I see the image under images, but if I acquire a node and look at the options it gives me for the image, I don't see it there [21:39] that is not good [21:41] plars, can you put a screenshot of /images somewhere? [21:41] kiko: sure, one sec [21:45] kiko: http://imgur.com/rPVZKP5 === cgseller_is_away is now known as imthewherd