*** rongze has joined #openstack-trove | 00:31 | |
*** rongze has quit IRC | 00:37 | |
*** mmcdaris has joined #openstack-trove | 00:55 | |
*** mmcdaris has quit IRC | 00:58 | |
*** nosnos has joined #openstack-trove | 01:05 | |
*** freyes has joined #openstack-trove | 01:41 | |
*** erkules has quit IRC | 02:19 | |
*** erkules_ has joined #openstack-trove | 02:19 | |
*** rongze has joined #openstack-trove | 02:23 | |
*** rongze_ has joined #openstack-trove | 02:31 | |
*** rongze has quit IRC | 02:33 | |
*** robertmyers has joined #openstack-trove | 03:01 | |
*** _Seal has joined #openstack-trove | 03:20 | |
*** yogesh has joined #openstack-trove | 03:26 | |
*** yogesh has quit IRC | 03:31 | |
*** yogesh has joined #openstack-trove | 03:32 | |
*** yogesh has quit IRC | 03:36 | |
openstackgerrit | Sushil Kumar proposed a change to openstack/trove: Removes dead code from trove/tests/api/root.py https://review.openstack.org/62236 | 03:39 |
---|---|---|
*** freyes has quit IRC | 03:41 | |
*** shalini has joined #openstack-trove | 03:42 | |
*** jcooley_ has quit IRC | 03:51 | |
*** _Seal has quit IRC | 04:02 | |
*** mrsnivvel has joined #openstack-trove | 04:23 | |
*** robertmyers has quit IRC | 04:43 | |
*** rongze_ has quit IRC | 04:44 | |
*** jcooley_ has joined #openstack-trove | 04:46 | |
*** haomaiwang has joined #openstack-trove | 05:09 | |
*** SergeyLukjanov has joined #openstack-trove | 05:11 | |
*** haomaiwang has quit IRC | 05:14 | |
*** haomaiwang has joined #openstack-trove | 05:18 | |
*** jcooley_ has quit IRC | 05:19 | |
*** haomaiwang has quit IRC | 05:23 | |
*** nosnos_ has joined #openstack-trove | 05:34 | |
*** rongze has joined #openstack-trove | 05:35 | |
*** nosnos_ has quit IRC | 05:35 | |
*** nosnos_ has joined #openstack-trove | 05:36 | |
*** nosnos has quit IRC | 05:37 | |
*** rongze has quit IRC | 05:41 | |
*** erkules_ is now known as erkules | 05:41 | |
*** haomaiwang has joined #openstack-trove | 05:49 | |
*** jcooley_ has joined #openstack-trove | 06:01 | |
*** yogesh_ has joined #openstack-trove | 06:01 | |
*** rongze has joined #openstack-trove | 06:08 | |
*** SergeyLukjanov is now known as _SergeyLukjanov | 06:11 | |
*** jcooley_ has quit IRC | 06:20 | |
*** _SergeyLukjanov is now known as SergeyLukjanov | 06:20 | |
*** yogesh_ has quit IRC | 06:21 | |
*** jcooley_ has joined #openstack-trove | 06:36 | |
*** yogesh_ has joined #openstack-trove | 06:37 | |
*** jcooley_ has quit IRC | 06:39 | |
*** _Seal has joined #openstack-trove | 06:44 | |
*** SushilKM has joined #openstack-trove | 06:44 | |
*** nosnos has joined #openstack-trove | 06:59 | |
*** nosnos_ has quit IRC | 06:59 | |
*** SushilKM has quit IRC | 07:44 | |
*** SushilKM has joined #openstack-trove | 08:02 | |
*** flaper87|afk is now known as flaper87 | 08:12 | |
*** SergeyLukjanov has quit IRC | 08:46 | |
*** yogesh_ has quit IRC | 09:52 | |
*** haomaiwang has quit IRC | 09:52 | |
*** decede has quit IRC | 09:52 | |
*** konetzed has quit IRC | 09:52 | |
*** yogesh_ has joined #openstack-trove | 09:54 | |
*** haomaiwang has joined #openstack-trove | 09:54 | |
*** decede has joined #openstack-trove | 09:54 | |
*** konetzed has joined #openstack-trove | 09:54 | |
*** rongze has quit IRC | 10:09 | |
openstackgerrit | Denis M. proposed a change to openstack/trove: Block delete instance while backup https://review.openstack.org/61969 | 10:18 |
*** SergeyLukjanov has joined #openstack-trove | 10:24 | |
*** rongze has joined #openstack-trove | 10:40 | |
*** rongze has quit IRC | 10:45 | |
openstackgerrit | Dirk Mueller proposed a change to openstack/python-troveclient: Tighten flake8 checks in Gating https://review.openstack.org/62146 | 10:57 |
openstackgerrit | Ionut Artarisi proposed a change to openstack/trove: don't try to concatenate a string with a variable that can be None https://review.openstack.org/62332 | 10:58 |
*** yogesh_ has quit IRC | 11:13 | |
openstackgerrit | Denis M. proposed a change to openstack/trove: Block delete instance while backup https://review.openstack.org/61969 | 11:13 |
*** yogesh_ has joined #openstack-trove | 11:13 | |
*** yogeshme_ has joined #openstack-trove | 11:17 | |
*** yogesh_ has quit IRC | 11:18 | |
*** yogeshme_ has quit IRC | 11:31 | |
*** SushilKM has quit IRC | 11:34 | |
*** SergeyLukjanov has quit IRC | 11:51 | |
*** SergeyLukjanov has joined #openstack-trove | 11:52 | |
openstackgerrit | Denis M. proposed a change to openstack/trove: Block delete instance while backup https://review.openstack.org/61969 | 12:09 |
*** rongze has joined #openstack-trove | 12:41 | |
*** rongze has quit IRC | 12:46 | |
*** nosnos has quit IRC | 12:47 | |
*** dougshelley66 has joined #openstack-trove | 13:02 | |
*** pdmars has joined #openstack-trove | 13:26 | |
*** radez_g0n3 is now known as radez | 13:32 | |
*** dougshelley66 has quit IRC | 13:45 | |
*** zigo has quit IRC | 13:55 | |
*** jasonb365 has joined #openstack-trove | 13:58 | |
*** zigo has joined #openstack-trove | 14:00 | |
*** rongze has joined #openstack-trove | 14:12 | |
*** rustlebee is now known as russellb | 14:22 | |
*** denis_makogon has quit IRC | 14:23 | |
*** SergeyLukjanov is now known as _SergeyLukjanov | 14:24 | |
*** _SergeyLukjanov has quit IRC | 14:24 | |
*** vgnbkr has quit IRC | 14:24 | |
*** jcru has joined #openstack-trove | 14:24 | |
*** robertm__ has joined #openstack-trove | 14:26 | |
*** robertmyers has joined #openstack-trove | 14:28 | |
*** robertm__ has quit IRC | 14:28 | |
*** robertmyers has quit IRC | 14:29 | |
*** robertmyers has joined #openstack-trove | 14:30 | |
*** dougshelley66 has joined #openstack-trove | 14:30 | |
*** robertmyers has quit IRC | 14:30 | |
*** denis_makogon has joined #openstack-trove | 14:30 | |
*** robertmyers has joined #openstack-trove | 14:31 | |
*** openstackgerrit has quit IRC | 14:31 | |
*** robertmyers has quit IRC | 14:31 | |
*** openstackgerrit has joined #openstack-trove | 14:31 | |
*** robertmyers has joined #openstack-trove | 14:32 | |
*** robertmyers has quit IRC | 14:32 | |
*** robertmyers has joined #openstack-trove | 14:33 | |
*** robertmy_ has joined #openstack-trove | 14:33 | |
*** robertmyers has quit IRC | 14:33 | |
*** robertmy_ has quit IRC | 14:34 | |
*** robertmyers has joined #openstack-trove | 14:34 | |
*** decede has quit IRC | 14:35 | |
*** robertmyers has quit IRC | 14:35 | |
*** robertmyers has joined #openstack-trove | 14:35 | |
*** robertmyers has quit IRC | 14:36 | |
*** robertmyers has joined #openstack-trove | 14:37 | |
*** decede has joined #openstack-trove | 14:38 | |
*** abramley has joined #openstack-trove | 14:43 | |
*** rnirmal has joined #openstack-trove | 14:46 | |
*** kevinconway has joined #openstack-trove | 14:53 | |
*** kevinconway has quit IRC | 14:53 | |
*** amytron has joined #openstack-trove | 14:57 | |
*** jcooley_ has joined #openstack-trove | 15:04 | |
*** glucas has joined #openstack-trove | 15:06 | |
*** doug_shelley66 has joined #openstack-trove | 15:10 | |
*** diakunchikov_ has joined #openstack-trove | 15:13 | |
*** dougshelley66 has quit IRC | 15:14 | |
*** diakunchikov has quit IRC | 15:14 | |
*** demorris has joined #openstack-trove | 15:15 | |
*** kpom_ has joined #openstack-trove | 15:16 | |
*** SergeyLukjanov has joined #openstack-trove | 15:17 | |
*** SushilKM has joined #openstack-trove | 15:18 | |
*** vgnbkr has joined #openstack-trove | 15:24 | |
*** kevinconway has joined #openstack-trove | 15:24 | |
*** vipul has quit IRC | 15:27 | |
*** kevinconway_ has joined #openstack-trove | 15:28 | |
*** vipul has joined #openstack-trove | 15:28 | |
*** kevinconway has quit IRC | 15:29 | |
*** kevinconway_ is now known as kevinconway | 15:29 | |
openstackgerrit | Sushil Kumar proposed a change to openstack/trove: Replaces location to be backed up during prepare https://review.openstack.org/62399 | 15:30 |
*** greghill has joined #openstack-trove | 15:31 | |
greghill | so, does 'recheck no bug' not refire the reddwarf tests? If not, how do I do that? | 15:31 |
SushilKM | you need to contact here in with someone who has got the access to re-run the reddwarf tests | 15:32 |
SushilKM | they have changed it now | 15:32 |
*** datsun180b has joined #openstack-trove | 15:35 | |
greghill | https://review.openstack.org/#/c/62039/ needs said reddwarf tests re-run | 15:35 |
*** zigo has quit IRC | 15:39 | |
*** haomaiwang has quit IRC | 15:39 | |
*** konetzed has quit IRC | 15:39 | |
datsun180b | greghill: on it | 15:39 |
greghill | gracias | 15:39 |
*** haomaiwang has joined #openstack-trove | 15:39 | |
*** SushilKM has quit IRC | 15:43 | |
*** zigo has joined #openstack-trove | 15:44 | |
*** konetzed has joined #openstack-trove | 15:44 | |
*** amytron_ has joined #openstack-trove | 15:45 | |
*** jasonb365_ has joined #openstack-trove | 15:45 | |
*** haomaiwa_ has joined #openstack-trove | 15:46 | |
*** diakunchikov__ has joined #openstack-trove | 15:47 | |
*** cp16net_ has joined #openstack-trove | 15:48 | |
*** tanisdl has joined #openstack-trove | 15:50 | |
*** datsun_F40PH has joined #openstack-trove | 15:50 | |
*** SlickN1k has joined #openstack-trove | 15:51 | |
*** jdbarry_ has joined #openstack-trove | 15:51 | |
*** mtaylor has joined #openstack-trove | 15:52 | |
*** pdmars_ has joined #openstack-trove | 15:52 | |
*** plodronio has joined #openstack-trove | 15:52 | |
*** dmakogon_ has joined #openstack-trove | 15:52 | |
*** jasonb365 has quit IRC | 15:54 | |
*** SlickNik has quit IRC | 15:54 | |
*** rnirmal has quit IRC | 15:54 | |
*** jdbarry has quit IRC | 15:54 | |
*** datsun180b has quit IRC | 15:54 | |
*** diakunchikov_ has quit IRC | 15:54 | |
*** amytron has quit IRC | 15:54 | |
*** mordred has quit IRC | 15:55 | |
*** jdbarry_ is now known as jdbarry | 15:55 | |
*** jasonb365_ is now known as jasonb365 | 15:55 | |
*** amytron_ is now known as amytron | 15:55 | |
*** SlickN1k is now known as SlickNik | 15:55 | |
*** datsun_F40PH is now known as datsun180b | 15:55 | |
*** haomaiwang has quit IRC | 15:56 | |
*** denis_makogon has quit IRC | 15:56 | |
*** datsun180b has quit IRC | 15:57 | |
*** datsun180b has joined #openstack-trove | 15:57 | |
*** cp16net has quit IRC | 15:57 | |
*** pdmars has quit IRC | 15:57 | |
*** cp16net_ is now known as cp16net | 15:57 | |
*** demorris_ has joined #openstack-trove | 16:01 | |
*** jasonb365 has quit IRC | 16:01 | |
*** demorris has quit IRC | 16:02 | |
*** demorris_ is now known as demorris | 16:02 | |
*** flaper87 is now known as flaper87|call | 16:02 | |
*** datsun180b has quit IRC | 16:07 | |
*** plodronio_ has joined #openstack-trove | 16:07 | |
*** haomaiwang has joined #openstack-trove | 16:08 | |
*** jcooley_ has quit IRC | 16:09 | |
dmakogon_ | greghill, you also could ping me, i'm in different time zone UTC(+2), to restart reddwarf builder | 16:09 |
*** dmakogon_ is now known as denis_makogon | 16:09 | |
*** jcooley_ has joined #openstack-trove | 16:11 | |
kevinconway | denis_makogon: the time change makes it really hard though. it takes longer for the bytes to travel. | 16:12 |
denis_makogon | kevinconway, yup | 16:12 |
*** spiffxp_ has joined #openstack-trove | 16:14 | |
*** plodronio has quit IRC | 16:18 | |
*** mtaylor has quit IRC | 16:18 | |
*** cp16net has quit IRC | 16:18 | |
*** haomaiwa_ has quit IRC | 16:18 | |
*** spiffxp has quit IRC | 16:18 | |
*** jcooley has quit IRC | 16:18 | |
*** demorris has quit IRC | 16:18 | |
*** zigo has quit IRC | 16:18 | |
*** konetzed has quit IRC | 16:18 | |
*** hub_cap has quit IRC | 16:18 | |
*** kiall has quit IRC | 16:18 | |
*** annashen has quit IRC | 16:18 | |
*** SlickNik has quit IRC | 16:18 | |
*** SergeyLukjanov has quit IRC | 16:18 | |
*** kpom_ has quit IRC | 16:18 | |
*** greghill has quit IRC | 16:18 | |
*** esmute has quit IRC | 16:18 | |
*** metral has quit IRC | 16:18 | |
*** plodronio_ is now known as plodronio | 16:18 | |
*** cp16net has joined #openstack-trove | 16:21 | |
*** demorris has joined #openstack-trove | 16:21 | |
*** SlickNik has joined #openstack-trove | 16:21 | |
*** konetzed has joined #openstack-trove | 16:21 | |
*** zigo has joined #openstack-trove | 16:21 | |
*** greghill has joined #openstack-trove | 16:21 | |
*** kpom_ has joined #openstack-trove | 16:21 | |
*** esmute has joined #openstack-trove | 16:21 | |
*** hub_cap has joined #openstack-trove | 16:21 | |
*** metral has joined #openstack-trove | 16:21 | |
*** kiall has joined #openstack-trove | 16:21 | |
*** jcooley has joined #openstack-trove | 16:21 | |
*** annashen has joined #openstack-trove | 16:21 | |
openstackgerrit | Denis M. proposed a change to openstack/trove: Show AZ in instance create response https://review.openstack.org/62414 | 16:21 |
openstackgerrit | Denis M. proposed a change to openstack/trove: Allow AZ at instance show https://review.openstack.org/62415 | 16:21 |
*** mtaylor has joined #openstack-trove | 16:25 | |
*** rwsu_ has joined #openstack-trove | 16:25 | |
*** rwsu has quit IRC | 16:27 | |
*** kpom_ has quit IRC | 16:29 | |
*** tanisdl has quit IRC | 16:39 | |
*** tanisdl has joined #openstack-trove | 16:40 | |
greghill | https://review.openstack.org/#/c/62039/ needs some +2 love - fixes it so older instances don't break after you upgrade to datastore support | 16:49 |
*** SushilKM has joined #openstack-trove | 16:54 | |
*** flaper87|call is now known as flaper87 | 16:56 | |
denis_makogon | SushilKM, ping | 16:58 |
*** haomaiwang has quit IRC | 17:01 | |
*** demorris has quit IRC | 17:03 | |
SushilKM | hey denis_makogon | 17:03 |
denis_makogon | SushilKM, i already wrote several comments on your competitive review | 17:04 |
SushilKM | yeah let me read the meeting comments and put my answer the way i think :) | 17:04 |
denis_makogon | ok | 17:06 |
*** demorris has joined #openstack-trove | 17:07 | |
*** jcooley_ has quit IRC | 17:07 | |
*** jasonb365 has joined #openstack-trove | 17:08 | |
SushilKM | vipul, slicknik, hub_cap plz have a look on this one https://review.openstack.org/#/c/62399/ | 17:15 |
SushilKM | any feedbacks welcome | 17:15 |
*** SnowDust has joined #openstack-trove | 17:17 | |
denis_makogon | SushilKM, since Trove would support more than one datastore type we need more flexible mechanism of configuration, that is why your suggestion is not acceptable it global terms, biggest issue - you suggest to create new N parameters for each datastore, imagine how guestagent.conf would look in this case | 17:19 |
denis_makogon | we need better way | 17:19 |
denis_makogon | someday we discussed config template per datastore type | 17:20 |
denis_makogon | SushilKM, https://blueprints.launchpad.net/trove/+spec/template-config-per-datastore | 17:20 |
SushilKM | point taken denis_makogon | 17:21 |
denis_makogon | and it's already taken by me | 17:21 |
SushilKM | but my bug addresses the current problem which is mysql prepare for trove | 17:21 |
denis_makogon | config parameter renaming is not what we need | 17:22 |
SushilKM | i would only suggest that blueprint implementation may follow and override any changes done previously, and we do not know when would come the blueprint implementation | 17:22 |
SushilKM | so, until then instead of living the bug, we shud rather agree to resolve that asap | 17:22 |
denis_makogon | i'm, working on implementing oslo conf groups, they would fix any kinds of issues with any configuration ever possible | 17:23 |
denis_makogon | SushilKM, it's not a bug | 17:23 |
denis_makogon | SushilKM, we call it smart configuration | 17:23 |
denis_makogon | SushilKM, no estimates at community | 17:23 |
*** misteraa has joined #openstack-trove | 17:23 | |
SushilKM | he he he "smart configuration" something new i learnt today ;) | 17:24 |
denis_makogon | until new datastores wound not land it's not even a bug | 17:24 |
SushilKM | its a bug | 17:24 |
SnowDust | denis makogon, lets bring more oslo | 17:24 |
SnowDust | even for rpc | 17:25 |
SnowDust | from openstack.common << this should be cleaned up :) | 17:25 |
SushilKM | please read description at https://bugs.launchpad.net/trove/+bug/1261354, i have dumped all the thoughts there. | 17:25 |
*** misteraa has quit IRC | 17:26 | |
*** jmontemayor has joined #openstack-trove | 17:26 | |
denis_makogon | SushilKM, bug is incomplete, why does you ingore data dir in config.template ? | 17:28 |
SushilKM | i m not ignoring config.template, it is only that "/var/lib/mysql" is the default location for the first installation of mysql, and thats the way it has been written in trove until now | 17:30 |
SushilKM | ok, I would explain here | 17:32 |
SushilKM | In between these lines https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/mysql/manager.py#L119-L121 | 17:32 |
SushilKM | prepare method preserves data always from CONF.mount_point, which is not a valid case, if someone changes the CONF.mount_point value which obviously is not meant to point the data directory | 17:33 |
denis_makogon | SushilKM, how do you plan to deal with each new datastore ? | 17:34 |
SushilKM | just a sec .... let me complete first @denis_makogon | 17:34 |
*** dlpe__ has joined #openstack-trove | 17:34 | |
SushilKM | The data would always exist on /var/lib/mysql ir-respective of value of CONF.mount_point, because that is the location where mysql puts its data when it is installed the first time, using the commands specified in trove-integration image creation as well as install_if_needed method. | 17:35 |
denis_makogon | SushilKM, why does mount point were renamed to mysql_dir ? When does it became mysql specific parameter ? | 17:35 |
SushilKM | did not get ur point @denis_makogon | 17:35 |
*** amytron_ has joined #openstack-trove | 17:36 | |
denis_makogon | why do you rename mount_point to mysql_dir ? | 17:36 |
SushilKM | We should be preserving /var/lib/mysql instead of CONF.mount_point. | 17:36 |
SushilKM | ok, its mysql_base_dir and mysql_dir, i got confused .... | 17:36 |
*** amytron has quit IRC | 17:37 | |
*** amytron_ is now known as amytron | 17:37 | |
denis_makogon | i mean mysql_base_dir | 17:37 |
SushilKM | and CONF.mount_point could be changed irrespective of data directory being renamed where we had initial data which needed to be backed up | 17:37 |
SushilKM | as the code lines specified is used to rsync the data to the volume mounted | 17:38 |
denis_makogon | what what kind of value-add brings your patch ? | 17:39 |
denis_makogon | as for me it doesn't change anything | 17:39 |
SushilKM | when user changes the value of CONF.mount_point, this patch would back the correct data directory to the mounted path | 17:40 |
SushilKM | mounted volume rather | 17:40 |
denis_makogon | user cannot change mount point | 17:41 |
*** flaper87 is now known as flaper87|afk | 17:41 | |
denis_makogon | it has fixed value per deployment | 17:41 |
*** denis_makogon has quit IRC | 17:42 | |
*** diakunchikov__ has quit IRC | 17:42 | |
*** ikhudoshyn has quit IRC | 17:42 | |
SushilKM | i thought we can make a change in configuration file and update CONF.mount_point | 17:42 |
*** diakunchikov__ has joined #openstack-trove | 17:42 | |
*** denis_makogon has joined #openstack-trove | 17:42 | |
SushilKM | i thought we can make a change in configuration file and update CONF.mount_point | 17:43 |
denis_makogon | no, user cannot change configuration at all | 17:43 |
*** ikhudoshyn has joined #openstack-trove | 17:43 | |
denis_makogon | only administrator | 17:43 |
SushilKM | by user i mean administrator only | 17:44 |
denis_makogon | and each value is fixed per trove deployment | 17:44 |
SushilKM | admin is the user of trove code | 17:44 |
SushilKM | so, the entire trove deployment could be the candidate | 17:45 |
denis_makogon | so, you suggest to let users communicate with cloud provider administrators and ask them to change mount point, because the weather is not so good today ? =) | 17:45 |
SushilKM | not exactly | 17:45 |
denis_makogon | SushilKM, production doesn't work that way | 17:45 |
SushilKM | i m saying if being a cloud provider, for any other reason, i want my mount_point to be different, i have the option of using this parameter CONF.mount_point | 17:47 |
SushilKM | but when I use it, the biggest problem in the way is that i need to backup my data directory where mysql installed its database and that is obviously not the CONF.mount_point | 17:48 |
denis_makogon | what's the point of migrating data from /var/lib/mysql to /var/lib/mysql ? | 17:49 |
SushilKM | from where did question came | 17:50 |
denis_makogon | your suggestion bring rather big inconsistence: with your patch we would have 3 values: mount point, base_dir, data_dir | 17:50 |
denis_makogon | SushilKM, but you didn't change anything | 17:50 |
denis_makogon | only renaming | 17:50 |
SushilKM | its not renaming | 17:51 |
SushilKM | it is a new parameter which separates the data path which I named as mysql_base_dir(which points to location which hold mysql database's data) | 17:52 |
SushilKM | then I used that parameter to differentiate the path to be backed up while mounting a different mount_point | 17:52 |
denis_makogon | SushilKM, data_dir hold mysql data | 17:53 |
SushilKM | i wrote that in my patchse commit message | 17:53 |
*** harlowja_away is now known as harlowja | 17:53 | |
denis_makogon | i don't like "third leg" | 17:54 |
*** SergeyLukjanov has joined #openstack-trove | 17:54 | |
SushilKM | i did not saw that data_dir anywhere in the code | 17:54 |
*** jcooley_ has joined #openstack-trove | 17:54 | |
denis_makogon | SushilKM, https://github.com/openstack/trove/blob/master/trove/templates/mysql/config.template#L11 | 17:57 |
*** demorris_ has joined #openstack-trove | 17:58 | |
SushilKM | but thats in config templates, and the path we had data installed gets before this file is read, you can make changes in this file to point to new location of datafir, but you cannot change the original location of mysql data directory by making a change in this config template | 17:59 |
*** demorris has quit IRC | 18:00 | |
*** demorris_ is now known as demorris | 18:00 | |
denis_makogon | you can change it without ruining code | 18:00 |
denis_makogon | just change it in config.template | 18:00 |
*** SnowDust has quit IRC | 18:01 | |
SushilKM | but this config.template gets in use when u inititate ur instance using the service image, but mysql was installed in ur serviceimage prior to it had any config.template | 18:02 |
denis_makogon | why does mysql installed at service image ? | 18:04 |
SushilKM | https://github.com/openstack/trove-integration/blob/master/scripts/files/elements/ubuntu-mysql/install.d/10-mysql says that | 18:07 |
denis_makogon | SushilKM, do not look at integration at tall] | 18:07 |
denis_makogon | SushilKM, int only for development and testing | 18:07 |
SushilKM | then hold a sec, i wud give u another one | 18:07 |
denis_makogon | SushilKM, idea is to use pure cloud-init images | 18:08 |
denis_makogon | nothing else | 18:08 |
SushilKM | https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/mysql/service.py#L592 installs mysql-server package and that gets us a database. | 18:09 |
*** amcrn has joined #openstack-trove | 18:09 | |
*** SergeyLukjanov has quit IRC | 18:10 | |
SushilKM | or if this did not installed mysql then where did you get mysql from obviously from service-image-creation with pre-installled mysql | 18:11 |
SushilKM | i can think of getting this mysql-server package only in two ways | 18:11 |
*** SergeyLukjanov has joined #openstack-trove | 18:12 | |
denis_makogon | 1. cloud init 2. datastore version packages | 18:12 |
denis_makogon | only that way | 18:12 |
robertmyers | SushilKM: the guest should always install the datastore in production | 18:12 |
*** yidclare has joined #openstack-trove | 18:13 | |
robertmyers | the image is not a good place to install that | 18:13 |
*** yogesh has joined #openstack-trove | 18:13 | |
SushilKM | fine that, guest would install but then it would have data dir at /var/lib/mysql irrespective of config.template | 18:13 |
robertmyers | otherwise every security update will need a new image | 18:13 |
*** SnowDust has joined #openstack-trove | 18:15 | |
robertmyers | SushilKM: another point that if you install the datastore, then it *will* place the data in /var/lib/mysql so you would not be able to mount that in a volume | 18:15 |
robertmyers | because the directory is not empty | 18:15 |
robertmyers | so you effectively kill mysql | 18:16 |
robertmyers | so be careful when messing with mount point | 18:16 |
SushilKM | agree to the concept robertmyers | 18:17 |
SushilKM | but mounting volume problem i did not get that comment | 18:17 |
robertmyers | you can't mount a directory with data in it | 18:18 |
robertmyers | try it | 18:18 |
SushilKM | i wud try that, get back with my finidings | 18:21 |
*** demorris has quit IRC | 18:21 | |
denis_makogon | robertmyers, +1 for mounting | 18:21 |
*** demorris has joined #openstack-trove | 18:24 | |
SushilKM | we cannot mount a directory with data, but that data would be rsyncd out, i think, though not tested | 18:26 |
denis_makogon | rsync 'ed where ? | 18:27 |
SushilKM | to tmp_mount_point | 18:27 |
*** iliyaw has joined #openstack-trove | 18:28 | |
*** iliyaw has quit IRC | 18:28 | |
*** SushilKM has quit IRC | 18:36 | |
*** rongze has quit IRC | 18:41 | |
*** rnirmal has joined #openstack-trove | 18:43 | |
greghill | so, is there a plan to separate the mysql-extension-specific tests into a separate folder or something at some point? | 18:48 |
*** liksey has joined #openstack-trove | 18:48 | |
*** liksey has quit IRC | 18:49 | |
openstackgerrit | Denis M. proposed a change to openstack/trove: Remove 'mount_point' from guestagent RPC API https://review.openstack.org/57189 | 19:00 |
openstackgerrit | Sushil Kumar proposed a change to openstack/trove: Changes command to create the directory https://review.openstack.org/62448 | 19:01 |
denis_makogon | greghill, which tests ? | 19:02 |
greghill | some of the api tests cover behavior specified by the mysql extension from what I can tell | 19:03 |
greghill | just wondered if we were gonna split that up to make it easier to test specific extensions | 19:03 |
*** glucas has quit IRC | 19:05 | |
*** SushilKM has joined #openstack-trove | 19:05 | |
SushilKM | m back robertmyers | 19:06 |
SushilKM | have something | 19:07 |
openstackgerrit | Denis M. proposed a change to openstack/trove: Remove 'mount_point' from guestagent RPC API https://review.openstack.org/57189 | 19:07 |
SushilKM | I used https://review.openstack.org/#/c/62399/ and https://review.openstack.org/#/c/62448/ | 19:07 |
*** glucas has joined #openstack-trove | 19:08 | |
SushilKM | then i followed this with a change in CONF.mount_point parameter to point it to somewhere else other than /var/lib/mysql, i took /var/lib/mysqlsrv | 19:08 |
SushilKM | and the results are good | 19:08 |
SushilKM | I got a volume mounted as /var/lib/mysqlsrv with the mysql database files inside that, instance getting active | 19:09 |
SushilKM | and this is the guestagent log i got https://gist.github.com/sushilkm/7992556 | 19:10 |
denis_makogon | SushilKM, but mysql itself writes its data to /var/lib/mysql | 19:10 |
denis_makogon | SushilKM, try to backup it =) | 19:11 |
denis_makogon | SushilKM, but first load some data into mysql | 19:11 |
denis_makogon | anything | 19:11 |
SushilKM | yeah it has the data files there | 19:14 |
SushilKM | coz, it has got its intial databases like performance_schema, mysql, etc. | 19:14 |
denis_makogon | SushilKM, i suppose you launch guest from root | 19:16 |
*** plodronio has quit IRC | 19:16 | |
denis_makogon | SushilKM, do next steps: 1. Launch guest not from root user, 2. Load data into mysql, 3. Try to backup data ----------------------------- do every step with your patchsets | 19:18 |
SushilKM | launche guest from root, is that the way trove is code meant to be run? | 19:18 |
robertmyers | SushilKM: no never | 19:19 |
SushilKM | @denis_makogon, the step i have changed gets called during prepare method only | 19:19 |
SushilKM | so, whats the use of backup restore manually | 19:19 |
denis_makogon | SushilKM, not from root | 19:19 |
robertmyers | denis_makogon: xtrabackup and mysqldump use the my.cnf file to locate the data | 19:20 |
denis_makogon | SushilKM, if you lauch guest from root, every operation would have UID = 0 (root), every task would be successful | 19:20 |
robertmyers | not mount point that we pass it | 19:20 |
robertmyers | in xtrabackup that argument is ignored | 19:21 |
SushilKM | he he he, but trove is not written to be used with root i suppose | 19:21 |
robertmyers | denis_makogon: don't run the guest as root | 19:21 |
denis_makogon | robertmyers, point me | 19:21 |
SushilKM | also denis, the last command "if guest would be launched from simple user, this step would fail" i am addressing this itself as the bug | 19:21 |
denis_makogon | robertmyers, i never did it | 19:21 |
robertmyers | its just a bad idea | 19:21 |
denis_makogon | robertmyers, i was telling SushilKM that he should not launch guest as root | 19:22 |
robertmyers | he isn't | 19:22 |
*** jmontemayor has quit IRC | 19:22 | |
*** glucas has quit IRC | 19:22 | |
SushilKM | robertmyers, did u see my gist | 19:22 |
robertmyers | he is adding a call to use sudo | 19:22 |
SushilKM | i was able to change mount_point using my patchsets | 19:22 |
*** glucas has joined #openstack-trove | 19:23 | |
*** SnowDust has quit IRC | 19:23 | |
robertmyers | SushilKM: good, I'm a little lost with all these changes | 19:24 |
denis_makogon | SushilKM, ok, i suggest to make dependent reviews | 19:24 |
SushilKM | just to breif i made two changes | 19:24 |
robertmyers | I'm not sure what we are trying to do anymore :) | 19:24 |
denis_makogon | it would be better to track them | 19:24 |
robertmyers | split mount_dir from data_dir? | 19:24 |
SushilKM | if we change CONF.mount_point to get it mounted to a different location, we get a problem at https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/mysql/manager.py#L119-L121 | 19:25 |
SushilKM | because it backs up CONF.mount_point | 19:25 |
denis_makogon | SushilKM, https://review.openstack.org/#/c/57189/ | 19:26 |
robertmyers | SushilKM: only if you install mysql on the image | 19:26 |
SushilKM | so i changed it with a different parameter CONF.mysql_base_dir(if there are issues with name, i may change that) | 19:26 |
SushilKM | then next i had was i was not getting directory created because of os.makedirs which i replaced with sudo | 19:27 |
SushilKM | added both these changes to my trove followed by a change to CONF.mount_point point something other than /var/lib/mysq | 19:27 |
denis_makogon | SushilKM, i'm ok, with sudo, but disagree with adding another one conf parameter | 19:28 |
SushilKM | and then the results i have populated in gist | 19:28 |
*** jmontemayor has joined #openstack-trove | 19:28 | |
denis_makogon | robertmyers, https://review.openstack.org/#/c/57189/18 | 19:28 |
denis_makogon | SushilKM, have you read my patchset scope ? | 19:29 |
SushilKM | yeah i saw that, thats broad, and different | 19:31 |
robertmyers | denis_makogon: this looks good, however, it seems that this really isn't mount_point, but rather data_dir | 19:33 |
robertmyers | you only mount if you use volumes | 19:33 |
robertmyers | so, I think we need to think about what we want to do here | 19:34 |
denis_makogon | i used same parameter | 19:34 |
robertmyers | I see the new cfg group | 19:34 |
denis_makogon | robertmyers, yes, for mysql | 19:35 |
robertmyers | it seems that we have abused the mount_point in the code in place of data_dir | 19:35 |
robertmyers | we just have gotten by without problems as they are set to the same value | 19:36 |
robertmyers | but in reality they *could * be different | 19:36 |
denis_makogon | robertmyers, yes, it would be next patchset | 19:39 |
*** konetzed has quit IRC | 19:43 | |
*** konetzed has joined #openstack-trove | 19:44 | |
SushilKM | tests are failing for https://review.openstack.org/#/c/62448/ need to make the change there too, tests are for os.makedirs :( | 19:45 |
*** rnirmal has quit IRC | 19:46 | |
openstackgerrit | Sushil Kumar proposed a change to openstack/trove: Changes command to create the directory https://review.openstack.org/62448 | 19:50 |
SushilKM | hey robertmyers i have edited the tests on that checkin :) | 19:52 |
SushilKM | hey hub_Cap, slicknik, vipul, robertmyers needed reviews on few checkins of mine :) https://review.openstack.org/#/c/61948/ https://review.openstack.org/#/c/62050/ https://review.openstack.org/#/c/62235/ https://review.openstack.org/#/c/62236/ https://review.openstack.org/#/c/62399/ https://review.openstack.org/#/c/62448/ | 19:58 |
*** denis_makogon has quit IRC | 19:58 | |
SushilKM | many thanks for ur helping feedbacks and reviews :D | 19:58 |
*** denis_makogon has joined #openstack-trove | 19:58 | |
*** demorris has quit IRC | 20:01 | |
*** SushilKM has quit IRC | 20:02 | |
*** demorris has joined #openstack-trove | 20:03 | |
*** plodronio has joined #openstack-trove | 20:22 | |
*** jcooley_ has quit IRC | 20:28 | |
*** freyes has joined #openstack-trove | 20:36 | |
*** amrith has joined #openstack-trove | 20:53 | |
*** jcooley_ has joined #openstack-trove | 20:56 | |
openstackgerrit | Felipe Reyes proposed a change to openstack/trove: Adds missing dependency to the documentation https://review.openstack.org/60133 | 20:58 |
*** amrith has quit IRC | 20:59 | |
*** radez is now known as radez_g0n3 | 21:04 | |
*** freyes has quit IRC | 21:05 | |
*** demorris_ has joined #openstack-trove | 21:06 | |
*** demorris has quit IRC | 21:07 | |
*** demorris_ is now known as demorris | 21:07 | |
*** openstackgerrit has quit IRC | 21:08 | |
*** openstackgerrit has joined #openstack-trove | 21:08 | |
*** denis_makogon_ has joined #openstack-trove | 21:09 | |
*** denis_makogon has quit IRC | 21:09 | |
*** denis_makogon_ is now known as denis_makogon | 21:09 | |
*** dmakogon_ has joined #openstack-trove | 21:10 | |
denis_makogon | whazzaap 2 all | 21:10 |
*** jcooley_ has quit IRC | 21:13 | |
*** jcooley_ has joined #openstack-trove | 21:19 | |
*** abramley has quit IRC | 21:19 | |
*** radez_g0n3 is now known as radez | 21:20 | |
*** glucas has quit IRC | 21:20 | |
*** jasonb365 has quit IRC | 21:29 | |
*** jcooley_ has quit IRC | 21:32 | |
*** jasonb365 has joined #openstack-trove | 21:33 | |
*** demorris has quit IRC | 21:33 | |
*** konetzed has quit IRC | 21:34 | |
*** konetzed has joined #openstack-trove | 21:34 | |
*** demorris has joined #openstack-trove | 21:35 | |
*** SergeyLukjanov has quit IRC | 21:35 | |
*** SergeyLukjanov has joined #openstack-trove | 21:38 | |
*** SergeyLukjanov_ has joined #openstack-trove | 21:42 | |
*** SergeyLukjanov is now known as SergeyLukjanov_a | 21:42 | |
*** SergeyLukjanov_a has quit IRC | 21:43 | |
*** jasonb365 has quit IRC | 21:45 | |
*** abramley has joined #openstack-trove | 21:47 | |
*** radez is now known as radez_g0n3 | 21:48 | |
*** jasonb365 has joined #openstack-trove | 21:49 | |
*** SergeyLukjanov_ has quit IRC | 21:57 | |
*** SergeyLukjanov has joined #openstack-trove | 21:57 | |
*** kevinconway has quit IRC | 21:59 | |
*** jcooley_ has joined #openstack-trove | 22:00 | |
*** SergeyLukjanov has quit IRC | 22:04 | |
*** pdmars_ has quit IRC | 22:09 | |
*** doug_shelley66 has quit IRC | 22:28 | |
denis_makogon | SlickNik, could you please re-review this one ? https://review.openstack.org/#/c/58845/ | 22:32 |
SlickNik | denis_makogon: sure, will take a look. Thanks! | 22:32 |
denis_makogon | SlickNik, would be nice to get this one reviewed too https://review.openstack.org/#/c/61969/ | 22:34 |
denis_makogon | SlickNik, as you remember, we spoke about mount_point and data_dir | 22:35 |
denis_makogon | SlickNik, i made few steps to make this situation a bit clear https://review.openstack.org/#/c/57189/ | 22:36 |
*** rnirmal has joined #openstack-trove | 22:36 | |
SlickNik | Seems like Jenkins doesn't like your changes on that one, you might want to appease him first. | 22:37 |
*** rnirmal has quit IRC | 22:38 | |
denis_makogon | SlickNik, it would change whole code, only tests | 22:39 |
denis_makogon | SlickNik, i'd like to hear thoughts about main idea of patchset | 22:39 |
SlickNik | So, one thing I notice is that the patch is still breaking the guestagent RPC API. | 22:41 |
SlickNik | I know vipul had some concerns regarding that as well. | 22:41 |
SlickNik | It's something that we're trying not to do (unless _really_ necessary) | 22:42 |
denis_makogon | SlickNik, unfortunately, there's no way to leave guest API as it is | 22:42 |
denis_makogon | SlickNik, because problem goes through taskmanager (which is hard to make general) and lands at guest | 22:43 |
denis_makogon | also, unfortunately, alot patchsets are making taskmanager code unsuitable for other datastores | 22:44 |
SlickNik | vipul is out today. Let's talk about it again tomorrow when vipul is around. I'd like to get his input on it as well. | 22:44 |
denis_makogon | ok | 22:44 |
SlickNik | denis_makogon: can you clarify what you mean by "alot patchsets are making taskmanager code unsuitable for other datastores"? | 22:45 |
SlickNik | (perhaps with an example?) | 22:45 |
denis_makogon | example: https://review.openstack.org/#/c/59410/ | 22:46 |
denis_makogon | as for me, taskmanager should stay generic as it possible | 22:47 |
denis_makogon | but, unfortunately, for some reasons, we still ignoring this requirement | 22:47 |
denis_makogon | Trove would support much more than it does now, we should deal with it | 22:48 |
denis_makogon | and do not let patchsets ruine idea of generic server side and custom VM side | 22:50 |
*** flaper87|afk is now known as flaper87 | 22:50 | |
denis_makogon | And personaly, i like to keep everything mysql-specific in guest code, otherwise trove would be mysql-provisioning-tool | 22:55 |
denis_makogon | and that's sad =( | 22:56 |
*** robertmyers has quit IRC | 22:56 | |
*** konetzed has quit IRC | 22:58 | |
denis_makogon | SlickNik, about AZ, trove back-end stores security groups/rules, nova/neutron does the same | 22:58 |
denis_makogon | SlickNik, so why do not let trove back-end store single column for instance model ? | 22:59 |
*** konetzed has joined #openstack-trove | 23:00 | |
*** dougshelley66 has joined #openstack-trove | 23:00 | |
SlickNik | denis_makogon: having made a mistake in the past doesn't justify making a similar mistake in the future. | 23:01 |
SlickNik | denis_makogon: trove does not store instance IPs for example, why not follow that example instead? | 23:01 |
SlickNik | If there's a reason not to, I'd be open to discussing it. But let's make an effort to at least have a clean design. | 23:02 |
*** rnirmal has joined #openstack-trove | 23:02 | |
*** jcooley_ has quit IRC | 23:04 | |
*** denis_makogon has quit IRC | 23:04 | |
*** jcooley_ has joined #openstack-trove | 23:06 | |
cweid | So whats with the new H701 Empty localization string error in tox tests.. | 23:06 |
cweid | How do I fix that error? | 23:06 |
cweid | the string is not empty.. | 23:07 |
cweid | I probably just don't understand the error... | 23:07 |
*** demorris has quit IRC | 23:07 | |
SlickNik | cweid: not sure. Do you have a log for me? | 23:12 |
SlickNik | cweid: This might help: https://github.com/openstack-dev/hacking/blob/master/hacking/core.py#L756 | 23:12 |
*** jcooley_ has quit IRC | 23:14 | |
*** greghill has quit IRC | 23:16 | |
cweid | SlickNik: what I get from tox https://gist.github.com/cweidenkeller/7996553 | 23:16 |
cweid | The error is just not very descriptive... | 23:16 |
cweid | the _() local stuff only takes one arg right? | 23:16 |
SlickNik | cweid: is there a stack trace before that error? Can you paste the whole tox log in a gist? | 23:17 |
cweid | SlickNik: Reload that same gist. | 23:18 |
SlickNik | wow, that's not very helpful | 23:19 |
cweid | SlickNik: found some docs on it... | 23:22 |
cweid | http://docs.openstack.org/developer/hacking/ | 23:22 |
cweid | sorry this is better http://docs.openstack.org/developer/hacking/#internationalization-i18n-strings | 23:23 |
*** jcooley_ has joined #openstack-trove | 23:26 | |
openstackgerrit | Conrad Weidenkeller proposed a change to openstack/trove: Added Redis Crud Operations blueprint redis-support https://review.openstack.org/53481 | 23:27 |
*** plodronio has quit IRC | 23:30 | |
*** jasonb365 has quit IRC | 23:30 | |
*** jcooley_ has quit IRC | 23:30 | |
*** zacksh_ is now known as zacksh | 23:33 | |
*** jcooley_ has joined #openstack-trove | 23:39 | |
*** jcooley_ has quit IRC | 23:42 | |
*** plodronio has joined #openstack-trove | 23:46 | |
*** jcooley_ has joined #openstack-trove | 23:47 | |
*** yogeshmehra has joined #openstack-trove | 23:47 | |
*** flaper87 is now known as flaper87|afk | 23:58 | |
*** jmontemayor has quit IRC | 23:58 | |
*** yogeshmehra has quit IRC | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!