Tuesday, 2020-10-13

*** jamesmcarthur has quit IRC00:04
*** jamesmcarthur has joined #openstack-trove00:05
*** jamesmcarthur has quit IRC00:09
*** jamesmcarthur has joined #openstack-trove00:27
*** spatel has joined #openstack-trove00:50
*** spatel has quit IRC00:54
*** spatel has joined #openstack-trove00:59
*** jamesmcarthur has quit IRC01:05
*** sapd1 has joined #openstack-trove01:15
*** sapd1 has quit IRC01:23
*** jamesmcarthur has joined #openstack-trove01:32
*** sapd1 has joined #openstack-trove01:44
*** jamesmcarthur has quit IRC01:49
*** jamesmcarthur has joined #openstack-trove01:49
*** jamesmcarthur has quit IRC01:54
*** congnt95 has joined #openstack-trove02:06
*** jamesmcarthur has joined #openstack-trove02:24
*** sapd1 has quit IRC02:31
*** jamesmcarthur has quit IRC02:34
*** sapd1 has joined #openstack-trove02:47
*** congnt95 has quit IRC02:50
*** congnt95 has joined #openstack-trove02:50
*** sapd1 has quit IRC02:53
*** sapd1 has joined #openstack-trove02:53
*** jmlowe has quit IRC03:00
*** jamesmcarthur has joined #openstack-trove03:08
openstackgerritZihao Wang proposed openstack/python-troveclient master: Remove six  https://review.opendev.org/75753803:09
*** jamesmcarthur has quit IRC03:11
*** jamesmcarthur has joined #openstack-trove03:11
*** jmlowe has joined #openstack-trove03:11
*** jamesmcarthur has quit IRC03:20
*** sapd1 has quit IRC03:28
*** sapd1 has joined #openstack-trove03:53
*** tonyb has quit IRC04:10
sorrisonHi lxkong are you around?04:18
lxkongsorrison: yes, how can i help04:18
sorrisonI'm debugging a race condition I'm seeing.04:18
lxkongyep, any detailed info?04:19
sorrisonpostgres is set on our images to start on boot but sometimes trove fails as it init starts postgres just as trove is going to stop postgres04:19
sorrisondo you have your images to have postgres/mysql to be disabled in systemd on boot?04:19
sorrisonwould that work with trove? (ie. it would see they aren't running and start it)04:20
sorrisoneg. I see `Oct 13 00:46:14 bgno3maogld sudo[681]:    trove : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/service postgresql stop`04:21
sorrisonthen next line is `Oct 13 00:46:14 bgno3maogld systemd[1]: Starting PostgreSQL RDBMS...`04:21
lxkongsorrison: Ussuri?04:21
sorrisonussuri taskmanager/api/conductor but rocky guest agent :-)04:22
sorrisonmaybe this is handled in ussuri guest agent?04:22
sorrisonit only happens sometimes in my tempest tests and just trying to figure out best way to handle it04:23
lxkongwhen creating the instance, trove guest agent just does some stops/starts during the initialization04:23
sorrisonand it would be ok if mysql/postgres was not running to begin with I assume? Eg. init doesn't start it04:24
lxkongyou can't simply disable the service in systemd as it affects the vm restart or something04:24
lxkongthat logic was totally changed after ussuri when using containers04:24
sorrisonyeah that was what I was thinking. does trove-guest agent ensure mysql/postgres is running when it starts up after a reboot04:24
*** jamesmcarthur has joined #openstack-trove04:25
lxkongno, when the vm is restarting, it relies on systemd to start the db service04:25
lxkongtrove-guestagent won't operate db service when starts up04:26
sorrisonyeah ok, thanks that's what I thought04:26
sorrisonMight just need to ensure the trove-guestagent systemd goes after mysql/postgres then I think04:26
openstackgerritMerged openstack/python-troveclient master: Remove six  https://review.opendev.org/75753804:27
lxkongsorrison: but in your case, i don't think it's race condition, trove-guestagent should guarantee the db service started04:27
sorrisonI'm pretty sure it's a race04:28
sorrisonas trove goes to stop postgres just as systemd is starting it04:28
sorrisonso it fails as postgres never stops04:28
lxkongin the guest, the operations are mostly happening in sequence.04:28
sorrisonso trove issues the stop command04:28
sorrisonsystemd then issues the start04:28
sorrisonand trove errors as it never stops04:29
*** jamesmcarthur has quit IRC04:29
sorrisonI have logs of a working and a broken one and can confirm it's a timing thing as we are only seeing it about 30% of the time in our tests04:29
lxkongsorrison: have you log into the guest and do something like systemd-analyze04:30
sorrisonyeah I can see by looking at the journal04:31
lxkongif that's related to systemd service order, another work around is to change the trove-guest.systemd config in DIB element04:34
lxkongthen re-build the image...04:34
sorrisonyeah that's what I'm thinking04:34
sorrisoncould ensure trove-guest agent starts after postgres04:35
sorrisononce we are fully on ussuri we will be more vanila, currently we have lots of patches on our rocky branch04:37
sorrisonthe upgrade planning is going well though. We have managed to get our existing images working with rocky and ussuri taskmanager04:37
sorrisonwe have mysql5.7, mysql8.0, postgresql 9.6 and 11 (and soon 13)04:38
*** spatel has quit IRC05:07
*** e0ne has joined #openstack-trove07:10
*** tosky has joined #openstack-trove07:26
*** rcernin has quit IRC07:52
*** rcernin has joined #openstack-trove08:45
openstackgerritZihao Wang proposed openstack/trove master: Remove six usage [1] and  basestring check  https://review.opendev.org/75777108:53
openstackgerritZihao Wang proposed openstack/trove master: Remove six usage [2]  https://review.opendev.org/75778309:09
openstackgerritZihao Wang proposed openstack/trove master: Remove six usage [3]  https://review.opendev.org/75779209:19
openstackgerritLingxian Kong proposed openstack/trove master: [Doc] datastore guide  https://review.opendev.org/75779409:22
*** rcernin has quit IRC09:33
*** rcernin has joined #openstack-trove09:35
*** jamesmcarthur has joined #openstack-trove09:38
*** jamesmcarthur has quit IRC09:42
*** rcernin has quit IRC09:58
*** rcernin has joined #openstack-trove09:59
*** rcernin has quit IRC10:14
*** rcernin has joined #openstack-trove10:25
openstackgerritLingxian Kong proposed openstack/trove master: [Doc] datastore guide  https://review.opendev.org/75779410:27
*** congnt96 has joined #openstack-trove11:09
*** congnt96 has quit IRC11:13
*** sapd1_x has joined #openstack-trove11:14
*** sapd1 has quit IRC11:18
*** sapd1_x has quit IRC11:44
*** rcernin has quit IRC12:11
*** openstackgerrit has quit IRC13:17
*** jamesmcarthur has joined #openstack-trove13:56
*** jamesmcarthur has quit IRC14:38
*** jamesmcarthur has joined #openstack-trove14:40
*** jamesmcarthur has quit IRC14:51
*** jamesmcarthur has joined #openstack-trove14:58
*** sapd1_x has joined #openstack-trove15:13
*** jamesmcarthur has quit IRC15:33
*** jamesmcarthur has joined #openstack-trove15:49
*** congnt96 has joined #openstack-trove16:36
*** sapd1_x has quit IRC16:41
*** jamesmcarthur has quit IRC17:25
*** jamesmcarthur has joined #openstack-trove17:41
*** e0ne has quit IRC19:07
*** e0ne has joined #openstack-trove19:17
*** e0ne has quit IRC19:22
*** jamesmcarthur has quit IRC20:51
*** jamesmcarthur has joined #openstack-trove20:56
*** jamesmcarthur has quit IRC21:19
*** jamesmcarthur has joined #openstack-trove21:26
*** rcernin has joined #openstack-trove22:17
*** rcernin has quit IRC22:45
*** rcernin has joined #openstack-trove22:51
*** rcernin has quit IRC22:51
*** rcernin has joined #openstack-trove22:51
*** hoonetorg has quit IRC23:22
*** zigo has quit IRC23:23
*** zigo has joined #openstack-trove23:24
*** hoonetorg has joined #openstack-trove23:34
*** tosky has quit IRC23:40

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!