Abhinandan.Prateek at citrix
Apr 19, 2012, 7:02 AM
Post #4 of 4
Thanks for quick update. If it has been removed as part of cleanup we will make appropriate changes in our codebase for XCP.
As I can see things are happening bit differently for XS 6.0 in cloudstack and there we do not use that particular method.
From: Jonathan Ludlam
Sent: Thursday, April 19, 2012 7:11 PM
To: Abhinandan Prateek
Cc: xen-api [at] lists; Bob Ball; Andrew Halley; Ram Chinta; Kevin Kluge
Subject: Re: [Xen-API] XCP 1.5 beta api
We don't use it any more (clearly!) but it was an extremely small function - you could probably just implement it elsewhere:
st = ioretry_stat(lambda: os.stat(path))
Also, this isn't specific to XCP - the same code is in XS 6.0. Does that not affect you too?
On 19 Apr 2012, at 10:02, Abhinandan Prateek wrote:
> We are testing support for XCP 1.5 beta in the cloudstack software. While testing we saw that the method get_mtime is omitted from /opt/xensource/sm/util.py. This method is present in XCP 1.1. The sr dir timestamp is used by cloudstack to check if the sr has changed.
> Is there a reason to do that ? Will it be possible to add it back.
> Thanks and Regards,
> Abhinandan Prateek
> xen-api mailing list
> xen-api [at] lists
xen-api mailing list
xen-api [at] lists