/srv/irclogs.ubuntu.com/2015/06/16/#maas.txt

=== imthewherd is now known as cgseller_is_away
dimiternblake_r, rvba, meeting?13:01
rvbadimitern: sorry, I have a conflicting meeting.  Can we postpone?13:01
rvbadimitern: unless mpontillo can cover for me.13:02
mpontillorvba: 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, rvba13:02
rvbampontillo: okay, so let's postpone if that's okay with you dimitern.13:03
dimiternrvba, fine with me13:04
rvbadimitern: can we talk in, like 1h?13:04
dimiternrvba, I won't manage13:08
rvbadimitern: okay, let's pick another time then.13:09
dimiternrvba, but mpontillo will brief you up :)13:09
kikonegronjl, smoser, rvba: for your review, http://askubuntu.com/questions/636837/are-there-examples-of-custom-installation-scripts/636867#63686714:09
smoserhmm...14:17
smoser"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
smoserthat is odd14:18
kikosmoser, it's because I don't know what I am talking about. could you help clarify?14:28
kikosmoser, is it odd but factually correct?14:28
smoserkiko, no.14:30
smoserlet me try to write something14:30
kikosmoser, thanks14:57
smoserkiko, http://paste.ubuntu.com/11725176/14:59
smoserso i started writing some information for you... so that i could then clarify the doc.15:00
smoserbut that got long winded... so you might be able to use some of that, it might be useful for your general undersanding...15:00
kikothanks!15:03
smoserhttp://paste.ubuntu.com/11725201/ <-- just without long lines15:04
smoserhttp://paste.ubuntu.com/11725206/ <-- without *any* long lines15:04
negronjlsmoser, kiko: This works15:05
kikosmoser, I still think that first paragraph is correct; I mean, is there something factually wrong?15:09
kikofirst MAAS does use cloud-init, correct?15:09
kikosecond, cloud-init has preseeds, yes?15:09
kikoI 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 boot15:10
smoser"preseeds" is a bad word.15:11
smoser"preseed" likely implies d-i.15:12
kikosmoser, what are they called in curtin?15:12
smosercloud-init doesn't really use 'preseeds'. it uses user-data.15:12
kikoI guess I'm confused because they go into a directory called preseeds?15:12
smosercurtin reads curtin config.15:13
kikohmm15:13
kikookay, so the yaml-ish files are curtin config?15:13
smosercurtin reads curtin config15:13
smoserd-i reads d-i config15:13
smoserd-i config (and debian package install time configuration) is known as "preseed"15:14
smoseri'd avoid the use of preseed when not talking about d-i or debian package preseeds.15:14
smoseras that would most certainly confuse me.15:14
smoserie, google 'preseed linux' : https://en.wikipedia.org/wiki/Preseed15:15
mupBug #1465722 opened: 1.8.0 Machine details styling <ui> <MAAS:In Progress by ricgard> <https://launchpad.net/bugs/1465722>15:37
mupBug #1465726 opened: 1.8.0 machine details button sizes not styled dynamically <ui> <MAAS:Triaged by ricgard> <https://launchpad.net/bugs/1465726>15:37
mupBug # opened: 1465732, 1465735, 1465736, 1465737, 1465739, 146574015:46
mupBug # changed: 1465732, 1465735, 1465736, 1465737, 1465739, 146574015:58
mupBug # opened: 1465732, 1465735, 1465736, 1465737, 1465739, 1465740, 1465742, 146574316:07
mupBug #1465742 changed: 1.8.0 Table design styles <ui> <MAAS:Triaged by ricgard> <https://launchpad.net/bugs/1465742>16:10
mupBug #1465743 changed: 1.8.0 Tags spacing <ui> <MAAS:Triaged by ricgard> <https://launchpad.net/bugs/1465743>16:10
mupBug #1465742 opened: 1.8.0 Table design styles <ui> <MAAS:Triaged by ricgard> <https://launchpad.net/bugs/1465742>16:16
mupBug #1465743 opened: 1.8.0 Tags spacing <ui> <MAAS:Triaged by ricgard> <https://launchpad.net/bugs/1465743>16:16
kikosmoser, 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:17
smosercloud-init has almost nothing to do with d-i16:18
smoserthe 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.16:19
cholcombemaas: for block devices who does the formatting?  maas or the juju charm?17:01
kikocholcombe, the system installation block device or additional block devices?17:12
kikocholcombe, for the former, the OS install done by MAAS (with di-or-curtin/cloud-init) does the formatting/resizing17:12
kikofor the latter the charm does it17:12
cholcombei see yeah that's exactly what i needed to know17:12
cholcombei'll take that into account17:13
cholcombei was referring to additional block devices17:13
kikocholcombe, check out the ceph charm, I believe it knows how to handle additional block devices on the OST17:13
cholcombegood point.  there's some code in there to test if a block device is legit.  that's prob why that exists17:14
kikooh, to avoid clobbering the system block device for instance?17:14
cholcombepossibly or just to make sure it's not getting a bogus drive specified17:15
kikosmoser, how come the user_data you supply to node start is always considered to be "late_commands" for curtin?18:39
kikoor is that also not exactly right?18:39
kikoah, I think I understand now18:41
smoserkiko, its 2 separate cloud-inits entirely.18:48
smoserand actually 2 differnet cloud-init endpoints (or at least it used to be18:48
smoseri tried to clarify that in in http://paste.ubuntu.com/11725206/18:49
smoserline 72 there.18:49
kikosmoser, here's an updated attempt, hopefully simpler: http://askubuntu.com/questions/636837/are-there-examples-of-custom-installation-scripts/636867#63686718:56
smoserkiko, 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
smoseralso, the first paragraph somewhat implies that cloud-init is not available to the user if d-i is used for isntallation18:58
smoseri dont want to nit-pick, you're welcome to ignore that if you think its bike-shedding19:00
kikosmoser, yeah, I think I see your point, but it leads to more questions :)19:44
kikosmoser, for instance, does user_data do something when you are deploying with d-i? :)19:44
smoserkiko, it does something *after* you deploy with d-i19:45
smoserwhihc is what the end user cares about19:45
smoserfrom their perspective maas just gives them a machine with that has cloud-init inside it.19:45
smosersame as ec2.19:45
kikosmoser, so you could use the user_data mechanism regardless of whether curtin or d-i is being used?19:48
smoseryes19:49
kikooh.19:50
kikocould I delete the "Depending on which installer you are using.." paragraph then?19:50
kikoah19:50
kikobut of course, the file in /etc/maas/preseeds differss19:51
smoserkiko, right. the mechanism for customizing installation differs between installers (they're different installers)19:55
smoserbut the mechanism for communicating with the installed Ubuntu is consistent.19:56
plarswhat's the best way of importing and booting an image from an iso?21:31
plarsI'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" section21:32
plarsbut I can't find where to tell it to boot that image. My preference would be to boot from the cli if that's possible21:32
plarsI'm currently on 1.7.5+bzr3369-0ubuntu1~trusty1 from the stable ppa21:33
kikoplars!21:34
plarsHeya kiko!21:35
kikoplars, let me check the API docs, but basically you specify a distro series name when telling a node to start21:35
plarskiko: 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.gz21:37
kikooh21:37
kikoI think you just say21:37
plarskiko: and tried booting with something like: maas testmaas node start node-5337016e-3d56-11e4-a8dd-001cc08caad0 distro_series=deskwily21:37
kikomaas plars node uuid start distro_series=deskwily no?21:37
kikoright21:37
plarskiko: right, I would have though so, but it says it's an invalid series21:37
plarsI purposely gave it a bogus series name so it wouldn't conflict with anything21:38
plarssurely that's not hardcoded to known releases though, right?21:38
plarsI wouldn't think so, I've heard of people booting centos, rhel, etc21:38
kikoplars, correct21:38
kikoplars, does that option show up in the UI at all?21:38
plarskiko: 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 there21:39
kikothat is not good21:39
kikoplars, can you put a screenshot of /images somewhere?21:41
plarskiko: sure, one sec21:41
plarskiko: http://imgur.com/rPVZKP521:45
=== cgseller_is_away is now known as imthewherd

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