/srv/irclogs.ubuntu.com/2013/11/25/#maas.txt

=== CyberJacob is now known as CyberJacob|Away
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
jammwhudson: poke, what channels do you usually sit in so I know where to find you?07:03
lifelessjam: #dunedintech? :)07:34
=== freeflying is now known as freeflying_away
rvbaTiny branch up for review https://code.launchpad.net/~rvb/maas-test/ppa-rename/+merge/19650109:28
jtvI'll take it.09:30
rvbaThanks jtv.09:30
=== freeflying_away is now known as freeflying
jtvLooks like we need to stop dhclient before we can grab the bootp port and discover DHCP servers.09:58
jtvRight now we don't specify the IP address we want to bind on yet, and doing so might soften the blow a bit.10:03
bigjoolsjtv: dhclient should not be running on a maas cluster controller anyway10:05
bigjoolsit needs to have a static ip10:05
jtvThe problem is that we wanted to do this early on, before firing up a cluster controller...  I suppose we could do it after firing up the VM.10:06
jtvAnd inside the VM.10:06
jtvThen we can bind to the bridged interface, and probe from there.10:07
bigjoolsrvba: can I add a parameter in NodeGroupInterfaceHandler.update() that's not presented in DISPLAYED_NODEGROUPINTERFACE_FIELDS ?10:07
rvbabigjools: yes you can :)10:08
bigjoolsrvba: my first test has the field getting completely ignored10:08
rvbabigjools: weird, it should work all right.10:08
rvbabigjools: did you, by any chance, mark your field non editable?10:09
bigjoolsrvba: I did10:09
rvbaThat's the problem then.10:09
bigjoolsdoes that preclude its use from forms?10:09
rvbaYes10:09
bigjoolscrap10:09
bigjoolsok10:09
jtvrvba: this MP may make you feel a little better... https://code.launchpad.net/~jtv/maas-test/maas-enums/+merge/19650810:24
bigjoolsrvba: so having corrected that I can see the right data in the form, which validates, but form.save() doesn't, ummm, save it...10:25
rvbajtv: nice!  Thanks for doing that.10:26
jtvMay it brighten your days a little bit.  :-)10:27
rvbabigjools: did you add the field to the list of fields in odeGroupInterfaceForm.Meta?10:28
rvbaNodeGroupInterfaceForm.Meta*10:28
rvbajtv: thanks for that ;)10:28
jtvMy pleasure.  Seriously.10:28
rvbabigjools: if the answer to that question is "yes", I'll need to see your code :).10:29
bigjoolsrvba: urgh :)10:29
=== CyberJacob|Away is now known as CyberJacob
bigjoolsso many things to change10:29
rvbaJust the model and the form.10:30
bigjoolsmy sarcasm was too subtle :)10:30
rvbaYep, went way over my head :).10:32
jtv"That joke went right under my feet..."10:38
jtvMore hnyargh: netifaces is not available in python 3?10:38
bigjoolsjtv: hence the code ...10:43
jtvBut we're using netifaces elsewhere, aren't we?10:43
bigjoolsI wasn't aware at the time10:55
rvbaAnyone up for a really tiny review? https://code.launchpad.net/~rvb/maas-test/add-virtualenv/+merge/19652411:37
rvbarbasak: btw (I know you're busy right now, so I'm happy if you give me a reply later), I tried installing uvtool on precise from https://launchpad.net/~uvtool-dev/+archive/trunk and I get http://paste.ubuntu.com/6473492/ (this is on a canonistack instance).  Is there another PPA I should add for uvtool to be installable?12:07
rbasakrvba: you need the cloud-tools pocket. "sudo add-apt-repository cloud-archive:tools". More at: https://wiki.ubuntu.com/ServerTeam/CloudToolsArchive12:09
rbasakrvba: I've added this to the uvtool PPA description. Thanks!12:10
jamrvba: I had a question about the "agent_name" stuff that was put together. Do you know (a) can you manually set it via maascli during acquire and (b) what version of MaaS was it released in ?12:55
jamthe bug https://bugs.launchpad.net/maas/+bug/1239488 seems to indicate it was fixed in "saucy"13:00
ubot5Ubuntu bug 1239488 in maas (Ubuntu) "[SRU] Juju api client cannot distinguish between environments" [High,Triaged]13:00
rvbajam: Hi… a) yes, that's what juju does, it simply passes 'agent_name' as a parameter to 'acquire'. b) it was committed in revision 171013:00
jambut the revno in cloud-tools archive looks to be bzr1639 which is older than 1706.2.1 that is where you landed it13:01
rvbaYeah, something seems wrong here.13:01
rvbajam: I suspect the fix was put in the packaging, as a patch.13:02
rvbajam: yeah, that's what https://bugs.launchpad.net/maas/+bug/1239488/comments/10 says.13:03
ubot5Ubuntu bug 1239488 in maas (Ubuntu) "[SRU] Juju api client cannot distinguish between environments" [High,Triaged]13:03
jamrvba: yeah, apt-get source gives me content that has agent_name13:04
natefinchrvba: I'm trying to set up virtual maas on  node in garage-maas, using this script: http://bazaar.launchpad.net/~virtual-maasers/charms/precise/virtual-maas/trunk/view/head:/README-nojuju.txt  however, calling ./register-node maaslocal   says that maaslocal is not a valid choice13:06
rvbanatefinch: what's the error exactly?13:08
natefinchshared@maas:~$ sudo MEM=$((1024*1024)) ~/maas-libvirt-utils/register-node maaslocal13:09
natefinchusage: /usr/lib/python2.7/dist-packages/maascli/__main__.py [-h] COMMAND ...13:09
natefinch/usr/lib/python2.7/dist-packages/maascli/__main__.py: error: argument COMMAND: invalid choice: u'maaslocal' (choose from u'list', u'login', u'logout', u'refresh', u'admin', u'gavin', u'root', u'smoser', u'ubuntu')13:09
natefinchfailed to talk to maas-cli13:09
rvbaLooks like 'maaslocal' is the name of a profile that does not exist.13:10
rvbanatefinch: you know that maascli has this notion of 'profile' right?13:12
natefinchrvba: no :)13:12
natefinchrvba: or rather, I do now13:13
rvba:)13:13
rvbaSo, when you log in, you give maascli credentials plus a profile name.13:13
natefinchrvba: can I just create a new profile?13:13
rvbaAnd then, you can just that profile by running: maascli profilename <commands>13:13
rvbaThis allows you to have multiple profiles talking to (potentially) different maas servers.13:14
rvbaIn the list above ('list', 'login', etc) list, login, logout, refresh are commands.13:14
rvbaThe others are profiles.13:14
rvbaSo yes, creating a profile is probably the way to go.13:15
rvbanatefinch: does that make sense?13:15
rbasakmgz, rvba: I've found the root cause for bug 1248283 I think; explained in the bug. It's caused by juju doing "service networking restart".13:17
ubot5bug 1248283 in juju-core "Juju deploy of Charm in MAAS fails because dbus fails" [High,Triaged] https://launchpad.net/bugs/124828313:17
rvbarbasak: nice sleuthing!13:19
natefinchrvba: sure, how do I create a new profile?  Also, I'm not sure what13:19
rvbanatefinch: maascli login -h will tell you ;)13:20
natefinchrvba: login == create profile  ok... not obvious naming :)13:20
rvbaYeah :/13:20
rvbamaascli profile-name url cred:en:tials13:21
natefinchrvba: I'm just on  whatever machine ssh maas.mallards gives me, should I be somewhere else doing this?13:21
rvbaNo, the presence of other profiles indicates you're not the first one doing this :).13:22
natefinchok :)13:22
rvbanatefinch: it's definitely confusing, would you mind filing a bug about the login/create profile issue.  It's mostly a doc issue I reckon but we're trying to improve the documentation as a whole and those little problems are really worth fixing.13:22
* rvba lunches13:24
rbasakroaksoax: can we coordinate a Saucy SRU for bug 1250388, please? Do you have any other fixes that you need to SRU?13:34
ubot5bug 1250388 in maas (Ubuntu) "maas-ipmi-autodetect-tool fails to detect IPMI on midway" [Undecided,Confirmed] https://launchpad.net/bugs/125038813:34
rbasakroaksoax: I'd also appreciate your comment on that bug. Valid?13:34
rbasakroaksoax: also, it looks like we need to fix Trusty before the SRU.13:35
roaksoaxrbasak: sure! please feel free to prepare the package. I'll upload the latest trunk to trusty later today13:53
rbasakroaksoax: OK, thanks. I'll prepare the SRU now then.13:54
roaksoaxrbasak: thanks!13:54
rbasakroaksoax: on second thoughts, perhaps I should wait for other midway enablement SRUs and then bundle them together to save on verification effort.13:54
roaksoaxrbasak: yeah that would be ideal13:55
rbasakroaksoax: OK I'll hold it for now, then. Please let me know if you have anything else to SRU though, and I'll bundle it in with that. Otherwise I'll try and coordinate all midway SRUs together.13:57
natefinchrvba: if you're back from lunch, I need some help with setting up this virtual maas.14:41
rvbanatefinch: I'm back.14:41
natefinchrvba: so first.... when I ssh into maas.mallards.. is that a random node on garage maas, or is that like a root node?  I presume if it's the root node that I should go somewhere else to set up this virtual maas environment.14:43
natefinchrvba: I know I sorta asked that before, but those profiles mostly seem to be against garage maas itself, not individual virtual maas environments14:44
* natefinch does not want to muck up garage maas.14:44
rvbanatefinch: I /think/ (I don't use garage maas, I use our lab) maas.mallards is like a special node where MAAS itself is installed.14:45
rvbanatefinch: yeah, I don't see why you would create a profile there talking to another MAAS :)14:46
natefinchrvba: I'd be happy to do this on the lab instead if that makes things easier.  I just need like 4 nodes in a virtual maas14:46
natefinchrvba: or not virtual, also fine14:47
natefinchrvba: we're testing backup and restore of the mongo database, testing out some fixes to a bug where it goes horribly wrong14:47
natefinchrvba: specific customer is using MAAS, so we want to verify the fix on maas14:48
rvbanatefinch: the garage seems like a good place to test this (the lab is still being worked on due to the recent changes in the datacenter).14:48
natefinchrvba: cool14:49
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
natefinchrvba: what's the default login on virtual maas?16:19
=== adam_g_afk is now known as adam_g
rvbanatefinch: you mean right after MAAS gets installed?16:19
natefinchrvba: yeah16:19
rvbanatefinch: there is no default login, Once MAAS is installed, you'll need to create an administrator16:20
rvbaaccount::16:20
rvba  $ sudo maas createadmin --username=root --email=MYEMAIL@EXAMPLE.COM16:20
natefinchrvba: awesome, thanks16:22
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== gaughen is now known as gaughen_
=== gaughen_ is now known as gaughen
natefinchrvba: you still around19:00
natefinchanyone able to give help with maas and juju?  getting 401 unauthorized when I try to bootstrap19:14
natefinchahh nevermind.... he maas key actually extends past the end of the text box it's in19:18
natefinchhmm... except that I can't bootstrap since I get back a 409 conflict now.... all my nodes seem to be stuck in "commissioning" for some reason. I'm sure that's not good.19:27
natefinch bigjools: got a second?20:05
=== Spideyman is now known as Spideyman_afk
=== Spideyman_afk is now known as Spideyman
=== CyberJacob is now known as CyberJacob|Away
=== Spideyman is now known as Spideyman_afk
bigjoolsroaksoax: around?23:14
bigjoolsneed your assistance in fixing the trusty recipe, dpkg changes broke it23:15
=== freeflying is now known as freeflying_away

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