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

=== CyberJacob is now known as zz_CyberJacob
=== zz_CyberJacob is now known as CyberJacob
mupBug #1468631 opened: interrupted image download doesn't allow recovery <MAAS:New> <https://launchpad.net/bugs/1468631>07:03
mupBug #1468726 opened: Retain page position on refresh <ui> <MAAS:New for ricgard> <https://launchpad.net/bugs/1468726>11:09
caribouHi, I would need some help with the execution mechanisms of curtin preseed files in /etc/maas/preseeds12:24
caribouI'm trying to add specific partitioning commands that would run for specific nodes12:25
caribouand thought of using curtin_userdata_ubuntu_amd64_generic_{nodename} for that12:26
cariboubut that preseed file doesn't seem to be picked up by maas12:26
cariboumaas 1.7 btw12:26
kikocaribou, heyt there12:37
cariboukiko: howdy12:37
kikocaribou, hmm, I think there's an example of that somewhere from smoser12:38
cariboukiko: yesterday smoser helped me out a lot to get customize curtin's partitioning which I got sorted out12:38
cariboukiko: I found the documentation, but when I put the commands in curtin_userdata  they get executed12:38
cariboukiko: but if I use curtin_userdata_ubuntu_generic, they don't seem to be picked up12:38
caribounow I also don't know if all the curtin_userdata_* files get merged or one override the other12:39
kikoand why is it a problem to use curtin_userdata?12:39
cariboukiko: I need those commands to be host specific, i.e. use the _{node_name} argument12:40
kikocaribou,   {prefix}_{osystem}_{node_arch}_{node_subarch}_{release}_{node_name}12:41
kikoapparently is the format12:41
kikoin 1.712:41
cariboukiko: yep found that, but somehow maas doesn't seem to pick it up12:41
kikocaribou, what is the exact filename you are using?12:42
cariboukiko: I've been trying many. Now I'm at curtin_userdata_ubuntu to minimize failure but even that doesn't get picked up12:42
cariboukiko: right now I'm doing a very basic test :12:45
caribouadding announce_02: ["/bin/echo", "'###  Running curtin_userdata_state-server  ###'"] as an "early_commands:" in curtin_userdata12:45
kikookay, and does that work?12:45
caribouI do see the msg displayed when curtin kicks in12:45
kikookay12:46
caribouif I move that to curtin_userdata_ubuntu, it doesn't12:46
kikocaribou, I am thinking "_ubuntu" is not actually used12:46
kikoi.e.12:46
kikofor ubuntu installs12:46
kikothe format is12:46
kiko{prefix}_{node_arch}_{node_subarch}_{release}_{node_name}12:47
caribou1.7 doc says it should12:47
kikoI'm looking at the source to see if that's right12:47
caribouthat's the full curtin_userdata_ubuntu file content : http://pastebin.ubuntu.com/11773179/12:48
cariboukiko: get_preseed_filename in preseed.py seems to say otherwise, I'll test what is written in the code12:50
kikoindeed12:51
cariboukiko: ok it works with curtin_userdata_amd64, will test the rest12:51
kikocaribou, that looks like a bug fwiw12:52
kikocaribou, I am confused by the elements.append(osystem) piece though12:53
caribouin preseed.py ?12:53
kikoyes12:54
caribouit's not in 1.712:54
kikooh!12:54
caribouat least not on my test node12:54
* kiko is looking at trunk12:54
caribouthat's from the installed server source12:54
caribouso most probably it is how it works now but not back then12:55
kikoback then when?12:55
kikoI have a 1.7 branch here that has the following code12:55
kikoah12:56
kikolook at this12:56
kikothis code changed a lot for 1.7.512:56
kikohttp://pastebin.ubuntu.com/11773220/12:56
kikohttps://bugs.launchpad.net/maas/+bug/143936612:57
kikoI am wondering if this code is buggy12:57
kikocaribou, what version of maas?12:57
cariboukiko: 1.5.4+bzr2294-0ubuntu1.312:58
cariboustraight from trusty's archive12:58
kiko<caribou> maas 1.7 btw12:58
kikoare you trying to confuse me? :)12:58
caribouWTF is that !12:58
caribouok, I'm going back under my rock12:59
kikoheh12:59
kikookay, so to summarize:12:59
kiko1. don't use maas 1.512:59
kiko2. see #112:59
caribouROTFL!12:59
kiko3. in maas 1.5, the format has no osystem component13:00
caribouthe name of my maas VM is maas1713:00
kikoas in 1.5 it was ubuntu only13:00
cariboutrue13:00
kikoI think that's enough for before breakfast :)13:00
cariboutotally. & thank you a lot for your help13:00
kikoyw13:01
kikocaribou, maybe add an answer to http://askubuntu.com/questions/508276/customizing-the-maas-curtin-fastpath-preseed-install when you are done and get some SE points to boot?13:02
cariboukiko: will do.13:02
kikothanks!13:02
caribouI'm planning to write a blog post on the whole effort13:02
cariboui.e. how to customize partitioning & get it done by maas & curtin13:02
cariboukiko: that article was the starting point of my queries13:03
mupBug #1468757 opened: There is no spinner on the "load 30 more days" link on the event log page <ui> <MAAS:New> <https://launchpad.net/bugs/1468757>13:19
=== jfarschman is now known as MilesDenver
=== med_` is now known as med_
=== med_ is now known as med___
=== med___ is now known as med_
mupBug #1468830 opened: 1.8.0 Can't mark fixed due to power state <ui> <MAAS:New> <https://launchpad.net/bugs/1468830>17:14
=== jfarschman is now known as MilesDenver
mupBug #1468830 changed: 1.8.0 Can't mark fixed due to power state <ui> <MAAS:Won't Fix> <https://launchpad.net/bugs/1468830>17:47
mupBug #1468844 opened: 1.8.0 Capitalisation in tags is incorrect <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1468844>17:47
=== xmltok_ is now known as xmltok
mupBug #1468945 opened: maas should add virtual tag to ESXi VMs after commissioning <oil> <MAAS:Triaged> <https://launchpad.net/bugs/1468945>23:44

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