Monday, 2016-05-02

*** mingdang1 has joined #openstack-trove00:04
*** kuthurium has joined #openstack-trove00:27
*** mingdang1 has quit IRC01:00
*** pmackinn has joined #openstack-trove01:25
*** pmackinn has quit IRC01:37
*** raginbaji is now known as raginbajin03:28
*** links has joined #openstack-trove04:07
*** itisha has joined #openstack-trove04:27
*** rcernin has joined #openstack-trove05:05
*** mingdang1 has joined #openstack-trove05:12
*** robcresswell has joined #openstack-trove05:52
robcresswellamrith: I responded to your email on the mailer. Let me know if I can clarify further :)05:54
robcresswellIt's not a specific thing I am asking for, just better communication from horizon plugins.05:54
openstackgerritOpenStack Proposal Bot proposed openstack/trove-dashboard: Imported Translations from Zanata  https://review.openstack.org/30965406:16
*** itisha has quit IRC07:09
*** tesseract has joined #openstack-trove07:33
*** tesseract is now known as Guest3759007:34
*** dmk0202 has joined #openstack-trove08:06
*** itisha has joined #openstack-trove09:10
*** tosky has joined #openstack-trove09:28
*** vipul- has joined #openstack-trove10:35
*** vipuls has quit IRC10:37
*** chlong has joined #openstack-trove10:38
*** mingdang1 has quit IRC10:55
openstackgerritMerged openstack/trove-dashboard: Imported Translations from Zanata  https://review.openstack.org/30965411:04
*** mingdang1 has joined #openstack-trove11:10
openstackgerritamrith proposed openstack/trove: Fixed error message logging  https://review.openstack.org/27212011:19
openstackgerritDeepak Jon proposed openstack/trove: Update Trove's README  https://review.openstack.org/31172011:30
*** raginbajin has quit IRC11:50
*** amrith is now known as _amrith_11:59
openstackgerritMerged openstack/trove: Updated from global requirements  https://review.openstack.org/31141612:13
openstackgerritMerged openstack/trove: Updated from global requirements  https://review.openstack.org/31156112:14
*** miqui has joined #openstack-trove12:46
*** pmackinn has joined #openstack-trove12:57
*** _amrith_ is now known as amrith13:09
*** pmackinn has quit IRC13:15
*** arist has quit IRC13:17
*** arist has joined #openstack-trove13:18
openstackgerritMerged openstack/python-troveclient: Updated from global requirements  https://review.openstack.org/31141313:35
*** links has quit IRC13:35
*** mingdang1 has quit IRC13:44
*** links has joined #openstack-trove15:14
*** links has quit IRC15:14
*** itisha_ has joined #openstack-trove15:16
*** itisha has quit IRC15:21
*** kuthurium has quit IRC15:21
*** rcernin has quit IRC15:21
*** _mattf` has quit IRC15:21
*** _mattf has joined #openstack-trove15:21
*** rcernin has joined #openstack-trove15:22
*** _mattf has quit IRC15:22
*** _mattf has joined #openstack-trove15:22
*** rcernin has quit IRC15:22
*** rcernin has joined #openstack-trove15:22
*** itisha_ is now known as itisha15:23
*** kuthurium_ has joined #openstack-trove15:23
*** rcernin has quit IRC15:30
*** pmackinn has joined #openstack-trove15:34
*** chlong has quit IRC15:38
*** pmackinn has quit IRC15:42
*** ozialien10 has joined #openstack-trove15:58
*** dmk0202 has quit IRC15:59
*** Guest37590 has quit IRC15:59
*** links has joined #openstack-trove16:12
*** tqtran has joined #openstack-trove16:15
*** twm2016 has joined #openstack-trove16:16
*** stewie925 has joined #openstack-trove16:26
stewie925hi amrith - I am abandoning https://review.openstack.org/#/c/308693/ per your input16:27
stewie925in the meantime, could you check if https://bugs.launchpad.net/sahara/+bug/1544522 is still a valid bug?  I planning to tackle this bug.16:29
openstackLaunchpad bug 1544522 in OpenStack DBaaS (Trove) "Don't use Mock.called_once_with that does not exist" [Undecided,Confirmed] - Assigned to STEW TY (stewie925)16:29
stewie925the gerrit link is https://review.openstack.org/#/c/281232/16:29
*** amrith is now known as _amrith_16:39
openstackgerritMerged openstack/trove: Port crypto_utils to Python 3  https://review.openstack.org/29788816:42
openstackgerritMerged openstack/trove: Python3: Add support for unicode, basestring, long  https://review.openstack.org/27441916:42
openstackgerritMerged openstack/trove: Python 3: fix relative imports  https://review.openstack.org/30832816:49
*** stewie925 has quit IRC17:02
*** stewie925 has joined #openstack-trove17:09
*** tosky has quit IRC17:26
*** david-lyle has joined #openstack-trove17:28
*** david-lyle has quit IRC17:29
*** david-lyle has joined #openstack-trove17:30
*** links has quit IRC17:33
*** _amrith_ is now known as amrith17:35
openstackgerritMerged openstack/trove: Simplify guestagent.pkg: don't use metaclass  https://review.openstack.org/30834317:53
openstackgerritMerged openstack/trove: [Trivial] Remove unnecessary executable flag for files  https://review.openstack.org/31098217:54
peterstacstewie925, looks like https://review.openstack.org/#/c/281232 still needs fixing18:34
peterstacjust click the 'restore' button and do a recheck18:35
stewie925hey peterstac18:37
stewie925per conversation with amrith he indicated that that bug is an invalid bug18:37
stewie925based on what you've brought up regarding the checking on the exact value of clusters instead of mininum # of cluster18:38
stewie925so peterstac - you brought it to his attention :)18:38
stewie925I've already abandoned the fix - unless you think oherwise18:39
peterstacstewie925, no, not that one, the one about mocks18:39
stewie925oh oops18:39
peterstacwrt the Vertica one, I tried doing some research over the weekend, but didn't come to any conclusive results18:41
stewie925oh yes, I am working on that fix at the moment - amrith that it is a simpler fix, and I start fresh with a new one18:41
stewie925here's amrith's comments in https://bugs.launchpad.net/trove/+bug/154452218:42
openstackLaunchpad bug 1544522 in OpenStack DBaaS (Trove) "Don't use Mock.called_once_with that does not exist" [Undecided,Confirmed] - Assigned to STEW TY (stewie925)18:42
amrithpeterstac, I cleared up the vertica thing18:43
amriththat's the way the code was intended to work18:43
peterstacamrith, ok - it wasn't clear in my quick google search if there has to be a minimum for *all* cluster calls (including cluster-grow)18:44
peterstac(well, minimum vs set number)18:44
amrithpeterstac, see line 44 of https://review.openstack.org/#/c/151279/10/specs/kilo/vertica-cluster.rst18:46
amriththe idea was (I believe) to get a cluster up with exactly 3 instances and later add grow-shrink support.18:47
amrithnow that's what the code does18:47
peterstacsure, but that was kilo - the current code *does* implement grow18:48
peterstachttps://github.com/openstack/trove/blob/master/trove/common/strategies/cluster/experimental/vertica/api.py#l18718:48
amrithnow it does18:50
amrithcorrect18:50
amrithso I'm not sure that we want to just treat it as a deprecation18:50
amrithI'd rather make sure from someone with Vertica experience whether it is a valid use case to initialize a cluster with (say 6) instances using the same logic that we had for 318:51
amrithhence I didn't think this was simply a matter of deprecation.18:51
amrithand certainly your point about changing the name of the variable to min_cluster... and then having the logic of != was wrong as well.18:51
amrithso in fact what we need to do is figure out what it'll take to allow Vertica to launch an cluster with some arbitrary number of instances > k_size18:52
amrithand support that18:52
amrithand if it means that we want to also deprecate cluster_count, so be it.18:52
amrithdoes that make sense? or should we still deal with this as a deprection?18:52
openstackgerritamrith proposed openstack/trove: Fixed error message logging  https://review.openstack.org/27212018:53
peterstacright, imo what it boils down to is better input from a Vertica *expert* before we arbitrarily change something18:53
amrithyes, and that I was not able to get at summit18:53
amrithso I'm going to see if we can find one18:54
amriththey are (literally) across the street from me :)18:54
amrithhey peterstac some of your locality supprot changes are in merge conflict :)18:54
peterstacyeah, I saw18:55
peterstacdoing the rebase now18:55
*** alejandrito has joined #openstack-trove18:55
*** alejandrito has quit IRC18:56
amrithvgnbkr, I found the old denism change for backup volume size checking. it went to 46 reviews before we could get floor, ceil, int, modulo, and abs figured out :) remember that party?18:56
*** alejandrito has joined #openstack-trove18:57
*** alejandrito has quit IRC18:57
vgnbkramrith,  no, maybe I wasn't there.  More of an issue for snapshots, though, I think, as the snapshot can become invalid over time as the original volume changes.19:01
amrithvgnbkr, say more19:05
amrithwho would the snapshot become any more invalid than a backup19:06
*** zacksh_ has quit IRC19:06
*** zacksh has joined #openstack-trove19:07
vgnbkramrith, my understanding is that a snapshot is a copy of the metadata for the volume (i.e., a listing of the blocks) and that as blocks change on the original volume new blocks are added to the snapshot to capture the old state.19:11
openstackgerritMatthew Van Dijk proposed openstack/trove: Backup to swift using wrong large object type  https://review.openstack.org/22275219:11
vgnbkrThe blocks are on the same physical volume as the original, so there's really no new spaced added  to the volume.   When the volume fills, the snapshot is automatically deleted.19:12
vgnbkrAlso, since the snapshot is on the same physical disk as the volume, it isn't really a "backup" - it doesn't protect against drive failure.  I believe some backend storage appliances address this - netapp, for example, has a "snapshot mirror" feature that copies a snapshot to a different physical volume.19:13
amrithso ... I think the snapshot isn't on the same volume, no?19:33
vgnbkrSorry, I was a bit loose with terminology.  The "snapshot" isn't in the "volume", but AFAIK it does exist on the same physical disk, and probably partition (or "logical volume" or some such).  Anyways, it's fast because it shares the physical storage of the original volume,  either "actually" or "akin to" copy-on-write.  Either way, space is shared and there is no actual "backup".19:36
vgnbkrWell, I guess  a snapshot is really the same volume, just a different view into it.19:37
vgnbkrIn summary, snapshot != backup19:39
*** itisha has quit IRC19:39
vgnbkrDon't get me wrong - snapshots are TOTALLY AWESOME and we need them, but they aren't by themselves backups.19:41
stewie925hi amrith and peterstac - sorry was at a meeting20:03
peterstachi stewie925, what's up?20:04
stewie925not much , just scrolling back to see what I missed20:08
stewie925lol20:08
stewie925so I figured you and amrith were at the summit20:08
peterstacstewie925, yep, made it hard to respond in real-time ;P20:09
*** imandhan has joined #openstack-trove20:11
stewie925I can tell its busier today than last week - just tumbleweeds all over the place20:19
*** cguadall__ has joined #openstack-trove20:20
*** dalees`_ has joined #openstack-trove20:25
*** serverascode_ has joined #openstack-trove20:26
*** bapalm_ has joined #openstack-trove20:28
*** bapalm has quit IRC20:29
*** dalees` has quit IRC20:29
*** cguadall_ has quit IRC20:29
*** serverascode has quit IRC20:29
*** serverascode_ is now known as serverascode20:34
openstackgerritVictor Stinner proposed openstack/trove: Port designate code to Python 3  https://review.openstack.org/31184520:41
openstackgerritVictor Stinner proposed openstack/trove: Port more API unit tests to Python 3  https://review.openstack.org/31184620:41
openstackgerritVictor Stinner proposed openstack/trove: Port instance unit tests to Python 3  https://review.openstack.org/31184720:41
openstackgerritVictor Stinner proposed openstack/trove: Enable more unit tests on Python 3  https://review.openstack.org/31184820:41
*** dmk0202 has joined #openstack-trove21:00
*** mingdang1 has joined #openstack-trove21:08
*** amrith has quit IRC21:09
*** amrith has joined #openstack-trove21:10
*** ByPasS has quit IRC21:10
*** ByPasS has joined #openstack-trove21:12
*** dmk0202 has quit IRC21:12
*** amrith is now known as _amrith_21:14
*** mingdang1 has quit IRC21:21
*** miqui has quit IRC21:38
*** mordred has joined #openstack-trove22:05
openstackgerritPeter Stachowski proposed openstack/python-troveclient: Locality support for clusters  https://review.openstack.org/30134222:15
openstackgerritPeter Stachowski proposed openstack/python-troveclient: Locality support for replication  https://review.openstack.org/30065922:15
openstackgerritPeter Stachowski proposed openstack/python-troveclient: Locality support for replication  https://review.openstack.org/30065922:16
openstackgerritPeter Stachowski proposed openstack/python-troveclient: Locality support for clusters  https://review.openstack.org/30134222:17
openstackgerritPeter Stachowski proposed openstack/python-troveclient: Locality support for replication  https://review.openstack.org/30065922:18
openstackgerritPeter Stachowski proposed openstack/trove: Locality support for replication  https://review.openstack.org/30066922:20
*** stewie925 has quit IRC22:24
*** stewie925 has joined #openstack-trove22:26
openstackgerritPeter Stachowski proposed openstack/trove: Locality support for replication  https://review.openstack.org/30066922:27
openstackgerritPeter Stachowski proposed openstack/trove: Locality support for clusters  https://review.openstack.org/30193622:27
stewie925hello peterstac and amrith22:27
*** david-lyle has quit IRC22:28
peterstacstewie925, hi22:28
stewie925so I am working on that mock bug22:29
peterstac(gotta be quick, I'm leaving the office soon ... ;) )22:29
*** twm2016 has quit IRC22:29
stewie925https://review.openstack.org/#/c/28123222:30
stewie925I understand that we need to change the ".called_once_with"  to ".assert_called_once_with"22:31
peterstacright22:31
stewie925here's the grep I'd like to share with all instances of that method:  http://paste.openstack.org/show/495710/22:32
stewie925I see files under .tox - but found that .tox directory is under .gitignore so I'll just leave them alone, right?22:33
peterstacright22:33
stewie925thank you peter... I tried to fix the other one - the test_backupagent.py (in that paste URL) - and when I ran tox -e py27 - I am getting a bunch of this error:22:35
stewie925FAIL: backup.test_backupagent.BackupAgentTest.test_execute_backup22:35
stewie925AssertionError: Expected 'mock' to be called once. Called 2 times.22:36
stewie925this is after I changed the ".called_once_with" to ".assert_called_once_with" in the  trove/tests/unittests/backup/test_backupagent.py file22:38
stewie925oh we can continue tomorrow peterstac  - if you have to leave :)22:39
peterstacWell, there might be more issues with the tests22:39
peterstacsince the check was being ignored in the past22:39
stewie925oh I see... well I did run right before I rename those methods and it was successful22:40
peterstacor it might actually be called twice legitimately - in which case you can't use assert_called_once_with ;)22:40
stewie925yeah exactly what I was thinking hehe22:40
peterstacsure, because mock will let you call anything on an object, even if it doesn't exist22:41
peterstacso that call was a no-op before (i.e. wasn't testing anything)22:41
stewie925should I keep the change or back it out?22:42
peterstacthere could also be a problen in that the same mock object is being called from two tests22:42
peterstac(we've had issues before with things not being 'unmocked' correctly)22:42
peterstac(but I thought we had code in now to detect that case)22:42
peterstacwell, we need to fix the tests = but it might be a bit more work than originally thought22:43
peterstac:(22:43
peterstacok, gotta run - I'll see if I can spend a few cycles on this tomorrow22:43
stewie925sure, thank you peterstac22:43
stewie925good night22:43
peterstacnp - later22:43
*** imandhan has quit IRC23:07
*** chlong has joined #openstack-trove23:51

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