Monday, 2014-12-22

*** hdd has joined #openstack-sahara00:22
*** hdd has quit IRC00:36
*** hdd has joined #openstack-sahara02:36
*** hdd has quit IRC02:59
*** Poornima has joined #openstack-sahara04:04
*** jhalterman has quit IRC04:57
*** jodah has joined #openstack-sahara04:57
*** jodah has quit IRC05:09
*** jodah has joined #openstack-sahara05:09
*** hdd has joined #openstack-sahara05:45
*** hdd has quit IRC06:59
*** k4n0 has joined #openstack-sahara07:30
*** IvanBerezovskiy has joined #openstack-sahara08:07
*** dorry has quit IRC08:23
*** witlessb has joined #openstack-sahara08:58
*** Longgeek has joined #openstack-sahara09:51
openstackgerritMerged openstack/sahara: Adding database detection to migration tests  https://review.openstack.org/14257811:09
openstackgerritDenis Egorenko proposed stackforge/sahara-ci-config: Fix slave names  https://review.openstack.org/14342611:21
*** guo has joined #openstack-sahara11:25
openstackgerritVitaly Gridnev proposed openstack/sahara: Added endpoint and utils to work with events  https://review.openstack.org/13450411:25
openstackgerritVitaly Gridnev proposed openstack/sahara: Added endpoint and utils to work with events  https://review.openstack.org/13450411:32
*** Poornima has quit IRC11:33
*** guo has quit IRC12:04
openstackgerritDenis Egorenko proposed stackforge/sahara-ci-config: Fix slave names  https://review.openstack.org/14342612:08
openstackgerritMerged stackforge/sahara-ci-config: Fix slave names  https://review.openstack.org/14342612:12
openstackgerritVitaly Gridnev proposed openstack/sahara: Added endpoint and utils to work with events  https://review.openstack.org/13450413:00
*** Longgeek has quit IRC13:10
*** tmckay has left #openstack-sahara13:14
*** Longgeek has joined #openstack-sahara13:14
*** Longgeek has quit IRC13:38
*** Longgeek has joined #openstack-sahara13:38
openstackgerritVitaly Gridnev proposed openstack/sahara: Add provisioning steps to Direct Engine  https://review.openstack.org/14344213:44
*** egafford has joined #openstack-sahara14:14
*** dhellmann has joined #openstack-sahara14:18
dhellmannHi! I am trying to run the unit tests for sahara on my local dev system, and I'm seeing errors from postgresql and mysql. Is there a setup script I can use to configure my database services? Or instructions for creating whatever users and databases are needed?14:19
elmikodhellmann: there was a problem with those tests running even without the database present. i think we merged a change that should turn that behaviour off though. let me check.14:26
dhellmannelmiko: I see "Adding database detection to migration tests" in master this morning, is that the one?14:27
elmikopreviously the tests would only run if they could detect a db, then we had a regression, now it should be fixed.14:27
elmikodhellmann: yes, that's the change14:27
* elmiko is waiting on review.openstack.org14:27
dhellmannelmiko: ok, if I want to run those tests instead of skipping them, though, how do I set up my database services correctly?14:28
dhellmannI'm changing some package names in oslo.db and I want to make sure I have good backwards compatibility so our next release doesn't break you :-)14:28
elmikodhellmann: ok, cool14:28
elmikoso, first you will need to setup the mysql and postgresql backends, then change the config values in sahara/tests/unit/db/migration/test_migrations.conf14:30
elmikowith those values set and the db's in place, i think you will need to create the actual named databases for the testing. i didn't get past this part though so let me look in the code quickly for the names...14:31
elmikoi tried getting these tests to work locally and had some issue with table names and db users14:31
dhellmannelmiko: oh, I thought maybe this was all automated somewhere14:31
elmikodhellmann: i think it is, but i just want to make sure you've got everything just in case ;)14:33
elmikothe db name is openstack_citest (in case it doesn't get created automatically)14:33
elmikoactually though, now that you mention it, when i setup mysql it did just run those tests14:34
elmikodhellmann: any luck?14:39
dhellmannelmiko: trying it now14:39
elmikocool14:39
dhellmannelmiko: do the tests run with sqlite if I don't specify mysql or postgresql? I just want to make sure they're running and not skipping.14:40
elmikodhellmann: i think sqlite has been deprecated, i'd have to check to confirm that though.14:41
dhellmannok, it's listed in that config file so I wasn't sure14:41
elmikocould be kruft14:41
elmikoone of our migrations has issue with sqlite14:42
dhellmannah14:42
elmikoyea, looking at the code, i don't think we run the sqlite stuff anymore14:43
* elmiko notes to make a bug removing the sqlite kruft14:43
dhellmannelmiko: I uncommented the postgresql line in the unit_tests section, created the user and database, and ran the tests but I don't see it running any more than before14:47
elmikohmm, that's odd14:47
dhellmanndoing the same thing in the migration_dbs section gives me a bunch of new test failures with syntax errors in sql statements14:48
elmikocrazy... let me setup a local test14:48
dhellmannelmiko: http://paste.openstack.org/show/153886/14:48
elmikodhellmann: thanks, i'll start investigating14:49
elmikodhellmann: i saw those errors when i had setup my db's local, i thought it was a misconfig on my part. i wonder if the ci machines have been setup for so long that these parts of the test code don't run often enough?14:51
elmikounfortunately, i'm not sure i'll get to talk with those folks before holiday break14:51
dhellmannelmiko: it could be14:51
elmikodhellmann: did you just run postgresql?14:52
dhellmannelmiko: yeah, I'm working on figuring out how to create a user with mysql now14:53
elmikok14:53
*** tmckay has joined #openstack-sahara14:55
elmikodhellmann: hmm, i'm running into a few inconsistencies with the mysql tests, although they do start ok.14:56
elmikoi'll probably need to dive in a little deeper14:56
dhellmannelmiko: I'm seeing some "no such table" errors14:57
elmikodhellmann: same14:57
dhellmannelmiko: I wonder if it has to do with the tests being run concurrently14:57
elmikoi'm also seeing race condition type errors14:57
elmikoyea, could be14:57
dhellmannok, well, since you see these errors too I don't think they are related to my changes so I'm going to continue with my work14:58
elmikodhellmann: thanks for bringing this up, i'll make sure to talk with the team and figure out what is going on.14:59
dhellmannelmiko: cool, thank you15:00
*** IvanBerezovskiy has left #openstack-sahara15:11
openstackgerritSergey Reshetnyak proposed openstack/sahara: Minor refactoring integration tests  https://review.openstack.org/13335015:13
*** IvanBerezovskiy has joined #openstack-sahara15:32
*** hdd has joined #openstack-sahara15:57
*** guo has joined #openstack-sahara16:01
*** guo has quit IRC16:07
openstackgerritMerged openstack/sahara: Added validation on proxy domain for 'hiveserver' process  https://review.openstack.org/14293816:14
openstackgerritKen Chen proposed openstack/sahara: Enable more services in CDH plugin  https://review.openstack.org/14173516:24
openstackgerritKen Chen proposed openstack/sahara: Enable more services in CDH plugin  https://review.openstack.org/14173516:29
*** Networkn3rd has joined #openstack-sahara16:53
*** openstack has joined #openstack-sahara17:01
openstackgerritlu huichun proposed openstack/sahara: Add Java type edp test in integration test of CDH plugin  https://review.openstack.org/14349917:10
*** viktors is now known as viktors|afk17:12
*** k4n0 has quit IRC17:13
openstackgerritlu huichun proposed openstack/sahara: Add Java type edp test in integration test of CDH plugin  https://review.openstack.org/14349917:13
*** skolekonov has quit IRC17:35
*** tnovacik has joined #openstack-sahara17:45
*** pcaruana has quit IRC17:53
*** IvanBerezovskiy has quit IRC18:51
openstackgerritChad Roberts proposed openstack/sahara-specs: Provide default templates for each plugin  https://review.openstack.org/14117819:00
openstackgerritTrevor McKay proposed openstack/sahara: Add options supporting DataSource identifiers in job_configs  https://review.openstack.org/14224819:00
openstackgerritChad Roberts proposed openstack/sahara-specs: Spec for template editing  https://review.openstack.org/14044819:01
openstackgerritTrevor McKay proposed openstack/sahara: Add options supporting DataSource identifiers in job_configs  https://review.openstack.org/14224819:06
openstackgerritTrevor McKay proposed openstack/sahara: Add options supporting DataSource identifiers in job_configs  https://review.openstack.org/14224819:10
*** hdd has quit IRC19:14
*** Longgeek has quit IRC20:04
*** tnovacik has quit IRC20:34
*** crobertsrh is now known as _crobertsrh21:49
*** Networkn3rd has quit IRC22:05
*** Networkn3rd has joined #openstack-sahara22:08
*** Networkn3rd has quit IRC22:17
*** tmckay has quit IRC22:22
openstackgerritAndrew Lazarev proposed openstack/sahara: Renamed InvalidException to InvalidReferenceException  https://review.openstack.org/14355222:32
*** hdd has joined #openstack-sahara22:34
*** witlessb has quit IRC22:55

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