Re: [vdsm] flowID schema

2012-02-06 Thread Dan Kenigsberg
On Thu, Feb 02, 2012 at 12:00:44AM -0500, Douglas Landgraf wrote:
 Hello,
 
  flowID is schema that we will be including in vdsm API to oVirt
 Engine people share the ID of engine transaction to vdsm.
 With this in hands, we will add the ID of transactions to our log.
 
 I would like to know your opinion how we could do that without break
 our API, like include new parameters to our calls.
 
 Should we add at BindingXMLRPC.py - wrapper() a code to search for
 a 'flowID' key into functions which use dict as parameter (like
 create)? [1] Maybe change at other level inside BindingXMLRPC ?

Moti came up an idea from that department: we can abuse one of the http
headers (say, X-FlowID) and it in BindingXMLRPC._createXMLRPCServer,

class LoggingHandle:

def parse_request(self):
...
threadLocal.flowID = self.headers.get('X-FlowID')

I hate this crossing of layers, but it could keep our formal API intact.

Dan.
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel


[vdsm] Live Merge and Storage Live Migration

2012-02-06 Thread Federico Simoncelli
During my endless journey back from FOSDEM (24 hours stuck in airports,
taxi and trains because of one of the largest blizzards in Italy ever),
I've been briefly working on the design for both live merge and storage
live migration: 

http://www.ovirt.org/wiki/Features/Design/LiveMerge
http://www.ovirt.org/wiki/Features/Design/StorageLiveMigration

They're far for being complete but I'm not able to do anything better
now.

Please review if you're interested, the general idea should be correct
even though there are several unfinished parts.

-- 
Federico
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel


Re: [vdsm] Live Merge and Storage Live Migration

2012-02-06 Thread Shu Ming
I am just curious how HSM interact with SPM after HSM get merge request 
no matter

if they are in the same host.
On 2012-2-7 4:34, Federico Simoncelli wrote:

During my endless journey back from FOSDEM (24 hours stuck in airports,
taxi and trains because of one of the largest blizzards in Italy ever),
I've been briefly working on the design for both live merge and storage
live migration:

http://www.ovirt.org/wiki/Features/Design/LiveMerge
http://www.ovirt.org/wiki/Features/Design/StorageLiveMigration

They're far for being complete but I'm not able to do anything better
now.

Please review if you're interested, the general idea should be correct
even though there are several unfinished parts.




--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel