*** abalutoiu has quit IRC | 00:05 | |
*** esikachev has joined #openstack-sahara | 00:54 | |
*** abalutoiu has joined #openstack-sahara | 00:58 | |
*** esikachev has quit IRC | 00:59 | |
*** masuberu has joined #openstack-sahara | 01:14 | |
*** masber has quit IRC | 01:18 | |
*** shuyingya has joined #openstack-sahara | 01:26 | |
*** esikachev has joined #openstack-sahara | 01:55 | |
*** masber has joined #openstack-sahara | 01:57 | |
*** zhuli has joined #openstack-sahara | 01:59 | |
*** masuberu has quit IRC | 02:00 | |
*** esikachev has quit IRC | 02:00 | |
*** esikachev has joined #openstack-sahara | 02:56 | |
*** esikachev has quit IRC | 03:00 | |
*** brad[] has quit IRC | 03:16 | |
*** dave-mccowan has joined #openstack-sahara | 03:19 | |
*** dave-mccowan has quit IRC | 03:40 | |
*** esikachev has joined #openstack-sahara | 03:57 | |
*** esikachev has quit IRC | 04:01 | |
*** esikachev has joined #openstack-sahara | 04:10 | |
openstackgerrit | Ngo Quoc Cuong proposed openstack/sahara master: Globalize regex objects https://review.openstack.org/482795 | 04:13 |
---|---|---|
*** esikachev has quit IRC | 04:18 | |
*** pcaruana has joined #openstack-sahara | 04:41 | |
*** pcaruana has quit IRC | 04:58 | |
*** zhuli has quit IRC | 05:07 | |
*** esikachev has joined #openstack-sahara | 05:07 | |
*** zhuli has joined #openstack-sahara | 05:07 | |
*** rcernin has joined #openstack-sahara | 05:33 | |
*** pgadiya has joined #openstack-sahara | 05:39 | |
*** anshul has joined #openstack-sahara | 06:15 | |
*** openstackgerrit has quit IRC | 06:48 | |
-openstackstatus- NOTICE: FYI, ask.openstack.org is down, review.o.o is slow - please have patience until this is fixed | 06:52 | |
*** tesseract has joined #openstack-sahara | 07:11 | |
*** pcaruana has joined #openstack-sahara | 07:31 | |
*** tuanluong has joined #openstack-sahara | 07:36 | |
*** pcaruana has quit IRC | 07:41 | |
*** pcaruana has joined #openstack-sahara | 07:45 | |
-openstackstatus- NOTICE: Gerrit is going to be restarted, due to low performance | 07:50 | |
-openstackstatus- NOTICE: Gerrit has been successfully restarted | 07:57 | |
*** shuyingy_ has joined #openstack-sahara | 08:03 | |
*** shuyingya has quit IRC | 08:03 | |
*** shuyingya has joined #openstack-sahara | 08:19 | |
*** shuyingy_ has quit IRC | 08:19 | |
*** pcaruana has quit IRC | 08:33 | |
*** pcaruana has joined #openstack-sahara | 08:46 | |
*** raissa_ has joined #openstack-sahara | 08:49 | |
*** mgoddard_ has joined #openstack-sahara | 08:53 | |
*** Poornima has joined #openstack-sahara | 09:18 | |
*** tosky has joined #openstack-sahara | 09:19 | |
*** Poornima has quit IRC | 09:20 | |
*** pcaruana has quit IRC | 09:32 | |
*** pcaruana has joined #openstack-sahara | 09:32 | |
*** esikachev has quit IRC | 09:40 | |
*** openstackgerrit has joined #openstack-sahara | 09:47 | |
openstackgerrit | Merged openstack/puppet-sahara master: changed author https://review.openstack.org/482515 | 09:47 |
*** brad[] has joined #openstack-sahara | 09:57 | |
*** shuyingya has quit IRC | 09:59 | |
*** shuyingya has joined #openstack-sahara | 10:00 | |
*** shuyingya has quit IRC | 10:00 | |
*** shuyingya has joined #openstack-sahara | 10:01 | |
*** zhuli has quit IRC | 10:04 | |
*** zhuli has joined #openstack-sahara | 10:05 | |
*** tuanluong has quit IRC | 10:14 | |
*** esikachev has joined #openstack-sahara | 10:53 | |
*** esikachev has quit IRC | 10:57 | |
*** dave-mccowan has joined #openstack-sahara | 11:19 | |
*** shuyingya has quit IRC | 11:59 | |
*** tellesnobrega has quit IRC | 12:31 | |
*** tellesnobrega has joined #openstack-sahara | 12:33 | |
*** pgadiya has quit IRC | 12:35 | |
*** tellesnobrega has quit IRC | 12:35 | |
*** zhenguo_ has joined #openstack-sahara | 12:40 | |
*** tellesnobrega has joined #openstack-sahara | 12:40 | |
*** zhenguo has quit IRC | 12:41 | |
*** vkmc has quit IRC | 12:41 | |
*** zhenguo_ is now known as zhenguo | 12:41 | |
*** mgoddard_ has quit IRC | 12:41 | |
*** mgoddard_ has joined #openstack-sahara | 12:42 | |
*** vkmc has joined #openstack-sahara | 12:42 | |
*** zhuli has quit IRC | 12:42 | |
*** zhuli has joined #openstack-sahara | 12:43 | |
*** dgonzalez has quit IRC | 12:44 | |
*** dgonzalez has joined #openstack-sahara | 12:46 | |
*** esikachev has joined #openstack-sahara | 12:46 | |
openstackgerrit | Merged openstack/sahara-image-elements master: Get files from tarballs.o.o if possible (extjs, policy) https://review.openstack.org/481477 | 12:55 |
*** shuyingya has joined #openstack-sahara | 13:13 | |
*** shuyingya has quit IRC | 13:17 | |
*** jeremyfreudberg has joined #openstack-sahara | 13:21 | |
*** zhuli has quit IRC | 13:43 | |
*** zhuli has joined #openstack-sahara | 13:44 | |
*** zhuli has quit IRC | 13:48 | |
*** zhuli has joined #openstack-sahara | 13:49 | |
openstackgerrit | Luigi Toscano proposed openstack/sahara-specs master: Deprecate CentOS 6 images https://review.openstack.org/482972 | 13:52 |
tosky | muahahaha | 13:52 |
*** zhuli has quit IRC | 13:52 | |
*** zhuli has joined #openstack-sahara | 13:53 | |
*** zhuli has quit IRC | 13:54 | |
*** zhuli has joined #openstack-sahara | 13:54 | |
*** zhuli has quit IRC | 13:55 | |
openstackgerrit | Iwona Kotlarska proposed openstack/sahara master: Add import of node group templates https://review.openstack.org/482157 | 14:15 |
*** shuyingya has joined #openstack-sahara | 14:15 | |
*** shuyingya has quit IRC | 14:25 | |
*** shuyingya has joined #openstack-sahara | 14:29 | |
openstackgerrit | Luigi Toscano proposed openstack/sahara-specs master: Deprecate CentOS 6 images https://review.openstack.org/482972 | 14:29 |
openstackgerrit | Telles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin https://review.openstack.org/448712 | 14:29 |
tellesnobrega | esikachev, can you take a look at https://review.openstack.org/482972 ? | 14:31 |
tellesnobrega | jeremyfreudberg ^ | 14:31 |
jeremyfreudberg | on it | 14:31 |
tellesnobrega | thanks | 14:31 |
tellesnobrega | iwonka, ping | 14:37 |
iwonka | tellesnobrega: pong | 14:38 |
tellesnobrega | iwonka, I was thinking about the import here | 14:40 |
iwonka | i tried to add validation | 14:40 |
tellesnobrega | the way the template is created is the server side receives a json ready with the template | 14:40 |
tellesnobrega | maybe we could do the same thing here. Doing this way we wouldn't need to change anything on the server | 14:41 |
tellesnobrega | only add the option on the UI and CLI to import and create the json and send it to the create_cluster_template API entry | 14:41 |
tellesnobrega | what do you think? | 14:41 |
iwonka | why is that better? or worse? (and i don't know how to add things to cli and ui) | 14:42 |
iwonka | i guess it would be better if it was done the same way as everything else? | 14:43 |
tellesnobrega | that is why this is better | 14:46 |
tellesnobrega | the UI sends the server the json to create the template | 14:46 |
tellesnobrega | here we are getting the data and making the json on the server side | 14:47 |
tellesnobrega | samething happens to the CLI | 14:47 |
tellesnobrega | if we add stuff there, that we will need to | 14:47 |
tellesnobrega | because we need users to be able to use our feature | 14:47 |
tellesnobrega | and we would avoid changing the server side | 14:47 |
iwonka | ok, so i'll change it | 14:48 |
iwonka | so import is actually pretty much lile create? | 14:49 |
iwonka | *like | 14:49 |
iwonka | or it should do something specific? | 14:49 |
tellesnobrega | not from my point of view | 14:49 |
tellesnobrega | not on the server side | 14:49 |
iwonka | so maybe we can use function to create from import on cli and ui? | 14:49 |
tellesnobrega | it will be different on the user entry | 14:49 |
iwonka | and not add a new rest api function? | 14:50 |
tellesnobrega | yes | 14:50 |
tellesnobrega | my idea here is not to change server at all for import | 14:50 |
tellesnobrega | only UI and CLI and use the create from server | 14:50 |
iwonka | ok, so how to remove this commit? | 14:50 |
iwonka | and change the ui and cli? | 14:51 |
tellesnobrega | you can just abandon it | 14:51 |
iwonka | ok | 14:51 |
iwonka | what about ui and cli? | 14:51 |
tellesnobrega | lets start with UI | 14:51 |
iwonka | ok | 14:51 |
tellesnobrega | https://github.com/openstack/sahara-dashboard | 14:52 |
tellesnobrega | this is where it lives | 14:52 |
tellesnobrega | I'm not very experienced with UI but we will figure it out together | 14:52 |
iwonka | i should download it manually? | 14:52 |
tosky | and/or https://git.openstack.org/cgit/openstack/sahara-dashboard (https://git.openstack.org/openstack/sahara-dashboard to checkout) | 14:53 |
tellesnobrega | git clone | 14:53 |
tellesnobrega | take a quick look around, I have to go eat, when I'm back we can figure out stuff together | 14:54 |
tellesnobrega | how it works and what should we do | 14:54 |
tellesnobrega | back soon | 14:55 |
iwonka | ok | 14:55 |
*** rcernin has quit IRC | 15:01 | |
*** Poornima has joined #openstack-sahara | 15:19 | |
*** anshul has quit IRC | 15:23 | |
openstackgerrit | Luigi Toscano proposed openstack/sahara-specs master: Deprecate CentOS 6 images https://review.openstack.org/482972 | 15:24 |
tosky | thanks for the comments :) | 15:26 |
tosky | jeremyfreudberg: I really didn't check too much that message in the UI in a long time | 15:27 |
tosky | either the CLI or just going quickly through the combobox and the buttons | 15:27 |
*** Poornima has quit IRC | 15:38 | |
iwonka | tellesnobrega: i guess the file that needs to be edited is sahara-dashboard/api/sahara.py and there are functions for dealing with ngt | 15:55 |
iwonka | they use client method from the same file | 15:56 |
iwonka | but i guess it's a place to start? | 15:56 |
*** esikachev has quit IRC | 15:57 | |
tellesnobrega | iwonka, sounds like it yes | 15:58 |
tellesnobrega | lets dig in together and find out | 15:59 |
*** zhuli_ has joined #openstack-sahara | 16:00 | |
*** tesseract has quit IRC | 16:05 | |
iwonka | i have no idea how to test it | 16:08 |
iwonka | i mean | 16:08 |
iwonka | anything changed there | 16:08 |
*** shuyingya has quit IRC | 16:16 | |
*** jeremyfreudberg has quit IRC | 16:35 | |
*** raissa_ has quit IRC | 16:39 | |
*** tosky_ has joined #openstack-sahara | 16:53 | |
*** tosky is now known as Guest45177 | 16:53 | |
*** tosky_ is now known as tosky | 16:53 | |
*** Guest45177 has quit IRC | 16:55 | |
*** pcaruana has quit IRC | 16:56 | |
*** mgoddard_ has quit IRC | 17:05 | |
tellesnobrega | iwonka, we have to figure this out, maybe the best way to test now would be changing the files on the deployment itself | 17:09 |
tellesnobrega | for example, you use devstack right? | 17:09 |
tellesnobrega | maybe you can find where sahara-dashboard is installed and change there instead of the one you cloned and later you copy the changes to submit | 17:10 |
tellesnobrega | I'm not sure what is the best way either | 17:10 |
tellesnobrega | NikitaKonovalov, are you around? | 17:10 |
*** jeremyfreudberg has joined #openstack-sahara | 17:16 | |
tellesnobrega | jeremyfreudberg, have you worked on sahara-dashboard? | 17:17 |
jeremyfreudberg | tellesnobrega, a little bit | 17:17 |
tellesnobrega | how did you test your changes to the UI? | 17:18 |
tellesnobrega | were you working on the deployed folders or did you make you deployment see you local changes somehow? | 17:18 |
tosky | I think I manually moved the changes to the checkout of the repository - I don't remember if it works in a virtualenv with python setup.py devel | 17:19 |
*** EmilienM has left #openstack-sahara | 17:19 | |
jeremyfreudberg | if you are either using sahara-dashboard devstack plugin, or manually copying sahara dashboard files into horizon directory | 17:19 |
jeremyfreudberg | then you can see your changes every time you restart apache, or otherwise reload the wsgi app | 17:19 |
jeremyfreudberg | https://github.com/openstack/sahara-dashboard/blob/master/devstack/plugin.sh#L9 if you don't want to restack | 17:20 |
tosky | that too | 17:20 |
tellesnobrega | so basically cp to the horizon folder and restart apache | 17:21 |
jeremyfreudberg | tellesnobrega, that should be all that's needed | 17:22 |
tellesnobrega | jeremyfreudberg, cool | 17:22 |
tellesnobrega | thanks | 17:22 |
jeremyfreudberg | `setup.py develop` or (pip install -r) would be probably needed as well, not sure if there's any dependencies of sahara-dashboard not already pulled by horizon | 17:23 |
jeremyfreudberg | not 100% sure about what I did last time I was working on the dashboard | 17:23 |
tellesnobrega | I see | 17:25 |
tellesnobrega | tosky, now this is more to you, how to do that with packstack :) ? | 17:26 |
tosky | tellesnobrega: in that case horizon is installed system-wide, so you may want to try a python setup.py develop as root | 17:26 |
tellesnobrega | trying | 17:30 |
tellesnobrega | I was able to run pip install -e sahara-dashboard/ | 17:38 |
tellesnobrega | the python setup.py develop failed | 17:38 |
tosky | oki | 17:38 |
* tosky relocates | 17:38 | |
*** tosky has quit IRC | 17:38 | |
jeremyfreudberg | tellesnobrega, that sounds good to me, and i think after you copy the folder over and restart apache, you should be "in business" | 17:39 |
tellesnobrega | jeremyfreudberg, cool, going to try that | 17:40 |
tellesnobrega | so much easier to change on sahara server side lol | 17:40 |
*** mgoddard_ has joined #openstack-sahara | 17:45 | |
tellesnobrega | apparently I just broke my UI | 17:48 |
*** hoonetorg has quit IRC | 17:54 | |
*** tosky has joined #openstack-sahara | 18:01 | |
openstackgerrit | Telles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin https://review.openstack.org/448712 | 18:05 |
*** hoonetorg has joined #openstack-sahara | 18:09 | |
*** esikachev has joined #openstack-sahara | 18:10 | |
openstackgerrit | Telles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin https://review.openstack.org/448712 | 18:20 |
iwonka | tellesnobrega: i have horizon installed | 18:23 |
iwonka | and there's openstack-dashboard | 18:23 |
iwonka | but no specific sahara-dashboard | 18:24 |
tellesnobrega | iwonka, you have devstack installed right? | 18:24 |
iwonka | yeah | 18:24 |
iwonka | but sahara-dashboard is not enabled in local.conf | 18:25 |
iwonka | should it be? | 18:25 |
tellesnobrega | I think you can install like jeremyfreudberg suggested | 18:28 |
tellesnobrega | did you clone sahara-dashboard on the same machine your devstack is running? | 18:29 |
iwonka | yes | 18:31 |
iwonka | so i should just copy it? | 18:31 |
iwonka | to horizon? | 18:31 |
tellesnobrega | I think the right steps are: 1) under sahara-dashboard/ run sudo setup.py develop 2) cp sahara-dashboard/enabled/* ${dest}/horizon/openstack_dashboard/enabled/ | 18:33 |
tellesnobrega | something like this | 18:33 |
tellesnobrega | check the paths | 18:34 |
tellesnobrega | jeremyfreudberg, does that look correct? | 18:34 |
tellesnobrega | ^ | 18:34 |
jeremyfreudberg | that should be it | 18:34 |
iwonka | ok, did that | 18:37 |
iwonka | and now? | 18:37 |
jeremyfreudberg | restarting apache | 18:37 |
iwonka | any pdb i run will be in horizon tab in screen? | 18:37 |
jeremyfreudberg | is there a horizon tab in screen? or does it run somewhere else | 18:38 |
jeremyfreudberg | don't have a devstack right now to look at, so not sure | 18:38 |
iwonka | there is one in screen | 18:39 |
iwonka | restart apache with systemctl is ok? | 18:39 |
jeremyfreudberg | well if horizon is running in screen you can restart it in screen i think | 18:39 |
jeremyfreudberg | instead of systemctl, just do Ctrl-C,up-arrow in horizon screen | 18:39 |
jeremyfreudberg | i would think | 18:39 |
iwonka | ok | 18:40 |
*** zhuli_ has quit IRC | 18:40 | |
iwonka | how to check if it's running? | 18:40 |
*** mgoddard_ has quit IRC | 18:44 | |
tosky | didn't devstack phase put screens in favour of systemd units and journal logs? | 18:46 |
jeremyfreudberg | tosky, yeah, but iwonka's still is the old screen kind | 18:46 |
jeremyfreudberg | anyway, iwonka, to see if it's working you can open a web browser pointing to your devstack ip (possibly localhost if you are inside that machine itself) | 18:47 |
iwonka | i ssh to the machine | 18:48 |
jeremyfreudberg | put the ip that you ssh to in your webbrowser | 18:49 |
iwonka | i got an error | 18:50 |
iwonka | ok, many errors | 18:50 |
iwonka | generally "OfflineGenerationError at /auth/login/" | 18:50 |
iwonka | "You have offline compression enabled but key "ed8d3724ce0cfc0c068690e5b94f8c20" is missing from offline manifest. You may need to run "python manage.py compress"." | 18:51 |
iwonka | i don't know where this manage,py is supposed to be | 18:51 |
jeremyfreudberg | go into sahara-dashboard/sahara_dashboard | 18:51 |
jeremyfreudberg | i mean the folder it was cloned into | 18:52 |
jeremyfreudberg | cd ${cloned_folder}/sahara_dashboard then do DJANGO_SETTINGS_MODULE=openstack_dashboard.settings and ../manage.py compilemessages | 18:53 |
tosky | for stuff installed by packages, manage.py is in /usr/share/openstack-dashboard/manage.py | 18:54 |
tosky | but of course the path for devstack are different | 18:54 |
jeremyfreudberg | tosky, I think it has to be the manage.py of sahara-dashboard since it has to do with the locale folder specifically of that | 18:54 |
jeremyfreudberg | https://github.com/openstack/sahara-dashboard/blob/master/devstack/plugin.sh#L14 | 18:54 |
jeremyfreudberg | (of course, if that's too much of a pain, you could probably just get away with rm -rf the locale folder) | 18:55 |
iwonka | and i should recopy files? | 18:56 |
jeremyfreudberg | if you already copied the sahara things into the enabled/ folder then you don't have to copy again | 18:56 |
iwonka | it didn't help, still the same error | 18:57 |
jeremyfreudberg | did you restart horizon? | 18:58 |
iwonka | oh, i didn't | 18:59 |
iwonka | but when i do i get this error in horizon tab of screent | 18:59 |
iwonka | i did manage.py compress as it suggested | 19:01 |
iwonka | but it didn't help | 19:01 |
jeremyfreudberg | oh, wait | 19:06 |
jeremyfreudberg | your error was about compression, not the locale messages | 19:06 |
jeremyfreudberg | iwonka, so did you do manage.py compress or manage.py compilemessages ? and on which manage.py? | 19:09 |
iwonka | sahara-dashboard/manage.py compress | 19:09 |
jeremyfreudberg | and you still get same compression error even after that? | 19:10 |
iwonka | yes | 19:10 |
iwonka | i restarted horizon | 19:10 |
iwonka | and on restart it printed this error | 19:10 |
jeremyfreudberg | got it | 19:10 |
jeremyfreudberg | try export DJANGO_SETTINGS_MODULE=openstack_dashboard.settings first and then manage.py compress again | 19:11 |
jeremyfreudberg | would be my best idea | 19:11 |
iwonka | it still gives exactly the same error on restart :( | 19:13 |
jeremyfreudberg | :( it's not ideal, but you can run unstack.sh add `enable_plugin sahara-dashboard git://git.openstack.org/openstack/sahara-dashboard` to local.conf and then stack.sh again, but you really shouldn't have to | 19:14 |
jeremyfreudberg | otherwise | 19:15 |
jeremyfreudberg | you can kill Horizon in screen, and instead try python /opt/stack/horizon/manage.py runserver 0.0.0.0:<some port number> | 19:16 |
iwonka | ummm | 19:17 |
iwonka | i'll restack | 19:17 |
jeremyfreudberg | good choice | 19:18 |
iwonka | it's getting late anyway, so it's start again during night | 19:18 |
*** abalutoiu_ has joined #openstack-sahara | 19:18 | |
*** abalutoiu has quit IRC | 19:22 | |
*** jeremyfreudberg has quit IRC | 19:36 | |
*** lucasxu has joined #openstack-sahara | 19:51 | |
openstackgerrit | Merged openstack/sahara-specs master: Deprecate CentOS 6 images https://review.openstack.org/482972 | 19:52 |
*** esikachev has quit IRC | 19:58 | |
*** lucasxu has quit IRC | 20:08 | |
*** tmckay has joined #openstack-sahara | 20:09 | |
*** abalutoiu_ has quit IRC | 20:20 | |
*** esikachev has joined #openstack-sahara | 20:54 | |
*** esikachev has quit IRC | 20:58 | |
*** dave-mccowan has quit IRC | 21:09 | |
*** mgoddard_ has joined #openstack-sahara | 21:14 | |
*** mgoddard_ has quit IRC | 21:26 | |
*** esikachev has joined #openstack-sahara | 21:55 | |
*** esikachev has quit IRC | 22:00 | |
*** tosky has quit IRC | 22:32 | |
*** tosky has joined #openstack-sahara | 22:32 | |
*** tmckay has quit IRC | 22:54 | |
*** esikachev has joined #openstack-sahara | 22:56 | |
*** tosky has quit IRC | 22:57 | |
*** esikachev has quit IRC | 23:01 | |
*** zhuli_ has joined #openstack-sahara | 23:55 | |
*** esikachev has joined #openstack-sahara | 23:57 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!