Friday, 2013-11-08

*** alazarev has quit IRC00:08
*** sacharya has joined #savanna00:08
*** alazarev has joined #savanna00:16
*** matsuhashi has joined #savanna00:25
*** alazarev has quit IRC00:27
*** alazarev has joined #savanna00:32
*** sacharya1 has joined #savanna01:01
*** sacharya2 has joined #savanna01:02
*** sacharya has quit IRC01:02
*** nosnos has joined #savanna01:04
*** sacharya1 has quit IRC01:05
*** alazarev has quit IRC01:32
*** SergeyLukjanov has joined #savanna02:02
*** jcooley_ has joined #savanna02:37
*** sacharya2 has quit IRC02:40
*** matsuhashi has quit IRC03:21
*** matsuhashi has joined #savanna03:22
*** matsuhashi has quit IRC03:27
*** jcooley_ has quit IRC03:36
*** jcooley_ has joined #savanna03:38
*** SergeyLukjanov has quit IRC03:40
*** jcooley_ has quit IRC03:44
*** SergeyLukjanov has joined #savanna03:49
*** jcooley_ has joined #savanna03:49
*** matsuhashi has joined #savanna04:05
*** DennyZhang has joined #savanna04:16
*** SergeyLukjanov has quit IRC04:34
*** akuznetsov has quit IRC05:01
*** SergeyLukjanov has joined #savanna05:19
*** matsuhashi has quit IRC05:45
*** matsuhashi has joined #savanna05:45
*** matsuhashi has quit IRC05:50
*** matsuhashi has joined #savanna05:50
*** jcooley_ has quit IRC06:03
*** jcooley_ has joined #savanna06:04
*** jcooley_ has quit IRC06:08
*** DennyZhang has quit IRC06:32
*** alazarev has joined #savanna06:34
*** alazarev has quit IRC06:47
*** DennyZhang has joined #savanna06:58
*** DennyZhang has quit IRC07:02
*** matsuhashi has quit IRC07:43
*** matsuhashi has joined #savanna07:43
*** matsuhashi has quit IRC07:48
*** matsuhashi has joined #savanna07:50
*** IvanBerezovskiy has left #savanna08:00
*** jcooley_ has joined #savanna08:14
*** jcooley_ has quit IRC08:16
*** alazarev has joined #savanna08:21
*** akuznetsov has joined #savanna08:33
*** nosnos_ has joined #savanna08:43
*** SergeyLukjanov has quit IRC08:45
*** nosnos has quit IRC08:47
*** jcooley_ has joined #savanna08:58
*** alazarev has quit IRC09:00
*** jcooley_ has quit IRC09:02
*** SergeyLukjanov has joined #savanna09:03
*** akuznetsov has quit IRC09:13
*** SergeyLukjanov has quit IRC09:35
*** matsuhashi has quit IRC09:43
*** matsuhashi has joined #savanna09:43
*** ruhe has joined #savanna09:44
*** matsuhashi has quit IRC09:47
*** matsuhashi has joined #savanna09:48
*** jcooley_ has joined #savanna09:59
*** ruhe has quit IRC10:04
*** matsuhashi has quit IRC10:04
*** matsuhashi has joined #savanna10:04
*** matsuhashi has quit IRC10:09
*** matsuhashi has joined #savanna10:11
*** akuznetsov has joined #savanna10:14
*** matsuhas_ has joined #savanna10:15
*** matsuhashi has quit IRC10:16
*** matsuhas_ has quit IRC10:18
*** matsuhashi has joined #savanna10:19
*** matsuhashi has quit IRC10:23
*** akuznetsov has quit IRC10:28
*** jcooley_ has quit IRC10:32
*** SergeyLukjanov has joined #savanna10:34
*** ruhe has joined #savanna10:42
*** ruhe has quit IRC10:48
*** ruhe has joined #savanna10:55
*** SergeyLukjanov has quit IRC10:55
*** akuznetsov has joined #savanna11:03
*** nosnos_ has quit IRC11:13
*** ruhe has quit IRC11:19
*** jcooley_ has joined #savanna11:29
*** akuznetsov has quit IRC11:37
*** dmitryme has joined #savanna11:44
*** jcooley_ has quit IRC12:02
*** _crobertsrh is now known as crobertsrh12:17
*** dmitryme_ has joined #savanna13:16
*** dmitryme has quit IRC13:17
*** dmitryme_ is now known as dmitryme13:17
*** akuznetsov has joined #savanna13:25
*** jcooley_ has joined #savanna14:00
*** ityaptin has joined #savanna14:01
*** tmckay has joined #savanna14:11
*** jcooley_ has quit IRC14:34
*** dmitryme has quit IRC14:59
*** alazarev has joined #savanna15:19
*** akuznetsov has quit IRC15:37
*** badams has joined #savanna15:46
*** jcooley_ has joined #savanna15:48
badamscould anyone here provide some help with my installation?15:48
badamshaving trouble getting the dashboard to work properly. also not sure if im using the correct endpoints15:50
*** jcooley_ has quit IRC15:54
crobertsrhbadams:  what sort of error messages are you seeing?  Which OS are you running and how did you install  (local build vs package)?15:57
badamscrobertsh: I'm installing on ububtu, from the tarball as directed here https://savanna.readthedocs.org/en/latest/userdoc/installation.guide.html16:00
badamscrobertsrh16:00
*** jcooley_ has joined #savanna16:00
crobertsrhDoes the Savanna tab show up in your dashboard, or is your dashboard not starting at all?16:01
badamsand as far as errors, im not seeing any really. not sure if my logging is set up correctly16:01
badamsthe tab is there, it just internal errors out16:01
crobertsrhAh, ok16:01
crobertsrhDo you have the savanna-api running somewhere?16:02
badamseverytime i run it with my config file it  holds my cmd line hostage16:02
badamsunless thats expected16:03
badamsit says '(12566) wsgi starting up on http://10.10.10.51:8386/' then hangs16:03
badamsi can see http requests going to that address:port16:04
crobertsrhI usually start mine with an & to keep it in the background16:04
badamsyeah ok16:05
crobertsrhOk....are there any exceptions noted in the savanna-api stuff?16:05
crobertsrhIn your savanna.conf file, are you pointed at your openstack auth host?  It defaults to localhost, I think, which may or may not be right for you.16:06
badamsit is right, but i changed it to the ip anyway16:06
crobertsrhAlso, make sure that your os_auth_username and os_auth_password are set correctly in there16:06
badamsboth set to the savanna user and service tenant16:07
badamsmaybe ill check roles again16:07
crobertsrhno firewall issue on your openstack machine?16:07
badamsnone that ive seen16:07
badamsthere was this... 2013-11-08 11:02:43.128 12566 WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint16:09
crobertsrhWhat is the exception trace that you see in the dashboard when it bombs out?16:11
*** alazarev has quit IRC16:12
crobertsrhFrom your savanna directory, can you run ./tools/get_auth_token  successfully?16:13
badamsopstack@openstack-controller:/etc/savanna$ ./tools/get_auth_token ./tools/get_auth_token: line 3: tox: command not found16:14
crobertsrhah, ok.  I guess that only works for the venv installs16:17
badamswould you recommend going that route instead?16:18
crobertsrhNo, you shouldn't need to.16:18
crobertsrhI'm trying to think of another way to quickly test your auth setup.16:19
crobertsrhOh....16:20
crobertsrhany chance that directly running the get_auth_token.py script works for you? (python get_auth_token.py)16:21
badamshmm now we're getting somewhere...16:22
badamsit looks like its using the wrong creds16:24
badamsat least for that .py16:24
badamsbut i know i have them defeined in my savanna.conf16:24
badamsdefined*16:24
crobertsrhYou can tweak the script and see which it's using or trying to use16:24
*** alazarev has joined #savanna16:25
crobertsrhLooks like it's trying to use /etc/savanna/savanna.conf16:25
badamsthats where mine is, i thought16:27
badamsyup16:27
crobertsrhStrange....your values aren't commented out by any chance, are they?  Stupid question, but I might as well ask.16:29
badamsit's ok, but no theyre not16:29
*** rnirmal has joined #savanna16:38
badamsok the test was successful when i passed the config file directly in16:39
badamsdon't know why i didnt do that before16:39
crobertsrhAh, ok.16:40
crobertsrhYou should also be able to pass that config file directly to the savanna-api when you start it up16:40
badamsyeah i knew that16:40
crobertsrhMaybe it's picking up some garbage values by default rather than your config16:40
badamshmmm16:41
crobertsrhAfter you restart your savanna-api, you might also need to restart your dashboard.16:42
*** akuznetsov has joined #savanna16:43
badamshow would you recommend restarting savanna-api?16:44
badamsive just been killing the process16:45
crobertsrhthat should be fine16:45
badamsdo you provide an endpoint for savanna?16:46
crobertsrhYou could  probably have it installed as a service and then use your system's service controls, but kill process/restart works nice16:46
badamsah id much rather do that16:46
badamsdidnt see how though16:47
crobertsrhI don't think there is a savanna endpoint.16:47
badamshmm16:48
crobertsrhIf you installed from a package (not sure if it's there on ubuntu or not), it would take care of the "make it a service" part.16:48
badamsthe offical docs detail either using pip or installing from the tarball16:49
crobertsrhAh.  I was looking at the RDO install blurb at the top.  Obviously, not an option for you though.16:50
badamsits not a big deal, it would just fit with the rest of the services16:52
crobertsrhRight16:52
crobertsrhLooks like ubuntu integration is on the roadmap for 1.0.  https://wiki.openstack.org/wiki/Savanna/Roadmap16:53
*** sacharya has joined #savanna16:53
badamscool16:53
badamsi think that ive got that set up correctly, so maybe the problem is with my dashboard16:54
crobertsrhFor the dashboard, what have you set "SAVANNA_URL" to be?16:55
badamsSAVANNA_URL = 'http://192.168.4.51:8386/v1.1'16:56
badamsin the file /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py16:56
badamsalso in /etc/openstack_dashboard/local_settings.py16:57
badamsbecause im unsure which one it actually uses16:58
crobertsrhAnd what is the stack trace when it blows up in the UI?16:58
crobertsrhpastebin it if you'd prefer16:58
badamsi would if i could find it. not sure where the dashboard logs are16:59
badamscd16:59
badamsoops16:59
crobertsrhOh, nothing shows up in the UI?16:59
crobertsrhNo error message of any sort?16:59
badamsoh that? yeah hold on16:59
badamshttp://paste.openstack.org/show/50826/17:00
badamscode 50017:00
crobertsrhwell, that's certainly not overly helpful :)17:00
badamsright?17:00
crobertsrhNothing in the apache log?17:01
badamsthats the one im trying to find17:01
crobertsrhmaybe /var/log/httpd?17:02
badamsjust found it in /var/log/apache217:02
badamsdur17:02
badamsso this is when i click the savanna tab http://paste.openstack.org/show/50828/17:05
badamsfrom  /var/log/apache2/error.log17:05
crobertsrhSeems like savanna-api may be using the wrong creds.  Can you run the get_auth_token.py script and capture the tenant and token to an environment variable....and then do something like "http http://192.168.4.51:8383/v1.1/$TENANT/clusters X-Auth-Token:$TOKEN"?17:11
crobertsrhI have to bail for awhile.  I'll be back later though.  Good luck.17:13
badamsthanks man17:14
badamsmuch appreciated17:14
*** jcooley_ has quit IRC17:16
*** jcooley_ has joined #savanna17:17
*** jcooley_ has quit IRC17:21
*** SergeyLukjanov has joined #savanna17:22
*** badams has quit IRC17:48
*** SergeyLukjanov has quit IRC18:41
*** alazarev has quit IRC19:02
*** alazarev has joined #savanna19:03
*** badams has joined #savanna19:35
*** badams has quit IRC19:39
*** macjack has joined #savanna19:44
*** badams has joined #savanna19:48
crobertsrhany luck badams?20:03
badamshey, not really no20:32
crobertsrhWere you able to successfully submit anything directly to the HTTP REST interface?  Or did that fail too?20:41
badamsevery time i try to access the rest interfaces it tells me no route to host20:47
crobertsrhAh.  Do you know which port your savanna-api is listening on?20:48
crobertsrhIs it 8383?20:48
badams838620:49
crobertsrhI think 8386 is the default20:49
crobertsrhcan  you verify that it is indeed listening there via netstat or something similar?20:49
badamsyeah i did, and its there20:49
crobertsrhIs it bound to a particular interface (maybe not 0.0.0.0)?20:50
badamsit was bound to 10.10.10.51, but the other services were bound to 0.0.0.0 so i changed it to that20:51
crobertsrhI'm not sure where else to go right now.  My best guess is that it is your savanna-api that needs attention rather than the dashboard, but I'm lacking ideas at the moment.20:52
crobertsrhThis place should be more lively on Monday.  Many were gone this week for a design summit.20:52
badamsdang, bad timing on my part20:53
badamsthanks for your help though20:54
crobertsrhSorry I couldn't help more.  If anything strikes me, I'll be sure to ping you.20:54
tmckayI think sometimes various python things have trouble with hostname resolution20:55
tmckaysometimes if I try localhost, I get hosed.  If I use the real IP, I'm okay20:55
tmckayI don't recall having the no route to host error with savanna-api, though.  Not that I can remember20:56
badamstmckay: what would your request look like?20:57
tmckayhmm, let me dig one up.... I've been at training all week20:57
badamsthanks man20:57
tmckaysomething like this, where the initial "http" is the httpie executable and tenant/token are filled in from keystone token-get   =>   http http://localhost:8386/v1.0/$TENANT/clusters X-Auth-Token:$TOKEN21:00
* tmckay starts up devstack21:01
tmckaybadams, here is a page that is a helpful cheat sheet https://github.com/mattf/savanna/blob/RDO-quickstart/doc/source/rdo_quickstart.rst21:01
tmckaytalks about RDO but is pretty applicable to devstack as well21:02
tmckayalso, the Savanna doc pages should be newly updated with the latest REST api stuff (if you haven't seen them)21:02
tmckaycroberts, the training is pretty good, if it comes to your neck of the woods you should check it out.  It filled in a lot of holes for me21:03
tmckaycrobertsrh even21:03
crobertsrhtmckay:  Yes, I really want to get to a session.  It seems like it will be vital in the coming months/years21:04
tmckaycrobertsrh, I'm interested in the YARN apis and what you might be able to do with it.  Everything Hadoop 2 is built on top of yarn, including mapreduce.  In Hadoop 1, you had *only* mapreduce21:06
tmckayYARN == "yet another resource negotiator"21:07
crobertsrhYeah, Yarn seems to be the future (or at least the present).21:07
tmckayie, a hadoop scheduler.  I was kind of fuzzy on what exactly it was...21:07
badamssooo apparently, my url was messed up in my dashboard config file21:09
crobertsrhAh :)21:09
badamswhich is embarassing to admit, but there you go21:09
crobertsrhthat'll do it21:09
crobertsrhLots of fun learning and trying other stuff though21:09
tmckayyeah, fyi, devstack just came up21:09
tmckay$ http http://localhost:8386/v1.0/$TENANT/clusters X-Auth-Token:$TOKEN21:09
tmckayHTTP/1.1 200 OK21:09
tmckayContent-Length: 1621:09
tmckayContent-Type: application/json21:09
tmckayDate: Fri, 08 Nov 2013 21:09:13 GMT21:09
tmckay{21:09
tmckay    "clusters": []21:09
tmckay}21:09
badamstrue enough21:09
tmckaythat's about as simple as it gets21:10
crobertsrhGood luck with savanna.  Let us know if you have any troubles or suggestions.21:10
badamsthanks to the both of you21:10
tmckaynp.  Like crobertsrh said, usually this place is hopping21:10
badamsif the past few months have been any indication, i will be back21:10
crobertsrhHeh21:10
badamspeace21:11
*** akuznetsov has quit IRC21:15
*** badams has quit IRC21:17
*** tmckay has quit IRC21:26
*** rnirmal has quit IRC21:30
*** DennyZhang has joined #savanna21:32
*** alazarev has quit IRC21:37
*** crobertsrh is now known as _crobertsrh21:40
*** alazarev has joined #savanna22:01
*** alazarev has quit IRC22:18
*** alazarev has joined #savanna22:19
*** sacharya has quit IRC22:25
*** alazarev has quit IRC22:30
*** alazarev has joined #savanna22:33
*** DennyZhang has quit IRC22:45
*** alazarev has quit IRC22:59
*** ityaptin has quit IRC23:10
*** ityaptin has joined #savanna23:10
*** alazarev has joined #savanna23:12
*** sacharya has joined #savanna23:15
*** alazarev has quit IRC23:17
*** sacharya has quit IRC23:21
*** alazarev has joined #savanna23:23

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