Thursday, 2017-05-11

*** dixiaoli has joined #openstack-karbor00:47
*** dixiaoli has quit IRC00:48
*** dixiaoli has joined #openstack-karbor00:49
*** liujiong has joined #openstack-karbor01:26
*** edisonxiang has quit IRC01:55
*** yinwei has quit IRC02:14
*** yinwei has joined #openstack-karbor02:15
*** x00350071 has joined #openstack-karbor02:23
*** x00350071 is now known as edisonxiang02:23
*** yamamoto has joined #openstack-karbor02:29
openstackgerritchenying proposed openstack/karbor master: Generic database Bank: Database tables and modules definition  https://review.openstack.org/43825902:59
openstackgerritchenying proposed openstack/karbor master: Generic database Bank: Database tables and modules definition  https://review.openstack.org/43825904:44
*** Roarermeadow has joined #openstack-karbor04:57
*** Roarermeadow has quit IRC04:58
*** dixiaoli_ has joined #openstack-karbor06:42
*** dixiaoli has quit IRC06:45
yuvalhey yinwei06:50
*** dixiaoli_ has quit IRC06:50
*** dixiaoli has joined #openstack-karbor06:51
openstackgerritchenying proposed openstack/karbor master: Generic database Bank: plugin implementation  https://review.openstack.org/43826706:56
chenying_yuval yinwei is on a convention now.06:57
yuvalchenying_: lol06:57
*** jiaopengju has joined #openstack-karbor07:04
chenying_ping yuval jiaopengju  Are you free now? can we continue the discussion about file backup in karbor?07:14
yuvalchenying_: yes07:14
jiaopengjuyes07:15
chenying_IMO we can first discuss the solution without agent first? what's your oppion about it?07:16
jiaopengjuok07:16
yuvaljiaopengju: first, would you mind describing your deployment?07:16
jiaopengjuMy deployment? is it means the way we use openstack?07:18
yuvaljiaopengju: yes, and how do backup and restore fit in07:19
chenying_yuval Do you want to now the use case about file backup in jiaopengju's cloud?07:22
chenying_S/now/know07:23
yuvalchenying_: yes07:23
jiaopengjuCurrently,  we have some public cloud and private cloud openstack environment . We use cinder-backup to backup the volumes ,  nova snapshot and some ohter steps to backup nova instance, and at the same time, use xtrabackup to backup the RD. All the backup client(where the backup request be sentted from) is management platform07:24
jiaopengjuWe backup files in physical machine and vms with using swift client or some othe shell scripts.07:25
yuvaljiaopengju: thanks07:27
yuvaljiaopengju: regarding the agent vs agentless discussion07:27
jiaopengjuNow we want to unify all the backups in our openstack environment, and at the same time, provides a user define backup feature.07:27
yuvaljiaopengju: I guess that agent-based solution is more problematic for you in public cloud07:28
chenying_So you want to use karbor as uniform  management platform to meet the use case about volume/nova Instance/database/file at the same time?07:28
jiaopengjuchenying_: Yes07:28
yuvaljiaopengju: you use xtrabackup to back up what?07:29
jiaopengjuRelational Database07:29
jiaopengjue.g.: MySQL07:29
yuvaljiaopengju: right07:29
yuvaljiaopengju: and what are you using right now for file back up?07:30
jiaopengjuthe database is in users' vm, which boot from a special image07:30
chenying_execute scripts or cmd in vm to backup files right now ?07:31
jiaopengjuwrite some shell scripts07:31
jiaopengjuyes07:31
yuvaljiaopengju: in public cloud as well?07:31
chenying_using swift client to backup.07:31
chenying_using swift client to upload the files want to backup/07:31
jiaopengjuin public, now we do not have the file backup feature07:32
jiaopengjuBut we provide some ways for users to backup their files in vm to our object storage(ceph s3)07:32
yuvaljiaopengju: in my opinion, agent based solution fits for private cloud scenario, and for public cloud where custom image is an option07:34
yuvaljiaopengju: you said that you disable ssh in your machines. Is that in public cloud as well, or do you let users define their own security groups?07:35
jiaopengjuYou mean the image which contains backup agent?07:35
yuvaljiaopengju: yes07:35
chenying_IMO backup file with karbor, with or without agent to backup file are all the solutions about file backup plugins. karbor protect service/framework don't need care about this. The agent is a part of file bakcup plugin solution.07:35
yuvalchenying_: I totally agree. If you have a plugin for agent-based protection and agentless protection, you could have some composite plugin to try the agent based and fallback to agentless07:37
jiaopengjuIn our public cloud, users can have different security groups, but not define by themselves07:37
yuvalchenying_: I think the question is about the protection plugins themselves07:41
jiaopengju"Disable ssh in our machines", we do this in some of our private cloud, the machines are the nodes in openstack environment.07:41
yuvaljiaopengju: the compute nodes or the guest VMs?07:43
jiaopengjuwe forbid the users or engineers login directly.07:43
jiaopengjuno, it's physical server.07:44
jiaopengjuthe compute nodes07:45
yuvaljiaopengju: good07:45
chenying_jiaobengju  the telnet/user want to backup files in the vms? Do we only consider this use case? Do we need conisder admin backup the files in nova's compute nodes?07:48
jiaopengjuyes, just consider the backup files in vms.07:49
yuvaljiaopengju: scp and more probably rsync seems like a good solution to that07:53
chenying_don't need conisder the agent. I think it is a good way.07:54
jiaopengjuyou mean copy the files to karbor node through scp or rsync, and then upload them to swift ?07:55
chenying_yuval: Does it mean that rsync first, then scp the files to karbor protection node, and then compress them to a zip file, and then backup the zip file to bank (swift, ceph S3)07:56
jiaopengjuchenying_: good explanation07:57
chenying_yuval: lots of data from vm need be transfer to karbor's node, maybe it is a problom.07:57
yuvalchenying_: no real need to do that. The problem was already solved by things like:07:58
yuvalhttps://github.com/ncw/rclone07:58
yuvalhttp://duplicity.nongnu.org/07:58
chenying_Does it means that the tool rclone need be installed in user's vm?08:02
jiaopengjuit menas we can use it to transfer the data in vms to swift directly?08:05
yuvalchenying_: I'm not very familiar with rclone yet08:05
chenying_How to solve the problom about transfering the data in vm to karbor's node using rclone or duplicity?08:05
yuvalchenying_: we could use rclone to sync two remotes: the vm and the cloud storage, but it the data path goes through the karbor node08:07
yuval /but it the/but the/08:08
yuvals/but it the/but the/08:08
yuvalnot very efficient, but so are most methods for backing up files from vms08:09
chenying_jiaopengju  what's your oppion about it?08:09
jiaopengjuWhen using reclone or duplicity, how we do stat?08:10
chenying_yuval  if the files in vm can be sync to bank(swift ceph) directly using rclone, it a good way.08:11
yuvalchenying_: only if rclone is in the guest08:12
chenying_There may be a simple way, if the swift/ceph client in vm, we also can backup the files in vm to bank(swift ceph) directly.08:13
yuvaljiaopengju: I might have to say this. While file backup has it uses, I'm trying to think of a case where it fits into an 'application data protection' which is Karbor domain. Most cloud applications these days use a prebuilt image, volume for application-only persistent data, and the rest is ephemeral08:14
jiaopengjuOur relational database is in a prebuilt iamge.08:16
chenying_As freezer did, database backup in freezer just to backup the file or directory about mysql to starage.08:17
jiaopengjuI know what you mean now08:17
chenying_jiaopengju  Install a tool like rclone to vm, do you think it is acceptable?08:19
jiaopengjuyes08:19
jiaopengjuor we can make an special image which contains the tool08:20
chenying_OK we may need do a research about the tool like rlcone. Use it to backup files in plugin.08:22
chenying_Rclone is a command line program to sync files and directories to and from lots of local/cloud storage.08:23
yuvalchenying_: afaik, freezer is not backing up mysql, it gives existing backups mysql application level consistency08:24
yuvalchenying_: for the actual backup it is guest based solution08:24
chenying_yuval  I agree, freezer is not actual backup about mysql.08:27
jiaopengjuyuval: I'm not particularly understanding about "application level consistency"08:32
yuvaljiaopengju: application level consistency in this case: tell mysql to flush tables to disk, so files will not contain half applied transactions08:34
jiaopengjuyuval: thanks for your explanation.08:36
yuvaljiaopengju: you can see: https://dev.mysql.com/doc/refman/5.7/en/replication-features-transaction-inconsistencies.html08:36
jiaopengjusnapshot may be system level?08:36
jiaopengjuthanks08:37
openstackgerritchenying proposed openstack/karbor master: Add database_bank fullstack  https://review.openstack.org/45208508:57
openstackgerritchenying proposed openstack/karbor master: Fix fullstack error about one test  https://review.openstack.org/46373108:59
openstackgerritchenying proposed openstack/karbor master: Add database_bank fullstack  https://review.openstack.org/45208509:05
*** jiaopengju has quit IRC09:22
*** yamamoto has quit IRC10:05
*** liujiong has quit IRC10:28
*** yamamoto has joined #openstack-karbor10:32
*** yamamoto has quit IRC11:29
*** dixiaoli has quit IRC11:35
openstackgerritMerged openstack/karbor master: Trivial fix typos in documents  https://review.openstack.org/46363411:54
*** yamamoto has joined #openstack-karbor12:29
*** yamamoto has quit IRC12:39
*** x00350071_ has joined #openstack-karbor12:40
*** edisonxiang has quit IRC12:40
*** yamamoto has joined #openstack-karbor12:45
*** yamamoto has quit IRC12:47
*** yamamoto has joined #openstack-karbor13:04
*** tommylikehu has quit IRC13:44
*** tommylikehu has joined #openstack-karbor13:44
*** gouthamr has joined #openstack-karbor14:15
*** gouthamr has quit IRC14:34
*** gouthamr has joined #openstack-karbor14:48
*** zhonghua2 has quit IRC15:24
*** gouthamr has quit IRC16:12
*** yamamoto has quit IRC16:13
*** yamamoto has joined #openstack-karbor16:14
*** dixiaoli has joined #openstack-karbor18:27
*** yinwei has quit IRC20:53
*** yinwei has joined #openstack-karbor20:54
*** dixiaoli has quit IRC23:17
*** gouthamr has joined #openstack-karbor23:39

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