Thursday, 2016-09-01

*** yizhihui has joined #openstack-smaug00:27
*** yizhihui has quit IRC00:35
*** zhurong has joined #openstack-smaug00:36
*** yizhihui has joined #openstack-smaug00:40
*** LiChunyu has joined #openstack-smaug00:58
*** mingyu has joined #openstack-smaug01:18
*** yamamoto_ has joined #openstack-smaug02:14
*** gouthamr has quit IRC02:49
*** yamamoto_ has quit IRC04:23
*** yinwei_computer has quit IRC04:35
*** yamamoto_ has joined #openstack-smaug04:39
*** yinwei_computer has joined #openstack-smaug04:47
*** yamamoto_ has quit IRC04:49
*** yamamoto_ has joined #openstack-smaug05:34
*** wanghao_ has joined #openstack-smaug05:43
*** mingyu has quit IRC05:57
*** yinwei_lab has joined #openstack-smaug06:15
*** sparkyee has joined #openstack-smaug06:18
*** yuval has joined #openstack-smaug06:21
*** yizhihui has quit IRC06:22
*** yinwei_lab has quit IRC06:40
*** yinwei_lab has joined #openstack-smaug06:49
*** oshidoshi has joined #openstack-smaug06:55
openstackgerritchenying proposed openstack/python-smaugclient: Add metadata parameter to checkpoint API  https://review.openstack.org/35329407:00
*** mingyu has joined #openstack-smaug07:03
*** mingyu has quit IRC07:04
*** mingyu has joined #openstack-smaug07:05
chenying_yuval: I plan to write a spec about database bank plugins. I have a question. Where do we save the checkpoint metadata?  save these metadata to the same database smaug? Or we need define a new database instance for checkpoint metadata?07:14
chenying_yuval: What's you oppion about it?07:14
chenying_yuval:S/smaug/karbor07:14
yuvalchenying_: hey, one second :)07:20
yuvalchenying_: you speak about split the bank api to metadata api and data api?07:24
yuvalchenying_: ?07:36
chenying_yuval:I am not sure that whether need to split the bank api to metadata api and data api.  I speak this scene: admin only use bank to save checkpoint metadata, don't use bank as their backup copy back-end.07:39
chenying_yuval: yinwei suggest that we could  split the bank api to metadata api and data api. yinwei_lab yinwei_computer07:40
yinwei_labhi07:41
yuvalhey yinwei_lab !07:41
yinwei_labper our discussion with yuval and saggi07:41
yinwei_labhey, yuval!07:41
yuval:)07:41
yinwei_labsaggi prefers not split the interfaces07:41
chenying_hi07:42
yinwei_laband he thought a basic db based bank could cover 99% sql based database07:42
yinwei_labif you have irc history, could confirm it07:42
yuvalyinwei_lab: I'm on history looking for it07:43
yinwei_labyuval, thanks07:43
yinwei_labsaggi's argument is that no matter whether user wants db based bank data capability or not, we just provide it to them.  So he thought it's not necessary to split the bank interface07:45
yinwei_labchenying, you want to propose a rst about the db based bank implementation and elaborate mainstream sql based db is compatible with it?07:46
yinwei_labchengying_07:46
yuvalchenying_: with blobs?07:46
yinwei_labI guess so07:46
yinwei_labwith blobs to support data persistence07:47
chenying_Yes07:47
yinwei_labchenying_: you want to propose a rst about the db based bank implementation and elaborate mainstream sql based db is compatible with it?07:47
chenying_ a basic db based bank could cover 99% sql based database.  I think we could introduce the bank_database data base instance like database 'karbor' in project.07:48
yinwei_labyes07:48
chenying_we could add a new config endpoint in karbor.conf [bank_database]07:48
chenying_connection = mysql+pymysql://root:stackdb@10.229.50.225/smaug?charset=utf807:48
chenying_we could use the same database framework.07:49
yinwei_labthe connection part should be db specific, right?07:49
chenying_yes07:49
chenying_connection = mysql+pymysql://root:stackdb@10.229.50.225/bank_metadata?charset=utf807:49
yinwei_labthe base db class should not show mysql, right?07:49
yinwei_lab:)07:49
yuvaldatabase based bank could be non-sql database as well07:50
openstackgerritgengchc2 proposed openstack/smaug: Replace assertDictEqual() with assertEqual() For smaug  https://review.openstack.org/36411907:50
yinwei_labnon-sql means kv based?07:50
yuvaldocument store (i.e mongodb)07:50
yinwei_labthen we could abstract the swift based bank to a no-sql base bank class07:50
yuvalswift is not nosql07:51
yuvalswift is an object storage07:51
yinwei_labdifference is?07:51
chenying_we allow admin config database instance bank_metadata in the same place with 'karbor' database instance. I think it is ok.  deploy a new database system is optional.07:51
yinwei_labI used to take no-sql to kv storage07:51
yinwei_labchenying_, pls. go ahead to propose the rst. so we can get better about your idea07:53
yuvalyinwei_lab: https://en.wikipedia.org/wiki/NoSQL#Types_and_examples_of_NoSQL_databases07:53
yuvalyinwei_lab: can be a document store, kv, etc07:53
chenying_Now we haven't think about   no-sql database. because the requirement is only use relationship database.07:53
yuvalchenying_: if I understand your original question right, it should be separate configurable database07:55
chenying_I think the solution about  no-sql/K-v database don't have any  difference with swift.07:55
yuvalchenying_: indexing07:55
chenying_Swift is olso a storage about k-v.07:56
yinwei_labthrough wiki, no-sql means not only sql. and including data structures beyond kv07:57
yuvalchenying_: consider mongodb07:57
yinwei_labThe data structures used by NoSQL databases (e.g. key-value, wide column, graph, or document) are different from those used by default in relational databases, making some operations faster in NoSQL.07:57
yinwei_lab:)07:57
yinwei_labsince most no sql doesn't support acid, I always took kv as no sql07:58
yinwei_labthen it seems hard to support no sql in one base class :)07:58
yinwei_labhow about a base bank class about kv storage07:58
yinwei_labthen at least we could cover swift/s307:59
chenying_ it should be separate configurable database. Yes, but we also can use karbor database instance to save checkpoint metadata.07:59
yinwei_labyes, could make it to save cp as well.  It only means the instance of bank db is the same with API layer db.  Just a special config.08:00
yinwei_labguys, how about the feature: cross openstack data protection?08:02
yuvalyinwei_lab: well?08:02
yinwei_labshall we arrange a meeting on IRC to discuss this feature?08:02
yinwei_labyuval, I mean deploy two/N smaugs across separate openstack sites08:03
yinwei_labit seems we need solve the tenant mapping or unified authentication08:03
yuvalyinwei_lab: yes, I understand. What exactly do you want to discuss?08:03
yinwei_labnot sure if there's any other issues08:03
yinwei_labhmm, to identify the issues and solutions08:03
yuvaltenant mapping?08:04
yinwei_labtwo separate openstack08:04
yinwei_labone tenant protect from openstackA and tries to restore in openstackB08:04
chenying_yinwei_lab: The scene that I want to solve is that : user don't want introduce a new storage as bank back-end. They use karbor one single site. They think checkpoint metadata is just local data like plan resource in karbor database. They also don't use bank as their backup back-end. It is not necessary for them to deploy a new storage (database / swift ..) to save checkpoint metadata.08:05
yinwei_labhow to enable the two tenants in two openstacks to manipulate the common resources?08:05
yuvalyinwei_lab: once tenant from site A created a checkpoint in the bank, it is visible and restoreable for any openstack site configured using the same provider08:06
yuvalyinwei_lab: the checkpoint is not 'tagged' with the tenant who created it08:06
yinwei_labthen how to solve the tenant isolation?08:06
yuvalyinwei_lab: restore should be done on the openstack site doing the actual restore08:07
yinwei_labI thought it's a bug that we didn't divide checkpoints with tenants08:07
yuvalyinwei_lab: I see your point08:07
yinwei_labyes, we should consider the security issue08:07
yuvalyinwei_lab: this issue affects single site as well08:08
yinwei_labchenying_, I understand your point.  Pls. go ahead to propose the rst.08:09
yinwei_labyuval: why single site has this issue?08:09
yinwei_labthe tenant should always be able to access his own resources08:09
yuvalyinwei_lab: tenant A creates a checkpoint, tenant B can 'see' the checkpoint tenant A has created and restore it08:10
chenying_Why do we introduce bank concept? We think it the scene cross-site restoration, we need a independent storage to save checkpoint metadata(backup record). So we need consider the scene that user only use the api and plug-in mechanism of karbor. They may don't use our cross-site restoration solution.08:11
yuvalchenying_: bank is an abstraction, first and foremost08:13
yuvalchenying_: it is crucial for cross site08:13
yinwei_labyuval, that's a bug08:13
yinwei_labwhich I used to check with chenying_08:13
yinwei_lab:)08:13
yinwei_labwe should fire a bug and fix it08:13
yuvalchenying_: however, even single site need that abstraction. bank can be swift, hybrid of s3+swift, filesystem, whatever08:14
*** mingyu has quit IRC08:14
yinwei_labchenying_:what's your point?08:14
yinwei_labcross site is an invalid case?08:14
yuvalchenying_: and having different bank plugins for different providers for single site is great too08:15
chenying_yuval: having different bank plugins for different providers for single site.  yes08:16
*** wuqingyong has joined #openstack-smaug08:16
chenying_yuval: however, even single site need that abstraction. bank can be swift, hybrid of s3+swift, filesystem, whatever ----because bank is not only used for saving checkpoint metadata, is also for save backup copy. But if in one single site, user have their backup back-end, they only need a place to save backup record. They don't need introduce a new storage system like swift, hybrid of s3+swift, filesystem.08:21
chenying_in our early design, checkpoint metadata is just a database table back_transation in karbor. we abstract the concept bank including the back_transation record.08:26
*** LiChunyu has quit IRC08:58
*** LiChunyu has joined #openstack-smaug09:02
*** yinwei_lab has quit IRC09:06
*** yinwei_lab has joined #openstack-smaug09:12
*** mingyu has joined #openstack-smaug09:30
*** mingyu has quit IRC09:34
*** mingyu has joined #openstack-smaug09:39
*** mingyu has quit IRC09:57
*** mingyu has joined #openstack-smaug09:58
*** yinwei_lab has quit IRC09:59
*** yamamoto_ has quit IRC10:02
*** zhurong has quit IRC10:03
*** yinwei_lab has joined #openstack-smaug10:25
*** LiChunyu has quit IRC10:25
wuqingyonghi, now I do 'karbor protectable-list-instances OS::Application::Database',  how can I pass the type of oracle?10:39
wuqingyongcould I use 'karbor protectable-list-instances OS::Application::Database --type oracle' ?10:40
yuvalwuqingyong: currently we do not have OS::Application::Database protectable10:43
*** yamamoto has joined #openstack-smaug10:43
wuqingyongyuval:We're doing the protect application.10:45
yuvalwuqingyong: you should write a new "protectable plugin"10:46
wuqingyongyuval: yes10:46
wuqingyongyou see 'https://etherpad.openstack.org/p/wuqingyong'10:46
*** yamamoto has quit IRC10:52
*** yamamoto has joined #openstack-smaug11:00
yuvalwuqingyong: seems like type is a bit confusing11:12
yuvalwuqingyong: why have you named your database "OS::Application::Database"?11:14
wuqingyongyuval: we want to protect the application11:23
wuqingyongsuch as oracle,sybase,db2...11:23
yuvalwuqingyong: and you want one protectable for all of them? why not one protectable for each?11:24
wuqingyongyuval: thank you very much11:26
*** LiChunyu has joined #openstack-smaug11:31
*** LiChunyu has quit IRC11:40
*** mingyu has quit IRC12:09
*** yamamoto has quit IRC12:11
*** yamamoto has joined #openstack-smaug12:13
*** mingyu has joined #openstack-smaug12:13
*** yamamoto has quit IRC12:16
*** yinwei_lab has quit IRC12:22
*** yamamoto has joined #openstack-smaug12:26
*** wuqingyong has quit IRC12:30
*** zhurong has joined #openstack-smaug12:34
*** mingyu has quit IRC12:38
*** gouthamr has joined #openstack-smaug12:51
*** yamamoto has quit IRC12:57
*** oshidoshi has quit IRC13:04
*** yamamoto has joined #openstack-smaug13:26
*** yamamoto has quit IRC13:27
*** yamamoto has joined #openstack-smaug13:30
*** yamamoto has quit IRC13:32
*** yamamoto has joined #openstack-smaug13:33
*** yamamoto has quit IRC13:34
*** yamamoto has joined #openstack-smaug13:34
*** yamamoto has quit IRC13:34
*** openstackgerrit has quit IRC13:49
*** openstackgerrit has joined #openstack-smaug13:49
*** yuval has quit IRC13:56
*** yamamoto has joined #openstack-smaug14:00
*** mingyu has joined #openstack-smaug14:17
*** yizhihui has joined #openstack-smaug14:18
*** sparkyee has quit IRC14:20
*** zhurong has quit IRC14:58
*** oshidoshi has joined #openstack-smaug15:03
*** yamamoto has quit IRC15:10
*** oshidoshi has quit IRC15:46
*** oshidoshi has joined #openstack-smaug15:46
*** oshidoshi has quit IRC15:50
*** yamamoto has joined #openstack-smaug16:11
*** yamamoto has quit IRC16:15
*** yamamoto has joined #openstack-smaug16:46
*** yamamoto has quit IRC16:50
*** wanghao_ has quit IRC17:00
*** openstackgerrit has quit IRC18:18
*** openstackgerrit has joined #openstack-smaug18:18
*** mingyu has quit IRC19:18
*** mingyu has joined #openstack-smaug20:18
*** mingyu has quit IRC20:23
*** gouthamr has quit IRC20:34
*** gouthamr has joined #openstack-smaug21:32
*** mingyu has joined #openstack-smaug21:40
*** gouthamr_ has joined #openstack-smaug21:44
*** mingyu has quit IRC21:45
*** gouthamr has quit IRC21:47
*** mingyu has joined #openstack-smaug22:25
*** gouthamr_ has quit IRC22:53
*** gouthamr has joined #openstack-smaug23:10
*** gouthamr_ has joined #openstack-smaug23:14
*** gouthamr has quit IRC23:14
*** zhurong has joined #openstack-smaug23:48
*** zhurong has quit IRC23:59

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