Tuesday, 2015-11-24

*** sgotliv_ has joined #openstack-trove00:11
*** sgotliv has quit IRC00:14
*** openstackgerrit has quit IRC00:16
*** openstackgerrit has joined #openstack-trove00:16
*** sgotliv_ has quit IRC00:22
*** PeterSchwaller has joined #openstack-trove00:38
*** PeterS has quit IRC00:40
*** ViswaV has joined #openstack-trove01:03
*** tellesnobrega_af is now known as tellesnobrega01:03
*** ViswaV_ has joined #openstack-trove01:07
*** ViswaV has quit IRC01:07
*** ianbrown has joined #openstack-trove01:10
*** PeterSchwaller has quit IRC01:20
*** ashleighfarnham has quit IRC01:21
imandhanis there a way to force delete backups?01:26
imandhanpeterstac, atomic77, ^^01:27
*** mingdang1 has joined #openstack-trove01:57
*** PeterS has joined #openstack-trove01:59
*** 17SAD4YI2 has joined #openstack-trove02:00
*** 17SAD4YI2 has quit IRC02:01
*** haomaiwa_ has joined #openstack-trove02:01
*** mingdang1 has quit IRC02:09
*** caishan has joined #openstack-trove02:11
*** ianbrown has quit IRC02:16
*** imandhan has quit IRC02:16
dougshelley66imandhan what state is the backup in?02:25
*** david-ly_ has quit IRC02:36
*** tellesnobrega is now known as tellesnobrega_af02:36
*** haomaiwa_ has quit IRC03:01
*** haomaiwang has joined #openstack-trove03:01
*** pcaruana has quit IRC03:27
*** fabian1 has joined #openstack-trove03:36
*** haomaiwang has quit IRC04:01
*** haomaiwa_ has joined #openstack-trove04:01
*** david-lyle has joined #openstack-trove04:08
caishanwhy i get get the error message `SSH Keys were not staged by host` even if /tmp/in_target.d/ssh-authorized-keys exists ?! when i run:disk-image-create04:08
caishananybody knows how to solve it?04:14
caishan:D04:14
*** mingdang1 has joined #openstack-trove04:34
*** haomaiwa_ has quit IRC05:01
*** haomaiwang has joined #openstack-trove05:01
*** fabian1 has left #openstack-trove05:07
*** rcernin has joined #openstack-trove05:15
*** haomaiwang has quit IRC05:19
*** haomaiwa_ has joined #openstack-trove05:27
*** rcernin has quit IRC05:34
*** sabeen has joined #openstack-trove05:38
*** pcaruana has joined #openstack-trove05:48
*** imandhan has joined #openstack-trove05:53
*** imandhan has quit IRC05:53
*** imandhan has joined #openstack-trove05:53
*** haomaiwa_ has quit IRC06:01
*** khushbu_ has joined #openstack-trove06:01
*** haomaiwa_ has joined #openstack-trove06:02
*** rcernin has joined #openstack-trove06:18
*** sgotliv has joined #openstack-trove06:19
*** khushbu_ has quit IRC06:24
*** pcaruana has quit IRC06:28
*** khushbu_ has joined #openstack-trove06:34
imandhandougshelley66, the backups are stuck in building or new mode. the instances that created those backups were deleted. trying to delete the backups though since they are stuck06:34
*** khushbu_ has quit IRC06:48
*** khushbu_ has joined #openstack-trove06:49
*** mingdang1 has quit IRC06:50
*** mingdang1 has joined #openstack-trove06:51
*** amrith is now known as _amrith_06:54
*** khushbu_ has quit IRC07:00
*** haomaiwa_ has quit IRC07:01
*** imandhan has quit IRC07:01
*** haomaiwang has joined #openstack-trove07:01
*** sabeen has quit IRC07:33
*** imandhan has joined #openstack-trove07:35
openstackgerritzouyee proposed openstack/trove-integration: mysql version in datastore change updates  https://review.openstack.org/18086407:40
*** haomaiwang has quit IRC08:01
*** haomaiwa_ has joined #openstack-trove08:02
*** imandhan has quit IRC08:02
*** haomaiwa_ has quit IRC09:01
*** haomaiwa_ has joined #openstack-trove09:01
*** openstackgerrit has quit IRC09:16
*** openstackgerrit has joined #openstack-trove09:16
*** haomaiwa_ has quit IRC10:01
*** haomaiwa_ has joined #openstack-trove10:02
*** tosky has joined #openstack-trove10:22
*** caishan has quit IRC10:28
*** tellesnobrega_af is now known as tellesnobrega10:34
*** haomaiwa_ has quit IRC11:01
*** haomaiwang has joined #openstack-trove11:01
*** ViswaV_ has quit IRC11:05
*** _amrith_ is now known as amrith11:06
*** ViswaV has joined #openstack-trove11:08
*** rcernin is now known as rcernin|lunch11:13
amrithpmalik, re: https://review.openstack.org/#/c/248421/ I don't quite understand the change. One question that I'm interested in is the one that cp16net asked. will catch you later this AM. I want to know what the race in fake mode is first ...11:17
*** amrith is now known as _amrith_11:37
*** haomaiwang has quit IRC12:01
*** haomaiwa_ has joined #openstack-trove12:02
*** tellesnobrega is now known as tellesnobrega_af12:19
*** tellesnobrega_af is now known as tellesnobrega12:25
*** rcernin|lunch is now known as rcernin12:36
*** haomaiwa_ has quit IRC13:01
*** haomaiwang has joined #openstack-trove13:01
*** pmackinn has joined #openstack-trove13:04
*** pmackinn has quit IRC13:07
*** pmackinn has joined #openstack-trove13:08
*** haomaiwang has quit IRC13:11
*** PeterSchwaller has joined #openstack-trove13:14
*** PeterS has quit IRC13:18
*** khushbu_ has joined #openstack-trove13:20
*** khushbu_ has quit IRC13:43
*** _crobertsrh is now known as crobertsrh13:48
*** haomaiwang has joined #openstack-trove13:49
*** PeterS has joined #openstack-trove13:58
*** haomaiwang has quit IRC14:01
*** tosky_ has joined #openstack-trove14:01
*** PeterSchwaller has quit IRC14:01
*** haomaiwa_ has joined #openstack-trove14:01
*** tosky has quit IRC14:03
*** rcernin has quit IRC14:03
*** caishan has joined #openstack-trove14:18
openstackgerritOpenStack Proposal Bot proposed openstack/trove: Updated from global requirements  https://review.openstack.org/24573214:47
*** tosky_ is now known as tosky14:48
*** mingdang1 has quit IRC14:55
*** haomaiwa_ has quit IRC15:01
*** haomaiwa_ has joined #openstack-trove15:01
*** PeterSchwaller has joined #openstack-trove15:23
*** PeterS has quit IRC15:24
*** haomaiwa_ has quit IRC15:49
openstackgerritPeter Stachowski proposed openstack/trove: Fix race condition in replication backup delete  https://review.openstack.org/24842116:10
*** PeterS has joined #openstack-trove16:12
*** PeterSchwaller_ has joined #openstack-trove16:13
*** PeterSchwaller has quit IRC16:14
*** rcernin has joined #openstack-trove16:16
*** PeterS has quit IRC16:16
*** caishan has quit IRC16:19
*** _amrith_ is now known as amrith16:26
*** sabeen1 has joined #openstack-trove16:49
*** tosky has quit IRC16:53
*** kbyrne has quit IRC16:53
*** tosky has joined #openstack-trove16:54
*** david-ly_ has joined #openstack-trove17:19
*** david-ly_ has quit IRC17:23
*** david-l__ has joined #openstack-trove17:23
*** david-lyle has quit IRC17:23
*** david-l__ has quit IRC17:30
*** david-lyle has joined #openstack-trove17:44
*** ashleighfarnham has joined #openstack-trove17:46
openstackgerritPetr Malik proposed openstack/trove: Experimental datastores use new service commands  https://review.openstack.org/24539917:48
*** imandhan has joined #openstack-trove18:01
*** david-lyle has quit IRC18:03
mvandijk_cp16net: yt?18:03
*** david-lyle has joined #openstack-trove18:11
*** ViswaV has quit IRC18:12
*** ViswaV has joined #openstack-trove18:13
cp16netmvandijk_: yes18:13
cp16netwhats up18:13
cp16netpmackinn: take a peek at this one. https://review.openstack.org/#/c/243749/18:14
imandhanhey guys i'm trying to force delete backups stuck in build stage without having to unstack and reinstall redstack. Anyone know how to?18:16
cp16netimandhan: update the record in the db to error18:16
imandhancan you do that manually?18:16
cp16netyup18:17
cp16netits just reading the db18:17
cp16netso updating it will be ok18:17
vkmccp16net, we need to create some sort of garbage collector for those cases18:17
vkmcsomeday18:17
cp16netand i always suggest setting backups that are "stuck" to error and not complete18:17
pmackinncp16net, lgtm +118:18
cp16netpmackinn: thanks :)18:18
imandhanI've never manually changed status, can you point me to some resource for that?18:18
cp16netvkmc: we need to know why that happens and not let it happen18:18
vkmcyeah18:19
cp16netmysql; select * from backups;18:19
cp16netupdate backups set status='error' where id='uuid';18:19
cp16netsomething like that imandhan18:19
imandhanbut that's just for mysql ones, isn't it?18:20
vkmcimandhan, no, he is talking about the management database18:20
cp16netall the backups are in there18:20
vkmcin the control plane18:20
imandhanahhh okay18:20
cp16netyea in the mysql db where everything lives for trove18:20
cp16neti guess doing mysql trove; is better :-P18:20
imandhancool cool, will give it a shot18:20
cp16neti think its "update backups set state="FALIED" where id='backup_uuid';"18:22
cp16netthat should get your instance out of a backup state as well18:23
imandhanokay, perfect!18:23
cp16net:)18:23
imandhanI didn't have any problems deleting instances even though they were in backup state...18:23
imandhanwhich I initially had expected to be an issue18:23
cp16neti think you would if it was in horizon18:24
imandhanohk I was using cl18:24
*** PeterSchwaller_ has quit IRC18:26
*** PeterS has joined #openstack-trove18:26
*** tosky has quit IRC18:26
openstackgerritIshita Mandhan proposed openstack/trove: Addition of DB2 backup & restore functionality  https://review.openstack.org/24670918:26
amrithcp16net, yt?18:41
cp16netamrith: yup18:44
mvandijk_cp16net: I replied to your concerns on https://review.openstack.org/#/c/247744/318:56
mvandijk_the gist being that those exceptions are saying "we shouldnt be trying to do this... api/tm should know better"18:57
cp16netright but my thought it thought since those calls are async there is nothing to handle the exception other than logging it in the guestagent18:59
*** tellesnobrega is now known as tellesnobrega_af19:03
*** PeterSchwaller has joined #openstack-trove19:03
*** PeterS has quit IRC19:03
*** arist has quit IRC19:15
*** arist has joined #openstack-trove19:16
*** sabeen1 has quit IRC19:41
mvandijk_so no different to just logging it19:57
mvandijk_but if we one day change things like create user to a call (no idea why it isn't already...) then it will be useful19:57
mvandijk_or if we add some capabilities to show messages from the guest like nova does19:57
*** amrith is now known as _amrith_20:16
openstackgerritMerged openstack/trove: Update internal status when waiting for a change  https://review.openstack.org/24324720:36
*** georgelorch has quit IRC20:38
*** georgelorch has joined #openstack-trove20:39
*** crobertsrh1 has joined #openstack-trove20:53
cp16netmvandijk_: yt?21:33
*** sabeen1 has joined #openstack-trove21:39
mvandijk_yes21:40
mvandijk_cp16net: am now21:40
cp16netok have a final comment on the exceptions on that review21:42
*** sabeen3 has joined #openstack-trove21:43
*** sabeen1 has quit IRC21:43
cp16netmvandijk_: so raising an exception thats just logged in the guest with a traceback leads to believe something broke21:44
mvandijk_thats the point. if you get there, something in the taskmanager or api is wrong21:45
mvandijk_it shouldn't make that request to the guest21:45
cp16netbut this didnt help the validation in taskmanager21:46
mvandijk_eg https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/mysql_common/service.py#L365-L36821:46
mvandijk_we use this pattern for mysql too21:47
cp16neti'm not strongly against the change how you did it just asking if there is a cleaner way21:47
mvandijk_the taskmanager has that validation.21:47
mvandijk_the bug was smaller in scope than the change, it prompted me to add more protection against changing the reserved users21:48
mvandijk_the exceptions are there to tell us we did something wrong in trove21:48
cp16netyeah thats true21:49
cp16netok i think it makes sense to me now21:50
cp16netthanks21:50
mvandijk_excellent :)21:51
mvandijk_saves me pushing up a new patchset21:51
*** tornopil has joined #openstack-trove21:58
*** sgotliv has quit IRC22:02
*** _amrith_ is now known as amrith22:03
*** ashleighfarnham has quit IRC22:07
*** tornopil has quit IRC22:08
*** tornopil has joined #openstack-trove22:18
tornopilhi, I get this error from trove-guestagent.log https://gist.github.com/anonymous/0c92b0e9f04d271af956 and then mysql stops, I use kilo ubuntu22:20
*** crobertsrh1 has quit IRC22:22
tornopildoes anyone knows about the error I get?22:25
cp16nettornopil: so the volume trove attaches to the guest is causing a timeout on unmount22:25
tornopilcp16net, but the volume is already unmounted when I ssh into the guest machine22:26
tornopilcould you give me hint about where should I look to solve it?22:27
cp16nettornopil: does the user that the guestagent run as have permissions to call sudo unmount?22:28
tornopilcp16net, yes it does22:28
*** tornopil has quit IRC22:30
cp16nethmm strange22:30
*** tornopil has joined #openstack-trove22:31
cp16netso trove syncs the data from /var/lib/mysql to /mnt/volume (where this is just a temp mount place to sync the files)22:31
cp16netthen unmounts it from there and mounts to /var/lib/mysql22:32
cp16netso that then mysql can start up22:32
cp16netif you manually remount the volume do you see the files sync'd to it?22:33
tornopilcp16net, I can see the files insde /mnt/volume after mounting is identical to /var/lib/mysql22:34
cp16netsounds like the umount cmd is not sending a EOF22:34
cp16neti've not heard of this issue before22:35
cp16netif you manually then "sudo umount /mnt/volume" after changed to the trove-user does it hang or complete like normal?22:36
cp16netit sounds like the issue is something to do with calling umount from the sound of it22:36
cp16netbecause everything else sounds like it worked.22:37
tornopilcp16net, it does unmount the volume seccessfully22:37
cp16netthe mount call even waits for an EOF and that sounds like it worked22:37
cp16netbut umount hung22:38
cp16netdoes this happen if you try again?22:38
tornopilactually I've done it many times, same every time22:39
cp16netummm i running out of ideas22:41
cp16netwonder if running umount to quickly and causing a volume busy error?22:42
tornopilif you plz tell me how to check it22:43
cp16netis there anything in /var/log/syslog?22:45
cp16netthat might help why umount failed?22:45
tornopilI don't see anything related to umount last are these22:49
tornopilkernel: [ 4446.918863] EXT4-fs (vdb): mounting ext3 file system using the ext4 subsystem22:49
tornopil[ 4446.986107] EXT4-fs (vdb): mounted filesystem with ordered data mode. Opts: (null)22:49
cp16netNov 24 17:29:45 test-pxc-member-1 kernel: [   12.763575] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)22:52
cp16netok looks similar to mine22:52
cp16netis it using the right mount point?22:52
cp16neterr device22:53
tornopilyes the device is /dev/vdb22:53
cp16netok22:53
cp16nettornopil: i might suggest trying to build a new image then22:56
cp16netfor mysql22:57
cp16netand see if that helps22:57
tornopilcp16net, ok thanks, I've created one with ubuntu trusty cloud img and mariadb and trove-guestagent install in it with chrooting,22:58
tornopilis it correct way to go with?22:58
tornopildo you suggest any other approch22:59
cp16netthat should work but we usually use the image elements to build an image23:00
tornopilcp16net, I've had some problems with image elemnts, with images created with them the guest_info would be empty23:01
cp16nettornopil: amrith wrote an article on building a guest image http://www.dbta.com/BigDataQuarterly/Articles/Building-a-database-guest-image-for-OpenStack-Trove-107368.aspx23:02
tornopilcp16net, thank you for the link23:02
cp16netwell the guest_info should be injected at boot time of the instance23:03
tornopilcp16net, I know it does sound strange, but it won't with them, I'll give another try, maybe with centos image23:04
tornopilthanks23:04
cp16nettornopil: let us know if you get it working23:05
cp16neti'm sure many of us trove-sters will be on vacay this week tho for the holidays23:05
cp16netmight be quiet around here for the rest of this week23:06
cp16net(i'm off the rest of the week but i might check in here and there on irc.)23:06
dougshelley66cp16net us Canadians will still be working...23:06
cp16net:-P23:07
cp16netoh thats true. there will be a few people around :-P23:07
*** tornopil has quit IRC23:09
cp16netdougshelley66: have you heard of a volume not unmounting in the prepare call?23:09
dougshelley66one sec23:09
dougshelley66was just reading the scroll back - i haven't seen that either23:11
cp16netyeah i didnt know what else to suggest for debugging23:12
dougshelley66i assume something was using the volume - lsof would help but only if you could run it before the umount timed out23:12
*** johnma has quit IRC23:12
cp16netyeah23:13
cp16netand using the ubuntu kilo install it might not be a good idea to change things :-P23:13
*** tornopil has joined #openstack-trove23:16
*** sabeen3 has quit IRC23:23
*** johnma has joined #openstack-trove23:25
openstackgerritOpenStack Proposal Bot proposed openstack/trove: Updated from global requirements  https://review.openstack.org/24573223:32
*** johnma has quit IRC23:32
openstackgerritMerged openstack/trove: Do not use api-paste.ini osprofiler options  https://review.openstack.org/24508123:38
*** rcernin has quit IRC23:42
*** tornopil has quit IRC23:48

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