[06:41] <KpuCko> hello, can somebody help me with "maas latest meta-data instance-id failed bad status code 404"
[06:56] <KpuCko> oke, i've fixed the problem, the ip of the maas controller used for pxe boot is setted to the wrong value
[06:56] <KpuCko> with dpkg-reconfigure i fixed the issue
[14:38] <mup> Bug #1606948 opened: [trunk] Filter scrolling for according always shows despite only having 1 item <MAAS:New> <MAAS 2.0:New> <MAAS trunk:New> <https://launchpad.net/bugs/1606948>
[17:35] <mup> Bug #1606999 opened: reporting messages can slow down operations greatly <cloud-init:New> <curtin:New> <MAAS:New> <https://launchpad.net/bugs/1606999>
[19:00] <Braven36> hello
[19:02] <Braven36> is there anyone is the channel?
[19:02] <roaksoax> Braven36: for the most part, yes! :)
[19:03] <Braven36> Cool
[19:04] <Braven36> Do you work with maas alot?
[19:06] <roaksoax> Braven36: i do
[19:06] <roaksoax> Braven36: how can I help?
[19:07] <Braven36> Curtin, I do not think I full understand how it works
[19:08] <Braven36> I thought last_command: would run when the OS boots up for the first time. But that does not appears to be the case
[19:13] <Braven36> Do you know of any good document for the curtin?
[19:20] <Braven36> Did I lose you roaksoax
[19:22] <roaksoax> Braven36: sorry,testing RC3 atm
[19:23] <roaksoax> Braven36: will late_commands in curtin run during the installation process, but after the image has been copied onto the disk and everything is ready to continue
[19:24] <roaksoax> Braven36: if you see in /etc/maas/preseeds/curtin_userdata you can see sections that say "curtin", "in-target", "--", "XYZ"
[19:24] <roaksoax> Braven36: that is telling curtin, do XYZ inside the installed OS
[19:25] <Braven36> I am try to run a disk config script.
[19:26] <roaksoax> Braven36: do you have an example ?
[19:26] <Braven36> of the script or what I put in the file
[19:27] <roaksoax> Braven36: well that depends on what you want to do
[19:27] <roaksoax> if you want to run a shell script
[19:28] <roaksoax> you'd do stuff similar to "curtin", "in-target", "==",
[19:28] <roaksoax> you'd do stuff similar to "curtin", "in-target", "==", "sh", "-c", "whatever-shell-you-want (e.g. run a script, do stuff like command1 && command2, etc"
[19:29] <Braven36> I did that and seen the script run. Then installation failed.
[19:29] <Braven36> I see you are using "==" instead of --
[19:30] <roaksoax> Braven36: that's a typo on my side
[19:30] <roaksoax> Braven36:another way of doing it: driver_00_key_get: curtin in-target -- sh -c "/bin/echo -en '{{key_string}}' > /tmp/maas-{{driver['package']}}.gpg"
[19:31] <Braven36> There not much documentation out there about it. So I feel like I missing something that everyone else knows.
[19:32] <Braven36> so in the example above. You do not need to use the ","
[19:32] <roaksoax> Braven36: i think that's just two ways of doing the same thing
[19:32] <roaksoax> Braven36: /etc/maas/curtin_userdata would give you examples
[19:33] <roaksoax> smoser: do you have curtin docs already available ?
[19:33] <smoser> there are some curtin docs at http://people.canonical.com/~rharper/curtin/#
[19:33] <roaksoax> smoser: thanks!
[19:35] <roaksoax> smoser: can cloud-init do this too? http://people.canonical.com/~rharper/curtin/topics/reporting.html#configuration ?
[19:35] <Braven36> interesting. I have not seen this yet
[19:35] <smoser> cloud-init doesn ot postfiles
[19:35] <smoser> but  yes, it reports
[19:36] <roaksoax> smoser: ah bummer, I was looking to be able to post cloud-init-output back to maas for storage
[19:36] <Braven36> how does cloud-init fit into Maas?
[19:41] <roaksoax> Braven36: the ephemeral environmetn (commissioning, deploying) is driven by cloud-init
[19:42] <Braven36> Cloud-init reads the curtin file to deploy the server?
[19:45] <Braven36> I see a lot info on #cloud-config files. I also see #cloud-config at the top the curtin file
[19:50] <roaksoax> Braven36: cloud-init drives curtin
[19:55] <Braven36> late-command is ran after the first reboot.
[19:59] <roaksoax> Braven36: late_command is run during the install. In mimics what d-i does
[20:03] <Braven36> I am new this stuff. So curtin is all I know. is there a away to setup a script to run on boot
[20:03] <Braven36> and it only run once
[20:12] <roaksoax> Braven36: you can modify the late_command to write whatever you need on your installed system, so that on first boot it runs what you need to run
[20:12] <roaksoax> that's the usual way you can customize things
[20:14] <Braven36> maybe it failed some where else... my script setup disk for a hadoop data node.
[20:15] <roaksoax> Braven36: what do you mean by setup disk ?
[20:15] <Braven36> there are 4 disk. in server. 1 is for the Os dev/sda and the others are for data
[20:16] <Braven36> The Fstab need to have the uuid of disk.
[20:17] <Braven36> or I mean Partition
[20:26] <roaksoax> Braven36: why don't you partition the disk in MAAS ?
[20:26] <roaksoax> Braven36: are you using MAAS 2.0 ?
[20:49] <Braven36> no.. I am using maas 1.0
[20:49] <Braven36> hardware did not support 2.0 =(
[22:39] <mup> Bug #1607112 opened: [2.0rc2] package installation fails when default gateway is not set <MAAS:New> <https://launchpad.net/bugs/1607112>