/srv/irclogs.ubuntu.com/2014/05/13/#maas.txt

=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== ppetraki_ is now known as ppetraki
=== CyberJacob|Away is now known as CyberJacob
=== vladk|offline is now known as vladk
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
l1lany idea why im getting a 403 when trying to commission a node?14:46
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
jefferaiMy nodes, on commission, are getting a bunch of 500 INTERNAL SERVER ERROR lines near the end, and the logs say that it's due to failed authentication16:14
jefferaiIn browsing around the web it seems like this might happen if the clocks are off16:14
jefferaibut they clocks are in sync16:14
jefferaiAlthough the guest (KVM, running on the same node) is using UTC, and the host isn't16:14
jefferaibut it should be able to account for timezones properly, right?16:15
jefferaiWell, setting host to UTC made no difference16:20
jefferaiThis is on Trusty, trying to deploy a Trusty image16:20
jefferaiI can hit the endpoint with my browser, so it's up16:20
jefferaiOh, doh16:23
jefferaiI was seeing an exception related to me trying to access it in my web bwoser16:23
jefferaiin fact, it's an "Integer out of range" exception16:23
jefferaihttp://paste.kde.org/p2xfi9ukg16:24
=== vladk is now known as vladk|offline
l1lis it possible to use maas without juju? is maas responsible for handing the SSH keys to the nodes? finally got the node to deploy and install ssh.. but can't ssh to the machine using the user "ubuntu"18:04
jtvl1l: yes, you can use maas without juju.18:28
jtvWhen you allocate a node, maas installs your ssh key on the node — assuming you tell it what your ssh key is first, of course.  :)18:28
jtvSo you _should_ have been able to ssh in, e.g. after clicking "Start node" in the UI.18:29
jtvYou do need to wait for the OS to install and reboot — though we're planning to integrate that part into the starting process more sensibly.18:30
l1lit went through the os install, then prompted for additional stuff.. I checked SSH there and it installed, then rebooted18:36
l1lhowever, getting access denied with the ubuntu user18:36
jtvIt shouldn't have asked you for anything.18:36
jtvWhat did it prompt you for exactly?18:36
jtvYou're talking about the console on the node itself, right?18:37
l1lNo, talking about ssh'n to the node from the maas machine (where the ssh key was created)18:37
l1lThough I can't get logged in directly on the console either. It prompts for the password on the ubuntu user18:38
jtvAnd you uploaded your public ssh key, right?  Do you have that key on the machine from which you're trying to ssh, and on the account you're running in when you're trying to ssh?18:38
jtvOh, it's not the ssh prompt saying "I can't verify this signature myself, please make sure this is the right machine we're talking to"?18:39
l1lYes. I uploaded the ssh key via the maas web UI. Logged into the maas machine where the key was created and ssh ubuntu@x.x.x.x18:39
l1lIt did prompt that, to which I answered Yes to accept.. then the password prompt18:40
jtvSo presumably ssh was using the private key that matches the public key that you uploaded.  That sounds right.18:40
jefferaijtv: I'm getting tracebacks at the end of a node commissioning...any thoughts? http://paste.kde.org/p2xfi9ukg18:41
jtvjefferai: that's a new one on me.  :(18:41
jefferaiFresh install of maas on trusty, with a trusty node being provisioned18:42
jtvThis should be pretty straightforward — we're used to that just working.  Do you have any custom commissioning scripts?18:42
jtvl1l: the first prompt would be normal, but the second one...  it's not a client-side password that you put on the key pair?18:43
jtvProbably a stupid question, but just walking through the possibilities.18:43
jtvjefferai: I'm afraid I'm not actually here, technically, and need to go do other things.  But it sounds as if maybe "lshw" produced some wildly improbable numbers.18:45
jtvjefferai: could you try running "lshw -xml" on the node, and looking through such things as memory to look if maybe it's reporting bytes where it should be reporting megabytes or something?18:45
jtvjefferai: it could be specific to the kind of machine you're running on.18:46
=== vladk|offline is now known as vladk
jefferaiit's a kvm virtual machine18:46
jtvso there may easily be something weird then.18:46
jefferainot sure how I'd run on lshw on the node though, as I don't know how to ssh in during the install and at the end of the install it shuts itself down18:46
jtvCould you just define a VM with the same parameters?18:47
jefferaioh, sure18:47
jefferainot necessarily using the same kernel and such though18:47
jtvThat's a pity.  It looks as if there's something weird in, probably, the memory or storage size; or just maybe an insane CPU count.18:47
jtvMaybe it's just expressed in a different way than we're used to parsing, and causing a weird value.18:48
jtvIf memory or storage is blank, or left out, or NaN, that should be OK.  But if it's a huge number, kaboom.  Or _maybe_ finding unexpected text such as "lots" might produce something like this.18:49
jtvl1l: the rsyslog for that node, in /var/log/maas, might have something helpful.  Also try the -v option to ssh, just to make sure that it's really finding your keypair.  What should have happened is that you uploaded your public key, and ssh uses your private key.18:51
jtvAlso, another box to check: make sure the ssh key is registered for the same maas user identity which allocated the node.18:51
jtv(Although maas won't actually let you allocate a node, at least through the UI, if you haven't uploaded a key).18:52
jtvAnd now, I really must run.  I'll leave IRC open so l1l & jefferai, do please ping me as you learn more.  There may be lessons in there for improving maas, or its documentation, or whatever.18:53
jefferaijtv: nothing odd - 2G ram, 4 cpu, 20G (virtual) hard drive. I'll let you know if I find anything18:54
magicrob1tmonkeyi had a problem in a similar area because lsblck reports a device as cciss!c0d018:57
magicrob1tmonkeyand its at /dev/cciss/c0d018:58
magicrob1tmonkeyit only affected curtin though18:58
jefferaihm...maybe I need to e.g. not use virtio19:00
jefferaimaybe it's not understanding /dev/vda19:00
jefferaior something19:00
l1lthanks jtv, finally got in! must have been something silly I overlooked19:09
jtvmagicrob1tmonkey, jefferai: we use xpath to extract the information from xml output...  I don't _think_ that “!” needs to be an entity code, but I could be wrong...20:08
jtvl1l: it may be that the node simply wasn't ready yet.  We just switched to using the Curtin (“fast-path”) installer by default; otherwise, you may speed up installation by making nodes use that instead of the “default” installer.20:09
jtvYou can do that en masse on the nodes listing by checking off all or some nodes, selecting “Use fast installer” from the top-left dropdown, and hitting Go.20:09
=== CyberJacob is now known as CyberJacob|Away
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline

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