[00:17] is rebooting a zookeeper node on a maas installation supposed to work ? [00:18] i did it on 2 sepearate installations, and after a reboot, the agent-state of the zookeeper node is being kept on "not-started" state [00:18] thats more a #juju question, sorry! [00:18] SpamapS: ^ [00:18] zookeeper runs, but it s log does mention thing likes "xpiring session 0x139bcf841700004, timeout of 10000ms exceeded" [00:20] as long as the address doesn't change, you should be able to reboot node 0 [00:20] agents should poll/reconnect eventually [00:20] thanks. [00:21] roaksoax, around ? === torment is now known as Discharge === Discharge is now known as torment [00:31] jtv, https://code.launchpad.net/~smoser/maas/packaging.lp1049177/+merge/124083 [00:34] roaksoax, ^ for you too. === matsubara-afk is now known as matsubara [00:38] smoser: I'll look [00:43] smoser: do you need something to uninstall all that when the package is removed? [00:45] well ther ei sonly the one thing installed, and its will be removed just as any other file [00:45] the one thing ... /etc/apparmor.d/dhcpd.d [00:46] smoser: ok - I didn't know if it was automatically removed or not [00:46] smoser: can you do a packaging.precise merge as well please [00:46] yeah, its just a file. [00:47] ackaging.precise will depend on sru of the isc-dhcp fix also. [00:47] yeah [00:47] and i'd like to wait until this at least is baked a bit before uploading that. [00:47] yup [00:48] tomorrow i'll try to do a pakaging merge for precise though and just have the mp ready [00:49] cool [02:19] Thanks smoser! [02:23] hello jtv [02:23] Hi [02:30] bigjools: saw that email where DEFAULT_MAAS_URL turns out to tie into the UI somehow. Damnation. [02:30] jtv: yes - I asked diogo exactly how it breaks [02:30] damnation indeed [02:30] No idea where that happens. [02:30] back to the drawing board for you :) [02:31] bigjools, jtv: if I dpkg-reconfigure the package and choose 192.168.21.1 (the internal interface where pxe /provisioning runs) then the web server stops listening on 10.98.0.13 [02:31] Hi there matsubara [02:31] jtv, hey [02:32] hey matsubara [02:32] Hmmm... this sounds as if the connection between UI and the setting is made in the packaging somewhere. [02:32] that's a bizarre thing for the web server to do [02:32] sounds like packaging [02:32] Yup. [02:32] It should definitely be listening on both interfaces. [02:32] not sure why we need to tell apache where to listen, all interfaces seems more reasonable to me [02:32] Because it must service both you (the human) and the workers/nodes in the MAAS. [02:32] yeah [02:34] bigjools, jtv: when I run dpkg-reconfigure maas, it stops the apache server but doesn't restart it again [02:34] matsubara: haha! [02:35] That does kind of explain... [02:35] in any case it looks like a bug, reconfigure should restart apache, shouldn't it? [02:35] yes [02:35] not sure why it needs to restart it at all [02:36] it stops it for some reason :-) [02:36] if you restart it, does the UIU and everything else work? [02:36] UI* [02:37] I wonder where it stops apache... it seems to be only the postinst and such that mess with apache. [02:38] yes, restarting it seems to bring the UI back up [02:38] matsubara: there's a bug where reconfigure does not restart apache and I'll deal with that [02:39] \o/ [02:39] woo [02:39] * bigjools heads out to lunch [02:39] roaksoax: out of interest, where does it stop apache? I would have expected to see that in maas.config. [02:39] (Because I'm not a packaging expert) [02:40] jtv: we don't stop apache2 [02:40] jtv: maybe it is crashing for some reason? the restart stops and start the daemon agian [02:40] maybe that is it? [02:40] Ohhhh [02:40] jtv: no error logs? [02:40] apache2 error logs that is [02:40] Ask matsubara :) [02:40] matsubara: http://paste.ubuntu.com/1201757/ [02:40] matsubara: try that [02:41] I guess it's just a way to restart the wsgi processes..? [02:41] matsubara: can you, however, directly point me to bugs or issues you find with packaging otherwise I'll lots in bugmail [02:41] jtv: yes [02:42] jtv: so dpkg-reconfigure maas, change IP should restart apache2 to pick the new IP and things should be just fine [02:42] matsubara: ^^ [02:42] Wait... what new IP? [02:42] Apache should be listening on all interfaces. [02:42] MAAS must be aware of the new address, but not apache, right? [02:43] jtv: yes, it is for maas to pick up the new IP [02:43] and stuff [02:43] roaksoax, I'm looking at the apache logs. let me paste it for you [02:44] jtv: the dpkg-reconfigure maas sets a new ip in DEFAULT_MAAS_URL [02:44] s/in/for [02:44] roaksoax, https://pastebin.canonical.com/74380/ [02:45] matsubara: do you have a node deployed where I can test? [02:45] matsubara: err log in and test? [02:45] that's maybe upstream error [02:45] roaksoax, the maas server is running but there's no node deployed [02:46] matsubara: yeah can you tell me your steps to reproduce the issue you encountereD? [02:46] roaksoax, sudo dpkg-reconfigure maas [02:46] change the ip [02:46] the apache server is stopped but not restarted [02:47] feel free to log in the Lenovo lab [02:47] https://wiki.canonical.com/Launchpad/QA/MAASLenovoLab [02:47] matsubara: yeah that's a bug [02:48] matsubara: there's a restart_apache2 missing on dpkg-reconfigure [02:48] matsubara: http://paste.ubuntu.com/1201757/ [02:49] I see [02:50] matsubara: try now [02:50] is it a known bug? [02:50] matsubara: yes it is a known bug, I will fix it tomorrow [02:50] matsubara: i was concentrated on getting the releases support into maas [02:51] matsubara: pastebin /etc/maas/maas_local_settings.py after the dpkg-reconfigure [02:51] roaksoax, yes, now it restarted fine [02:52] matsubara: alright cool then [02:52] roaksoax, do you still need that pastebin? [02:52] bigjools: btw.. if you can take a look at https://code.launchpad.net/~andreserl/maas/add_ubuntu_releases_lp1013146/+merge/124092 and tell me how is it looking, it would be great [02:52] matsubara: nah! [02:53] cool. thanks [02:53] matsubara: i'm sure the above fix has fixed things [02:57] jtv: so can we ship our own maas-dhcp upstart job then? [02:57] roaksoax, fwiw, there are python bindings to distro-info [02:57] And hi smoser [02:57] roaksoax, yeah you can do that. [02:57] (i'm not really here) [02:57] That explains. [02:57] smoser: python-bindings as in import DistroINfo etc etc or similar? [02:58] right [02:58] roaksoax: I have a handy example of a modified upstart job if you want it. [02:58] smoser: ah cool, willk use that intstead then [02:58] jtv: sure, i wont merge it tonight though as I'm in zombie mode [02:58] but will do tomorrow [02:58] i'd like to get this fixed tomorrow [02:58] @#$% timezones [02:58] I'd be most grateful. Hang on, I'll paste my upstart script. [02:59] roaksoax, http://paste.ubuntu.com/1201799/ [02:59] thats a patch to cobbler that i used to use it there. [02:59] might just get you started [02:59] but its very simple [02:59] smoser: nice, thanks! [03:00] roaksoax: I named it maas-dhcp-server — http://paste.ubuntu.com/1201804/ [03:00] jtv: awesome, will merge it tomorrow and test [03:00] Thanks! We'll need to make corresponding changes to trunk as well, as we need to restart dhcpd. [03:01] jtv: you can go ahead and make then later in your day today, so that tomorrow morning I can make the ones in packaging [03:01] and we should be good [03:01] \o/ [03:01] Thanks again. [03:02] jtv, that looks reasonable. [03:02] did you see my note that we will need packaging of that? [03:02] as right now maas-dhcp just has 1 file [03:03] smoser: i'll take care of that tomorrow morning :) [03:03] smoser: If I'm thinking of the same note, then yes. But that was quite some time ago now, so maybe there's something I'm missing. [03:03] jtv, so how are you going to configure $INTERFACES ? [03:03] /etc/default/maas-dhcp-server [03:03] Which also needs packaging. [03:04] jtv, no, my merge proposal had comment about it. [03:04] Oh [03:04] so you cant really do that [03:04] Didn't see that. [03:04] Why not? [03:04] hm.. [03:04] so /etc/default/maas-dhcp-server is going to be a conf file [03:04] and if you edit it [03:04] and then the package upgrade [03:05] it will force a prompt [03:05] er... if the package'd file changes and there were local file changes. [03:05] smoser: we need to handle that automatically i'm afraid [03:05] Then... can we put it somewhere else? [03:05] roaksoax, right. so /etc/default/maas-dhcp-server is not the right place. [03:05] right. [03:05] /var/lib/maas/dhcp-interfaces? [03:05] for the things that you're configuring there, what i would suggest is some config not in /etc/ [03:05] smoser: i already have an idea of how to handle that automatically [03:05] that maas managers [03:06] but what you *could* do is have /etc/default/maas-dhcp invoke 'maas-shell get-my-dhcp-interfaces' [03:06] or somethign like that. [03:06] but having maas edit that file i think is not right. [03:07] That's getting a little roundabout, given that all we want here is to set a variable. [03:07] Why not just... [03:07] if [ -f /var/lib/maas/dhcp-interfaces ]; then [03:07] you can do that. but i'd not bother with 'dhcp-interfaces'. [03:07] INTERFACES=`cat /var/lib/maas/dhcp-interfaces` [03:07] etc? [03:08] but rather a shell sourceable file there. [03:08] and then you can set other things in it there also [03:08] rather than needing multiple settings potentially. [03:08] Well then we can do one better: just add a management command that prints out the interfaces. [03:08] thats what my suggestion above was [03:08] (/etc/default/maas-dhcp invoke 'maas-shell get-my-dhcp-interfaces') [03:08] Ah, then that'd be "maas" not "maas-shell," right? [03:08] sure. whatever it was. [03:08] or should be [03:09] but yes, ask maas what the value is [03:09] as it is the thing that knows [03:09] smoser: that's a cool idea [03:09] That's fine, yes. [03:09] anyway [03:09] bed time [03:09] good night. [03:10] nn [03:12] so why is apache only listening on the one interface? [03:13] it is not, MAAS has as DEFAULT_MAAS_URL the IP of one interface [03:13] as a best effort attempt [03:14] to automatically determine what interface to be used [03:14] ok [03:14] to be used by what? [03:14] s/interface/address [03:14] to be used by MAAS as DEFAULT_MAAS_URL [03:14] in packaging that is [03:14] I think we're confused about what it means [03:15] as far as the code is concerned, it's the internal-facing URL for the nodes to contact for API [03:15] bigjools: yep [03:15] bigjools: i know that :) [03:15] ok :) [03:16] so we need to prompt for it on installation [03:16] it only does it on reconfigure [03:16] or is that deliberate? [03:16] bigjools: that's deliberate. We cannot, should not prompt for it on installation [03:16] in any case it picks the wrong ip/interface in the qa lab [03:17] ok [03:17] bigjools: that's why we display a message saying that if it is the wroing address it should be changed [03:17] gotcha [03:17] it's coming back to me now [03:17] bigjools: if we always proimpt for it, it will break MAAS installation on the CD [03:17] s/on/from [03:18] yeah [03:19] alright [03:20] * roaksoax is off to bed [03:20] goognight all [03:21] nn === matsubara is now known as matsubara-afk [08:45] jelmer, mgz: https://plus.google.com/hangouts/_/6b0c81dbfeb8a772657f16370d380d1e26c9a4d3?authuser=0&hl=en-GB === dpb_ is now known as Guest14449 [12:32] roaksoax: not urgent today.. but can you explore using freeipmi-tools as a config option in maas upstream? [12:34] Daviey you mean instead of ipmitool? [12:37] roaksoax: right [13:09] hm, I can't make after updating trunk because buildout is timing out trying to get repl [13:11] where do I need to remove it from to skip over that? it's not in versions.cfg and removing from buildout.cfg didn't help [13:12] ah, need to edit the makefile [13:34] roaksoax, do you happen to know why maas uses 'python-twisted' as a dependency [13:34] doku was asking me if that was necessary, versus a more fine grained list of what it actually uses. [13:39] smoser pserv and txlongpoll need it [13:39] but they dont need the blanket package [13:40] they need specific things it depends on [13:40] smoser why is that is it still uninstallable? [13:41] are you asking whether or not it is uninstallable? or asking *why* it is [13:41] i think doku probably fixed it, or if not is on it [13:41] and it will be fixed [13:41] but specifying a meta package when you dont need it is just wasteful [13:41] (not a big deal, just we probably get things we dont need) [13:42] python-twisted is a met package? === hazmat is now known as 45PAA1GWO [13:55] smoser smoser: http://bazaar.launchpad.net/~maas-maintainers/maas/trunk/view/head:/required-packages/base === matsubara_ is now known as matsubara [13:57] roaksoax, http://paste.ubuntu.com/1202679/ [13:57] it sure looks as "mostly meta" [13:58] http://paste.ubuntu.com/1202680/ [13:58] roaksoax, its low priority [13:58] but doku asked me [13:58] as we wouldn't have seen the uninstallable if we didn't depend on that package :) [14:06] rvba, around ? [14:06] {{kernel_params(arch="amd64") | kernel_command}} [14:07] what does that do ? in the templates [14:07] is it "call kernel_params *or* use kernel_command ?) [14:07] " === wgrant_ is now known as wgrant === marcoceppi is now known as marcopollo [15:23] smoser: hold on [15:24] smoser: why was python-twisted uninstallable in the first place? [15:24] smoser: cuase the reason why maas was uninstallable in your case was becuase a dependecy was uninstallable, not becuase it depended on a meta-package [15:25] right. [15:25] you are correct, roaksoax . python-twisted should never have become uninstallable (that was a valid issue) and prevented maas from being installed. [15:25] but it just raised the question of "why were you depending on that meta package" rather than the specific packages you need [15:26] smoser: now, we need to find out what dependencies of python-twisted are needed by maas [15:26] allenap: ^^ [15:28] smoser: well upstream mentioned that as a dependes, maybe they just need python-twisted-core, or maybe just need the whole of python-twisted [15:29] smoser: as pserv runs a twisted daemon [15:31] * allenap looks [15:32] smoser, roaksoax: python-twisted-{core,web} is all I think for direct deps. [15:37] allenap: ok cool, i think we can update that then [15:38] Cool. [16:03] mgz: bzrlib.osutils.get_user_encoding() reports "ascii", but my args do seem to be encoded as utf-8. Would you happen to know if this is something my terminal has done, when I pasted in from charmap? Or a bug in get_user_encoding()? [16:04] it's based on your C locale setting [16:04] mgz: I'm tempted to use sys.getfilesystemencoding() but I'm not sure that's a good idea. [16:04] mgz: en_GB.UTF-8 [16:04] LC_ALL [16:06] okay, you probably are using bzrlib from a script but aren't calling `locale.setlocale(locale.LC_ALL, '')` [16:07] mgz: Ah ha, such are the runes needed. Thanks. === matsubara is now known as matsubara-lunch [16:34] anyone can tell me what can be generating this error in my node syslog? Sep 12 17:34:26 150.164.3.160 main-menu[582]: (process:2659): wget: server returned error: HTTP/1.1 500 Internal Server Error [16:34] Sep 12 17:34:26 150.164.3.160 main-menu[582]: WARNING **: Configuring 'network-preseed' failed with error code 1 [16:34] Sep 12 17:34:26 150.164.3.160 main-menu[582]: WARNING **: Menu item 'network-preseed' failed. [16:41] guimaluf: are you filing bugs about the issues you run into? [16:41] everyone: there's a really basic "what is maas" question on the openstack mailing list [16:42] I'd reply if I knew how to give a pithy answer. [16:43] mgz, no i'm not. I don't understand the cause of this issue. It happened out of nothing. :/ [16:45] guimaluf: if no one is around to answer on irc, it's good to follow up with either a bug report, or a message to the mailing list with more details [16:46] people are in different timezones, there's no guarentee someone who can answer your questions will be on at the same time as you [16:47] I know :/ [16:47] I'm trying to get information about my issue, but I dont know where to go :/ [16:51] so, hm, the launchpad MaaS page also suggests using askubuntu with the tag maas [16:51] but when you've got a bug, I'd just file against maas on launchpad === matsubara-lunch is now known as matsubara [18:06] mgz, I found out the issue. the char 'é' inside comments on maas.pressed :/ [19:49] what does it mean when "juju deploy" on a maas server ends up with the new machine kept in "pending state" ? [19:49] on a working install, as soon as i deploy something, i see a new machine id, with info about it [19:50] but here, on the real cloud i try to install, the machine is still in pending, and no new machine are set into "allocated to root" on the web page [20:22] melmoth, have you check the ssh-keys? in my case I'd give up to use maas + juju + openstack. [20:22] cause of this. all my servers kept in pending state. === 45PAA1GWO is now known as hazmat [20:22] yep, not the ssh key.. turned out zookeeper was having problem, did not investigate , we are on our way to a new bootstrap [20:25] melmoth, exactly! zookeeper problem! [20:29] anyone know how can I set up a smarter partition scheme when deploying a node? I've tried late-command, but isn't working. :/ [20:34] guimaluf, http://pastebin.com/gtxGJgt3 [20:35] this is a preseed i used on a 1 disk machine where i wanted to have a nova-volumes vg separate from the vg used by the system done at installation stage [20:36] i guess doing something similar in the preseed file used by maas should work (but you dont have to bother creating the nova-volumes vg, the nova-volumes charms takes care of it) [20:36] melmoth, partman can only handle with one disk. I want to make sd[b-z] also avaible [20:36] havent try with several disk, my main problem was that i had only 1 anyway :) [20:38] I had, and partman dont deal with more then one disk. also none of my recipes had been aplied [20:55] grumble same stuff again [21:05] ahhh, note for later: dont put 127.0.0.1 for the maas server in the juju environment.yaml :) [21:05] things seems better now === cinerama_ is now known as cinerama