Monday, 2015-06-15

*** haomaiwang has joined #openstack-trove00:03
*** haomaiw__ has quit IRC00:03
*** haomaiwang has quit IRC00:13
*** Longgeek has quit IRC00:29
*** tianqing has joined #openstack-trove01:21
*** erkules_ has joined #openstack-trove01:22
*** erkules has quit IRC01:25
*** Longgeek has joined #openstack-trove01:47
openstackgerritamrith proposed openstack/trove: Use oslo.log instead of oslo-incubator logging  https://review.openstack.org/16267701:58
*** tianqing has quit IRC01:59
*** Longgeek has quit IRC02:20
*** Forresp has joined #openstack-trove02:27
*** Longgeek has joined #openstack-trove03:18
*** tobe has joined #openstack-trove03:20
*** coolsvap|afk is now known as coolsvap03:32
*** logan2 has quit IRC03:35
*** bhunter71 has quit IRC03:36
openstackgerritOpenStack Proposal Bot proposed openstack/trove: Updated from global requirements  https://review.openstack.org/19041303:48
*** Longgeek has quit IRC03:51
*** tianqing has joined #openstack-trove04:20
*** sgotliv has quit IRC04:26
*** Forresp has quit IRC04:50
*** Longgeek has joined #openstack-trove05:09
*** k4n0 has joined #openstack-trove05:25
*** Longgeek has quit IRC05:35
*** tianqing has quit IRC05:38
*** Forresp has joined #openstack-trove05:40
*** Forresp has quit IRC06:08
*** Forresp has joined #openstack-trove06:12
*** Longgeek has joined #openstack-trove06:17
*** ian_brown has quit IRC06:43
*** tobe has quit IRC06:44
*** tianqing has joined #openstack-trove06:50
*** Forresp has quit IRC06:54
*** tianqing has quit IRC06:54
*** tianqing has joined #openstack-trove07:07
*** tobe has joined #openstack-trove07:07
*** Forresp has joined #openstack-trove07:10
tobeCurrently guestagent uses "rpm -qa" to check if the package is installed or not. That's really NOT a good idea.07:29
tobeWe always make the image and install the database from source code. No matter it's installed or not, the agent tells it's not installed and return false here.07:30
vkmctobe, hi, could you point where in the code that is happening?07:33
vkmcor how you detected that?07:33
tobeIt's in trove/guestagent/pkg.py07:34
*** chlong has quit IRC07:34
tobeline 18707:35
vkmcI see it https://github.com/openstack/trove/blob/master/trove/guestagent/pkg.py#L19407:35
vkmcI see what you mean.. hm07:36
tobe@vkmc Yeah07:36
tobeIt relies on the package management system, instead of the database itself07:37
tobeI'm quite sure it will NOT work for debian or ubuntu which don't use rpm at all07:37
vkmctobe, note that its under class RedhatPackagerMixin07:38
vkmcthings are handled different for Debian and Ubuntu07:38
tobeOh there're some functions for debian.07:38
vkmcyes07:38
tobeAnyway, I don't think it's a good idea to use system commands to do that.07:39
vkmcare you installing datastores from source for any reason?07:39
tobeIt won't work if I install mysql or redis from source code.07:39
tobeYes, I'm trying redis07:39
vkmcwhich distro?07:40
tobeIt's easy to installed from source. And I can choose the specified version.07:40
tobeIn CentOS07:40
vkmcI see07:40
vkmcthere is a package for redis in centos07:41
tobeCurrently I have to comment out this code to return true when asked if redis is installed07:41
vkmchow you are checking that?07:41
tobeThanks @vkmc I know the package in centos07:41
vkmccool :)07:41
tobeBut we don't install redis in that way07:42
tobeWe want the specified version or more detailed code of redis07:42
vkmcthat makes sense07:43
vkmcjust a heads up... there might be slight changes with the version of redis you want to use and the one that the trove code supports07:44
tobeYou're right, trove can support kinds of versions of redis.07:46
tobeAnd we should point out the limitation.07:47
tobeI mean, currently it doesn't redis cluster which it's from redis 3.0. And we should not use image with redis 3.007:48
tobeNow making the image for guestagent is quite mess07:49
tobeI don't know I have to use rpm to install datastore. I don't know we should put the redis binaries in the specified directory.07:49
vkmcso actually I'm working on an script to make easier for users to make their own guest images07:51
vkmcfor RHEL based distros07:51
vkmcI was planning to work on redis soon07:51
vkmcwould you like to contribute to that?07:51
tobeIt would be great if I can help :)07:52
vkmcindeed! that would be super appreciated :)07:52
vkmcI'm putting everything here https://github.com/vkmc/trove-image-elements07:53
tobeWe have made the redis guest image from scratch.07:53
vkmcoh, btw, I'm using TripleO's diskimage-builder to automatize the process07:54
tobeAnd plan to implement the functions that trove should support07:54
vkmcand writing my own elements07:54
tobeGreat job @vkmc. I will have a look07:54
vkmcsure, let me know!07:54
tianqingDoes the trove-image-elements can work now?09:10
tianqingright now the trove image is prepared in /etc/trove-guestagent.conf, but when creating image, people always put trove-guestagent.conf into  /etc/trove/trove-guestagent.conf09:20
vkmctianqing, can you provide more details on your deployment? which trove version is?09:24
vkmcI assume Juno09:24
tianqingyes09:24
tianqingthe newest code is bypass this problem09:24
tianqingit is configurations ....09:24
tianqinghttps://github.com/openstack/trove/blob/master/trove/taskmanager/models.py09:25
tianqinghere in _get_injected_files function, we can make configuration to choose which directory we can inject the trove-guestagent.conf09:25
vkmcyeah I agree09:26
tianqingto vkmc, dose you trove-image-elements work fine?09:26
vkmcwhich distro are you using for your guestimages?09:26
vkmccentos?09:26
tianqingyes09:27
vkmcI see09:27
tianqingfor centos, because our mysql trove is build by hand09:27
vkmcso... the trove-image-elements will build for you a centos7 image with mariadb5.5 in it09:27
vkmcif you have trove juno in your controller node, you will need to manually fix some paths09:28
tianqingcan only build mariadb?09:28
tianqingfor mysql5.109:29
vkmcI'm afraid that is the case now... you can build your own elements to get an specific version of mysql and try to use it09:30
vkmcbut I haven't tested it09:30
vkmcso I cannot guarantee it will work09:30
tianqingfine09:33
*** haomaiwang has joined #openstack-trove09:38
*** tosky has joined #openstack-trove09:46
tianqingcan some one help to review this commit, https://review.openstack.org/#/c/189093/09:49
tianqingThanks09:49
*** f13o has joined #openstack-trove09:56
tianqingdose the feture about puting all trove user's nova-instances into one tenant is ok?10:04
*** ianbrown has joined #openstack-trove10:07
tobe+1 for https://review.openstack.org/#/c/189093/10:25
*** ianbrown has quit IRC10:33
*** Longgeek_ has joined #openstack-trove11:06
*** Longgeek has quit IRC11:09
openstackgerrittobe proposed openstack/trove: Add IDE files in .gitignore  https://review.openstack.org/19176111:18
tobeA minor change to exclude IDE files from .gitignore11:22
tobeThe code is from Glance/.gitignore which may be practicle.11:23
*** tobe has quit IRC11:25
*** tianqing has quit IRC11:31
*** Longgeek_ has quit IRC11:34
*** Longgeek has joined #openstack-trove11:35
*** Forresp has quit IRC11:46
*** amrith is now known as _amrith_12:19
*** chlong has joined #openstack-trove12:21
*** f13o has quit IRC12:54
*** exploreshaifali has joined #openstack-trove12:55
*** Forresp has joined #openstack-trove13:10
*** radez_g0n3 is now known as radez13:12
*** Forresp_ has joined #openstack-trove13:29
*** tianqing has joined #openstack-trove13:30
*** Forresp has quit IRC13:31
*** _amrith_ is now known as amrith13:37
*** rnowling has joined #openstack-trove13:38
*** Forresp has joined #openstack-trove13:39
*** Forresp_ has quit IRC13:39
*** _crobertsrh is now known as crobertsrh13:41
*** bhunter71 has joined #openstack-trove13:41
*** bhunter71 has quit IRC14:08
*** Forresp has quit IRC14:16
*** IanGovett has joined #openstack-trove14:17
openstackgerritMatthew Van Dijk proposed openstack/trove: Enable authentication in the MongoDB guest agent  https://review.openstack.org/18773414:23
*** openstackgerrit has quit IRC14:24
*** openstackgerrit has joined #openstack-trove14:24
*** cweid has joined #openstack-trove14:24
openstackgerritMatthew Van Dijk proposed openstack/trove: Enable authentication in the MongoDB guest agent  https://review.openstack.org/18773414:24
*** csoukup has joined #openstack-trove14:26
*** tianqing has quit IRC14:27
*** sgotliv has joined #openstack-trove14:34
*** coolsvap is now known as coolsvap|afk14:37
*** sgotliv has quit IRC14:39
*** sgotliv has joined #openstack-trove14:43
openstackgerritDuk Loi proposed openstack/trove-specs: Add root-disable api  https://review.openstack.org/18983714:51
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB database management features  https://review.openstack.org/18803414:58
*** sriram_tesora has joined #openstack-trove15:02
*** haomaiw__ has joined #openstack-trove15:03
*** haomaiwang has quit IRC15:04
*** haomaiwa_ has joined #openstack-trove15:11
*** haomaiw__ has quit IRC15:13
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB user management - create/list/show/delete  https://review.openstack.org/18998915:14
*** johnma has joined #openstack-trove15:20
*** bhunter71 has joined #openstack-trove15:20
*** bhunter71_2 has joined #openstack-trove15:22
*** k4n0 has quit IRC15:28
openstackgerritPetr Malik proposed openstack/trove: Configuration Groups for Redis  https://review.openstack.org/19186015:29
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB user management - root enable/show  https://review.openstack.org/19041515:33
openstackgerritMatthew Van Dijk proposed openstack/trove: Support authentication in the MongoDB guest agent  https://review.openstack.org/18773415:33
*** bhunter71_2 has quit IRC15:35
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB user management - access grant/revoke/show  https://review.openstack.org/19082115:38
openstackgerritPetr Malik proposed openstack/trove-integration: Disable THP in MongoDB elements.  https://review.openstack.org/19186315:38
*** IanGovett has quit IRC15:42
*** IanGovett has joined #openstack-trove15:42
*** IanGovett has quit IRC15:46
*** thedodd has joined #openstack-trove15:58
*** ashleighfarnham has joined #openstack-trove16:02
*** exploreshaifali has quit IRC16:02
*** ashleighfarnham has quit IRC16:09
*** ashleighfarnham has joined #openstack-trove16:09
*** hogepodge has quit IRC16:13
*** ashleighfarnham has quit IRC16:17
*** hogepodge has joined #openstack-trove16:20
*** Longgeek has quit IRC16:21
*** ashleighfarnham has joined #openstack-trove16:25
openstackgerritPetr Malik proposed openstack/trove-integration: Disable THP in MongoDB elements  https://review.openstack.org/19186316:50
*** SergeyLukjanov has left #openstack-trove16:53
*** esmute has joined #openstack-trove16:54
*** IanGovett has joined #openstack-trove16:57
*** exploreshaifali has joined #openstack-trove16:59
*** IanGovett has quit IRC17:01
*** IanGovett1 has joined #openstack-trove17:01
*** haomaiw__ has joined #openstack-trove17:03
*** haomaiwa_ has quit IRC17:04
*** esmute has quit IRC17:10
*** esmute has joined #openstack-trove17:11
*** cweid has quit IRC17:25
*** cweid has joined #openstack-trove17:37
*** esmute has quit IRC17:41
*** IanGovett1 has quit IRC17:41
openstackgerritPetr Malik proposed openstack/trove-integration: Disable THP in MongoDB elements  https://review.openstack.org/19186317:42
*** esmute has joined #openstack-trove17:46
openstackgerritMatthew Van Dijk proposed openstack/trove: Support authentication in the MongoDB guest agent  https://review.openstack.org/18773417:49
openstackgerritMatthew Van Dijk proposed openstack/trove: Support authentication in the MongoDB guest agent  https://review.openstack.org/18773418:04
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB user management - create/list/show/delete  https://review.openstack.org/18998918:14
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB user management - root enable/show  https://review.openstack.org/19041518:15
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB user management - access grant/revoke/show  https://review.openstack.org/19082118:15
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB database management features  https://review.openstack.org/18803418:16
*** Longgeek has joined #openstack-trove18:17
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB user management - create/list/show/delete  https://review.openstack.org/18998918:24
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB user management - root enable/show  https://review.openstack.org/19041518:24
openstackgerritMatthew Van Dijk proposed openstack/trove: MongoDB user management - access grant/revoke/show  https://review.openstack.org/19082118:24
*** tosky has quit IRC18:30
*** exploreshaifali has quit IRC18:33
openstackgerritMorgan Jones proposed openstack/trove-specs: Cluster Scaling  https://review.openstack.org/19192518:35
openstackgerritMorgan Jones proposed openstack/trove-specs: Redis Clustering  https://review.openstack.org/19192618:40
*** Longgeek has quit IRC18:52
*** bhunter71 has quit IRC19:01
*** ViswaV has joined #openstack-trove19:02
*** exploreshaifali has joined #openstack-trove19:14
openstackgerritMatthew Van Dijk proposed openstack/trove: Support authentication in the MongoDB guest agent  https://review.openstack.org/18773419:26
*** esmute has quit IRC19:30
openstackgerritMerged openstack/trove: PostgreSQL guest agent can't remove temp file  https://review.openstack.org/19081019:47
*** esmute has joined #openstack-trove20:04
*** radez is now known as radez_g0n320:09
*** amrith is now known as _amrith_20:12
*** ViswaV_ has joined #openstack-trove20:14
*** ViswaV has quit IRC20:14
*** esmute has quit IRC20:16
*** bhunter71 has joined #openstack-trove20:18
dloiHello I was wondering if someone out there can shed some light on how to get the tests under api to test something newly added to the python-troveclient?20:19
dloiIt appears in those tests it creates a test Dbaas object but it uses the python-troveclient code installed from pip in the venv so the object being referenced does not have the newly added methods.20:19
dloiIs there some magic configuration that I need to do to get those test to work?20:20
*** _mattf is now known as mattf20:21
*** esmute has joined #openstack-trove20:25
*** ViswaV_ has quit IRC20:46
*** Longgeek has joined #openstack-trove20:49
*** sriram_ has joined #openstack-trove20:51
*** johnma has quit IRC20:53
*** sriram_tesora has quit IRC20:54
*** crobertsrh is now known as _crobertsrh20:59
*** ViswaV has joined #openstack-trove21:06
openstackgerritAlex Tomic proposed openstack/trove-specs: MySQL manager refactor blueprint  https://review.openstack.org/16808321:21
*** Longgeek has quit IRC21:22
*** ViswaV has quit IRC21:29
*** esmute has quit IRC21:30
*** exploreshaifali has quit IRC21:30
openstackgerritPeter Stachowski proposed openstack/trove: Add Redis backup/restore functionality  https://review.openstack.org/18589221:37
openstackgerritPeter Stachowski proposed openstack/trove: Add Redis backup/restore functionality  https://review.openstack.org/18589221:40
*** rnowling has quit IRC21:42
openstackgerritPeter Stachowski proposed openstack/trove: Add Redis backup/restore functionality  https://review.openstack.org/18589221:43
*** esmute has joined #openstack-trove21:48
*** ianbrown has joined #openstack-trove21:48
*** cweid has quit IRC21:50
openstackgerritPeter Stachowski proposed openstack/trove: Add Redis backup/restore functionality  https://review.openstack.org/18589221:51
*** esmute has quit IRC21:56
*** chlong has quit IRC21:57
openstackgerritOpenStack Proposal Bot proposed openstack/trove: Updated from global requirements  https://review.openstack.org/19041322:08
*** exploreshaifali has joined #openstack-trove22:12
*** csoukup has quit IRC22:14
*** flwang has quit IRC22:16
*** csoukup has joined #openstack-trove22:19
*** sriram_ has quit IRC22:26
*** flwang has joined #openstack-trove22:29
*** david-lyle has quit IRC22:31
*** ViswaV has joined #openstack-trove22:35
*** exploreshaifali has quit IRC22:35
*** thedodd has quit IRC22:38
*** esmute has joined #openstack-trove22:44
*** hogepodge has quit IRC22:52
pmalikHi! For interested reviewers, I pushed up patch sets with the guestagent configuration manager and configuration groups for Redis.23:01
pmalikGuestagent Configuration Manager: https://review.openstack.org/#/c/191859/23:01
pmalikConfiguration Groups for Redis: https://review.openstack.org/#/c/191860/23:01
*** david-lyle has joined #openstack-trove23:11
*** Longgeek has joined #openstack-trove23:19
*** hogepodge has joined #openstack-trove23:19
*** Longgeek has quit IRC23:35
*** csoukup has quit IRC23:38
*** ashleighfarnham has quit IRC23:42
*** chlong has joined #openstack-trove23:47
*** csoukup has joined #openstack-trove23:55

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