/srv/irclogs.ubuntu.com/2012/06/20/#maas.txt

=== Aaton is now known as Aaton_off
burnbrighterbigjools: I saw you updated bug 992075 (this is kurt_ btw  - I finally registered a real nick)03:46
ubot5Launchpad bug 992075 in maas (Ubuntu) "Commissioning status persists with cloud-init 0.6.3-0ubuntu1" [Undecided,Confirmed] https://launchpad.net/bugs/99207503:46
bigjoolshi03:46
burnbrighterhi there03:46
burnbrighteryou say this is expected per bug 101522303:46
ubot5Launchpad bug 1015223 in cloud-init (Ubuntu) "cloud-init-nonet main process killed by TERM signal" [Low,Triaged] https://launchpad.net/bugs/101522303:46
burnbrighterhowever, the behavior I see after that message is the system (VM in my case) boots to local disk then thus bypassing PXE boot03:47
burnbrighter(after the timeout period)03:47
burnbrighterthis has been a real problem with my set up03:48
burnbrighterand yes, the clocks have been checked in my particular case03:51
bigjoolspxe booting is before that message so it can't be bypassing it03:54
burnbrighterI'll try again.  I found a debug option to turn on in maas_local_settings.py04:04
burnbrighterHow does this happen...04:09
burnbrighter  File "/usr/lib/python2.7/dist-packages/maasserver/api.py", line 420, in create_node04:09
burnbrighter    raise ValidationError(form.errors)04:09
burnbrighterValidationError: {u'mac_addresses': [u'Mac address 00:0c:29:91:61:a8 already in use.']}04:09
=== vibhav is now known as Guest81049
bigjoolsburnbrighter: you're adding a new node and its mac address is already defined for another05:10
burnbrighterbigjools: thanks.  It was an old error message.06:36
burnbrighterbigjools: how goes the cobbler replacement stuff?06:37
bigjoolsit goes :)06:37
bigjoolsa little tricky but getting there06:38
burnbrightergood stuff.06:39
burnbrighterthat bug about ubuntu and WOL on HP servers - could that apply to other types as well, or only observed on that particular model?06:40
bigjoolsno idea06:42
bigjoolsI expect it'd be news if so06:43
burnbrighterkk06:57
=== Guest81049 is now known as vibhav
rvbafrankban: Hey Francesco, I've got a review for you if you're available: https://code.launchpad.net/~rvb/maas/pxe-off-preseed/+merge/11122513:44
frankbansure rvba, on it13:47
rvbata13:47
rvbafrankban: please add allenap as a second reviewer when you'll be done with it.13:47
frankbanrvba: ok13:48
cheez0rhey maas guys, I know that Cobbler is deprecated, but I'm trying to access the web interface from a MaaS node- but the http://<host>/cobbler path just gives me a list of files, not the Cobbler WebUI.14:29
cheez0rAny tips on what path I can use to access the Cobbler WebUI and/or how I can enable the web interface for Cobbler from the MaaS-installed version?14:29
cheez0rapt-get install cobbler-web fails due to broken packages14:30
roaksoaxrvba: so I';m just about to sent a diff to debian for the yui packaging changes14:45
roaksoaxrvba: if it gets accepted, I'll upload a yui3.5 source package that contains the change in installation method14:45
roaksoaxDaviey: smoser ^^ just FYI.. this is what's blocking me from getting a maas package ready14:46
rvbaroaksoax: cool.  Do you know how long it could take to be rejected/accepted?  I suppose you can't know that in advance but based on previous experience maybe you have an estimate.14:47
roaksoaxrvba: so I'm just submitting a debdiff for them to review. If they accept is up to the maintainer to upload the package. once they do, I'll manually sync it over Ubuntu (yui2.8). This should be days14:48
czajkowskirvba: allenap jtv you each have a mail from me :)14:48
roaksoaxrvba: so I'm just submitting a debdiff for them to review. If they accept is up to the maintainer to upload the package. once they do, I'll manually sync it over Ubuntu (yui2.8). This should be daysom debian14:48
roaksoaxthis should be a day or so14:49
rvbaAll right.14:49
roaksoaxrvba: now, to get yui3.5 would bempretty simple with the new install directories in ubuntu14:49
Davieyroaksoax: ok, if it doesn't get accepted by Monday, we'll carry a diff.. if it's not making progress. deal?14:49
roaksoaxDaviey: ok, so this is what I would do. If they don't accept the changes, I'll update yui to 3.5 and start carrying a diff (for which we would have a yui source package instead of yui3.5 source package)14:50
roaksoaxDaviey: my plan was to first make them accept changes in tt 'yui' source package, so then we can upload a 'yui3.5' source package, that won't have conflicting installation paths14:51
roaksoaxrvba: ^^14:51
rvbaczajkowski: I'm not sure round robin is an appropriate method here.  Some questions will require knowledge that only some of us have.14:55
Davieyroaksoax: that sounds like a winner14:56
rvbaroaksoax: sounds good to me too.14:56
rvbaroaksoax: btw, do you need me to fix up the usage of raphaeljs now or can it wait ~1 week?14:57
roaksoaxrvba: it can wait... either way it is a tiny js lib14:57
czajkowskirvba: right but also posting to the list isnt ideal either so if yours does suit, then tell me and I'll find someone else but the questions do need to be answered.14:57
roaksoaxrvba: I'll, however, upload a new librapahel to archives14:58
roaksoaxrvba: so is ready to use when you do so14:58
rvbaroaksoax: cool.14:58
roaksoaxrvba: oh btw.. now yui source shipts a build/* and a api/* dir. I';m installing build under /usr/share/javascripts/yui/<ver>/ and api inside that dir, makes sense?14:59
czajkowskirvba: trying to be fair, I had 3 questions, so you each got one.14:59
czajkowskiI've spoken to mrevell about this and agreed it there as we are trying to support the users and questions14:59
rvbaczajkowski: I completely agree that we should make an effort to answer questions.  I'm just not sure the round robin method is appropriate.15:00
czajkowskiwell posting to the list means it goes into the unknown15:01
czajkowskiand there is no accountabilty for when it will be answered and by whom15:01
rvbaczajkowski: I'll have a look at "mine" though.  At first glance it just looks like something for the packaging guys.  but I guess this will be true for most of the questions ;).15:01
czajkowskirvba: ok, what are would you prefer ?15:02
rvbaroaksoax: you mean that the 'api' directory will end up in /usr/share/javascripts/yui/<ver>/api ?15:02
roaksoaxrvba: yes15:02
rvbaroaksoax: sounds good to me.15:02
rvbaczajkowski: I think we (the red squad and the server team) should commit to answering to one question every day.  But we should pick the questions.  For instance, for "my" question, I'll have to poke someone from the server team.15:04
roaksoaxrvba: cool then15:04
rvbaczajkowski: note that appreciate the fact that you're trying to get the questions answered.  We should probably help more with that … and I agree we probably need to be "pushed" a little ;).15:09
rvbafrankban: time for another review? https://code.launchpad.net/~rvb/maas/use-reverse/+merge/11124015:10
czajkowskirvba: fair enoughm you can find someone to answer it, but at present it's been sitting there15:11
frankbansure rvba15:11
rvbata15:11
czajkowskiI spoke to Daviey and said I'd ask as a filter to spread the questions to people15:11
rvbaczajkowski: I guess my whole point is that round robin is probably not the appropriate filter then.  Even if it's a filter, I give you that :).  Deployment questions involving images, boot sequence etc can be better handled by the server team.  Questions related to how to do manual stuff with nodes, how to customize things (other than images & stuff) are best for the red squad.15:14
rvbaczajkowski: does that make sense?15:15
czajkowskirvba: right, but again, if you can't answer it, ask someone else to answer, it. At present all the questions are not being answered or are falling to one person.15:16
czajkowskirvba: I can roughly work out which one goes to a person, but am trying to be fair here as well so one person doesnt get all the easy ones and not one person gets lumped with them all either.15:16
rvbaczajkowski: fair enough.15:17
cheez0rDaviey: are you around?15:48
Davieycheez0r: today, i am mostly asquare.. but at least i am here.15:48
cheez0rCool- mind if I PM you for a sec?15:48
Davieyrvba / czajkowski : I entirely agree that having a single marshal is better than 'best effort'.. Round-robin until czajkowski fully appreciates where best to push particulars, makes most sense.15:49
Daviey... really, just having someone on the hook to make sure the issues is resolved is key.15:49
Davieycheez0r: sure15:49
Davieysmoser / roaksoax: would you be able to help out cheez0r?16:00
cheez0rThey've been providing assistance on occasion so far16:01
DavieyHe has dual nic in the bootstrap node..16:01
DavieySounds like zookeeper isn't coming up16:01
Daviey... and no ssh key sent to the node... could be contacting metadata service issue16:01
cheez0rI'm actually about to go through decommissioning and recommissioning all of my nodes except the MaaS node16:01
cheez0rlet me work through that and then try a fresh juju bootstrap and see where we get16:01
Davieysuper16:01
cheez0rI'll also do the SSH key workaround- I published it to http://askubuntu.com/questions/147714/invalid-ssh-key-error-in-juju-when-using-it-with-maas16:02
smosercheez0r, after you've insalled a node, and can ssh into it, then i'd like to see what we can figure out16:05
smoseri'm fairly certain that the node is not seeing the metadata service16:05
Davieyugh16:06
DavieyI agree with smoser.16:06
cheez0rwell part of my issue today is time; I've only got about an hour and a half before I have to take off.16:07
cheez0ranyhow let me get started rebuilding the MaaS, back in a bit.16:08
cheez0rOkay, all of the nodes are in the process of commissioning. Here's an overview of my current environment: MaaS Node is dual-homed, eth0 is dom0 network, 192.168.1.1/24, eth1 is public, IP masquerade is configured for outbound connections from dom0 network, maas-dhcp is installed and both it and the maas package have been dpkg-reconfigured.16:23
cheez0rSteps done so far: 11 nodes added to MaaS WebUI GUI and rebooted. User has SSH public key populated in both ~/.ssh/id_rsa.pub and the MaaS WebUI.16:24
cheez0rUnusual configuration aspects: IP masquerade; dnsmasq is configured for static IP mappings for all 11 nodes, and /etc/hosts on MaaS node has entries for static IP address to hostname mapping for all 11 nodes that match their DNS Name in Cobbler/MaaS.16:26
cheez0rOne more note: This is HP BladeServer hardware that doesn't support WOL very well, so I've been manually booting the nodes.16:27
cheez0rAll 11 nodes are done with commissioning and are now off.16:29
smosercheez0r, the nodes got through the commissioning without issue or help?16:38
cheez0rthey're all in Status: Ready right now.16:39
cheez0rMy next step would be to juju bootstrap and then manually power on the node it picks to host the juju system.16:39
cheez0r(and yes, got through commissioning with nothing other than adding them to MaaS and power-cycling the box.)16:40
Davieyso.. that suggests MD is working.16:42
cheez0rshould I proceed?16:42
Davieyyeah16:42
cheez0rbootstrap completed, I see the node allocated in MaaS.16:42
Davieysmoser: ^16:42
Davieyso, lets see how the install goes.16:43
cheez0rserver is now powering up; takes 5-8 minutes, damn HP hardware16:43
Davieyheh16:44
smoserbootstrap completed.16:45
smosermeaning juju says so?16:45
cheez0ryes.16:45
cheez0rmeaning juju can contact maas and allocate a node.16:46
cheez0rso now once the machine is booted up, I should be able to run juju status and get a status response from juju.16:46
cheez0rIt just started the PXE boot.16:46
cheez0rokay, the machine is now booted to a login screen.16:57
cheez0rran juju -vvv status; accepted the SSH key warning, and now the server is refusing to accept the client.16:57
cheez0roh, wait.16:57
cheez0rit actually worked!16:57
cheez0rSWEET!16:57
cheez0rso now I've deployed mysql and just booted the node maas picked for it.17:00
Daviey\o/17:01
cheez0rDaviey: it was your hostname questions that pointed me in the right direction17:01
cheez0rthe hostname of the MaaS node was resolving to the public IP.17:02
burnbrighterWhen api keys are correctly installed in environments.yaml, and you run in to:17:02
burnbrighterBootstrap aborted because file storage is not writable: The supplied storage credentials were not accepted by the server17:02
cheez0rI fixed that and it seems to have fixed my SSH key propagation issue.17:02
burnbrighterany ideas?17:02
Davieycheez0r: thought it might be something like that17:02
Davieysuper17:02
cheez0rand on that note I'm out of time for today; we'll have to pick up tomorrow sometime. Thanks for the help Daviey and smoser!17:05
Davieycheez0r: speak soon!17:08
burnbrightercheez0r: I'm looking at your solution here: http://askubuntu.com/questions/147714/invalid-ssh-key-error-in-juju-when-using-it-with-maas18:39
burnbrighterwhat needs to be done after the maas.preseed is updated?18:40
=== Aaton_off is now known as Aaton
cheez0rburnbrighter: re-commission the nodes and boot them.23:33
cheez0rWhen they come up, the ssh key should work.23:33
cheez0rerr, the password should work.23:33
cheez0ralso read the note below the answer- the cause of my lack of SSH key propagation seems to have been a hostname issue with the MaaS node.23:34

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