/srv/irclogs.ubuntu.com/2013/10/14/#maas.txt

roaksoaxbigjools: thanks!00:10
bigjoolsback at ya00:10
=== freeflying is now known as freeflying_away
AzendaleIs there anywhere to set what targets to get ephemeral images for (in my case I only want saucy and amd64 and i386) when I run maas-import-pxe-files?00:54
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
bigjoolsjtv: have you ever seen the wsgi wrapper failing to start up, complaining about "Connection reset by peer" ?05:57
bigjoolsit's trying to run refresh_nodegroup so I suspect rabbitmq is being crap05:58
=== CyberJacob|Away is now known as CyberJacob
bigjoolsrvba: I have spent all freaking day chasing trivial problems so I can get to examine this bug of yours on my home server06:32
bigjools*still* have not fixed all the problems06:32
rvbabigjools: trivial problems in MAAS or juju-core?06:33
bigjoolsfor some reason, the juju binary on my maas test server is producing a totally bogus Auth header, so maas kicks everything out with a 40106:33
bigjoolsthis is my last blocker06:33
bigjoolssame binary works on canonistack and elsewhere06:33
bigjoolsso.... I am at a loss06:33
rvbahum…06:34
rvbaI'd draw my McGyver kit and log things inside piston's code to get to the bottom of the error…06:35
bigjoolsit;s not maas06:35
bigjoolsit's juju06:35
bigjoolsthe auth header is wrong06:36
rvbaRight, but in what way exactly?06:36
bigjoolshttps://bugs.launchpad.net/juju-core/+bug/123949606:36
ubot5Ubuntu bug 1239496 in juju-core "1.16 juju and above has oauth errors talking to maas" [Undecided,New]06:36
bigjoolsthat way06:36
rvbaVery odd that I didn't see that problem at all in the lab…06:37
bigjoolsonly happens on my home server06:37
rvbaThe only obvious difference is realm="MAAS+API" (sent by juju).06:38
bigjoolsnot so06:39
bigjoolscheck the token06:39
bigjoolsand signature06:39
rvbaWell, they differ but that's normal.06:43
rvbaTheir size are similar.06:43
rvbaThat's the only check that my naked eye can do.06:43
bigjoolsrvba: the difference is not normal06:44
bigjoolsI compared headers from maas-cli and an old juju and they were almost identical06:45
bigjoolsthese ones are vastly different06:45
rvbaThe timestamp and the nonce are used to compute the signature.06:45
rvba"almost identical"?06:45
bigjoolssignature was different but token was the same06:46
bigjoolsin this example token is not the same06:46
rvbaHum, you're right, the token should be the same…06:48
rvbaDid you inspect the DB to see what the tokens are in there?06:48
bigjoolsno06:54
bigjoolsrvba: having said that, I just got one to work and the token sent is different06:55
rvbaIf your juju conf hasn't changed, that is weird.  The token should be dictated by your api key.06:56
bigjoolsrvba: I see different tokens on different requests06:57
rvbaMaybe I'm missing something then…06:57
bigjoolsrvba: my bad - it was a celery request I had in there ...06:59
bigjoolssee the last comment on the bug06:59
rvbabigjools: replied…07:03
bigjoolsrvba: see #maas07:03
rvbabigjools: you're definitely right, the whole point of having different API keys that can be changed is to accommodate the case where the credentials are compromised.07:07
bigjoolsrvba: people are also using them for different juju environments07:08
bigjoolshence my other bug07:08
bigjoolsbut we need to talk about that scenario anyway07:08
bigjoolsrvba: I am fast-installing one of my microservers - so far 15 minutes later nothing going on07:32
bigjoolsI guess it's broken - possibly with this bug07:32
rvbabigjools: not normal, I *just* used it in the lab.07:32
bigjoolsthe --commission thing I suspect07:33
bigjoolsbut can't get in to the node to find out ...07:33
rvba--constraints you mean…?07:33
bigjoolsuhhhh yes :)07:33
rvbaTry sshing into the allocated node.07:33
rvbaThe node should be up and running.07:34
rvbabigjools: check /var/log/cloud-init-output.log on that node… the last line should be the invocation of jujud with the empty --constraints.07:34
bigjoolstoo late07:35
rvbabigjools: one workaround is to explicitly use constraints when bootstrapping.07:35
bigjoolsanyway juju status was dead07:35
rvbaAnother is to build from source.07:35
rvbaIt's normal, jujud is not up.07:35
rvbaSo juju status can't work.07:35
rvbaBut again, the bootstrap node should be up and running.07:35
bigjoolssoooooo, juju bootstrap --upload-tools seems to be broken07:35
rvbaOnly the juju side of things crashed.07:35
rvba??07:35
rvbaWell, if all the calls to the API are broken on your machine I'm not surprised.07:36
bigjoolsthat's working now07:36
rvbaAh.07:36
rvbaThen run juju bootstrap --upload-tools with "-v" to see what's going on.07:37
bigjoolsI did07:37
bigjoolshttp://paste.ubuntu.com/6234893/07:37
rvbaHAha07:37
rvbaThe dreaded EOF error.07:37
rvbaDestroy and re-bootstrap.07:37
bigjoolsyou know of this error07:38
rvbaI've seen if from time to time unfortunately.07:38
bigjoolssame again07:38
bigjoolshappening every time07:39
rvbaWeird.07:39
gmballenap: When you've got a sec, can you take another look at https://code.launchpad.net/~gmb/maas/fix-bug-1184589/+merge/190601 for me?08:14
allenapgmb: Certainly can.08:14
gmballenap: Although it hasn't pushed yet...08:14
gmbBear with me; sudden LP FUBAR08:14
gmbWups08:18
* gmb kills the wget that was eating my bandwidth08:19
rvbabigjools: fwiw, allenap and I talked about the bug you were referring to in the call, here is a summary of the two options we talked about (one of which is using tags, the other one basically boils down to using the API key itself as you suggest): http://pad.ubuntu.com/DnNONX6kFB08:54
rvbabigjools: well, more precisely, we didn't think of using the API key but to use the environment's UUID to flag the nodes.08:55
rvbabigjools: so your idea of using the API key is a third option.08:55
bigjoolsok08:56
bigjoolslet's talk pros and cons08:56
=== freeflying is now known as freeflying_away
rvbabigjools: well, the first thing to do is to list what it means doing first… because I'm still a bit fuzzy on that…08:57
=== freeflying_away is now known as freeflying
rvbaallenap: care to review: https://code.launchpad.net/~rvb/maas/change-freq/+merge/190894 ?09:05
allenaprvba: Sure.09:05
allenaprvba: Done!09:06
rvbaThanks.09:06
allenapgmb: Sorry, I wrote the updated review for your wrapper branch then forgot to submit when the team call started.09:07
allenapbigjools, rvba: Fwiw, I don't think we should use API key, because the ability to share an environment between people but using different API keys will go away. Perhaps a hash based on admin-secret. Something that comes from Juju anyway.09:10
rvbabigjools: as I said before, I agree with allenap.  The ability to use a different key without losing one's environment seems pretty important to me.09:11
rvbabigjools: what allenap suggest is the option 2 in http://pad.ubuntu.com/DnNONX6kFB.09:12
rvbaWe discarded it at the time in favor of the tag solution because solution 1 seemed simpler and it didn't imply making changes in MAAS for the solve purpose of accommodating juju.09:12
lifelessMAAS kind of exists to support juju though, right?09:14
bigjoolsrvba, allenap: +109:14
allenaprvba: I guess the tag is interesting because it does expose to others those nodes that are part of an environment.09:15
allenaplifeless: Shhhh ;)09:15
rvbalifeless: true, but it is better to let juju use generic stuff (tags) as opposed to doing thing juju-specific in juju.09:15
rvbain MAAS*09:15
allenaplifeless: You're right though. We're just trying to be constructively lazy.09:15
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
bladernr_is there an armhf port of maas and dependencies?  I'm (just for fun) trying to install MAAS on an arm system to use as a region and cluster controller.  This is just a crazy idea I had that is fraught with peril, but I thought I'd try for the lulz.15:54
roaksoaxrvba: howdy!!15:56
roaksoaxrvba: so I see there are more fixes than last week15:56
roaksoaxrvba: are you looking to SRU those too?15:56
rbasakbladernr_: yes, there is. No specific port needed. It Just Works. Additionally, there is support for some armhf server hardware.15:58
rbasak(ie. to bootstrap armhf server machines to use as nodes)15:59
rbasakTo use MAAS as a region or cluster controller on armhf should Just Work, providing of course that Ubuntu is supported on that particular system. Please file bugs appropriately.15:59
bladernr_rbasak: so the rub is that my secret project is putting maas, maas-region-controller and maas-cluster-controller on a raspberry pi… it's currently running a debian port (Raspbian) since Ubuntu doesn't support armv6.16:00
bladernr_so I'm trying to run maas in a non-ubuntu environment16:00
* bladernr_ hides16:01
rbasakThat's not supported of course, as you already understand. You may have some issues with dependencies and perhaps have to port the occasional Ubuntu patch. Perhaps difficult depending on the relevant experience for the person doing it, but tractable IMHO.16:01
rbasakReally what you'd be doing is porting MAAS to Debian, rather than doing anything ARM-specific I think.16:02
bladernr_hrmmm.. ok, that gives me an idea… thanks.16:03
roaksoaxallenap: around?17:13
allenaproaksoax: What's up?18:50
=== CyberJacob is now known as CyberJacob|Away
bigjoolsroaksoax: https://bugs.launchpad.net/bugs/123975823:33
ubot5Ubuntu bug 1239758 in MAAS "isc-dhcp-client needs to be re installed after installing maas" [Undecided,Confirmed]23:33
bigjoolsodd....23:33
=== freeflying is now known as freeflying_away

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