*** alazarev has quit IRC | 00:08 | |
*** sacharya has joined #savanna | 00:08 | |
*** alazarev has joined #savanna | 00:16 | |
*** matsuhashi has joined #savanna | 00:25 | |
*** alazarev has quit IRC | 00:27 | |
*** alazarev has joined #savanna | 00:32 | |
*** sacharya1 has joined #savanna | 01:01 | |
*** sacharya2 has joined #savanna | 01:02 | |
*** sacharya has quit IRC | 01:02 | |
*** nosnos has joined #savanna | 01:04 | |
*** sacharya1 has quit IRC | 01:05 | |
*** alazarev has quit IRC | 01:32 | |
*** SergeyLukjanov has joined #savanna | 02:02 | |
*** jcooley_ has joined #savanna | 02:37 | |
*** sacharya2 has quit IRC | 02:40 | |
*** matsuhashi has quit IRC | 03:21 | |
*** matsuhashi has joined #savanna | 03:22 | |
*** matsuhashi has quit IRC | 03:27 | |
*** jcooley_ has quit IRC | 03:36 | |
*** jcooley_ has joined #savanna | 03:38 | |
*** SergeyLukjanov has quit IRC | 03:40 | |
*** jcooley_ has quit IRC | 03:44 | |
*** SergeyLukjanov has joined #savanna | 03:49 | |
*** jcooley_ has joined #savanna | 03:49 | |
*** matsuhashi has joined #savanna | 04:05 | |
*** DennyZhang has joined #savanna | 04:16 | |
*** SergeyLukjanov has quit IRC | 04:34 | |
*** akuznetsov has quit IRC | 05:01 | |
*** SergeyLukjanov has joined #savanna | 05:19 | |
*** matsuhashi has quit IRC | 05:45 | |
*** matsuhashi has joined #savanna | 05:45 | |
*** matsuhashi has quit IRC | 05:50 | |
*** matsuhashi has joined #savanna | 05:50 | |
*** jcooley_ has quit IRC | 06:03 | |
*** jcooley_ has joined #savanna | 06:04 | |
*** jcooley_ has quit IRC | 06:08 | |
*** DennyZhang has quit IRC | 06:32 | |
*** alazarev has joined #savanna | 06:34 | |
*** alazarev has quit IRC | 06:47 | |
*** DennyZhang has joined #savanna | 06:58 | |
*** DennyZhang has quit IRC | 07:02 | |
*** matsuhashi has quit IRC | 07:43 | |
*** matsuhashi has joined #savanna | 07:43 | |
*** matsuhashi has quit IRC | 07:48 | |
*** matsuhashi has joined #savanna | 07:50 | |
*** IvanBerezovskiy has left #savanna | 08:00 | |
*** jcooley_ has joined #savanna | 08:14 | |
*** jcooley_ has quit IRC | 08:16 | |
*** alazarev has joined #savanna | 08:21 | |
*** akuznetsov has joined #savanna | 08:33 | |
*** nosnos_ has joined #savanna | 08:43 | |
*** SergeyLukjanov has quit IRC | 08:45 | |
*** nosnos has quit IRC | 08:47 | |
*** jcooley_ has joined #savanna | 08:58 | |
*** alazarev has quit IRC | 09:00 | |
*** jcooley_ has quit IRC | 09:02 | |
*** SergeyLukjanov has joined #savanna | 09:03 | |
*** akuznetsov has quit IRC | 09:13 | |
*** SergeyLukjanov has quit IRC | 09:35 | |
*** matsuhashi has quit IRC | 09:43 | |
*** matsuhashi has joined #savanna | 09:43 | |
*** ruhe has joined #savanna | 09:44 | |
*** matsuhashi has quit IRC | 09:47 | |
*** matsuhashi has joined #savanna | 09:48 | |
*** jcooley_ has joined #savanna | 09:59 | |
*** ruhe has quit IRC | 10:04 | |
*** matsuhashi has quit IRC | 10:04 | |
*** matsuhashi has joined #savanna | 10:04 | |
*** matsuhashi has quit IRC | 10:09 | |
*** matsuhashi has joined #savanna | 10:11 | |
*** akuznetsov has joined #savanna | 10:14 | |
*** matsuhas_ has joined #savanna | 10:15 | |
*** matsuhashi has quit IRC | 10:16 | |
*** matsuhas_ has quit IRC | 10:18 | |
*** matsuhashi has joined #savanna | 10:19 | |
*** matsuhashi has quit IRC | 10:23 | |
*** akuznetsov has quit IRC | 10:28 | |
*** jcooley_ has quit IRC | 10:32 | |
*** SergeyLukjanov has joined #savanna | 10:34 | |
*** ruhe has joined #savanna | 10:42 | |
*** ruhe has quit IRC | 10:48 | |
*** ruhe has joined #savanna | 10:55 | |
*** SergeyLukjanov has quit IRC | 10:55 | |
*** akuznetsov has joined #savanna | 11:03 | |
*** nosnos_ has quit IRC | 11:13 | |
*** ruhe has quit IRC | 11:19 | |
*** jcooley_ has joined #savanna | 11:29 | |
*** akuznetsov has quit IRC | 11:37 | |
*** dmitryme has joined #savanna | 11:44 | |
*** jcooley_ has quit IRC | 12:02 | |
*** _crobertsrh is now known as crobertsrh | 12:17 | |
*** dmitryme_ has joined #savanna | 13:16 | |
*** dmitryme has quit IRC | 13:17 | |
*** dmitryme_ is now known as dmitryme | 13:17 | |
*** akuznetsov has joined #savanna | 13:25 | |
*** jcooley_ has joined #savanna | 14:00 | |
*** ityaptin has joined #savanna | 14:01 | |
*** tmckay has joined #savanna | 14:11 | |
*** jcooley_ has quit IRC | 14:34 | |
*** dmitryme has quit IRC | 14:59 | |
*** alazarev has joined #savanna | 15:19 | |
*** akuznetsov has quit IRC | 15:37 | |
*** badams has joined #savanna | 15:46 | |
*** jcooley_ has joined #savanna | 15:48 | |
badams | could anyone here provide some help with my installation? | 15:48 |
---|---|---|
badams | having trouble getting the dashboard to work properly. also not sure if im using the correct endpoints | 15:50 |
*** jcooley_ has quit IRC | 15:54 | |
crobertsrh | badams: what sort of error messages are you seeing? Which OS are you running and how did you install (local build vs package)? | 15:57 |
badams | crobertsh: I'm installing on ububtu, from the tarball as directed here https://savanna.readthedocs.org/en/latest/userdoc/installation.guide.html | 16:00 |
badams | crobertsrh | 16:00 |
*** jcooley_ has joined #savanna | 16:00 | |
crobertsrh | Does the Savanna tab show up in your dashboard, or is your dashboard not starting at all? | 16:01 |
badams | and as far as errors, im not seeing any really. not sure if my logging is set up correctly | 16:01 |
badams | the tab is there, it just internal errors out | 16:01 |
crobertsrh | Ah, ok | 16:01 |
crobertsrh | Do you have the savanna-api running somewhere? | 16:02 |
badams | everytime i run it with my config file it holds my cmd line hostage | 16:02 |
badams | unless thats expected | 16:03 |
badams | it says '(12566) wsgi starting up on http://10.10.10.51:8386/' then hangs | 16:03 |
badams | i can see http requests going to that address:port | 16:04 |
crobertsrh | I usually start mine with an & to keep it in the background | 16:04 |
badams | yeah ok | 16:05 |
crobertsrh | Ok....are there any exceptions noted in the savanna-api stuff? | 16:05 |
crobertsrh | In 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 |
badams | it is right, but i changed it to the ip anyway | 16:06 |
crobertsrh | Also, make sure that your os_auth_username and os_auth_password are set correctly in there | 16:06 |
badams | both set to the savanna user and service tenant | 16:07 |
badams | maybe ill check roles again | 16:07 |
crobertsrh | no firewall issue on your openstack machine? | 16:07 |
badams | none that ive seen | 16:07 |
badams | there 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 endpoint | 16:09 |
crobertsrh | What is the exception trace that you see in the dashboard when it bombs out? | 16:11 |
*** alazarev has quit IRC | 16:12 | |
crobertsrh | From your savanna directory, can you run ./tools/get_auth_token successfully? | 16:13 |
badams | opstack@openstack-controller:/etc/savanna$ ./tools/get_auth_token ./tools/get_auth_token: line 3: tox: command not found | 16:14 |
crobertsrh | ah, ok. I guess that only works for the venv installs | 16:17 |
badams | would you recommend going that route instead? | 16:18 |
crobertsrh | No, you shouldn't need to. | 16:18 |
crobertsrh | I'm trying to think of another way to quickly test your auth setup. | 16:19 |
crobertsrh | Oh.... | 16:20 |
crobertsrh | any chance that directly running the get_auth_token.py script works for you? (python get_auth_token.py) | 16:21 |
badams | hmm now we're getting somewhere... | 16:22 |
badams | it looks like its using the wrong creds | 16:24 |
badams | at least for that .py | 16:24 |
badams | but i know i have them defeined in my savanna.conf | 16:24 |
badams | defined* | 16:24 |
crobertsrh | You can tweak the script and see which it's using or trying to use | 16:24 |
*** alazarev has joined #savanna | 16:25 | |
crobertsrh | Looks like it's trying to use /etc/savanna/savanna.conf | 16:25 |
badams | thats where mine is, i thought | 16:27 |
badams | yup | 16:27 |
crobertsrh | Strange....your values aren't commented out by any chance, are they? Stupid question, but I might as well ask. | 16:29 |
badams | it's ok, but no theyre not | 16:29 |
*** rnirmal has joined #savanna | 16:38 | |
badams | ok the test was successful when i passed the config file directly in | 16:39 |
badams | don't know why i didnt do that before | 16:39 |
crobertsrh | Ah, ok. | 16:40 |
crobertsrh | You should also be able to pass that config file directly to the savanna-api when you start it up | 16:40 |
badams | yeah i knew that | 16:40 |
crobertsrh | Maybe it's picking up some garbage values by default rather than your config | 16:40 |
badams | hmmm | 16:41 |
crobertsrh | After you restart your savanna-api, you might also need to restart your dashboard. | 16:42 |
*** akuznetsov has joined #savanna | 16:43 | |
badams | how would you recommend restarting savanna-api? | 16:44 |
badams | ive just been killing the process | 16:45 |
crobertsrh | that should be fine | 16:45 |
badams | do you provide an endpoint for savanna? | 16:46 |
crobertsrh | You could probably have it installed as a service and then use your system's service controls, but kill process/restart works nice | 16:46 |
badams | ah id much rather do that | 16:46 |
badams | didnt see how though | 16:47 |
crobertsrh | I don't think there is a savanna endpoint. | 16:47 |
badams | hmm | 16:48 |
crobertsrh | If 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 |
badams | the offical docs detail either using pip or installing from the tarball | 16:49 |
crobertsrh | Ah. I was looking at the RDO install blurb at the top. Obviously, not an option for you though. | 16:50 |
badams | its not a big deal, it would just fit with the rest of the services | 16:52 |
crobertsrh | Right | 16:52 |
crobertsrh | Looks like ubuntu integration is on the roadmap for 1.0. https://wiki.openstack.org/wiki/Savanna/Roadmap | 16:53 |
*** sacharya has joined #savanna | 16:53 | |
badams | cool | 16:53 |
badams | i think that ive got that set up correctly, so maybe the problem is with my dashboard | 16:54 |
crobertsrh | For the dashboard, what have you set "SAVANNA_URL" to be? | 16:55 |
badams | SAVANNA_URL = 'http://192.168.4.51:8386/v1.1' | 16:56 |
badams | in the file /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py | 16:56 |
badams | also in /etc/openstack_dashboard/local_settings.py | 16:57 |
badams | because im unsure which one it actually uses | 16:58 |
crobertsrh | And what is the stack trace when it blows up in the UI? | 16:58 |
crobertsrh | pastebin it if you'd prefer | 16:58 |
badams | i would if i could find it. not sure where the dashboard logs are | 16:59 |
badams | cd | 16:59 |
badams | oops | 16:59 |
crobertsrh | Oh, nothing shows up in the UI? | 16:59 |
crobertsrh | No error message of any sort? | 16:59 |
badams | oh that? yeah hold on | 16:59 |
badams | http://paste.openstack.org/show/50826/ | 17:00 |
badams | code 500 | 17:00 |
crobertsrh | well, that's certainly not overly helpful :) | 17:00 |
badams | right? | 17:00 |
crobertsrh | Nothing in the apache log? | 17:01 |
badams | thats the one im trying to find | 17:01 |
crobertsrh | maybe /var/log/httpd? | 17:02 |
badams | just found it in /var/log/apache2 | 17:02 |
badams | dur | 17:02 |
badams | so this is when i click the savanna tab http://paste.openstack.org/show/50828/ | 17:05 |
badams | from /var/log/apache2/error.log | 17:05 |
crobertsrh | Seems 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 |
crobertsrh | I have to bail for awhile. I'll be back later though. Good luck. | 17:13 |
badams | thanks man | 17:14 |
badams | much appreciated | 17:14 |
*** jcooley_ has quit IRC | 17:16 | |
*** jcooley_ has joined #savanna | 17:17 | |
*** jcooley_ has quit IRC | 17:21 | |
*** SergeyLukjanov has joined #savanna | 17:22 | |
*** badams has quit IRC | 17:48 | |
*** SergeyLukjanov has quit IRC | 18:41 | |
*** alazarev has quit IRC | 19:02 | |
*** alazarev has joined #savanna | 19:03 | |
*** badams has joined #savanna | 19:35 | |
*** badams has quit IRC | 19:39 | |
*** macjack has joined #savanna | 19:44 | |
*** badams has joined #savanna | 19:48 | |
crobertsrh | any luck badams? | 20:03 |
badams | hey, not really no | 20:32 |
crobertsrh | Were you able to successfully submit anything directly to the HTTP REST interface? Or did that fail too? | 20:41 |
badams | every time i try to access the rest interfaces it tells me no route to host | 20:47 |
crobertsrh | Ah. Do you know which port your savanna-api is listening on? | 20:48 |
crobertsrh | Is it 8383? | 20:48 |
badams | 8386 | 20:49 |
crobertsrh | I think 8386 is the default | 20:49 |
crobertsrh | can you verify that it is indeed listening there via netstat or something similar? | 20:49 |
badams | yeah i did, and its there | 20:49 |
crobertsrh | Is it bound to a particular interface (maybe not 0.0.0.0)? | 20:50 |
badams | it was bound to 10.10.10.51, but the other services were bound to 0.0.0.0 so i changed it to that | 20:51 |
crobertsrh | I'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 |
crobertsrh | This place should be more lively on Monday. Many were gone this week for a design summit. | 20:52 |
badams | dang, bad timing on my part | 20:53 |
badams | thanks for your help though | 20:54 |
crobertsrh | Sorry I couldn't help more. If anything strikes me, I'll be sure to ping you. | 20:54 |
tmckay | I think sometimes various python things have trouble with hostname resolution | 20:55 |
tmckay | sometimes if I try localhost, I get hosed. If I use the real IP, I'm okay | 20:55 |
tmckay | I don't recall having the no route to host error with savanna-api, though. Not that I can remember | 20:56 |
badams | tmckay: what would your request look like? | 20:57 |
tmckay | hmm, let me dig one up.... I've been at training all week | 20:57 |
badams | thanks man | 20:57 |
tmckay | something 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:$TOKEN | 21:00 |
* tmckay starts up devstack | 21:01 | |
tmckay | badams, here is a page that is a helpful cheat sheet https://github.com/mattf/savanna/blob/RDO-quickstart/doc/source/rdo_quickstart.rst | 21:01 |
tmckay | talks about RDO but is pretty applicable to devstack as well | 21:02 |
tmckay | also, the Savanna doc pages should be newly updated with the latest REST api stuff (if you haven't seen them) | 21:02 |
tmckay | croberts, 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 me | 21:03 |
tmckay | crobertsrh even | 21:03 |
crobertsrh | tmckay: Yes, I really want to get to a session. It seems like it will be vital in the coming months/years | 21:04 |
tmckay | crobertsrh, 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* mapreduce | 21:06 |
tmckay | YARN == "yet another resource negotiator" | 21:07 |
crobertsrh | Yeah, Yarn seems to be the future (or at least the present). | 21:07 |
tmckay | ie, a hadoop scheduler. I was kind of fuzzy on what exactly it was... | 21:07 |
badams | sooo apparently, my url was messed up in my dashboard config file | 21:09 |
crobertsrh | Ah :) | 21:09 |
badams | which is embarassing to admit, but there you go | 21:09 |
crobertsrh | that'll do it | 21:09 |
crobertsrh | Lots of fun learning and trying other stuff though | 21:09 |
tmckay | yeah, fyi, devstack just came up | 21:09 |
tmckay | $ http http://localhost:8386/v1.0/$TENANT/clusters X-Auth-Token:$TOKEN | 21:09 |
tmckay | HTTP/1.1 200 OK | 21:09 |
tmckay | Content-Length: 16 | 21:09 |
tmckay | Content-Type: application/json | 21:09 |
tmckay | Date: Fri, 08 Nov 2013 21:09:13 GMT | 21:09 |
tmckay | { | 21:09 |
tmckay | "clusters": [] | 21:09 |
tmckay | } | 21:09 |
badams | true enough | 21:09 |
tmckay | that's about as simple as it gets | 21:10 |
crobertsrh | Good luck with savanna. Let us know if you have any troubles or suggestions. | 21:10 |
badams | thanks to the both of you | 21:10 |
tmckay | np. Like crobertsrh said, usually this place is hopping | 21:10 |
badams | if the past few months have been any indication, i will be back | 21:10 |
crobertsrh | Heh | 21:10 |
badams | peace | 21:11 |
*** akuznetsov has quit IRC | 21:15 | |
*** badams has quit IRC | 21:17 | |
*** tmckay has quit IRC | 21:26 | |
*** rnirmal has quit IRC | 21:30 | |
*** DennyZhang has joined #savanna | 21:32 | |
*** alazarev has quit IRC | 21:37 | |
*** crobertsrh is now known as _crobertsrh | 21:40 | |
*** alazarev has joined #savanna | 22:01 | |
*** alazarev has quit IRC | 22:18 | |
*** alazarev has joined #savanna | 22:19 | |
*** sacharya has quit IRC | 22:25 | |
*** alazarev has quit IRC | 22:30 | |
*** alazarev has joined #savanna | 22:33 | |
*** DennyZhang has quit IRC | 22:45 | |
*** alazarev has quit IRC | 22:59 | |
*** ityaptin has quit IRC | 23:10 | |
*** ityaptin has joined #savanna | 23:10 | |
*** alazarev has joined #savanna | 23:12 | |
*** sacharya has joined #savanna | 23:15 | |
*** alazarev has quit IRC | 23:17 | |
*** sacharya has quit IRC | 23:21 | |
*** alazarev has joined #savanna | 23:23 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!