Friday, 2014-10-17

*** Longgeek has joined #openstack-sahara01:37
*** Longgeek has quit IRC01:42
*** witlessb has joined #openstack-sahara01:56
*** witlessb has quit IRC02:01
*** chandankumar has joined #openstack-sahara02:02
*** Longgeek has joined #openstack-sahara03:22
*** chandankumar has quit IRC04:05
*** chandankumar has joined #openstack-sahara04:10
*** chandan_kumar has joined #openstack-sahara05:02
*** chandankumar has quit IRC05:06
*** chandan_kumar has quit IRC05:28
*** chandankumar has joined #openstack-sahara05:28
*** chandan_kumar has joined #openstack-sahara05:41
*** chandankumar has quit IRC05:42
*** chandan_kumar has quit IRC05:47
openstackgerritAndrew Lazarev proposed a change to openstack/sahara-specs: Added spec for indirect VMs access  https://review.openstack.org/12847506:05
*** k4n0 has joined #openstack-sahara06:09
openstackgerritOpenStack Proposal Bot proposed a change to openstack/sahara: Imported Translations from Transifex  https://review.openstack.org/12914206:14
*** tellesnobrega has quit IRC06:24
*** chandankumar has joined #openstack-sahara06:44
*** stannie has joined #openstack-sahara07:50
*** skolekonov has joined #openstack-sahara08:02
*** witlessb has joined #openstack-sahara08:09
*** IvanBerezovskiy has joined #openstack-sahara08:20
*** dmitryme has quit IRC08:37
*** Longgeek has quit IRC08:40
*** Longgeek has joined #openstack-sahara08:41
*** dmitryme has joined #openstack-sahara08:42
*** Weiting has joined #openstack-sahara08:52
openstackgerritA change was merged to stackforge/sahara-ci-config: Fix typo in floating_ip_pool config name  https://review.openstack.org/12904408:55
openstackgerritDenis Egorenko proposed a change to stackforge/sahara-ci-config: Uncomment section for UI image  https://review.openstack.org/12917509:06
*** amarouni has joined #openstack-sahara09:17
*** Weiting has quit IRC09:18
*** tosky has joined #openstack-sahara09:26
openstackgerritA change was merged to stackforge/sahara-ci-config: Uncomment section for UI image  https://review.openstack.org/12917509:43
openstackgerritSergey Reshetnyak proposed a change to openstack/sahara: Fix parallel testing EDP jobs for Fedora and CentOS images  https://review.openstack.org/12919410:02
*** tmckay has left #openstack-sahara10:02
openstackgerritAndrey Pavlov proposed a change to openstack/python-saharaclient: Add volume_type support to node group templates  https://review.openstack.org/12796311:45
*** tnovacik has joined #openstack-sahara12:06
openstackgerritAndrey Pavlov proposed a change to openstack/sahara: Added cancel before deleting job execution  https://review.openstack.org/12011912:09
*** _crobertsrh is now known as crobertsrh12:15
openstackgerritDenis Egorenko proposed a change to stackforge/sahara-ci-config: Mark as non-voting jobs with Vanilla 2.4  https://review.openstack.org/12921812:16
openstackgerritKazuki OIKAWA proposed a change to openstack/sahara-specs: Enable Swift resident Hive tables for EDP with the vanilla plugin  https://review.openstack.org/11525912:25
*** chandankumar has quit IRC12:32
*** tnovacik has quit IRC12:41
*** k4n0 has quit IRC12:55
*** tellesnobrega has joined #openstack-sahara13:13
tellesnobregaelmiko, crobertsrh i just watched the juno release promo video yesterday. pretty cool that its main feature is sahara13:14
tellesnobreganice work :)13:15
elmikotellesnobrega: nice, got a link?13:15
crobertsrhit was all elmiko!13:15
* elmiko blushes13:15
tellesnobregahttp://www.youtube.com/v/TgPTjrf1y0A?autoplay=113:16
elmikoawesome, thanks!13:16
tellesnobregasahara got like 20s out of 1:44m13:17
elmikocrobertsrh: i don't think they used any of my footage13:18
crobertsrhah13:18
crobertsrhyeah...I was thinking of your video13:18
crobertsrhyours was better!13:19
elmikostill, cool to see prominent sahara placement13:19
*** openstackgerrit has quit IRC13:19
elmikolol, thanks13:19
*** openstackgerrit has joined #openstack-sahara13:19
openstackgerritSergey Reshetnyak proposed a change to openstack/sahara: Add Hive support to CDH plugin  https://review.openstack.org/12801513:21
tellesnobregacongrats to all of you13:28
tellesnobregahopefully i will have some time to work on storm again to have it in the next release13:28
crobertsrhgreat!13:30
*** chandankumar has joined #openstack-sahara13:37
*** chandankumar has quit IRC13:44
*** tmckay has joined #openstack-sahara13:53
openstackgerritVitaly Gridnev proposed a change to openstack/sahara: Drop obsolete wsgi and xmlutils modules  https://review.openstack.org/12926013:58
openstackgerritSergey Reshetnyak proposed a change to openstack/sahara: Add Hive support to CDH plugin  https://review.openstack.org/12801514:01
*** skolekonov has quit IRC14:11
*** bradd1 has joined #openstack-sahara14:21
*** tellesnobrega has quit IRC14:27
*** tellesnobrega has joined #openstack-sahara14:28
openstackgerritSergey Reshetnyak proposed a change to openstack/sahara: Add Hue support to Cloudera plugin  https://review.openstack.org/12928614:44
*** tellesnobrega has quit IRC15:14
*** amarouni has left #openstack-sahara15:24
tmckayHi Sahara folks.  This change is failing with an error on security groups, not sure why https://review.openstack.org/#/c/128737/15:39
tmckayany insight?  alazarev, SergeyLukjanov, sreshetnyak  I'm guessing it is something else, but the test code looks okay to me.  Is it possible there is something left over from another test?15:41
tmckayThe error message is coming from validation code in Sahara15:41
elmikoweird error15:43
tmckayelmiko, yeah, it thinks the sec group is already defined in nova.15:43
elmikodefinitely what it looks like15:43
tmckayfrom what I can see, it means that a cluster must already have been built15:43
openstackgerritSergey Reshetnyak proposed a change to openstack/sahara: Fix 'Clock Offset' error in Cloudera Manager  https://review.openstack.org/12930415:43
elmikoit also looked like one of the node groups was getting created with a floating pool id15:44
elmikoyea, is it possible to have leftovers from a previous test? (i wouldn't think so)15:44
tmckaydepends where the openstack instance is, I guess15:44
elmikogood point15:44
tmckaywhether the instance is reused15:44
tmckayI'm wondering if just a fake commit on master would have the same error15:45
elmikois anything else failing currently?15:45
tmckayadd an "if false" somewhere in the dashboard stuff and commit15:45
tmckaynot sure where else gate-ui-tests run15:45
tmckaycrobertsrh, ^^ any insight on this?  All I was trying to do was fix a typo :)15:46
elmikotmckay: makes me wonder if the typo was hiding something15:53
tmckayyeah, could be.15:54
elmikoalthough, looking at the change you made i'm having trouble imagining how15:54
tmckaywell, the security group stuff is relatively recent.  And there is another change on master in sahara-dashboard that touches sec groups https://review.openstack.org/#/c/128216/1/saharadashboard/tests/base.py15:55
tmckaymaybe the two interact?  I15:56
tmckayI'll try a fake commit and see what happens15:56
elmikois that test stack even using sahara-dashboard, or the integrated one?15:57
openstackgerritTrevor McKay proposed a change to openstack/sahara-dashboard: Try a fake change to see if gate ui passes -- DONT MERGE  https://review.openstack.org/12930815:59
elmikowhat a faker...15:59
tmckayheh15:59
elmikothis is one of those situations where it would be cool to have access to another test setup16:00
tmckayyeah.  I'm baffled.16:00
elmikoit totally looks like maybe the keystone db isn't reset and the selenium sec group is still there. but i would think in that case that we should just accept that it's there and move on.16:01
tmckaywell, if you reused the same security group then you're going to be mixing stuff between clusters potentially, right?  That seems bad16:02
tmckaywe could fix the autocreate to add a random uuid16:02
tmckayit's named for cluster and node group16:02
tmckayseems like if you reuse a cluster and node group name, you get a fail16:02
*** chandankumar has joined #openstack-sahara16:02
elmikoyea, could be an issue if you had meant to have 2 different groups16:02
tmckayhmm, that should be testable16:03
tmckaycreate a cluster with auto sec group, delete cluster, create it again.  Maybe it's supposed to get deleted on cluster removal, but doesn't in some cases?16:03
elmikocould be16:11
openstackgerritTrevor McKay proposed a change to openstack/sahara-dashboard: Try a fake change to see if gate ui passes -- DONT MERGE  https://review.openstack.org/12930816:21
*** tellesnobrega has joined #openstack-sahara16:25
tmckayelmiko, you know what I think the problem is?16:28
tmckay(rhetorical)16:28
crobertsrhAny progress on that problem?  I just got back from lunch.16:28
tmckayauto_security_groups (default true) was added in https://review.openstack.org/#/c/128216/1.  The change has selenium set the option on screen accordingly16:29
tmckaythat didn't used to be there16:29
tmckayIt didn't used to do that.  crobertsrh, is the auto_security_groups checkbox in horizon on or off by default?16:30
crobertsrhI think off, but I'll double check now16:30
tmckayif it's off, and the ci config does not have auto_security_groups = False, then we have changed the test16:30
tmckayand possibly uncovered a problem with ci openstack security group memory :)16:31
crobertsrhLooks like it's unchecked by default16:31
tmckayokay, I have the ci git checked out, let me check the config ....16:32
tmckayhmm, no auto_security_group setting in slave-scripts/gate-ui-tests.sh, which means we've changed the behavior by defaulting to true16:34
tmckayI think16:34
*** tellesnobrega has quit IRC16:36
*** tellesnobrega has joined #openstack-sahara16:39
*** chandankumar has quit IRC16:39
openstackgerritTrevor McKay proposed a change to openstack/sahara-dashboard: Try a fake change to see if gate ui passes -- DONT MERGE  https://review.openstack.org/12930816:43
*** Longgeek has quit IRC16:44
*** chandankumar has joined #openstack-sahara16:54
elmikotmckay: nice find17:20
tmckayelmiko, still unsure.  The trick may actually be to leave auto sec = True and add a uuid to the cluster name create17:20
tmckayor at the very least a pid17:20
tmckaypid is probably sufficient, at least to see if it gets over the hump17:21
elmikoi think you're correct about investigating the naming uniqueness, wonder if we can make a test to exercise this?17:21
tmckaydoing a recheck now, cause I turned off auto sec but got weird selenium errors (and I don't know much (anything) about selenium)17:21
tmckayelmiko, what kind of test?17:22
elmikotmckay: like something to auto-generate a sec group, then another something to try and create the same group. i dunno, i'd probably have to look closer at the code.17:24
tmckayelmiko, looks like the sec group is supposed to be deleted when the cluster is deleted.  But, if something went wrong ... seems like lots of ways it could be left behind17:31
*** tellesnobrega has quit IRC17:34
*** tellesnobrega has joined #openstack-sahara17:39
elmikotmckay: interesting, seems like some room for more testing17:42
openstackgerritJonathan Halterman proposed a change to openstack/sahara: Fix command line arguments for image-register and image-add-tag commands in quickstart guide  https://review.openstack.org/12933917:43
openstackgerritTrevor McKay proposed a change to openstack/sahara-dashboard: Try a fake change to see if gate ui passes -- DONT MERGE  https://review.openstack.org/12930817:56
openstackgerritTrevor McKay proposed a change to openstack/sahara-dashboard: Try a fake change to see if gate ui passes -- DONT MERGE  https://review.openstack.org/12930818:41
openstackgerritJonathan Halterman proposed a change to openstack/sahara: Fix quickstart guide  https://review.openstack.org/12933918:50
*** stannie has quit IRC18:59
*** tellesnobrega has quit IRC19:05
*** hogepodge has quit IRC19:10
tmckaycrobertsrh, ping19:14
crobertsrhyes?19:14
tmckayI need your expertise, I'm wondering out of my experience19:14
crobertsrhuh oh19:14
tmckayhttps://review.openstack.org/#/c/128153/1/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/templates/data_processing.nodegroup_templates/_fields_help.html19:14
tmckaysee that change, made on 10/13 (just a few days ago)19:15
tmckay"Show full configuration" changed from a link type to a button type, it looks like to me19:15
crobertsrhyep19:15
crobertsrhYou are correct19:15
tmckaycrobertsrh, my fake ui test change is failing because it can't find "Show full configuration"19:15
tmckaybut it's looking for a link19:15
tmckaynot a button19:15
tmckay(theory)19:15
crobertsrhThat seems like it should fail19:16
crobertsrhbutton certainly != link19:16
tmckayNoSuchElementException: Message: u'Unable to locate element: {"method":"link text","selector":"Show full configuration"}' ; Stacktrace:19:16
crobertsrhprobably need a new selector in the test19:16
tmckayso I'm assuming this is supposed to be button text, or some such19:16
*** tosky has quit IRC19:17
crobertsrhdo you know where the source for the test is off hand?19:17
tmckayIt's in saharadashboard/tests/base.py, config_helper() where the show_param stuff is19:17
tmckayI wandered down this road trying to figure out why my simple typo fix didn't work19:18
tmckayone reason is apparently related to sec groups19:18
crobertsrhheh...fun for a Friday19:18
tmckaybut fix that, and boom, this stuff19:18
tmckaybasically, gate-ui-tests is horked currently.19:18
tmckayI think we have multiple overlapping errors19:18
tmckaycrobertsrh, if we come up with fixes, I can try them out on my fake_change until we have a consistent CR19:20
crobertsrhI think button_text should work19:20
tmckayby.BY.BUTTON_TEXT you mean?19:21
tmckayI'll try it19:21
crobertsrhI'll check the docs19:21
crobertsrhhmm, that might not quite work19:22
crobertsrhok....tired of vi already....firing up pycharm19:23
elmikoare you just starting the path of vi?19:24
crobertsrhNo, I've used it for years.....sparingly19:24
crobertsrhI'm a spoiled IDE boy19:24
elmikototally19:24
elmikopycharm is really nice too19:25
crobertsrhOk, looks like you can use ID, XPATH, LINK_TEXT, NAME, TAG_NAME, CLASS_NAME or CSS_SELECTOR19:25
crobertsrhYeah, I'm loving pycharm19:25
crobertsrhtmckay:  it looks like XPATH could be a winner19:26
crobertsrhtmckay:  a few lines below the LINK_TEXT attempt there is an XPATH example19:26
tmckayyeah, I'm hanging here.  I can't find anything that says "link_text" doesn't work for buttons, but it doesn't look good.  http://selenium-python.readthedocs.org/en/latest/locating-elements.html19:26
crobertsrhyou can use the "full-config-show/hide" classes19:27
tmckaycrobertsrh, is that thing an input?19:28
crobertsrhor even By.XPATH, '//button[text()="Show full configuration"]'  might also work19:28
crobertsrhis what thing an input?19:28
tmckaythe button "Show full configuration"19:29
crobertsrhNot strictly speaking.  a button is just a button19:29
tmckayfrom the above page, example: clear_button = driver.find_element_by_xpath("//input[@name='continue'][@type='button']")19:29
tmckaydriver.find_element(By.XPATH, '//button[text()="Some text"]')19:30
tmckayThey also have that19:30
crobertsrhself.waiting_element_in_visible_state(19:31
crobertsrh                            by.By.XPATH, //button[text()="Show full configuration"])19:31
crobertsrhThat should work19:31
tmckayyeah, that jives with the above19:31
tmckayk.  The only way I have to test this is in the CI :)19:31
crobertsrhAre you familiar with XPATH stuff?19:31
tmckaynope19:31
crobertsrhah19:31
tmckaymaking it up as I go along19:31
tmckayso far I reckoned it right, though, I think, as far as the error :)19:32
crobertsrhyeah...the "//" is shorthand for "whatever", then "give me the button that has the text I ask for"19:32
tmckaycool, I'll try it19:32
crobertsrhYou could give a full xpath (by not using the // shortcut) that would start at the top of the DOM tree and hit every div on the way down...it would be ugly.19:33
tmckaythis is one of the problems with horizon integration19:33
tmckaysomeone changed this over in horizon, and the tests broke19:33
*** bradd1 has quit IRC19:33
crobertsrhYes...there are some tests being built in to the horizon side of things now for data_processing19:33
crobertsrhThat is a problem...we will never really know when this situation is going to happen again.19:34
crobertsrhIt's not always "sahara people" making changes over there19:34
openstackgerritTrevor McKay proposed a change to openstack/sahara-dashboard: Try a fake change to see if gate ui passes -- DONT MERGE  https://review.openstack.org/12930819:40
tmckayalright, we'll see if it gets a little further19:41
tmckayat the very least, I can make some bugs for this and someone better at this stuff can fix it19:41
crobertsrhYeah, you're at least finding the problems :)19:42
crobertsrhI had totally forgot that that repo was even in play for anything19:42
tmckayI should have left the typo I found.  Thought it would be easy pickins19:43
elmikoat the least it needs to be around until Icehouse goes away19:43
elmikothe repo not the typo ;)19:43
tmckayheh19:43
tmckayI could do all this locally, but the thought of installing selenium and setting up an environment to run local tests is daunting19:44
elmikoagreed19:44
crobertsrhYeah, no need to bother with that.  Hopefully, this change is a small one and that is all you need.19:44
elmikoyou're already hip deep in unexpected quicksand19:44
tmckaytrue :)  I didn't fix all the errors, just enough so it should get a little further if it's legit19:45
tmckayI think it will break on the "Hide" now19:45
openstackgerritTrevor McKay proposed a change to openstack/sahara-dashboard: Try a fake change to see if gate ui passes -- DONT MERGE  https://review.openstack.org/12930820:04
tmckaydoh, left off a quote20:04
tmckayone more time20:04
*** witlessb has quit IRC20:10
crobertsrhheh20:11
*** witlessb has joined #openstack-sahara20:15
*** chandankumar has quit IRC20:16
*** crobertsrh is now known as _crobertsrh20:28
-openstackstatus- NOTICE: Gerrit will be offline from 2100-2130 for project renames20:34
*** ChanServ changes topic to "Gerrit will be offline from 2100-2130 for project renames"20:34
*** bradd1 has joined #openstack-sahara20:45
*** miqui has quit IRC20:50
-openstackstatus- NOTICE: Gerrit is offline from 2100-2130 for project renames21:03
*** ChanServ changes topic to "Gerrit is offline from 2100-2130 for project renames"21:03
*** hogepodge has joined #openstack-sahara21:22
-openstackstatus- NOTICE: Gerrit is back online21:26
*** ChanServ changes topic to "launchpad openid is down. login to openstack services will fail until launchpad openid is happy again"21:26
*** tmckay has left #openstack-sahara21:27
*** openstackgerrit has quit IRC22:03
*** openstackgerrit has joined #openstack-sahara22:04
*** tellesnobrega has joined #openstack-sahara22:14
*** tellesnobrega has quit IRC23:11
*** tellesnobrega has joined #openstack-sahara23:17
*** bradd1 has quit IRC23:54

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