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

Dr{Who}found it :( ok is this in the pg database or what?00:00
bigjoolsthere's a whole page of network settings in ther00:00
mwhudsonyeah, i'll be in pg00:00
Dr{Who}i sooooo prefer a file I can edit.00:00
mwhudson*it'll00:00
bigjoolsthe web page has validation so you don't do something stupid00:02
Dr{Who}k. I found the bad ip chnaged it but its still off. rebooting00:04
Dr{Who}ya sorry i had been playing with 12.04 maas and it had 0 ui fields so I didnt even think to dig :(00:04
Dr{Who}nope still wrong :(00:05
bigjoolsit's supposed to be a url to the settings page00:09
bigjoolsthere's some django magic going on, so.... sigh00:09
mwhudsondjango usually gets the host for urls it generates from the http host header00:10
mwhudsoni think?00:10
bigjoolsDr{Who}: it's coming from DEFAULT_MAAS_URL in the settings00:12
bigjoolsI thought dpkg-reconfigure sorted that out00:12
MarlincHow do I setup virsh on MAAS? What do I need to add to the power management settings. What would driver, address, username and power id be?00:13
bigjoolsdriver = qemu:// address = qemu host, username is the qemu user, power id is the host name00:14
MarlincCan I use qemu+ssh:// too as driver?00:16
Marlincas driver too*00:16
bigjoolsyes00:16
MarlincIf I use qemu+ssh what ssh private key would be used?00:17
MarlincWhat use connects to qemu and stuff00:17
bigjoolslook in the power template, you might need a custom one00:18
MarlincHow do you mean bigjools ?00:22
bigjoolspower is all done in the template scripts, if you want to set up an ssh key I expect you'll need to edit the template00:22
bigjoolsvery little testing was done for virsh, it was a developer tool00:23
bigjoolsso it kinda works00:23
bigjoolsbut nothing guaranteed00:23
MarlincWhat would be the way that works out of the box the easiest you think?00:24
bigjoolsthe testing was done with qemu running locally, so assume that works00:25
MarlincAh.. I'm running a separate machine00:25
bigjoolsthen you might be able to set up remote qemu access00:27
MarlincI'm search for that right now00:28
roaksoaxmwhudson: here.. but just for a few00:36
roaksoaxbigjools: howdy!00:36
roaksoaxbigjools: are you feeling ok for a couple reviews?00:36
mwhudsonroaksoax: bigjools dobbed you in as the person to talk to about deploying disk images with maas00:36
bigjoolsroaksoax: hey00:36
mwhudson(as opposed to running d-i)00:36
bigjoolsroaksoax: looking at one of yours right now :)00:36
bigjoolshe's talking about FPI00:37
roaksoaxbigjools: cool! the other one is trunk-fpi.. take a look if that pleases your eyes bette,r and if it does I'll add the tests00:37
roaksoaxmwhudson: yeah, so give me a sec00:37
roaksoaxbigjools: so I stripped out the xinstall stuff from here, and should be clean enough to go in: https://code.launchpad.net/~andreserl/maas/trunk-fpi/+merge/15203900:40
roaksoaxbigjools: note that I didn't add a preseed because it is basically a shell script00:40
bigjoolsroaksoax: ok will look in 500:40
roaksoaxbigjools: and we have instructions to get it enabled00:41
roaksoaxbigjools: and no worries, take your time00:41
roaksoaxi'm off for tonight so won't look at it till tomorrow00:41
bigjoolsroaksoax: get it enabled?00:41
roaksoaxbigjools: i mean since we are not shipping the xinstall stuff and a preseed in the MP, we need the instructions to install using FPI00:42
bigjoolsok00:42
Dr{Who}bigjools: is "settings" a text config file or a database table? i have looked at all the files in /etc/maas and that address does not exist.00:44
bigjoolsDr{Who}: it's a Django text config file00:45
roaksoaxbigjools: ok i'll probably be on and off but if you need anything I'll probably be around to take care of things00:45
bigjoolsroaksoax: ok00:45
roaksoaxbigjools: thanks :)00:45
roaksoaxmwhudson: so that's all that you should need00:45
bigjoolsDr{Who}: dpkg-reconfigure maas-region-controller should update this setting, no?00:47
Dr{Who}nope.. did it 10 times00:48
bigjoolsroaksoax: ^ ?00:48
Dr{Who}that fixed most issues but this one url is still wrong on that page.00:48
bigjoolsgrep for DEFAULT_MAAS_URL00:48
Dr{Who}i grepped the entire disk for that. found a few but fixed and rebooted still the same.00:49
mwhudsonroaksoax: 'that' as in https://code.launchpad.net/~andreserl/maas/trunk-fpi/+merge/152039 ?00:50
mwhudsonah, i see what you mean00:51
roaksoaxmwhudson: yeah wjats in the link + maas in raring00:51
roaksoaxcontains whats in that branch00:52
mwhudsonok00:52
mwhudsonerr, hang on00:52
mwhudsonapt-get install maas in raring has this fpi stuff?00:52
roaksoaxDr{Who}: what url is wtong where00:53
roaksoaxmwhudson: correct.. but you need to enable it by using the info on the link00:53
mwhudsonok00:53
Dr{Who}ok the settings page. Some cluster controllers are missing boot images. Either the import task has not been initiated (for each cluster, the task must be initiated by hand the first time), or the import task failed.00:53
bigjoolsroaksoax: it's one that gets generated via DEFAULT_MAAS_URL00:53
mwhudsonroaksoax: i'm running on precise unf00:53
bigjoolshe changed his machines IP and is now saying the URL is wrong00:53
Dr{Who}the url on that line should take me to the page to click and start the download of isos.00:53
mwhudsoni guess i can work on that00:53
Dr{Who}but it goes to the wrong ip.00:53
Dr{Who}I greeped the entire disk for 10.10.0.3 and only place it shows up is00:54
Dr{Who}Binary file /var/lib/postgresql/9.1/main/base/16385/17041 matches00:54
Dr{Who}Binary file /var/lib/postgresql/9.1/main/pg_xlog/000000010000000000000001 matches00:54
bigjoolsroaksoax: I thought dpkg-reconfigure changed DEFAULT_MASS_URL00:54
roaksoaxmwhudson: we havent backport the fpi00:54
roaksoaxbigjools: it should00:54
bigjoolsDr{Who}: don't grep for the IP grep for DEFAULT_MAAS_URL00:54
bigjoolsroaksoax: he's saying it's not working00:55
Dr{Who}that shows up all over but every result shows the correct ip 10.10.0.21000:55
Dr{Who}although some pyc files have it00:56
Dr{Who}and they are bin's00:56
roaksoaxill take a look when i get back since im on my way out00:56
roaksoaxDr{Who}: restart apache200:56
Dr{Who}ya rebooted 10 times too :(00:56
* mwhudson lunches00:56
roaksoaxif not pastebin logs and maas settings file and maas_cluster file00:56
Dr{Who}k.00:57
Dr{Who}what logs would help? i have maas_local_settings.py and maas_cluster.conf01:00
bigjoolsDr{Who}: I think he meant the logs under /var/log/maas01:04
* bigjools heads to lunch01:05
Dr{Who}http://pastebin.com/HXup5XPQ01:25
Dr{Who}http://pastebin.com/eUyXySSB updated this one has logs01:30
Dr{Who}because this button on the page for importing images does not seem to work I am running manually for now 'maas-import-pxe-files' hope that is the right command.01:33
bigjoolsDr{Who}: what makes you think the button doesn't work?01:35
MarlincIt now works bigjools :')01:36
MarlincUsing this as 'address'  qemu+ssh://maas-qemu@192.168.1.21:2001/system?keyfile=/etc/maas/id_rsa01:37
bigjoolsgreat01:37
MarlincThanks for the template tip because of that tip I was able to figure this out01:40
MarlincLets hope it wont break :P01:40
Dr{Who}bigjools: hmm will i pushed it and did not see any processes that looked like they were downloading.01:54
Dr{Who}and I saw no network traffic.01:54
bigjoolsDr{Who}: check in the celery.log to see if the job was received on the cluster01:54
Dr{Who}tcpdump is my friend.01:54
bigjoolsit should start a long running wget01:54
Dr{Who}i am running in from console but did just push the button wail tailing the /var/log/cleery-region.log and nothing showed up01:55
mwhudsonroaksoax: have you thought about the fun fun fun combination of fpi and ARM at all?01:56
Dr{Who}well something is disconnected. The import finished but I still see the warning about needing to do it by hand.02:03
bigjoolsDr{Who}: I am wondering if your cluster is configured to talk to the right region02:06
bigjoolssince you changed the IP and all02:06
Dr{Who}define region? again I only have 1 system "but" I am trying to make this MAAS box multihomed trusted IP is on a 10.10 MAAS pxe network is 172.1602:21
bigjoolsthe region controller, ie the api/web02:22
bigjoolsand db02:22
bigjoolsclusters can run on the same box but they are logically separate02:22
bigjoolsif you changed the DEFAULT_MAAS_URL it's likely to have broken the cluster02:22
bigjoolsso try reconfiguring it02:23
* bigjools has to go02:23
Dr{Who}what is the dhcp daemon name I should see in process list used by maas on 13.0402:42
ehwhey, guys, how do I de-allocate a node in the maas gui?  I just hit "start node", and now it seems to be permanently 'allocated to root'10:06
rbasakehw: have you hit bug 997092 perhaps? Also look at the duplicates which have different explanations that might help.10:32
ubot5bug 997092 in MAAS "Can't delete allocated node even if owned by self" [High,Triaged] https://launchpad.net/bugs/99709210:32
rbasakbug 1061869 in particular10:33
ubot5bug 997092 in MAAS "duplicate for #1061869 Can't delete allocated node even if owned by self" [High,Triaged] https://launchpad.net/bugs/99709210:33
bigjoolsyou have to use maas-cli10:33
ehwrbasak: looks like it; thanks10:34
rbasakbigjools: any chance of someone who knows how to do it documenting the exact workaround steps in the bug, please? It's a bit of a trap for someone experimenting with MAAS for the first time. It's not particularly useful but the button is quite enticing and looks like it should be pressed.10:39
bigjoolsrbasak: the missing thing is a "stop" button10:39
rbasakbigjools: yes, but I presume that writing a paragraph in the bug is easier than adding a "stop" button? :)10:39
bigjoolsrbasak: marginally :)10:40
=== kentb-afk is now known as kentb
roaksoaxehw: you have to do it from the CLI or maas shell14:13
ehwroaksoax: thanks, I feel betrayed by that big, candy-like "Start Node" button :-(14:17
roaksoaxehw: heh i feel the same thing :)14:17
roaksoaxehw: so if you do it from maas shell14:18
roaksoaxfrom maasserver.models import Node14:18
roaksoaxnode = Node.objects.get(hostname='XYZ')14:18
roaksoaxnode.release()14:18
roaksoaxthat should do it14:18
ehwroaksoax: ok; that will de-allocate or delete from MAAS?14:19
roaksoaxehw: de-allocate14:19
rbasakroaksoax: thanks - I'll add that to the bug14:22
roaksoax:)14:23
ehwroaksoax: worked a treat, thanks o/15:08
roaksoaxehw: \o/!15:08
AskUbuntuHow do I enable tftp on the second nic on the maas controller in 13.04? | http://askubuntu.com/q/28981616:09
AskUbuntuCan I use Juju/MAAS on VPSes? | http://askubuntu.com/q/29012216:09
Dr{Who}going to start all over. this time only one network interface then once its working I will add my trusted network interface see if that works.17:46
roaksoaxDr{Who}: ok so you are using single node maas? or multinode maas?18:22
Dr{Who}I want a multihomed maas box one interface my local office network the other the pxe boot dhcp etc network.18:30
Dr{Who}but that may be just too complex to start with. so I am going to just do it all with 1 interface and add a virtual router to access the maas box.18:30
roaksoaxok18:37
Dr{Who}just finished the fresh install of maas on 13.04 going to see what is next in the install process. Afaik I need to now install dhcp and dns. Yesterday on the last try I could not even find pxe daemon running so at that point I was done with that try18:38
roaksoaxDr{Who}: so you installed sudo apt-get install maas ? then maas-import-pxe-files ?18:46
roaksoaxDr{Who}: have you installed maas-dhcp too?18:46
Dr{Who}1. i installed from cd then added maas-dns and maas-dhcp although I think dns was missing? i forget. then import pxe18:46
Dr{Who}usually when I will build a recipe to reproduce a build process in my wiki. But.. i have yet to have a solid build so I have only done some sparce notes on the steps.18:47
roaksoaxDr{Who}: the install from the cD does not install maas-dns nor maas-dhcp IIRC18:48
roaksoaxDr{Who}: so basically: 1. sudo apt-get install maas maas-dhcp maas-dns18:48
roaksoax2. sudo maas-import-pxe-files18:49
roaksoax3. Configure DNS/DHCP on the WebUI or on the CLI18:49
roaksoaxthe Tftp server listens to all interfaces18:49
Dr{Who}cool. will do just that. Just finishing up on the firwall/router setup.18:49
Dr{Who}iptables rules fun.. yay!18:50
Dr{Who}roaksoax: why would i do apt-get install maas? isnt that installed when I use 13.04 cd and install MAAS?19:41
roaksoaxDr{Who}: yeah19:42
Dr{Who}ok first i did apt-get update then install maas-dhcp and maas-dns. shoudl I reboot or continue presuming everything is now running? This run I am building my full procedure so everything will be recorded even a reboot.19:47
Dr{Who}afaik sudo maas createsuperuser needs to be run19:47
roaksoaxDr{Who}: yeah you need to run that too19:48
roaksoaxso install maas-dns, maas-dhcp19:48
roaksoaxthen maas createsuperuser19:48
Dr{Who}any reason not to stick with root? i have been changing it from the default.19:48
roaksoaxthen maas-import-pxe-files19:48
roaksoaxDr{Who}: stick with root what?19:49
Dr{Who}createsuperuser19:49
roaksoaxyou can create the user you want19:49
roaksoaxso if you wanna call it roo,t you can call it root19:50
Dr{Who}ok cool.19:50
roaksoaxthat's the maas user only sois different from system users19:50
roaksoaxok so once you've done all of the above19:50
roaksoaxgo to the WebUI19:50
roaksoaxthen clic on the settings Icon19:50
Dr{Who}importing now.19:50
roaksoaxUnder "Cluster Controller"19:51
roaksoaxthere would be something like "Cluster 931660ae-6624-46a7-a977-b2f9b04bb2bf"19:51
roaksoaxand clic on the icon to edit the cluster19:51
roaksoaxthen edit DNS zone name with the name you want to use, change the default 'master' to other thing19:52
roaksoaxthen edit any "Unmanaged" interface19:52
roaksoaxwhere is the place where you can configure to manage DNS/DHCP19:52
roaksoaxand that should be all you need19:52
Dr{Who}yep. saw that. when should I create and upload my ssl keys?19:53
roaksoaxDr{Who}: ssh keys under the user>preferences add a new SSH Key19:53
Dr{Who}ya just not sure when its really needed I have been doing it early on.19:53
roaksoaxDr{Who}: you wont be able to deploy machines until you add the SSH key19:55
roaksoaxso anytime before deploying is fine19:55
Dr{Who}ok so system starts up gets the boot image downloaded then it seems to get stuck connecting back to iscsi21:39
=== kentb is now known as kentb-out
Dr{Who}I am getting an arp from it so its alive and on the same network segment.21:51
Dr{Who}http://imgur.com/50Bwz1S thats as far as it gets. Maybe a problem with the kernel and this hardware?22:08
Dr{Who}its an HP-DL360g522:10
Dr{Who}looks like it may be a vlan problem with my switch.. ok just for future. is it possible to have this stage of the install use vlan tagging or setup the interfaces to use vlans?23:12

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