Tuesday, 2014-07-08

amrithcp16net, yt?00:08
*** annashen_ has quit IRC00:20
*** michael-yu has quit IRC00:33
openstackgerritA change was merged to openstack/trove: Logging audit for trove/common module  https://review.openstack.org/10321700:49
*** fifieldt has joined #openstack-trove00:55
*** mattgriffin has joined #openstack-trove01:06
*** amcrn has quit IRC01:07
*** annashen_ has joined #openstack-trove01:40
*** nosnos has joined #openstack-trove01:42
*** haomai___ has quit IRC01:42
*** haomaiwa_ has joined #openstack-trove01:42
*** juantwo_ has joined #openstack-trove01:45
*** mattgriffin has quit IRC01:46
*** annashen_ has quit IRC01:46
*** juantwo has quit IRC01:49
*** haomai___ has joined #openstack-trove01:58
*** haomaiwa_ has quit IRC01:59
*** robertmyers has joined #openstack-trove02:05
*** annashen_ has joined #openstack-trove02:06
*** eghobo has quit IRC02:15
openstackgerritDan Nguyen proposed a change to openstack/trove-integration: Add oslo.messaging to guestagent image  https://review.openstack.org/10528202:43
*** ramishra has joined #openstack-trove02:52
*** juantwo_ has quit IRC02:59
*** juantwo has joined #openstack-trove02:59
openstackgerritNikhil Manchanda proposed a change to openstack/trove-integration: Removed alt-demo user and tenant  https://review.openstack.org/10533803:04
*** amcrn has joined #openstack-trove03:08
*** ViswaV_ has quit IRC03:08
*** ViswaV has joined #openstack-trove03:08
*** mattgriffin has joined #openstack-trove03:14
*** amcrn has quit IRC03:19
*** ViswaV has quit IRC03:19
*** ViswaV has joined #openstack-trove03:20
*** nosnos has quit IRC03:22
*** mattgriffin has quit IRC03:48
*** mattgriffin has joined #openstack-trove03:48
*** coolsvap|afk is now known as coolsvap03:56
openstackgerritOpenStack Proposal Bot proposed a change to openstack/trove: Updated from global requirements  https://review.openstack.org/10517504:05
*** georgelorch has quit IRC04:08
*** michael-yu has joined #openstack-trove04:16
*** michael-yu_ has joined #openstack-trove04:24
*** ajc_ has joined #openstack-trove04:25
*** michael-yu has quit IRC04:25
*** michael-yu_ is now known as michael-yu04:25
*** nosnos has joined #openstack-trove04:25
*** eghobo has joined #openstack-trove04:27
*** michael-yu has quit IRC04:31
*** ViswaV has quit IRC04:31
*** ViswaV has joined #openstack-trove04:32
*** ViswaV has quit IRC04:37
*** robertmyers has quit IRC04:39
*** ViswaV has joined #openstack-trove04:41
*** ViswaV has quit IRC04:44
*** ViswaV has joined #openstack-trove04:44
*** ViswaV has quit IRC04:49
*** ViswaV has joined #openstack-trove04:49
*** georgelorch has joined #openstack-trove04:52
*** juantwo has quit IRC04:55
*** Longgeek has joined #openstack-trove05:43
*** eghobo has quit IRC05:50
*** eghobo has joined #openstack-trove05:51
*** ramishra has quit IRC05:55
*** ramishra has joined #openstack-trove06:05
openstackgerritOpenStack Proposal Bot proposed a change to openstack/trove: Imported Translations from Transifex  https://review.openstack.org/10536106:08
*** mattgriffin has quit IRC06:19
*** annashen_ has quit IRC06:27
*** zigo has quit IRC06:27
*** zigo has joined #openstack-trove06:31
*** ViswaV has quit IRC06:33
*** ViswaV has joined #openstack-trove06:33
*** haomai___ has quit IRC07:17
*** haomaiwang has joined #openstack-trove07:18
*** eguz has joined #openstack-trove07:30
*** eguz has quit IRC07:31
*** eghobo has quit IRC07:32
*** haomai___ has joined #openstack-trove07:33
*** haomaiwang has quit IRC07:35
openstackgerritA change was merged to openstack/trove: Use (# of CPUs) api/conductor workers by default  https://review.openstack.org/10323908:01
*** Longgeek has quit IRC08:05
*** flaper87|afk is now known as flaper8708:06
*** Longgeek has joined #openstack-trove08:06
*** sgotliv has joined #openstack-trove08:18
*** Longgeek_ has joined #openstack-trove08:21
*** Longgeek has quit IRC08:24
*** julienvey has joined #openstack-trove08:26
*** radez_g0n3 is now known as radez08:30
*** Longgeek_ has quit IRC08:35
*** Longgeek has joined #openstack-trove08:36
*** ramishra has quit IRC08:41
*** Longgeek_ has joined #openstack-trove08:58
*** Longgeek has quit IRC09:01
*** haomai___ has quit IRC09:13
*** haomaiwa_ has joined #openstack-trove09:14
*** Longgeek_ has quit IRC09:18
*** Longgeek has joined #openstack-trove09:19
*** ajc_ has quit IRC09:20
*** boblebauce has joined #openstack-trove09:20
*** Syed_ has joined #openstack-trove09:24
*** Longgeek_ has joined #openstack-trove09:25
*** Longgeek has quit IRC09:25
*** sbadia has joined #openstack-trove09:26
openstackgerritlawrancejing proposed a change to openstack/python-troveclient: Add CONTRIBUTING.rst  https://review.openstack.org/10378209:27
*** haomaiw__ has joined #openstack-trove09:30
*** haomaiwa_ has quit IRC09:32
boblebauceHi everyone. Currently trove directly uses "sudo" to run commands that require root privilege. Is using oslo.rootwrap instead a goal for Trove ?09:33
boblebauceIf so, I'm willing to implement it09:33
*** coolsvap has quit IRC09:37
*** coolsvap has joined #openstack-trove09:41
amrithboblebauce, g'morning.09:41
amrithmay I suggest you do one of a couple of things09:41
amritheither enter a bug and join the trove meeting tomorrow (#openstack-meeting-alt), or just the latter.09:42
amriththere has been a fair amount of merging code from oslo, but usually to pick up a feature or capability not otherwise available.09:43
amrithI don't know whether this fits the bill.09:43
amrithbut I suspect the change will be quite widespread and you may want to have a conversation before you go expend a lot of time.09:43
amrithjust a thought.09:43
boblebauceamrith: hi. I'll do both then :)09:43
amrithboblebauce ^^09:43
amrithsuper!09:44
*** dmakogon_ is now known as denis_makogon09:54
denis_makogonboblebauce, there's already filed BP related to oslo.rootwrap, so, feel free to write spec for this feature and follow blueprint review process https://wiki.openstack.org/wiki/TroveBlueprint09:55
*** haomaiw__ has quit IRC09:59
*** haomaiwang has joined #openstack-trove09:59
boblebaucedenis_makogon: thanks, I'll take a look10:02
openstackgerritDenis M. proposed a change to openstack/trove: Fix updated timestamp for SecurityGroup model  https://review.openstack.org/9751010:03
openstackgerritDenis M. proposed a change to openstack/trove: Mark all running backups as FAILED when instance was deleted  https://review.openstack.org/10283810:11
openstackgerritDenis M. proposed a change to openstack/trove: Update backup state when guest error occures  https://review.openstack.org/10226210:11
*** haomaiw__ has joined #openstack-trove10:14
*** haomaiwang has quit IRC10:18
openstackgerritDenis M. proposed a change to openstack/trove: Enable H301 hacking rule  https://review.openstack.org/10461610:20
*** demorris has joined #openstack-trove10:41
*** julienvey has quit IRC10:53
denis_makogonamrith, ping11:00
denis_makogonamrith, about logging backup_info, it contains significant information about backup and the owner, https://github.com/openstack/trove/blob/master/trove/backup/models.py#L109-L11711:01
*** achampion has quit IRC11:01
denis_makogonamrith, that's why it _MUST_  be logged, id is not enough IMHO11:01
denis_makogonamrith, please re-review https://review.openstack.org/102262, because, for now, your comment are not a reason for -111:05
*** demorris has quit IRC11:09
*** nosnos has quit IRC11:23
*** sgotliv has quit IRC11:23
*** coolsvap is now known as coolsvap|afk11:28
denis_makogonSlickNik, https://bugs.launchpad.net/trove/+bug/133899611:36
*** julienvey has joined #openstack-trove11:39
*** demorris has joined #openstack-trove11:40
*** demorris has quit IRC11:42
*** julienvey has quit IRC11:43
*** demorris has joined #openstack-trove11:43
*** boden has joined #openstack-trove11:44
amrithdenis_makogon, in your previous patch set you didn't log backup_info. Now you say it "_MUST_" be logged. At the very least, I wonder whether the checksum is required. What would I do with the parent, the datastore or the version? All I can really do is delete that backup, or keep it around as a souvenir.11:45
amrithAnd to delete it, the id would suffice.11:45
amrithno?11:45
denis_makogonamrith, there's instance id, tenant id, backup id11:45
amrithand what would I do with those?11:45
denis_makogonamrith, we're not allowed do to that11:45
amriththe instance is deleted11:46
denis_makogonamrith, you're are user, not a admin11:46
amrithnot allowed to do what?11:46
denis_makogonamrith, that information is useful for administrator11:46
denis_makogonamrith, Trove are not allowed to do auto-delete11:47
denis_makogon*is not allowed11:47
amrithok, I'm an administrator. I'm now wearing my administrator uniform. Tell me what I'll do with that backup other than delete it. And for that all I need is the id.11:47
amrithyes?11:47
denis_makogonamrith, you can't touch users resources11:47
denis_makogonamrith, they paying for them11:48
denis_makogonamrith, so, Trove is able only to report, not to do auto-delete11:48
amrithOK, I can't delete it11:48
*** julienvey has joined #openstack-trove11:48
amrithso what do I do with this valuable information you gave me?11:48
denis_makogonamrith, only user able to delete backup11:48
amrithyou said it is "useful for administrator"11:48
amrithI'm the administrator11:48
amrithtell me how I would use this information11:48
denis_makogonamrith, logging useful11:48
denis_makogonamrith, not backup itself11:49
*** radez is now known as radez_g0n311:49
amrithuseful, how? what can I do with the checksum?11:49
denis_makogonamrith, logging backup id is not enough, since you can't say who's owner of this backup11:50
amrithok print the id and the owner11:50
amrithwait11:50
amrithfrom a backup ID I can't get the owner?11:50
denis_makogonamrith, from which instance does this backup was taken?11:50
denis_makogonamrith, no you're not11:50
denis_makogonamrith, you can find owner only gpep'ing backend for tenant id11:51
*** Longgeek_ has quit IRC11:54
*** sgotliv has joined #openstack-trove11:54
amrithok, I'll look at it again. another question, why should it be a LOG.exception()?11:57
*** Longgeek has joined #openstack-trove12:00
*** demorris has quit IRC12:00
denis_makogonamrith, because exception happened, LOG.error doesn't fit here since .error should be called when some sort of specific checks were failed, but at our situation, we should call exception only, since it's a real exception, it's not artificial, so, that's why LOG.exception was called12:02
denis_makogonamrith, .exception fits here, because there are certain possible cases when guest will execute backup method when guest will reach AMPQ service, that's why it's an .exception and not, probably, an error.12:06
*** juantwo has joined #openstack-trove12:16
*** miqui has joined #openstack-trove13:01
*** rueben has joined #openstack-trove13:17
amrithsorry, was driving when you were typing denis_makogon ... reading your replies now13:23
*** mrsnivvel has quit IRC13:23
*** ramishra has joined #openstack-trove13:34
*** mattgriffin has joined #openstack-trove13:42
*** Syed_ has quit IRC13:43
*** jcru has joined #openstack-trove13:45
*** tvoran has joined #openstack-trove13:47
*** rueben has quit IRC13:52
*** jcru has quit IRC13:54
*** grapex has joined #openstack-trove13:55
*** jcru has joined #openstack-trove13:55
*** jcru_ has joined #openstack-trove13:58
*** demorris has joined #openstack-trove13:59
*** jcru has quit IRC14:00
*** robertmyers has joined #openstack-trove14:02
*** robertmyers has quit IRC14:02
*** robertmyers has joined #openstack-trove14:02
*** radez_g0n3 is now known as radez14:03
*** jcru_ has quit IRC14:04
*** jcru has joined #openstack-trove14:05
*** jcru has quit IRC14:06
*** jcru_ has joined #openstack-trove14:06
*** flaper87 is now known as flaper87|afk14:11
*** jcru_ has quit IRC14:15
*** jcru has joined #openstack-trove14:18
*** ramishra has quit IRC14:20
*** flaper87|afk is now known as flaper8714:34
*** jcru has quit IRC14:35
*** jcru has joined #openstack-trove14:35
*** ViswaV_ has joined #openstack-trove14:38
*** ViswaV has quit IRC14:41
*** PeterSchwaller_ has joined #openstack-trove14:41
*** PeterSchwaller has quit IRC14:43
*** thedodd has joined #openstack-trove14:48
*** PeterSchwaller has joined #openstack-trove14:50
*** ramishra has joined #openstack-trove14:51
*** PeterSchwaller_ has quit IRC14:52
*** ramishra has quit IRC14:55
*** PeterSchwaller_ has joined #openstack-trove14:56
*** PeterSchwaller has quit IRC14:59
*** ICBeter has joined #openstack-trove14:59
*** demorris has quit IRC15:00
ICBeterHello, I just started experimenting with trove. Tried to start an image from tesora.com which does not seem to work. Can I download working mysql-Images somewhere?15:02
amrithICBeter, what didn't work?15:07
amrithyou could also contact Tesora at #tesora on IRC15:08
*** coolsvap|afk is now known as coolsvap15:10
*** tvoran has quit IRC15:11
*** PeterSchwaller has joined #openstack-trove15:12
*** PeterSchwaller_ has quit IRC15:14
*** ViswaV_ has quit IRC15:17
*** demorris has joined #openstack-trove15:19
*** ViswaV has joined #openstack-trove15:20
ICBeterfound this in the logs: Cannot find compute instance None for instance15:21
ICBetermaybe tesora is not fully compatible with trove and I need to use their tools15:21
amrithI can tell you that it is compatible with trove (I work for Tesora)15:22
amrithso, here's a suggestion15:22
amrithwhat was your configuration?15:23
amrithare you on u14.04, with icehouse?15:23
amrithdid you use the three packages (taskmanager, conductor and API) that are provided15:23
amrithwhat else do you see in the error log?15:23
amrithagain, if you think the issue is with tesora, try #tesora on IRC15:24
*** demorris has quit IRC15:24
ICBeterI did install taskmanager, conductor and api from openstack15:25
ICBeternot the packages from tesora15:25
amrithok.15:25
amrithcan you try the ones provided?15:25
ICBeterok. Do I have to uninstall the openstack ones?15:26
amrithI don't know how you installed them but to be safe I would say yes.15:26
amrithwhat I know is that if you have a working nova with glance, keystone, cinder and swift15:27
amrithand you use the three packages provided and follow the instructions on that webpage15:27
amriththe packages work15:27
ICBeterThe thing is that I should make it work with the standard trove tools. I have to have good arguments for my boss to use other tools...15:28
ICBeterIt should be a standard openstack installation with as little 3rd party software as possible15:29
abramleyHi ICBeter - this is probably a configuration issue - and I can help you out to get the images running with your trove if that is what you want to do15:29
ICBeterBut if it is a lot easier with tesora, it would be ok15:30
amrithICBeter, it is certainly a lot easier.15:30
amrithabramley is intimately familiar with how this all works so I'll shut up15:31
abramleyTHe main reason it is simpler with the tesora packages is that the configuration files we provide are tweaked to work better with the tesora images15:31
ICBeterOK, than I will install them15:31
abramleyMaybe it would be better to switch to using the tesora packages now with the tesora images - and once you have that working if you want to revert to using the community trove packages I can help you with that15:32
*** ViswaV_ has joined #openstack-trove15:37
*** ViswaV has quit IRC15:39
ICBeterbtw... there is an error in http://resources.tesora.com/tesora-download15:39
ICBeterthe second " in the line starting with echo is different15:40
ICBetergives an error with copy & paste ;-)15:40
*** tvoran has joined #openstack-trove15:40
abramleyICBeter - thanks15:40
ICBeterSo, I installed all the tesora-dbaas-* packages. I try to   trove create... now15:45
glucasICBeter: if you haven't already done so, you'll need to configure the /etc/tove conf files for your environment15:50
ICBeterYes. Can I use the same settings like in my former trove installation? The files are still here...15:51
ICBeterOr are there different settings in the tesora-dbaas- configs?15:51
*** ramishra has joined #openstack-trove15:51
ICBetertrove.conf for example15:52
glucastesora sets a few defaults differently, and does add some options that were not available in the icehouse release. you may want to start with the ones installed, or at least diff with the ones you created previously15:53
glucasthere's also a shell script that can help tailor the files and set up the trove database if you prefer, it's in /opt/tesora/dbaas/bin I believe.15:54
*** ramishra has quit IRC15:56
*** annashen_ has joined #openstack-trove15:58
*** sgotliv has quit IRC15:59
ICBeterthe openstack manual suggests that in the trove.conf:  network_label_regex = ^NETWORK_LABEL$   Should I use that?16:00
*** demorris has joined #openstack-trove16:03
glucasICBeter: if you are configuring multiple NICs for your trove instances you can use the network regex to filter what is visible to the end-user16:03
glucasICBeter: if you just have one network use your network label, or just: .*16:04
*** Barker has joined #openstack-trove16:04
*** eghobo has joined #openstack-trove16:04
*** eghobo has quit IRC16:05
*** eghobo has joined #openstack-trove16:06
ICBeterlooks good: trove list shows me an empty list - no connection errors ;-)16:08
glucasICBeter: I guess no news is good news in this case. :)16:09
*** PeterSchwaller_ has joined #openstack-trove16:10
ICBeterso the syntax for  trove create is the same like with the icehouse tools?16:10
glucasyes16:10
ICBeterstatus: BUILD. That looks a lot better than before ;-)16:12
*** PeterSchwaller has quit IRC16:12
denis_makogonICBeter, don't be so happy, there's possibility that it'll remain in BUILD state for ever =)16:13
ICBeterok... but it is a step forward16:14
glucas:-)16:14
glucasICBeter: Do you see the nova instance now if you 'nova list'?16:14
denis_makogonICBeter, agreed16:14
ICBeteryes16:14
ICBeter| f447e7b9-a865-4c91-ac52-ffcc860bdda9 | test1 | BUILD  |     2     |  2   |16:15
denis_makogonICBeter, try 'nova list', 'cinder list'16:15
denis_makogonICBeter, there should be certain resources16:15
ICBeterin nova list there is only an other instance that was already there before16:16
*** PeterSchwaller has joined #openstack-trove16:16
openstackgerritDenis M. proposed a change to openstack/trove: Support full backup/restore for Cassandra  https://review.openstack.org/7755116:16
glucasah, that's not a good sign16:17
denis_makogonICBeter, can you post taskmanager log ?16:17
glucasmay want to take a look at the logs (/var/log/trove)16:17
denis_makogonICBeter, glucas, does taskmanager was able to connect to AMPQ service ?16:18
denis_makogonICBeter, even more, does nova was able to connect to AMPQ service ?16:18
*** PeterSchwaller_ has quit IRC16:19
ICBeterOh... i see. My fault... did not set rabbit_host correctly16:20
denis_makogonICBeter, np, but now you have to clean up trove backend database16:20
*** annashen_ has quit IRC16:21
denis_makogonICBeter, try to do 'trove-manage --config-file=/etc/trove/trove.conf db_recreate ${TROVE_PATH}/trove/db/sqlalchemy/migrate_repo/'16:21
ICBetershould I terminate the instance before?16:22
denis_makogonICBeter, it'll reset trove backend table and you woudn't see that stucked instance16:22
denis_makogonICBeter, you cant remove instance that is in BUILD state16:22
glucasICBeter: denis_makogon: if you recreate the trove db I believe you'll need to add your datastore again.16:22
*** PeterSchwaller_ has joined #openstack-trove16:22
denis_makogonglucas, ICBeter looks like not a big deal, thought16:23
denis_makogonICBeter, i'd suggest to save all commands that you're using while playing with Trove, because you'll, probably will use them not even once =)16:24
ICBeterdo I have to replace the ${TROVE_PATH} ?16:24
*** jcru has quit IRC16:25
denis_makogonICBeter, of course =)16:25
*** PeterSchwaller has quit IRC16:25
denis_makogonICBeter, i placed ${TROVE_PATH} because i actually don't tried tesora images, so i don't know where does trove lives there16:26
denis_makogon*didn't16:26
ICBeterok, got a lot of INFO and DEBUG msg... but no ERRORS or so16:26
ICBetertrove list is empty now16:27
denis_makogonICBeter, try 'trove datastore-list'16:28
ICBetererror: argument <subcommand>: invalid choice: u'datastore-list'16:28
denis_makogonICBeter, actually it should work16:29
glucasthat's odd... do you have the most recent trove client?16:29
ICBetertrove help also does not give "datastore-list" as a valid command16:29
denis_makogonICBeter, try 'trove --version'16:29
ICBeter1.0.316:29
denis_makogonICBeter, you have to update client16:29
glucaspip install python-troveclient --upgrade16:29
denis_makogonICBeter, mine version is 1.0.5.5916:29
denis_makogonglucas, when did last version was published ?16:30
denis_makogonICBeter,  latest pypi version is 1.0.5 - is fine for you16:31
ICBeterpip moved trove from /usr/bin/ to /usr/local/bin/ :-)   symlinked it now. Its 1.0.516:33
denis_makogonICBeter, cool16:33
denis_makogonICBeter, try 'trove datastore-list'16:33
ICBeterempty list16:34
denis_makogonICBeter, you need to register datastore and its versions16:34
ICBeterok16:34
denis_makogonICBeter, here's an example https://github.com/openstack/trove-integration/blob/master/scripts/redstack#L316-L32016:35
denis_makogonICBeter, try 'trove user-list <instance_id>'16:36
ICBeterI tried this command from the openstack docu:   su -s /bin/sh -c "trove-manage datastore_update mysql ''" trove16:36
denis_makogonICBeter, ok, it's also fine16:37
denis_makogonICBeter, you need to try 'trove user-list <instance_id>' to find out if API extension path was mentioned correctly16:37
*** PeterSchwaller has joined #openstack-trove16:37
ICBeter| 97350dc5-baf4-4af8-940c-a2d8feefd8f8 | mysql |16:38
ICBeterthe datastore-list16:39
glucasICBeter: just FYI since it is non-standard: the tesora dbaas bin also a util script to add a datastore that will fetch/cache the guest image and configure it in trove16:39
*** PeterSchwaller_ has quit IRC16:40
ICBetersounds good. Do you know the website with the docu for that?16:41
*** boblebauce has quit IRC16:41
glucaslet me find a link.. the add-datastore script is isntalled to the /opt/tesora bin dir. It's running the same trove-manage commands, just a convenience.16:42
denis_makogonICBeter, here some info about Trove in general http://www.mirantis.com/search/Trove16:43
ICBeterok, I try   trove create   again now16:43
ICBeterif it fails, I know how to clean up now ;-)16:44
denis_makogonICBeter, cool =)16:45
denis_makogonICBeter, feel free to ping one of us for any questions =)16:45
denis_makogonICBeter, in which time zone do you live ?16:45
ICBeterUTC +1  (It is 6:45pm now)16:46
denis_makogonICBeter, you're in Eu ?16:46
*** jcru has joined #openstack-trove16:46
ICBeterYes, Austria16:46
denis_makogonICBeter, my timezone UTC +2 (Ukraine)16:46
*** jcru has quit IRC16:47
*** jcru has joined #openstack-trove16:47
*** denis_makogon has quit IRC16:48
*** PeterSchwaller_ has joined #openstack-trove16:52
*** denis_makogon has joined #openstack-trove16:53
denis_makogonICBeter, my timezone is UTC +2 (Ukraine) So ping me while other folk (from US) are sleeping =)16:54
ICBeterOK ;-)16:55
*** PeterSchwaller has quit IRC16:55
ICBeterthanks a lot!16:55
denis_makogonICBeter, np16:55
*** demorris has quit IRC16:56
*** PeterSchwaller has joined #openstack-trove16:59
*** flaper87 is now known as flaper87|afk17:00
*** denis_makogon has quit IRC17:01
*** PeterSchwaller_ has quit IRC17:01
*** amcrn has joined #openstack-trove17:02
*** Longgeek has quit IRC17:05
openstackgerritA change was merged to openstack/trove-integration: Add oslo.messaging to guestagent image  https://review.openstack.org/10528217:05
*** achampion has joined #openstack-trove17:09
*** yidclare has joined #openstack-trove17:11
*** PeterSchwaller_ has joined #openstack-trove17:12
*** PeterSchwaller has quit IRC17:14
*** michael-yu has joined #openstack-trove17:18
*** thedodd has quit IRC17:22
*** PeterSchwaller has joined #openstack-trove17:24
*** PeterSchwaller_ has quit IRC17:26
*** PeterSchwaller_ has joined #openstack-trove17:32
*** michael-yu has quit IRC17:32
*** michael-yu has joined #openstack-trove17:33
*** PeterSchwaller has quit IRC17:34
*** michael-yu has quit IRC17:36
*** PeterSchwaller has joined #openstack-trove17:38
*** jmontemayor has joined #openstack-trove17:40
*** annashen_ has joined #openstack-trove17:40
*** PeterSchwaller_ has quit IRC17:40
*** michael-yu has joined #openstack-trove17:41
*** PeterSchwaller_ has joined #openstack-trove17:45
*** michael-yu has quit IRC17:45
*** PeterSchwaller has quit IRC17:47
*** PeterSchwaller has joined #openstack-trove17:52
*** michael-yu has joined #openstack-trove17:54
*** PeterSchwaller_ has quit IRC17:54
*** ravikumar_hp has joined #openstack-trove17:54
ravikumar_hpSlickNik: Hi Nikhil , Looks like Image is loaded to Devstack . We are able to run Trove in Devstack, but DB instances are going to error state . Hence , we are blocked on test development for Tempest17:57
SlickNikravikumar_hp: Any ideas why the instance is going to error?17:58
*** PeterSchwaller_ has joined #openstack-trove17:58
SlickNikravikumar_hp: Is there a repro somewhere that I can look at? Or can you share the trove logs?17:58
*** ravikumar_hp has quit IRC17:59
*** demorris has joined #openstack-trove17:59
*** PeterSchwaller has quit IRC18:00
*** ravikumar_hp has joined #openstack-trove18:00
ravikumar_hpSlickNik: sounds good. I will send you environment details18:01
SlickNikravikumar_hp: Thanks, sounds good! Will take a look as soon as I can.18:03
*** jcru has quit IRC18:04
*** jcru has joined #openstack-trove18:05
*** PeterSchwaller has joined #openstack-trove18:07
esmuteHi guys, These two patches havent gotten any action in a long time. Can you guys quickly review them https://review.openstack.org/#/c/104370/ and https://review.openstack.org/#/c/102585/?18:09
*** PeterSchwaller_ has quit IRC18:09
*** sgotliv has joined #openstack-trove18:10
*** PeterSchwaller_ has joined #openstack-trove18:15
*** PeterSchwaller has quit IRC18:17
*** demorris has quit IRC18:27
*** Barker has quit IRC18:30
*** Barker has joined #openstack-trove18:30
*** PeterSchwaller has joined #openstack-trove18:37
*** PeterSchwaller_ has quit IRC18:40
*** thedodd has joined #openstack-trove18:41
*** jcru has quit IRC18:43
*** jcru has joined #openstack-trove18:44
*** ViswaV_ has quit IRC18:46
*** PeterSchwaller_ has joined #openstack-trove18:47
*** ViswaV has joined #openstack-trove18:47
*** demorris has joined #openstack-trove18:48
*** PeterSchwaller has quit IRC18:49
*** PeterSchwaller has joined #openstack-trove18:53
*** radez is now known as radez_g0n318:54
openstackgerritSimon Chang proposed a change to openstack/trove: Adjusted audit logging for trove.instance module  https://review.openstack.org/10529418:54
*** julienvey has quit IRC18:54
*** sgotliv has quit IRC18:55
*** PeterSchwaller_ has quit IRC18:55
*** sgotliv has joined #openstack-trove18:56
*** radez_g0n3 is now known as radez18:57
*** PeterSchwaller_ has joined #openstack-trove19:00
*** PeterSchwaller has quit IRC19:02
*** demorris has quit IRC19:03
*** ICBeter has quit IRC19:08
*** PeterSchwaller has joined #openstack-trove19:23
*** juantwo has quit IRC19:24
*** juantwo has joined #openstack-trove19:25
*** PeterSchwaller_ has quit IRC19:26
*** julienvey has joined #openstack-trove19:28
*** ViswaV has quit IRC19:39
*** ViswaV_ has joined #openstack-trove19:39
*** coolsvap is now known as coolsvap|afk19:52
*** PeterSchwaller_ has joined #openstack-trove19:54
*** coolsvap|afk is now known as coolsvap19:55
openstackgerritA change was merged to openstack/trove: Updated from global requirements  https://review.openstack.org/10517519:56
*** PeterSchwaller has quit IRC19:57
*** julienvey has quit IRC19:58
*** coolsvap1 has joined #openstack-trove19:58
*** coolsvap is now known as coolsvap|afk19:58
*** demorris has joined #openstack-trove19:59
*** coolsvap1 has quit IRC20:00
*** PeterSchwaller has joined #openstack-trove20:02
*** tvoran has quit IRC20:04
*** jcru has quit IRC20:04
*** PeterSchwaller_ has quit IRC20:04
*** radez is now known as radez_g0n320:07
*** Barker has quit IRC20:08
*** Barker has joined #openstack-trove20:09
*** tvoran has joined #openstack-trove20:09
*** thedodd has quit IRC20:10
*** PeterSchwaller_ has joined #openstack-trove20:10
*** jcru has joined #openstack-trove20:10
*** PeterSchwaller has quit IRC20:12
mat-lowerynova_proxy_admin_* appears in trove-guestagent.conf.sample and is used in conductor.heartbeat and conductor.update_backup. But in the conductor manager, that context is ignored. I don't dispute some future need for some context here. But why is nova_proxy_admin_* used as the context? Why not the regular Trove user context?20:13
SlickNikmat-lowery: I was noticing the same thing the other day, and I think it's a bug.20:15
*** fifieldt has quit IRC20:15
SlickNikmat-lowery: Things seem to work even with bogus values for those configs in the guest-agent.20:15
mat-loweryOK, I will log that. Thanks.20:16
mat-loweryI think trove_auth_url in guestagent.conf is also unnecessary.20:16
mat-loweryBut the fix can go one of two ways.20:16
*** thedodd has joined #openstack-trove20:16
*** PeterSchwaller has joined #openstack-trove20:16
mat-loweryWe don't pass trove_auth_url to Swift, the only client used by the guest. So we either pass it to swiftclient or take it out of the conf.20:16
mat-loweryswiftclient will never use trove_auth_url except in the case of an expired token20:17
mat-lowerythat's my understanding20:17
mat-loweryto be clear, swiftclient will only ever use auth_url on expired token if it was given preauthurl and preauthtoken. But we never give it auth_url in the first place.20:18
*** PeterSchwaller_ has quit IRC20:19
mat-lowerySlickNik: ^ Funny that you mention bogus values. I did the same for trove_auth_url and it ran a backup just fine.20:19
SlickNikmat-lowery: I haven't looked at that value specifically - but you're likely correct about it.20:20
SlickNikmat-lowery: Also, the reason that I mentioned that is because trove in devstack today puts in bogus values for them in the config.20:21
mat-loweryNova and cinder clients are passed auth_url (which they also never use except in the case of expiration). I assume for consistency, that the fix is to supply swiftclient with auth_url?20:21
mat-lowerySlickNik: Gotcha.20:21
SlickNikmat-lowery: btw, I don't think trove_auth_url was meant to be passed to the swift-client.20:22
mat-lowerySlickNik: It isn't today. Just wondering if the fix is to take it out of trove-guestagent.conf.sample or actually use it.20:23
SlickNikmat-lowery: It's probably a copy-pasta bug. Looks to me like the sample guest-agent config was copied / based off of a taskmanager / api config, and those values existed there.20:23
SlickNikmat-lowery: Was noticing that there are other values in there that don't make sense for the guest-agent (bind-host / port comes to mind)20:24
mat-loweryOK. I still think that for consistency's sake that we either take trove_auth_url out of all of the clients (which would remove it EVERYWHERE) or actually pass it to swiftclient.20:25
*** yidclare has quit IRC20:25
*** PeterSchwaller_ has joined #openstack-trove20:25
SlickNikmat-lowery: Btw, I started looking into cleaning up the sample.conf.  https://review.openstack.org/#/c/104062/320:26
SlickNikmat-lowery: Yes, we should take it out.20:26
mat-lowerySlickNik: Let me restate my understanding: Assuming no token expirations, trove_auth_url is not necessary. (Of course the keystoneclient middleware in api-paste.ini needs the endpoint for authentication.)20:26
mat-lowerySlickNik: So what about token expirations?20:27
*** PeterSchwaller has quit IRC20:27
*** fifieldt has joined #openstack-trove20:28
mat-lowerySlickNik: Regarding nova_proxy_admin_*, do you want me to tack that on to https://bugs.launchpad.net/trove/+bug/1336618 or create a separate bug?20:29
*** denis_makogon has joined #openstack-trove20:30
SlickNikmat-lowery: I don't think we handle token expirations for swift today. I was suggesting that we remove trove_auth_url it from the guest-agent sample conf since it's not  used. Not sure I completely understand what you mean by remove it "everywhere".20:31
mat-loweryThe token expiration (if I'm reading it correctly) is transparently retried in the client. But it can only retry if you give it the keystone endpoint (which we do not today).20:32
mat-loweryAll clients have similar "transparent retry on expired" logic.20:32
SlickNikdon't you need to give it credentials too, in that case?20:32
mat-lowerySo to me, to be consistent, the answer is to pass auth_url to swiftclient20:32
mat-loweryha. good point20:33
mat-loweryLet me keep looking.20:33
SlickNikAnd we don't keep/pass any user credentials.20:33
*** boden has quit IRC20:35
mat-lowerySlickNik: Nice. So then where (I can't find any) is trove_auth_url needed?20:36
SlickNikAlso I can tackle the cleanup of nova_proxy_admin_* from the guestagent-conf as part of https://bugs.launchpad.net/trove/+bug/1336618, Probably prudent to have a separate bug to handle switching out the contexts on the guest-agent, though.20:37
*** yidclare has joined #openstack-trove20:37
denis_makogonamcrn, ping20:38
amcrndenis_makogon: pong20:39
amcrnhey, how's it going denis :)20:39
denis_makogonamcrn, totally fine, can we talk about cassandra backup/restore thing?20:39
amcrnsure, what's up20:39
denis_makogonamcrn, here's the link you asked for http://www.datastax.com/documentation/cql/3.0/cql/cql_using/use_query_system_c.html20:40
mat-lowerySlickNik: Can the edited guestagent-conf merge before the context swap? Or will it blow up?20:40
amcrndenis_makogon: so that describes what the system schema is, i was specifically asking for blogs/lit suggesting that it should be backed up and restored20:40
denis_makogonamcrn, this is a partial answer20:41
amcrnall the literature i can find only suggests that you backup the specific user keyspaces20:41
mat-loweryMay be better to keep them together: both remove it from guestagent-conf and context swap all in one bug20:41
SlickNikmat-lowery: I'm not 100% sure where/how else it gets used. Will need to dig a bit more to figure that out.20:42
denis_makogonamcrn, also i talked with cassandra devs at #cassandra and #cassandra-dev, and they told the same, system keyspace contains indexes that are built for existing keyspaces to simplify quering etc. Rebuilding indexes will take time, according to cassandra devs - rebuilding time has linear dependency against size of user-defined keyspaces20:42
mat-loweryOK. Let me know about context swap bug and I'll be done with the questions.20:42
mat-lowerySlickNik: ^20:42
amcrndenis_makogon: can you copy/paste the logs where they suggest that it should be backed up and restored?20:43
denis_makogonamcrn, you can now join #cassandra and i'm having convo again with other decs20:44
denis_makogon*devs20:44
amcrnsure20:44
SlickNikmat-lowery: It might be cleaner to do it as two separate changes i.e. conf cleanup and then code changes to switch the contexts (since we don't require an admin context in the conductor).20:47
SlickNikmat-lowery: Questions are good. I'm trying to find out when/how the trove_auth_url flag got introduced.  :)20:47
mat-lowerySlickNik: OK. Will file bug regarding context swap. Just want to test if the absence of any value will not cause an exception (not sure how missing confs work). Also will test with no trove_auth_url at all now.20:48
mat-loweryactually I guess I need to set it to bogus value since it has a default20:49
denis_makogonamcrn, so, the answers is "it depends on user knowledge about data schemes"20:50
denis_makogonamcrn, in this case i wouldn't suggest to relay to user knowlegde, and do the best20:51
mat-lowerySlickNik: nova_proxy_admin_* have defaults too. Missed that. OK, I will add a comment on your bug about nova_proxy_admin_* and create new ticket to stop using the opt in the first place and remove it from cfg.py. Cool?20:51
mat-loweryOops. Can't remove from cfg.py. nm on that part.20:52
openstackgerritA change was merged to openstack/python-troveclient: Add CONTRIBUTING.rst  https://review.openstack.org/10378220:52
*** michael-yu has quit IRC20:53
*** demorris has quit IRC20:56
*** achampion has quit IRC20:56
SlickNikmat-lowery: Sounds good. And as you probably found out taskmanager uses those options (for notifications), so we can't remove them from cfg.py. Thanks!20:57
mat-lowerySlickNik: Yeah realized that after I said it. :)20:57
*** michael-yu has joined #openstack-trove21:00
*** juantwo has quit IRC21:01
*** michael-yu has quit IRC21:01
*** michael-yu has joined #openstack-trove21:01
mat-lowerySlickNik: I think I realized why a separate context is used. The heartbeat is a periodic task which is not attached to any specific user request. Doh!21:04
mat-loweryEven if a separate context is needed, I'm not sure (1) why it's nova and (2) why it's admin.21:05
mat-loweryThen again, like I said, the context isn't consulted on the receiving end.21:06
*** demorris has joined #openstack-trove21:07
SlickNikmat-lowery: That makes sense. So in that case, I think we should still keep the context, but remove the requirement that it being a nova admin context.21:13
mat-lowerySlickNik: Is it valid to set context to {} in that case?21:14
SlickNikmat-lowery: that way we wouldn't have to mess with the RPC API signature.21:15
mat-loweryOtherwise, from where would you get anything to put in it?21:15
SlickNikmat-lowery: If the conductor end is not using it for anything, I don't see why not.21:15
mat-lowerySlickNik: Will note that in the bug. Thanks!21:15
*** ravikumar_hp has quit IRC21:20
*** ravikumar_hp has joined #openstack-trove21:20
*** michael-yu has quit IRC21:32
amcrnfor those following along on the cassandra backup/restore patch, see https://review.openstack.org/#/c/77551/24/trove/guestagent/strategies/backup/cassandra_impl.py, specifically the "per a conversation with" comment.21:34
amcrn(amrith in particular)21:35
*** michael-yu has joined #openstack-trove21:42
*** tvoran has quit IRC21:44
*** sgotliv has quit IRC21:48
*** juantwo has joined #openstack-trove21:49
amrithamcrn, I am PISSED that I didn't think of that21:50
amrith;)21:50
amrithamcrn ^^21:51
*** ViswaV has joined #openstack-trove21:52
*** ViswaV_ has quit IRC21:55
*** ViswaV_ has joined #openstack-trove21:58
*** denis_makogon has quit IRC21:58
*** PeterSchwaller has joined #openstack-trove22:00
*** ViswaV has quit IRC22:01
*** PeterSchwaller_ has quit IRC22:02
*** Barker has quit IRC22:04
*** tvoran has joined #openstack-trove22:10
*** tvoran_ has joined #openstack-trove22:10
*** tvoran has quit IRC22:10
*** juantwo has quit IRC22:11
*** juantwo has joined #openstack-trove22:12
*** demorris has quit IRC22:13
*** PeterSchwaller_ has joined #openstack-trove22:15
*** PeterSchwaller has quit IRC22:17
*** ICBeter has joined #openstack-trove22:18
*** robertmyers has quit IRC22:23
*** PeterSchwaller has joined #openstack-trove22:23
*** PeterSchwaller_ has quit IRC22:25
*** PeterSchwaller_ has joined #openstack-trove22:36
*** thedodd has quit IRC22:36
*** PeterSchwaller has quit IRC22:38
*** jcru has quit IRC22:42
*** PeterSchwaller has joined #openstack-trove22:42
*** PeterSchwaller_ has quit IRC22:44
*** annashen_ has quit IRC22:56
*** esp has left #openstack-trove22:58
*** PeterSchwaller_ has joined #openstack-trove23:00
*** PeterSchwaller has quit IRC23:02
*** ICBeter has quit IRC23:03
*** PeterSchwaller has joined #openstack-trove23:07
*** achampion has joined #openstack-trove23:08
*** PeterSchwaller_ has quit IRC23:10
*** mattgriffin has quit IRC23:14
*** PeterSchwaller_ has joined #openstack-trove23:15
*** PeterSchwaller has quit IRC23:18
*** tvoran_ has quit IRC23:18
*** PeterSchwaller has joined #openstack-trove23:21
*** PeterSchwaller_ has quit IRC23:24
*** jmontemayor has quit IRC23:27
*** ravikumar_hp has quit IRC23:27
*** PeterSchwaller_ has joined #openstack-trove23:28
*** PeterSchwaller has quit IRC23:30
*** PeterSchwaller has joined #openstack-trove23:40
*** grapex has quit IRC23:41
*** PeterSchwaller_ has quit IRC23:43
openstackgerritSuthan Venkataramanaiah proposed a change to openstack/trove: Add instance IP to /instances  https://review.openstack.org/10563223:45
*** PeterSchwaller_ has joined #openstack-trove23:45
*** PeterSchwaller has quit IRC23:48
*** PeterSchwaller has joined #openstack-trove23:52
openstackgerritSuthan Venkataramanaiah proposed a change to openstack/trove: Add instance IP to /instances  https://review.openstack.org/10563223:53
*** PeterSchwaller_ has quit IRC23:54
*** PeterSchwaller_ has joined #openstack-trove23:59

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