Wednesday, 2017-07-12

*** abalutoiu has quit IRC00:05
*** esikachev has joined #openstack-sahara00:54
*** abalutoiu has joined #openstack-sahara00:58
*** esikachev has quit IRC00:59
*** masuberu has joined #openstack-sahara01:14
*** masber has quit IRC01:18
*** shuyingya has joined #openstack-sahara01:26
*** esikachev has joined #openstack-sahara01:55
*** masber has joined #openstack-sahara01:57
*** zhuli has joined #openstack-sahara01:59
*** masuberu has quit IRC02:00
*** esikachev has quit IRC02:00
*** esikachev has joined #openstack-sahara02:56
*** esikachev has quit IRC03:00
*** brad[] has quit IRC03:16
*** dave-mccowan has joined #openstack-sahara03:19
*** dave-mccowan has quit IRC03:40
*** esikachev has joined #openstack-sahara03:57
*** esikachev has quit IRC04:01
*** esikachev has joined #openstack-sahara04:10
openstackgerritNgo Quoc Cuong proposed openstack/sahara master: Globalize regex objects  https://review.openstack.org/48279504:13
*** esikachev has quit IRC04:18
*** pcaruana has joined #openstack-sahara04:41
*** pcaruana has quit IRC04:58
*** zhuli has quit IRC05:07
*** esikachev has joined #openstack-sahara05:07
*** zhuli has joined #openstack-sahara05:07
*** rcernin has joined #openstack-sahara05:33
*** pgadiya has joined #openstack-sahara05:39
*** anshul has joined #openstack-sahara06:15
*** openstackgerrit has quit IRC06:48
-openstackstatus- NOTICE: FYI, ask.openstack.org is down, review.o.o is slow - please have patience until this is fixed06:52
*** tesseract has joined #openstack-sahara07:11
*** pcaruana has joined #openstack-sahara07:31
*** tuanluong has joined #openstack-sahara07:36
*** pcaruana has quit IRC07:41
*** pcaruana has joined #openstack-sahara07:45
-openstackstatus- NOTICE: Gerrit is going to be restarted, due to low performance07:50
-openstackstatus- NOTICE: Gerrit has been successfully restarted07:57
*** shuyingy_ has joined #openstack-sahara08:03
*** shuyingya has quit IRC08:03
*** shuyingya has joined #openstack-sahara08:19
*** shuyingy_ has quit IRC08:19
*** pcaruana has quit IRC08:33
*** pcaruana has joined #openstack-sahara08:46
*** raissa_ has joined #openstack-sahara08:49
*** mgoddard_ has joined #openstack-sahara08:53
*** Poornima has joined #openstack-sahara09:18
*** tosky has joined #openstack-sahara09:19
*** Poornima has quit IRC09:20
*** pcaruana has quit IRC09:32
*** pcaruana has joined #openstack-sahara09:32
*** esikachev has quit IRC09:40
*** openstackgerrit has joined #openstack-sahara09:47
openstackgerritMerged openstack/puppet-sahara master: changed author  https://review.openstack.org/48251509:47
*** brad[] has joined #openstack-sahara09:57
*** shuyingya has quit IRC09:59
*** shuyingya has joined #openstack-sahara10:00
*** shuyingya has quit IRC10:00
*** shuyingya has joined #openstack-sahara10:01
*** zhuli has quit IRC10:04
*** zhuli has joined #openstack-sahara10:05
*** tuanluong has quit IRC10:14
*** esikachev has joined #openstack-sahara10:53
*** esikachev has quit IRC10:57
*** dave-mccowan has joined #openstack-sahara11:19
*** shuyingya has quit IRC11:59
*** tellesnobrega has quit IRC12:31
*** tellesnobrega has joined #openstack-sahara12:33
*** pgadiya has quit IRC12:35
*** tellesnobrega has quit IRC12:35
*** zhenguo_ has joined #openstack-sahara12:40
*** tellesnobrega has joined #openstack-sahara12:40
*** zhenguo has quit IRC12:41
*** vkmc has quit IRC12:41
*** zhenguo_ is now known as zhenguo12:41
*** mgoddard_ has quit IRC12:41
*** mgoddard_ has joined #openstack-sahara12:42
*** vkmc has joined #openstack-sahara12:42
*** zhuli has quit IRC12:42
*** zhuli has joined #openstack-sahara12:43
*** dgonzalez has quit IRC12:44
*** dgonzalez has joined #openstack-sahara12:46
*** esikachev has joined #openstack-sahara12:46
openstackgerritMerged openstack/sahara-image-elements master: Get files from tarballs.o.o if possible (extjs, policy)  https://review.openstack.org/48147712:55
*** shuyingya has joined #openstack-sahara13:13
*** shuyingya has quit IRC13:17
*** jeremyfreudberg has joined #openstack-sahara13:21
*** zhuli has quit IRC13:43
*** zhuli has joined #openstack-sahara13:44
*** zhuli has quit IRC13:48
*** zhuli has joined #openstack-sahara13:49
openstackgerritLuigi Toscano proposed openstack/sahara-specs master: Deprecate CentOS 6 images  https://review.openstack.org/48297213:52
toskymuahahaha13:52
*** zhuli has quit IRC13:52
*** zhuli has joined #openstack-sahara13:53
*** zhuli has quit IRC13:54
*** zhuli has joined #openstack-sahara13:54
*** zhuli has quit IRC13:55
openstackgerritIwona Kotlarska proposed openstack/sahara master: Add import of node group templates  https://review.openstack.org/48215714:15
*** shuyingya has joined #openstack-sahara14:15
*** shuyingya has quit IRC14:25
*** shuyingya has joined #openstack-sahara14:29
openstackgerritLuigi Toscano proposed openstack/sahara-specs master: Deprecate CentOS 6 images  https://review.openstack.org/48297214:29
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin  https://review.openstack.org/44871214:29
tellesnobregaesikachev, can you take a look at https://review.openstack.org/482972 ?14:31
tellesnobregajeremyfreudberg ^14:31
jeremyfreudbergon it14:31
tellesnobregathanks14:31
tellesnobregaiwonka, ping14:37
iwonkatellesnobrega: pong14:38
tellesnobregaiwonka, I was thinking about the import here14:40
iwonkai tried to add validation14:40
tellesnobregathe way the template is created is the server side receives a json ready with the template14:40
tellesnobregamaybe we could do the same thing here. Doing this way we wouldn't need to change anything on the server14:41
tellesnobregaonly add the option on the UI and CLI to import and create the json and send it to the create_cluster_template API entry14:41
tellesnobregawhat do you think?14:41
iwonkawhy is that better? or worse? (and i don't know how to add things to cli and ui)14:42
iwonkai guess it would be better if it was done the same way as everything else?14:43
tellesnobregathat is why this is better14:46
tellesnobregathe UI sends the server the json to create the template14:46
tellesnobregahere we are getting the data and making the json on the server side14:47
tellesnobregasamething happens to the CLI14:47
tellesnobregaif we add stuff there, that we will need to14:47
tellesnobregabecause we need users to be able to use our feature14:47
tellesnobregaand we would avoid changing the server side14:47
iwonkaok, so i'll change it14:48
iwonkaso import is actually pretty much lile create?14:49
iwonka*like14:49
iwonkaor it should do something specific?14:49
tellesnobreganot from my point of view14:49
tellesnobreganot on the server side14:49
iwonkaso maybe we can use function to create from import on cli and ui?14:49
tellesnobregait will be different on the user entry14:49
iwonkaand not add a new rest api function?14:50
tellesnobregayes14:50
tellesnobregamy idea here is not to change server at all for import14:50
tellesnobregaonly UI and CLI and use the create from server14:50
iwonkaok, so how to remove this commit?14:50
iwonkaand change the ui and cli?14:51
tellesnobregayou can just abandon it14:51
iwonkaok14:51
iwonkawhat about ui and cli?14:51
tellesnobregalets start with UI14:51
iwonkaok14:51
tellesnobregahttps://github.com/openstack/sahara-dashboard14:52
tellesnobregathis is where it lives14:52
tellesnobregaI'm not very experienced with UI but we will figure it out together14:52
iwonkai should download it manually?14:52
toskyand/or https://git.openstack.org/cgit/openstack/sahara-dashboard (https://git.openstack.org/openstack/sahara-dashboard to checkout)14:53
tellesnobregagit clone14:53
tellesnobregatake a quick look around, I have to go eat, when I'm back we can figure out stuff together14:54
tellesnobregahow it works and what should we do14:54
tellesnobregaback soon14:55
iwonkaok14:55
*** rcernin has quit IRC15:01
*** Poornima has joined #openstack-sahara15:19
*** anshul has quit IRC15:23
openstackgerritLuigi Toscano proposed openstack/sahara-specs master: Deprecate CentOS 6 images  https://review.openstack.org/48297215:24
toskythanks for the comments :)15:26
toskyjeremyfreudberg: I really didn't check too much that message in the UI in a long time15:27
toskyeither the CLI or just going quickly through the combobox and the buttons15:27
*** Poornima has quit IRC15:38
iwonkatellesnobrega: i guess the file that needs to be edited is sahara-dashboard/api/sahara.py and there are functions for dealing with ngt15:55
iwonkathey use client method from the same file15:56
iwonkabut i guess it's a place to start?15:56
*** esikachev has quit IRC15:57
tellesnobregaiwonka, sounds like it yes15:58
tellesnobregalets dig in together and find out15:59
*** zhuli_ has joined #openstack-sahara16:00
*** tesseract has quit IRC16:05
iwonkai have no idea how to test it16:08
iwonkai mean16:08
iwonkaanything changed there16:08
*** shuyingya has quit IRC16:16
*** jeremyfreudberg has quit IRC16:35
*** raissa_ has quit IRC16:39
*** tosky_ has joined #openstack-sahara16:53
*** tosky is now known as Guest4517716:53
*** tosky_ is now known as tosky16:53
*** Guest45177 has quit IRC16:55
*** pcaruana has quit IRC16:56
*** mgoddard_ has quit IRC17:05
tellesnobregaiwonka, we have to figure this out, maybe the best way to test now would be changing the files on the deployment itself17:09
tellesnobregafor example, you use devstack right?17:09
tellesnobregamaybe you can find where sahara-dashboard is installed and change there instead of the one you cloned and later you copy the changes to submit17:10
tellesnobregaI'm not sure what is the best way either17:10
tellesnobregaNikitaKonovalov, are you around?17:10
*** jeremyfreudberg has joined #openstack-sahara17:16
tellesnobregajeremyfreudberg, have you worked on sahara-dashboard?17:17
jeremyfreudbergtellesnobrega, a little bit17:17
tellesnobregahow did you test your changes to the UI?17:18
tellesnobregawere you working on the deployed folders or did you make you deployment see you local changes somehow?17:18
toskyI 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 devel17:19
*** EmilienM has left #openstack-sahara17:19
jeremyfreudbergif you are either using sahara-dashboard devstack plugin, or manually copying sahara dashboard files into horizon directory17:19
jeremyfreudbergthen you can see your changes every time you restart apache, or otherwise reload the wsgi app17:19
jeremyfreudberghttps://github.com/openstack/sahara-dashboard/blob/master/devstack/plugin.sh#L9 if you don't want to restack17:20
toskythat too17:20
tellesnobregaso basically cp to the horizon folder and restart apache17:21
jeremyfreudbergtellesnobrega, that should be all that's needed17:22
tellesnobregajeremyfreudberg, cool17:22
tellesnobregathanks17: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 horizon17:23
jeremyfreudbergnot 100% sure about what I did last time I was working on the dashboard17:23
tellesnobregaI see17:25
tellesnobregatosky, now this is more to you, how to do that with packstack :) ?17:26
toskytellesnobrega: in that case horizon is installed system-wide, so you may want to try a python setup.py develop as root17:26
tellesnobregatrying17:30
tellesnobregaI was able to run pip install -e sahara-dashboard/17:38
tellesnobregathe python setup.py develop failed17:38
toskyoki17:38
* tosky relocates17:38
*** tosky has quit IRC17:38
jeremyfreudbergtellesnobrega, that sounds good to me, and i think after you copy the folder over and restart apache, you should be "in business"17:39
tellesnobregajeremyfreudberg, cool, going to try that17:40
tellesnobregaso much easier to change on sahara server side lol17:40
*** mgoddard_ has joined #openstack-sahara17:45
tellesnobregaapparently I just broke my UI17:48
*** hoonetorg has quit IRC17:54
*** tosky has joined #openstack-sahara18:01
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin  https://review.openstack.org/44871218:05
*** hoonetorg has joined #openstack-sahara18:09
*** esikachev has joined #openstack-sahara18:10
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Image generation for CDH Plugin  https://review.openstack.org/44871218:20
iwonkatellesnobrega: i have horizon installed18:23
iwonkaand there's openstack-dashboard18:23
iwonkabut no specific sahara-dashboard18:24
tellesnobregaiwonka, you have devstack installed right?18:24
iwonkayeah18:24
iwonkabut sahara-dashboard is not enabled in local.conf18:25
iwonkashould it be?18:25
tellesnobregaI think you can install like jeremyfreudberg suggested18:28
tellesnobregadid you clone sahara-dashboard on the same machine your devstack is running?18:29
iwonkayes18:31
iwonkaso i should just copy it?18:31
iwonkato horizon?18:31
tellesnobregaI 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
tellesnobregasomething like this18:33
tellesnobregacheck the paths18:34
tellesnobregajeremyfreudberg, does that look correct?18:34
tellesnobrega^18:34
jeremyfreudbergthat should be it18:34
iwonkaok, did that18:37
iwonkaand now?18:37
jeremyfreudbergrestarting apache18:37
iwonkaany pdb i run will be in horizon tab in screen?18:37
jeremyfreudbergis there a horizon tab in screen? or does it run somewhere else18:38
jeremyfreudbergdon't have a devstack right now to look at, so not sure18:38
iwonkathere is one in screen18:39
iwonkarestart apache with systemctl is ok?18:39
jeremyfreudbergwell if horizon is running in screen you can restart it in screen i think18:39
jeremyfreudberginstead of systemctl, just do Ctrl-C,up-arrow in horizon screen18:39
jeremyfreudbergi would think18:39
iwonkaok18:40
*** zhuli_ has quit IRC18:40
iwonkahow to check if it's running?18:40
*** mgoddard_ has quit IRC18:44
toskydidn't devstack phase put screens in favour of systemd units and journal logs?18:46
jeremyfreudbergtosky, yeah, but iwonka's still is the old screen kind18:46
jeremyfreudberganyway, 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
iwonkai ssh to the machine18:48
jeremyfreudbergput the ip that you ssh to in your webbrowser18:49
iwonkai got an error18:50
iwonkaok, many errors18:50
iwonkagenerally "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
iwonkai don't know where this manage,py is supposed to be18:51
jeremyfreudberggo into sahara-dashboard/sahara_dashboard18:51
jeremyfreudbergi mean the folder it was cloned into18:52
jeremyfreudbergcd ${cloned_folder}/sahara_dashboard then do DJANGO_SETTINGS_MODULE=openstack_dashboard.settings and ../manage.py compilemessages18:53
toskyfor stuff installed by packages, manage.py is in /usr/share/openstack-dashboard/manage.py18:54
toskybut of course the path for devstack are different18:54
jeremyfreudbergtosky, I think it has to be the manage.py of sahara-dashboard since it has to do with the locale folder specifically of that18:54
jeremyfreudberghttps://github.com/openstack/sahara-dashboard/blob/master/devstack/plugin.sh#L1418: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
iwonkaand i should recopy files?18:56
jeremyfreudbergif you already copied the sahara things into the enabled/ folder then you don't have to copy again18:56
iwonkait didn't help, still the same error18:57
jeremyfreudbergdid you restart horizon?18:58
iwonkaoh, i didn't18:59
iwonkabut when i do i get this error in horizon tab of screent18:59
iwonkai did manage.py compress as it suggested19:01
iwonkabut it didn't help19:01
jeremyfreudbergoh, wait19:06
jeremyfreudbergyour error was about compression, not the locale messages19:06
jeremyfreudbergiwonka, so did you do manage.py compress or manage.py compilemessages ? and on which manage.py?19:09
iwonkasahara-dashboard/manage.py compress19:09
jeremyfreudbergand you still get same compression error even after that?19:10
iwonkayes19:10
iwonkai restarted horizon19:10
iwonkaand on restart it printed this error19:10
jeremyfreudberggot it19:10
jeremyfreudbergtry export DJANGO_SETTINGS_MODULE=openstack_dashboard.settings first and then manage.py compress again19:11
jeremyfreudbergwould be my best idea19:11
iwonkait 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 to19:14
jeremyfreudbergotherwise19:15
jeremyfreudbergyou can kill Horizon in screen, and instead try python /opt/stack/horizon/manage.py runserver 0.0.0.0:<some port number>19:16
iwonkaummm19:17
iwonkai'll restack19:17
jeremyfreudberggood choice19:18
iwonkait's getting late anyway, so it's start again during night19:18
*** abalutoiu_ has joined #openstack-sahara19:18
*** abalutoiu has quit IRC19:22
*** jeremyfreudberg has quit IRC19:36
*** lucasxu has joined #openstack-sahara19:51
openstackgerritMerged openstack/sahara-specs master: Deprecate CentOS 6 images  https://review.openstack.org/48297219:52
*** esikachev has quit IRC19:58
*** lucasxu has quit IRC20:08
*** tmckay has joined #openstack-sahara20:09
*** abalutoiu_ has quit IRC20:20
*** esikachev has joined #openstack-sahara20:54
*** esikachev has quit IRC20:58
*** dave-mccowan has quit IRC21:09
*** mgoddard_ has joined #openstack-sahara21:14
*** mgoddard_ has quit IRC21:26
*** esikachev has joined #openstack-sahara21:55
*** esikachev has quit IRC22:00
*** tosky has quit IRC22:32
*** tosky has joined #openstack-sahara22:32
*** tmckay has quit IRC22:54
*** esikachev has joined #openstack-sahara22:56
*** tosky has quit IRC22:57
*** esikachev has quit IRC23:01
*** zhuli_ has joined #openstack-sahara23:55
*** esikachev has joined #openstack-sahara23:57

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