/srv/irclogs.ubuntu.com/2013/05/01/#maas.txt

mwhudsonbigjools: hey, can you give me a clue how commissioning works00:15
mwhudsonbigjools: is it a custom initrd you serve up?00:15
bigjoolsmwhudson: what's hard in the morning00:15
bigjoolsoh not that sort of clue00:15
bigjoolsmwhudson: yes, the images live in /var/lib/maas/ephemeral IIRC00:16
mwhudsonoh hm, it mounts a rootfs over iscsi?  or am i reading this wrong?00:17
bigjoolsmwhudson: that's the installer image00:29
bigjoolsbut yes00:29
mwhudsonoh hang on00:29
mwhudsoni think i meant enlistment00:29
mwhudsonthat thing where you boot a node for the first time00:29
bigjoolsit uses the same image00:29
mwhudsonok00:29
bigjoolsas commissioning00:29
bigjoolsjust different options00:30
mwhudsonok00:51
mwhudsonwhat i was trying to find out (as well as learning a bit more about MAAS) was how the name of a enlisted node was determined00:52
mwhudsoni guess ultimately it must come (in my case) from the hostname supplied via dhcp00:52
bigjoolsmwhudson: it's a uuid00:54
mwhudsonsorry not name00:54
mwhudsonfqdn00:54
bigjoolsmwhudson: from memory, if you don't have a domain on the name already it uses the cluster's name as the domain00:55
bigjoolsso if you have your cluster called example.com then you'll end up with node.example.com00:55
bigjoolsmaas creates dns zone called example.com and ensures the node's name is in it00:56
mwhudsonright, but where does the "node" bit come from?00:56
bigjoolsthe name of the node, either the auto-generated one or whatever you change it to00:56
bigjoolsacutally it's not a uuid any more, there was a change to give it a random 5-char name00:56
Dr{Who}Q. I am trying to limit the physical connections to my metal. I have 2 ports but using 1 is better. I have it setup as a vlan tagged port on my switches and I have configured the onboard nic to pxe using vlan 10. now it connects and downloads the startup image but at that point it fails because eth0 is not on a vlan. Can i tell maas to make sure to setup vlan on 10 during the next step?01:49
Dr{Who}also for some reason it keesp trying to iscsi up to the trusted side of my maas server not the other side. I have tried to figure out how to make that perm I have been editing the pxe config files by hand and it keeps reverting back or finding new places where that wrong ip is used.02:09
Dr{Who}also running dpkg-reconfigure maas does ask for the correct interface ip but it does not do anything. When I rebuild using 'maas-import-ephemerals' it uses the other ip.02:38
bigjoolswhich version of maas are you using?03:05
Dr{Who}it is ubuntu 12.04 LTS and what ever came with it.04:07
Dr{Who}im still a bit confused as to do I use LTS or do I run the latest stuff that just came out the other day in 13.what ever it was.04:07
Dr{Who}i understood the point of LTS is well it will be "supported" long term : )04:08
bigjoolsDr{Who}: the release in 13.04 is much superior04:08
bigjools12.04 is basically broken, there's a pending SRU which brings it up to the same code as quantal04:08
bigjoolsyou can use the stable PPA which has a more recent release, until the SRU is done04:09
Dr{Who}sounds like if I want to wait then 12.04 will be patched or I can use unstable I saw that someplace how to use that. Or I can just use 13.04. I vote 13.04 WAY too many problems and I am not doing production just testing anyway. Will 12.04 have all the latest stuff someday? because in production I like LTS04:10
Dr{Who}ok. Well anway I will try 13 out tomorrow. but I do hope all these goodies come to LTS soon.04:13
bigjoolsDr{Who}: 12.04 will get an improved version in the near future04:20
bigjoolswe're just promoting some components to main from universe to be able to complete it04:20
bigjoolsbut the version in the stable PPA is identical04:20
bigjoolsbut 13.04 would be ideal, yes04:20
=== kentb-out is now known as kentb
mgzallenap: how are manual uploads to maas file storage meant to work?16:57
racedoping roaksoax17:28
roaksoaxracedo: here17:29
racedohey roaksoax17:31
racedoquick one, how does maas know during enlisting about the IPMI IP17:32
racedoi don't know where to look at in an installation where the IPMI settings are not being picked up17:32
roaksoaxracedo: during enlistment maas runs a script that tries to detect ipmi user/password, IP17:35
roaksoaxracedo: in queries the BMC for it17:35
racedook17:35
roaksoaxracedo: so if the BMC might be returning 0.0.0.0 for ip address17:35
racedocan i do it manually to debug why it doesn't work17:35
roaksoaxracedo: /usr/share/maas/preseeds/enlist_preseed17:35
roaksoaxracedo: yeah you can17:36
roaksoaxracedo: first do this: https://lists.launchpad.net/maas-devel/msg00808.html17:36
roaksoaxso you can debug the epemeral image17:36
roaksoaxracedo: so during the enlistment process you can simply ssh into the image and prevent it from rebooting17:36
roaksoaxracedo: and then you could run the script17:36
roaksoaxracedo: unless you are thinking of something else?17:37
racedook, i was thinking about trying it from the maas node where the hardware is the same if possible17:37
roaksoaxracedo: unless you want to install ubuntu on the machine and run the script independently17:37
roaksoaxracedo: and you can too17:37
racedoyeah17:37
roaksoaxracedo: so /usr/share/maas/preseeds/enlist_userdata17:38
roaksoaxracedo: go to: add_bin "maas-ipmitool-autodetect" <<"END_MAAS_IPMITOOL_AUTODETECT"17:38
roaksoaxand copy/paste that section in a script and run it with sudo17:38
racedook17:38
roaksoaxracedo: what hardware is this?17:39
racedothis are the blade servers in the boston lab17:39
roaksoaxracedo: what's their IP addresses?17:40
roaksoaxracedo: hold on17:40
roaksoaxracedo: don't given them to me17:40
racedo:)17:40
AskUbuntuJuju and MAAS: ERROR No matching node is available | http://askubuntu.com/q/28922619:13
roaksoaxdho/win 919:41
=== bigjools_ is now known as bigjools
=== kentb is now known as kentb-out
TheChistosohello...23:45
TheChistosoi can't get maas to move a node from deployed to ready23:45
TheChistosothe machine looks like it's ready to go...23:46
TheChistosobut maas is showing the nodes as deployed only23:46
bigjoolswhat are you doing to try and move it?23:46
TheChistosothe  node is up and it said at the end that cloud init had completed23:46
TheChistosoi'm not doing anything23:46
bigjoolsso you enlisted it and then clicked "accept and commission" ?23:47
TheChistosoi thought that after it was done commissioning it would update the state itself23:47
TheChistosoyes -- and it completed all of that23:47
TheChistoso(on that note, though -- it wasn't fully automated -- I had to intervene to specify the file system partition layout)23:48
bigjoolsin commissioning it uses the same mechanism at the end of enlisting to signal to maas that it's done23:48
bigjoolsso this is odd23:48
bigjoolsdoes it work if you don't specify your custom partition?23:49
TheChistosoi didn't specify a custom partition23:49
TheChistosoi told it to use the guided partitioning scheme w/ lvm23:49
TheChistosonow the default is set to use precise -- i assume that's still okay23:50
bigjoolswhat happens on the node's console when it commissions?23:50
TheChistosoeverything appears to be fine during that phase23:51
MarlincShoudn't MAAS install Ubuntu on one of my hosts?23:51
TheChistosoMarlinc: yes23:51
MarlincBecause it did two reboots to add it to MAAS and one to set it up23:51
MarlincBut it didn't overwrite the previous install23:52
MarlincOr is there something I dont get right23:52
bigjoolsmaas only installs Ubuntu when something requests to use a node23:52
TheChistosoi've had a lot of problems w/ maas if you mess any of your configuration up. the only way i can get it to work cleanly is if i blow the entire thing away and start from scratch. it's a real pain...23:52
bigjoolswhich version of maas?23:53
bigjoolsthe one currently in precise is broken23:53
TheChistosowhichever the latest one shipping w/ raring is23:53
bigjoolsthat one is fine23:53
bigjoolsI am surprised you need to start from scratch, that was only necessary in precise23:54
MarlincSo how would I make MAAS install Ubuntu? Just to see if it works23:54
MarlincOr what would I need to do to see if it works23:54
bigjoolsMarlinc: bootstrap with juju is easiest23:54
TheChistosothere are lots of little gotchas and the documentation isn't coherent -- i've had to piece things together. e.g. generating an ssh key using RSA and a 2048-bit cipher and adding that to your account before commissioning...23:55
bigjoolsyou don't need to add an ssh key before commissioning23:55
TheChistosowell there is documentation out that that says you do...23:56
bigjoolsbefore deploying, yes, before commissioning no23:56
MarlincYou need to add your SSH key in the web interface23:56
MarlincThats the only place right?23:56
bigjoolsMarlinc: you don't need to do that if you use juju23:56
TheChistosominor feature request -- option for maas to generate a jujuu environments.yaml23:56
MarlincThat would be very nice lol23:56
bigjoolsTheChistoso: that will be available in the next release of juju23:57
bigjoolsit's not a maas problem23:57
TheChistosonot saying it is :D23:57
bigjoolsif you find problems, please file bugs23:57
bigjoolsotherwise nothing will get looked at23:57
bigjoolsand there's not always people around on here23:57
TheChistosoi understand (c: i write software for a living myself23:57
bigjoolswe're quite receptive to fixing problems23:58
TheChistososo where should i start looking for answers?23:58
bigjoolsbut the nature of this beast makes it hard to diagnose stuff23:58
bigjoolsanswers to what?23:58
TheChistosowhy my node isn't transitioning to ready23:58
bigjoolsI asked earlier what you see on the console23:59
TheChistosoi see a login prompt23:59

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