*** chlong has joined #openstack-trove | 00:10 | |
*** pmackinn has joined #openstack-trove | 00:18 | |
*** annashen has joined #openstack-trove | 00:32 | |
*** mingdang1 has quit IRC | 00:34 | |
*** pmackinn has quit IRC | 00:35 | |
*** _amrith_ is now known as amrith | 00:37 | |
*** annashen has quit IRC | 00:37 | |
*** david-lyle has quit IRC | 00:40 | |
*** esmute_ has quit IRC | 00:48 | |
*** esmute_ has joined #openstack-trove | 00:53 | |
*** pmackinn has joined #openstack-trove | 00:55 | |
*** erkules_ has joined #openstack-trove | 01:08 | |
*** erkules has quit IRC | 01:11 | |
*** mingdang1 has joined #openstack-trove | 01:12 | |
*** haomaiwang has quit IRC | 01:26 | |
*** pmackinn has quit IRC | 01:30 | |
*** amrith is now known as _amrith_ | 01:33 | |
*** annashen has joined #openstack-trove | 01:33 | |
*** esmute_ has quit IRC | 01:38 | |
*** pmackinn has joined #openstack-trove | 01:38 | |
*** pmackinn has quit IRC | 01:42 | |
*** mingdang1 has quit IRC | 01:46 | |
*** erkules_ has quit IRC | 01:52 | |
*** erkules_ has joined #openstack-trove | 01:53 | |
SlickNik | sabeen3: I think I know what you're running into | 01:58 |
---|---|---|
SlickNik | sabeen3: Please set use_heat = true in /etc/trove/trove-taskmanager.conf as well. | 01:59 |
SlickNik | sabeen3: the taskmanager service (which is where you're running into that problem) uses this config. | 02:00 |
SlickNik | cp16net: How go the travails with the pxc clustering work? | 02:02 |
*** esmute_ has joined #openstack-trove | 02:20 | |
*** sabeen has joined #openstack-trove | 02:36 | |
*** sgotliv has quit IRC | 02:37 | |
*** rjaiswal has quit IRC | 02:44 | |
*** ashuk has quit IRC | 02:59 | |
*** ashuk has joined #openstack-trove | 03:00 | |
*** ByPasS has quit IRC | 03:01 | |
*** david-lyle has joined #openstack-trove | 03:17 | |
openstackgerrit | Matthew Van Dijk proposed openstack/trove: Mongodb Cluster Scaling https://review.openstack.org/205355 | 03:26 |
*** sgotliv has joined #openstack-trove | 03:29 | |
openstackgerrit | Petr Malik proposed openstack/trove: Improve the guestagent configuration manager https://review.openstack.org/198595 | 03:37 |
*** ashuk has quit IRC | 03:38 | |
*** coolsvap|away is now known as coolsvap | 03:40 | |
cp16net | SlickNik: so i have not made it past the grant missing issue | 03:57 |
cp16net | SlickNik: i have written all the other code that should make the instance become a cluster if the prepare will ever finish. | 03:58 |
cp16net | SlickNik: i've tracked down the issue to when the guest is putting the configs in place. https://gist.github.com/cp16net/54b59b34579ca8519681 | 04:13 |
cp16net | you can see the debugs i added to show the mysql.user table. | 04:13 |
cp16net | after the prepare fails i was able to run through the cluster setup steps and it works... https://gist.github.com/cp16net/a22c1286ba94d494d7a0 | 04:14 |
*** esmute_ has quit IRC | 04:16 | |
*** annashen has quit IRC | 04:24 | |
*** annashen has joined #openstack-trove | 04:33 | |
*** pmackinn has joined #openstack-trove | 04:50 | |
*** sabeen has quit IRC | 05:00 | |
*** coolsvap is now known as coolsvap|away | 05:00 | |
*** coolsvap|away is now known as coolsvap | 05:06 | |
*** mingdang1 has joined #openstack-trove | 05:08 | |
*** coolsvap is now known as coolsvap|away | 05:12 | |
*** esmute_ has joined #openstack-trove | 05:17 | |
*** esmute_ has quit IRC | 05:21 | |
*** bhunter71 has quit IRC | 05:21 | |
*** ashleighfarnham has joined #openstack-trove | 05:27 | |
*** mingdang1 has quit IRC | 05:45 | |
*** coolsvap|away is now known as coolsvap | 05:54 | |
*** ashleighfarnham has quit IRC | 06:17 | |
*** pmackinn has quit IRC | 06:22 | |
*** exploreshaifali has joined #openstack-trove | 06:24 | |
*** pmackinn has joined #openstack-trove | 06:29 | |
*** annashen has quit IRC | 06:31 | |
*** annashen has joined #openstack-trove | 06:36 | |
*** annashen has quit IRC | 06:36 | |
*** pmackinn has quit IRC | 06:38 | |
*** ashleighfarnham has joined #openstack-trove | 06:53 | |
*** pcaruana has joined #openstack-trove | 07:10 | |
*** pcaruana is now known as centos | 07:13 | |
*** centos is now known as Guest59730 | 07:13 | |
*** Guest59730 is now known as pcaruana | 07:13 | |
*** annashen has joined #openstack-trove | 07:24 | |
*** k4n0 has joined #openstack-trove | 07:26 | |
*** chlong has quit IRC | 07:33 | |
cp16net | lefred: you around? | 07:35 |
cp16net | i just made an interesting break through... on this grant issue | 07:35 |
cp16net | lefred: dbennett https://gist.github.com/cp16net/12db3f8544c8b604903a | 07:39 |
cp16net | looking at these new logs you can see that the files are NEVER updated after the call was made | 07:39 |
*** annashen has quit IRC | 07:52 | |
lefred | cp16net: I'm sure there is a configuration issue somewhere like using different path for datadir or something similar, have you tried without changing the my.cnf (like not copying the template) before restart just to verify ? | 07:55 |
cp16net | so i've done that all manaully and its always fine | 07:56 |
cp16net | would the tmpdir matter? | 07:57 |
cp16net | i see its changed from /tmp to /var/tmp | 07:58 |
cp16net | trying again without changing the installed my.cnf | 08:02 |
cp16net | so here is something that is weird as well... | 08:06 |
cp16net | i made the grant call again later in the process and it worked | 08:06 |
cp16net | its like making that grant call as soon as the service started made it not happy | 08:07 |
cp16net | wtf | 08:07 |
cp16net | thats soooooooo weird | 08:07 |
lefred | are you sure the grant succeeded ? do you have an output ? | 08:18 |
cp16net | yeah | 08:18 |
cp16net | i've run it a few times and its getting through | 08:19 |
cp16net | i'll get a new log of it all | 08:19 |
cp16net | i need to goto sleep since its 320am but i'm excited.... :-P | 08:20 |
lefred | hehe | 08:20 |
lefred | you said you put it later in the process... after the change of my.cnf ? | 08:20 |
cp16net | https://gist.github.com/cp16net/9031db0e41629575213e | 08:24 |
cp16net | yeah | 08:24 |
cp16net | which is strange to me | 08:25 |
cp16net | because this has never been a problem before | 08:25 |
*** mingdang1 has joined #openstack-trove | 08:38 | |
*** Quack has left #openstack-trove | 08:42 | |
openstackgerrit | dangming proposed openstack/trove: correct annotation https://review.openstack.org/205451 | 09:04 |
*** coolsvap is now known as coolsvap|away | 09:39 | |
openstackgerrit | Petr Malik proposed openstack/trove: Improve the guestagent configuration manager https://review.openstack.org/198595 | 10:03 |
*** mingdang1 has quit IRC | 10:33 | |
*** logan2 has quit IRC | 10:47 | |
*** logan2 has joined #openstack-trove | 10:50 | |
*** openstackgerrit has quit IRC | 11:01 | |
*** openstackgerrit has joined #openstack-trove | 11:01 | |
*** mingdang1 has joined #openstack-trove | 11:07 | |
*** mingdang_ has joined #openstack-trove | 11:35 | |
*** mingdang1 has quit IRC | 11:36 | |
*** sgotliv has quit IRC | 12:13 | |
*** tomblank has joined #openstack-trove | 12:39 | |
*** mingdang_ has quit IRC | 13:02 | |
*** mingdang1 has joined #openstack-trove | 13:03 | |
*** _crobertsrh is now known as crobertsrh | 13:29 | |
*** exploreshaifali has quit IRC | 13:30 | |
*** tristanC has quit IRC | 13:31 | |
*** annashen has joined #openstack-trove | 13:32 | |
*** tristanC has joined #openstack-trove | 13:32 | |
*** radez_g0n3 is now known as radez | 13:43 | |
*** annashen has quit IRC | 13:46 | |
dbennett | cp16net: can you post the output of `mysqld --verbose --help` ? | 13:48 |
*** sgotliv has joined #openstack-trove | 13:51 | |
*** tomblank has quit IRC | 13:53 | |
*** lexholden has joined #openstack-trove | 13:55 | |
openstackgerrit | Matthew Van Dijk proposed openstack/trove: Mongodb Cluster Scaling https://review.openstack.org/205355 | 14:16 |
*** k4n0 has quit IRC | 14:26 | |
*** sabeen has joined #openstack-trove | 14:27 | |
*** sabeen2 has joined #openstack-trove | 14:32 | |
*** sabeen has quit IRC | 14:36 | |
*** mingdang1 has quit IRC | 14:41 | |
*** esmute_ has joined #openstack-trove | 14:42 | |
*** saurabhs has joined #openstack-trove | 14:49 | |
*** georgelorch has quit IRC | 14:57 | |
openstackgerrit | Matthew Van Dijk proposed openstack/trove: MongoDB user management - access grant/revoke/show https://review.openstack.org/190821 | 15:00 |
openstackgerrit | Petr Malik proposed openstack/trove: Improve the guestagent configuration manager https://review.openstack.org/198595 | 15:15 |
*** georgelorch has joined #openstack-trove | 15:17 | |
*** david-lyle has quit IRC | 15:44 | |
openstackgerrit | Morgan Jones proposed openstack/python-troveclient: Redis Clustering Initial Implementation https://review.openstack.org/203701 | 15:44 |
*** esmute_ has quit IRC | 15:52 | |
*** pmackinn has joined #openstack-trove | 15:53 | |
*** bitblt has joined #openstack-trove | 15:56 | |
*** david-lyle has joined #openstack-trove | 16:20 | |
*** esmute_ has joined #openstack-trove | 16:27 | |
*** radez is now known as radez_g0n3 | 16:38 | |
*** pmackinn has quit IRC | 16:39 | |
*** haomaiwang has joined #openstack-trove | 16:48 | |
*** pmackinn has joined #openstack-trove | 17:02 | |
*** annashen has joined #openstack-trove | 17:05 | |
cp16net | dbennett: https://gist.github.com/cp16net/e27c5f9256e98596efcd | 17:07 |
dbennett | cp16net: ack, I am testing some lower settings for you... | 17:30 |
cp16net | dbennett: k these are from pxc 5.5 running on 512 instance | 17:31 |
cp16net | this is using the config template we have for mysql and percona | 17:32 |
dbennett | 512M will be a tight fit, you are at runlevel 3 (no GUI) right? | 17:33 |
cp16net | ye | 17:41 |
*** mingdang1 has joined #openstack-trove | 17:42 | |
*** esmute_ has quit IRC | 17:43 | |
cp16net | dbennett: heres a snapshot of processes running https://gist.github.com/cp16net/f9a05bfe4926f4603042 | 17:44 |
*** pmackinn has quit IRC | 17:46 | |
cp16net | not to mention there are other processes that can be fired like backup that will use memory | 17:46 |
*** mingdang1 has quit IRC | 17:47 | |
*** pmackinn has joined #openstack-trove | 17:47 | |
*** esmute_ has joined #openstack-trove | 17:48 | |
*** bhunter71 has joined #openstack-trove | 18:05 | |
*** pmackinn has quit IRC | 18:08 | |
*** pmackinn has joined #openstack-trove | 18:16 | |
dbennett | cp16net: https://gist.github.com/dbpercona/f0495c2888faee292e0c | 18:17 |
dbennett | "running" and synced in 128m RES | 18:18 |
*** annashen has quit IRC | 18:19 | |
*** annashen has joined #openstack-trove | 18:22 | |
cp16net | thats awesome this is pxc 5.5 or 5.6? | 18:23 |
*** ashleighfarnham has quit IRC | 18:24 | |
*** ashleigh_ has joined #openstack-trove | 18:24 | |
dbennett | 5.6 x86_64 | 18:24 |
dbennett | # rpm -qa | grep -i percona | 18:25 |
dbennett | Percona-Server-shared-51-5.1.73-rel14.12.624.rhel6.x86_64 | 18:25 |
dbennett | Percona-XtraDB-Cluster-56-5.6.24-25.11.1.el6.x86_64 | 18:25 |
dbennett | Percona-XtraDB-Cluster-galera-3-3.11-1.rhel6.x86_64 | 18:25 |
dbennett | percona-xtrabackup-2.2.11-1.el6.x86_64 | 18:25 |
dbennett | Percona-XtraDB-Cluster-client-56-5.6.24-25.11.1.el6.x86_64 | 18:25 |
dbennett | Percona-XtraDB-Cluster-shared-56-5.6.24-25.11.1.el6.x86_64 | 18:25 |
dbennett | Percona-XtraDB-Cluster-server-56-5.6.24-25.11.1.el6.x86_64 | 18:25 |
dbennett | percona-release-0.1-3.noarch | 18:25 |
dbennett | --- | 18:25 |
dbennett | cp16net: make sure you read through the my.cnf carefully and make sure to comment out any duplicate definitions of the settings given. | 18:26 |
cp16net | ok | 18:29 |
cp16net | i dont see any dups in yours | 18:30 |
cp16net | but for the existing cnf i get it. | 18:30 |
openstackgerrit | Morgan Jones proposed openstack/python-troveclient: Redis Clustering Initial Implementation https://review.openstack.org/203701 | 18:37 |
*** radez_g0n3 is now known as radez | 18:38 | |
*** esmute_ has quit IRC | 18:49 | |
*** esmute_ has joined #openstack-trove | 18:53 | |
*** esmute_ has quit IRC | 19:06 | |
*** esmute_ has joined #openstack-trove | 19:07 | |
*** pmackinn has quit IRC | 19:09 | |
*** esmute_ has quit IRC | 19:12 | |
*** pmackinn has joined #openstack-trove | 19:17 | |
openstackgerrit | Matthew Van Dijk proposed openstack/trove: MongoDB user management - access grant/revoke/show https://review.openstack.org/190821 | 19:21 |
*** bitblt has quit IRC | 19:22 | |
*** tomblank has joined #openstack-trove | 19:44 | |
*** tomblank has quit IRC | 20:02 | |
*** lexholden has quit IRC | 20:04 | |
*** annashen has quit IRC | 20:10 | |
*** esmute_ has joined #openstack-trove | 20:12 | |
*** annashen has joined #openstack-trove | 20:23 | |
*** pmackinn has quit IRC | 20:35 | |
cp16net | dbennett: so if you start mysql and you can use 'mysqladmin ping' it doesnt mean that the service is really ready to be used | 20:37 |
cp16net | i think this might be part of the problem for the grant | 20:37 |
cp16net | because i removed all my loging statements and now its failing to grant again | 20:37 |
cp16net | its like as soon as the service is "alive" according to mysqladmin ping we start doing stuff | 20:38 |
cp16net | and this doesnt seem to be really be ready... | 20:38 |
*** sgotliv_ has joined #openstack-trove | 20:51 | |
*** crobertsrh is now known as _crobertsrh | 20:53 | |
*** sgotliv has quit IRC | 20:54 | |
*** pmackinn has joined #openstack-trove | 21:05 | |
dbennett | cp16net: yes, mysqladmin ping is a 'service ready' report. A PXC node would need to synced with the cluster in order for 'mysqladmin ping' to return 0 (OK) | 21:19 |
dbennett | cp16net: following these instructions to bootstrap (start) the cluster: https://www.percona.com/doc/percona-xtradb-cluster/5.6/manual/bootstrap.html | 21:25 |
dbennett | s/following/follow/ | 21:27 |
*** rjaiswal has joined #openstack-trove | 21:27 | |
cp16net | dbennett: is that even if pxc is not setup with the cluster options? | 21:28 |
cp16net | because this is before i put the cluster.cnf file in place | 21:28 |
dbennett | cp16net: if you boot a node with 'wsrep_cluster_address=gcomm://' (empty) then 'mysqladmin ping' should exit 0 almost immediately. Check to see if you can `mysql -uxxx -pxxx -e select 1"` | 21:30 |
cp16net | hmm yeah i'm thinking i need to wait to verify with the 'select 1;' | 21:31 |
dbennett | >< /s/-e select 1"/-e "select 1"/ | 21:32 |
cp16net | yeah i gotcha | 21:32 |
dbennett | this is what 'service mysql bootstrap-pxc' does. | 21:33 |
dbennett | it's different on Centos 7 BTW | 21:33 |
cp16net | i see the note on that page | 21:33 |
cp16net | dbennett: on another note... | 21:35 |
dbennett | on Centos 7 it's 'systemctl start mysql@bootstrap.service' . It doesn't actually set the address empty but includes the '--wsrep-new-cluster' cli parameter which essentially does the same thing. | 21:35 |
cp16net | dbennett: you can use the pxc-5.6 in place of percona5.6 without any cluster stuff setup? | 21:36 |
dbennett | then bring other nodes up normally, check them with `SHOW GLOBAL STATUS LIKE '%wsrep%stat%'` and you should see 'Synced'. On they are all synced you can restart the bootstrap node. | 21:37 |
dbennett | s/On they/Once they/ :) | 21:37 |
dbennett | cp16net: if you leave the wsrep_cluster_address=gcomm:// then it should run just fine by itself. | 21:38 |
cp16net | ok | 21:39 |
cp16net | because we were figuring out if we can use a single image for both the single instance percona and for the cluster | 21:41 |
dbennett | yes that should work. | 21:41 |
cp16net | tite | 21:41 |
georgelorch | cp16net, generally that should work but I do not think it is a good idea at all | 21:41 |
cp16net | why would that be bad? | 21:42 |
*** esmute_ has quit IRC | 21:42 | |
georgelorch | too many ways for an end user to shoot themselves in the foot or a support person to mistakenly assume that "Ohh I see that this is PXC so it is obviously running as part of a cluster". It us just all around not an expected configuration. | 21:43 |
cp16net | hmm i see | 21:43 |
dbennett | that is a fair assessment | 21:44 |
georgelorch | but YMMV, do it if it saves you some kind of headache for now, just be prepared to get an eventual "I told you so" later on | 21:44 |
cp16net | hah | 21:44 |
cp16net | thats good advice | 21:44 |
cp16net | i'll keep it in mind | 21:45 |
georgelorch | also know that PS and PXC operate on different release schedules and PXC is almost ALWAYS behind PS, so if critical update comes along, PS will almost ALWAYS be released first with PXC hours, days or weeks behind | 21:45 |
cp16net | because it would be somuch easier to use just a single image.... | 21:45 |
dbennett | also, MyISAM tables are not (will never be) supported with PXC replication. | 21:45 |
cp16net | ok | 21:45 |
* cp16net writes these notes down | 21:45 | |
georgelorch | dbennett, do you know if that is also true for a PXC node doing traditional async/binlog replication or does PXC effectively kill MyISAM repl at the root | 21:46 |
dbennett | No, you can do traditional async rep off any node, PXC will not prevent you from using MyISAM tables, it just won't replicate them 'fully' | 21:47 |
dbennett | but MyISAM async (binlog) rep will work. | 21:48 |
dbennett | MyISAM DDL statements are replicated and MyISAM DML statements that occur inside of a (InnoDB) transaction will replicate so it' | 21:48 |
dbennett | s deceiving. | 21:48 |
*** annashen has quit IRC | 21:49 | |
georgelorch | yeah, that's what I was getting at, knowing that it's not supported by wsrep, but would still work on a PXC binary vua async | 21:49 |
dbennett | Basically, the Defacto answer is not to use MyISAM at all in a PXC/cluster (aside from the sys table requirement) | 21:49 |
georgelorch | yup, that much is understood for sure, but if they want to use this somewhat dubious "PXC as a vanilla MySQL" case then MyISAM in a traditional async will still work, but you're screwed if you then decide to bootstrap this bad boy into a cluster | 21:51 |
dbennett | georgelorch: that is a good point, using a PXC node by itself does not make you 'cluster ready' | 21:52 |
dbennett | Plus, you also would not be able to upgrade the server to TokuDB. Percona Server is usually a week or two ahead on upstream (Oracle) patches too. | 21:55 |
*** esmute_ has joined #openstack-trove | 21:55 | |
georgelorch | aahhh jajaja, and I should know all about Toku :) yeam AFAIK we aren't even going to ship TokuDB in PXC because it is completely unsupported in PXC | 21:56 |
georgelorch | good call dbennett, that alone for me would be enough to settle the debate ;) | 21:56 |
*** esmute_ has quit IRC | 21:59 | |
*** esmute_ has joined #openstack-trove | 22:07 | |
*** annashen has joined #openstack-trove | 22:09 | |
dbennett | also serializable isolation is not across the entire cluster so certain unique sequence operations will not work as expected. Basically (like any Enterprise tech) it requires a planning and audit phase. | 22:14 |
*** bhunter71 has quit IRC | 22:21 | |
annashen | thanks georgelorch to clarify the diff :) | 22:49 |
*** esmute_ has quit IRC | 22:58 | |
*** esmute_ has joined #openstack-trove | 23:08 | |
*** sabeen2 has quit IRC | 23:09 | |
dougshelley66 | cp16net, just catching up...so unlike clustering in mongo and redis the database software isn't same for PXC | 23:09 |
dougshelley66 | it seems unnatural to force percona and percona clusters to be a single image | 23:10 |
dougshelley66 | also, you won't be able to cluster mysql or mariadb using this mech (i assume) | 23:10 |
*** annashen has quit IRC | 23:11 | |
*** esmute_ has quit IRC | 23:14 | |
*** haomaiwang has quit IRC | 23:16 | |
*** esmute_ has joined #openstack-trove | 23:19 | |
*** esmute_ has quit IRC | 23:56 | |
*** esmute_ has joined #openstack-trove | 23:58 | |
*** esmute_ has quit IRC | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!