Wednesday, 2015-12-09

*** openstack has joined #openstack-smaug00:52
*** chenzeng has quit IRC01:15
*** c00281451_ has joined #openstack-smaug01:16
*** gampel has joined #openstack-smaug06:57
openstackgerritMerged openstack/smaug: basic API service  https://review.openstack.org/24744007:12
*** yinweiishere has joined #openstack-smaug07:30
x00350071welcome yinwei07:33
*** x00350071 is now known as edison07:33
chenying_welcome.07:33
yinweiisherethanks!07:34
openstackgerritEran Gampel proposed openstack/smaug: Initial devstack script  https://review.openstack.org/25323307:34
yinweiishereit's my honor to join you guys07:34
zhonghua-leewelcome07:51
chenying_hi saggi Good morning.08:03
openstackgerritMerged openstack/smaug: Initial devstack script  https://review.openstack.org/25323308:12
*** gampel has quit IRC08:19
saggichenying_: good morning08:33
chenying_Hi saggi  I note that class Operation was changed to be extendable. Does the Operation API need to be changed?08:46
saggichenying_: Yes08:53
saggiit's completely different now. Since creating an Operation Would not longer start it. It's a definition.08:55
c00281451_saggi:so when to execute the operation?09:00
*** c00281451_ is now known as cheneng09:00
*** cheneng is now known as chenzeng09:00
saggichenzeng: When it is triggered. When the trigger executes all the scheduled operations are executed.09:04
saggiThe operation will perform some action depending on their type09:04
saggiBut unlike the old design the can be invoked multiple times. They will just repeat the operation. Which means they will create another checkpoint or restore from the same checkpoint to the same target, etc.09:05
saggiThey define the operation instead of being it09:05
*** openstack has joined #openstack-smaug09:07
chenying_Do you mean that we do not need  manual operation? All the operations are executed using ScheduledOperation restapi?09:08
chenying_the old design when a Operation api is called the operation will start immediately.09:12
saggiYes, things are less coupled. To immediately create a checkpoint you need to create a new checkpoint object through REST. To immediately delete a Checkpoint you need to just delete it. Operations are just cached definitions to be able to do those things in a scheduled manner.09:15
*** gampel has joined #openstack-smaug09:18
gampelwelcome yinwei09:18
*** chenying has joined #openstack-smaug09:19
*** chenying_ has quit IRC09:21
gampelwe landed  the two patches today Api and devstack you could install the project via devstack09:22
gampelso you could build the project via devstack now09:22
gampel  git clone https://git.openstack.org/openstack-dev/devstack09:22
chenzenggreate09:22
edison^-^09:22
gampel  cp ../smaug/devstack/local.conf.sample local.conf  ; ./stack.sh09:22
*** edison is now known as xiangxinyong09:23
*** openstackgerrit has quit IRC09:32
*** openstackgerrit has joined #openstack-smaug09:32
chenyingHi saggi I have a another question. how to define the operation database table?  you know that the old design wo only need define one table opertion to include all ActionType opertions.09:33
chenyingstill define one table question include all ActionType opertions parameters?09:36
*** saggi has quit IRC09:45
*** openstackgerrit has quit IRC10:02
*** openstackgerrit has joined #openstack-smaug10:02
*** saggi has joined #openstack-smaug10:16
openstackgerritEran Gampel proposed openstack/smaug: First patch of the API documentation need to be aligned with our latest changes After alignment all the images will be adjusted  https://review.openstack.org/25521111:31
xiangxinyongHello saggi12:10
xiangxinyongping saggi12:11
saggihello xiangxinyong12:18
xiangxinyongWill the create operation of Rest API be seprated into lots of API?12:25
xiangxinyongfor example. Create Protect Operation is a api, Create Restore Operation is a api and Create Delete Operation is a api?12:26
saggino12:26
saggiYou will use a type12:26
saggisimilar to how triggers are created12:26
xiangxinyongOK. We Can use the same API, but we can distinguish them by operation type.12:28
xiangxinyongdifferenet operation type has different paramters?12:28
saggiyes12:30
xiangxinyongOK12:30
xiangxinyongAlso how to define the operation database table?12:30
xiangxinyongyou know that the old design we only need define one table opertion to include all ActionType opertions.12:31
saggiyes12:31
saggiit will have to be similar to how we do triggeres12:31
xiangxinyongUnderstood. ^-^.12:31
xiangxinyongIt means we still need one operation table at present?12:32
*** saggi has quit IRC12:38
*** gampel has quit IRC12:38
*** oshidoshi has quit IRC12:39
*** gampel has joined #openstack-smaug12:41
*** saggi has joined #openstack-smaug12:51
*** xiangxinyong456 has joined #openstack-smaug12:59
xiangxinyong456hi saggi, we see that there are some directory in the bank like : <checkpoint_id>/<definition_id>/plugindata13:02
saggiyes13:02
xiangxinyong456for example in the swift, one bank is one swift container.13:03
saggiyes, but you can name files like <checkpoint_id>/<definition_id>/plugindata/blah.json13:04
saggiso it's ok13:04
saggiit doesn't really need to be directories13:04
saggiit's just a way for us to namespace all the files13:04
xiangxinyong456ok. but can the swift use / in a object name?13:05
saggiyes. http://docs.openstack.org/developer/swift/api/object_api_v1_overview.html13:06
saggiAnd if the bank doesn't allow some chars it will have to just escape them some way.13:07
xiangxinyong456ok. a swift object name length can not greater than 25613:07
xiangxinyong456is this right?13:08
xiangxinyong456ItemMaximum valueNotes13:09
xiangxinyong456Number of HTTP headers9013:09
xiangxinyong456Length of HTTP headers4096 bytes13:09
xiangxinyong456Length per HTTP request line8192 bytes13:09
xiangxinyong456Length of HTTP request5 GB13:09
xiangxinyong456Length of container names256 bytesCannot contain the / character.13:09
xiangxinyong456Length of object names1024 bytesBy default, there are no character restrictions.13:09
xiangxinyong456oh i think i find the answers by your given link13:10
xiangxinyong456^-^13:12
saggiwe use about 100 chars for namespacing. That leaves us more than enough for the pulgin data.13:13
xiangxinyong456OK.  we think there are some informations like source info and targetinfo in the plugin data,is it?13:16
xiangxinyong456source info and target info and so on13:16
saggiEverything the pulgin needs for restore13:17
saggiThey can save how many files they want and use whatever format.13:17
saggiBut we would recommend using json of course.13:17
xiangxinyong456good experience.13:18
xiangxinyong456our teammate zengyingzhe will go to israel tommorrow.13:24
xiangxinyong456it is our pleasure to work with you and eran13:26
*** chenying has quit IRC13:29
*** chenying has joined #openstack-smaug13:30
*** xiangxinyong456 has quit IRC13:35
*** zhonghua-lee has quit IRC13:40
*** zhonghua-lee has joined #openstack-smaug13:41
*** gsagie has joined #openstack-smaug13:44
*** gsagie has left #openstack-smaug13:44
*** CrayZee has joined #openstack-smaug14:24
*** CrayZee1 has joined #openstack-smaug14:31
*** CrayZee1 has left #openstack-smaug14:43
*** CrayZee1 has joined #openstack-smaug14:43
*** CrayZee has quit IRC14:45
*** xiangxinyong456 has joined #openstack-smaug14:46
*** xiangxinyong456 has quit IRC14:47
*** saggi has quit IRC16:00
*** gampel has quit IRC17:02
*** gampel has joined #openstack-smaug18:40
openstackgerritEran Gampel proposed openstack/smaug: API documentation [wip] Change-Id: I5606a17aff5a6fd0e4104ad5be2176c209909835  https://review.openstack.org/25521118:44
*** gampel has quit IRC20:43

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