/srv/irclogs.ubuntu.com/2013/08/13/#maas.txt

roaksoaxbigjools: howdy!!02:18
roaksoaxkurt___: sorry if you are still around, maybe bigjools can help you. otherwise I can help you tomorrow02:18
roaksoaxbigjools: so I uploaded the SRU bugs to -proposed so need verification02:18
roaksoaxas soon as they get approved02:19
kurt___hi bigjools - are you around?02:31
kurt___bigjools: I have a question when you are around03:49
jtvkurt___: what log file was that traceback in?04:34
jtvAnd any idea what was going on  at the time?04:35
kurt___jtv: that was in the maas.log04:36
kurt___I was trying to install the juju-gui04:36
jtvAh yes, stupid of me.04:36
kurt___and it doesn't matter which version of juju-gui.  I think the problems are lower than that.04:36
jtvI don't suppose you saw an error from juju, juju-gui, the installation process..?04:36
jtvIt could mean that juju simply isn't authorized to access the MAAS.04:37
kurt___the app installs on the root node04:37
jtvIt needs credentials to talk to the MAAS API over http.04:38
kurt___but it is never able to spin up the additional nodes04:38
jtvWas juju ever able to do anything on this maas?04:38
kurt___I can bootstrap with no problem04:38
kurt___that creates the root node04:38
jtvOh, and is this juju-core?  Or the older python-based juju?04:39
kurt___eh… :)04:39
kurt___I'm installing from apt-get - or the results were the same when I was doing it from the iso04:40
jtvI don't know actually know which releases come with which Juju...  I guess you're working with 12.04?04:40
jtvUbuntu 12.04, I mean?04:42
kurt___I've tried both 12.04 + 12.1004:42
jtvI wonder if juju-gui is doing something that requires admin access to the maas...04:44
jtv*If* you've got Juju authenticating as a regular user, you could try making that user an admin through the MAAS web UI and seeing if that fixes the problem.04:45
kurt___how is that done?04:45
kurt___my particular user is an admin I believe04:46
* jtv is a bit rusty on all this04:46
jtvHave you logged in on the MAAS web UI before?04:46
jtvYou should be able to access it on http://<your-region-controller>/MAAS04:48
jtvShould be fairly self-explanatory from there.04:49
kurt___yeah for sure04:50
kurt___I have to work with it for the other nodes04:51
kurt___Ok, I added that user - the only other user was root.  I will try destroying the environment and trying again04:53
kurt___jtv: latest full trace from debug-log is here http://pastebin.ubuntu.com/5979922/05:17
jtvLooking...05:17
jtvAh, so that's the Python-based Juju.05:18
jtvIt may become useful at some point to know which codebase we're dealing with.  :)05:19
kurt___quantal05:19
kurt___juju .705:19
jtvOne obvious error in there (not necessarily *the* error) seems to be about clock skew.  So it may help to make sure that all machines NTP to the same server.05:20
jtvOr maybe it just means that a response is too old by the time it is received, which could happen if things were very very slow.05:20
kurt___right, but I'm not sure how to deal with that from standard install05:20
jtvI *think* a standard install sets up NTP uniformly.05:20
kurt___here is the time from node 0:05:21
kurt___ubuntu@nf4xd:~$ date05:21
kurt___Mon Aug 12 18:20:54 EDT 201305:21
jtv(I think given the "300" we're looking for a difference of at least 5 minutes)05:21
kurt___here is the time from the controller05:21
kurt___kurt@maas-ctrl02:~/.juju$ date05:21
kurt___Mon Aug 12 22:21:22 PDT 201305:21
jtvI'm guessing there's probably a 4-hour difference between EDT and PDT.  :)05:21
jtvOh, there *is* a known problem with installing nodes whose clocks are far off.05:22
jtvAny way you can check that?  What's particularly insidious is that the Windows world ships machines with hardware clocks set to the local timezone, not UTC.05:23
jtvMaybe the node you're trying to allocate just has a weird clock setting.05:24
kurt___its a VM05:24
jtvUgh.05:24
kurt___I need proof of concept before I go spend $15k in machines :)05:25
jtvAh-hah!  That clock lag amounts to exactly 7 hours.05:26
kurt___ok? :)05:26
jtvSo that does sound as if the VM might be on a local clock instead of UTC.05:26
jtvMaybe it has a setting for that?05:26
kurt___there is a synchronize time setting05:27
jtv(Not saying "ugh" about you using a VM, just about my not knowing how each virtualisation system manages its clocks :)05:27
kurt___ah gotcha05:27
jtvI don't think this is a matter of synchronizing the time, but IIRC some virtualization systems have an option for "make the guest's hardware clock look like it's set to local time."05:28
jtvIt may even be implied by an "I'm going to run Windows on this" setting.05:28
kurt___that's not totally obvious in Fusion - I may need to investigate05:28
jtvIf it's the bug I was thinking of, then a fix should already be available: https://bugs.launchpad.net/maas/+bug/97812705:36
ubot5Launchpad bug 978127 in MAAS "incorrect time on node causes failed oauth" [Critical,Fix released]05:36
kurt___it's mind numbing trying to figure this out from vmware05:40
jtvI'm searching the  general internet for this one.05:43
kurt___there is this, but … layers and layers too deep05:43
kurt___http://www.vmware.com/files/pdf/techpaper/Timekeeping-In-VirtualMachines.pdf05:43
jtvIf the bootstrap node and the one you're trying to start up are near-identical guests on the same VMWare instance, then how in blazes can one have clock skew but not the other!?05:48
kurt___great question05:48
kurt___isn't it cloud-init that's taking care of setting the time?05:49
jtvI think that was part of the solution to the bug I quoted, yes.05:49
jtvAre you saying that maybe you already have that fix, and it may be going wrong somehow?05:50
kurt___I think that fix was rolled in to quantal already05:50
jtvsmoser might knoww.05:50
kurt___*I think*05:50
jtv*know.05:50
kurt___bigjools would know for sure05:50
kurt___alas he is elusive today :D05:51
jtvI don't think he'll be available today.  But smoser is the oracle on all matters cloudinit.05:53
kurt___ok05:53
jtvThat bug I linked to did mention vmware as a bit of a problem case IIRC.05:54
jtvHmm... no, not vmware by name.05:54
kurt___yeah that bug is old and it appears the fix went in to precise05:57
jtvYes, but long after Precise was released IIRC.05:58
kurt___right05:58
kurt___I've been seeing this for a few days and trying to figure out how to solve that part05:59
kurt___its a real head scratcher05:59
kurt___the clocks are never in sync05:59
jtvHmm... but it only happens when you try to play with  juju-gui, doesn't it?05:59
=== CyberJacob|Away is now known as CyberJacob
jtvMaybe those requests are coming from somewhere unexpected..?06:00
jtvroaksoax: are you familiar with the clock-skew problem by any chance?  kurt___  seems to be running into it in vmware.06:00
kurt___so the OAuthUnauthorized happens during juju-gui06:00
jtv(Timezones are thwarting us in more ways than one at the moment)06:01
kurt___but the clock is skewed no matter what06:01
jtvWell...  I've been assuming that the clock skew is the cause of the authorization errors.06:01
jtvSomething to do with oauth.06:01
kurt___yes, I agree wholeheartedly06:01
kurt___but oauth has nothing to do with creating the skew though I think06:02
jtvTrue.06:02
jtvIt shouldn't, unless it's a side effect of that bug workaround.06:02
kurt___my worry is that this is a non-issue for real hardware and is not a priority because it is a VM06:03
jtvMight be, yes...06:04
kurt___there must be loads of people like myself who *need* this to work via VM06:04
=== jam1 is now known as jam
jtvAnd we've done some testing with VMs as well, but not vmware I think.06:05
jtvAll qemu/kvm IIRC.06:05
kurt___well, I think we are stuck until we can hear from jools or smoser06:06
jtv'fraid so.  :(  The VM test setups I know of are kvm-based.06:07
jtvAnd I'm going to have to run an errand.06:12
kurt___ok, thanks for your help06:13
=== CyberJacob is now known as CyberJacob|Away
disposableif i use the maas-dhcp package, will that interfere with my existing dhcp server or will it only reply to requests from MAC addresses it knows about? (i can set my other dhcp server to ignore certain mac addresses)10:14
melmoth_disposable, it will interfere10:16
disposablemelmoth_: thank you10:16
melmoth_disposable, i think there is a way to use a third party dhcp, but you have to tell it (your alreadt existing one) that the next server is maas10:16
melmoth_and where to find the pxe boot image.10:16
melmoth_unfortuniately, i dont know the specific details on how to do that.10:17
disposablemelmoth_: i am already using a different dhcp server successfully, i just wanted dhcp+dns integration10:17
disposabledhcp+dns+maas integration10:17
smoseri'm not in till tomororw really, but kurt___ and jtv, the issue with oatuh shoudl be fixed.13:53
smosercloud-init does complain that the clock is very far off, but adjusts its timestamp to that of the server when it tries again.13:53
smoseryou're just seeing warnings of it saying "your clock is messed up, you shoudl fix it".13:53
smoseri'm not saying that htere are notstill bugs, but the issue is generally fixed in any up to date ephemeral image.13:54
=== CyberJacob|Away is now known as CyberJacob
=== lifeless_ is now known as lifeless
=== CyberJacob is now known as CyberJacob|Away

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