[Openstack] i'm easily confused about time and timezones

2011-08-19 Thread Jon Slenk
hi, Looking at nova/utils.py I *think* that utcnow() is right but utcnow_ts() is incorrect. The former does give UTC, the latter unfortunately changes it to localtime. I haven't written a test in nova, but I extracted the code and wrote a little demo that I *think* shows the right way to do it, us

[Openstack] seeking interaction diagrams for swift

2011-03-11 Thread Jon Slenk
hi, I'm trying to learn about Swift and would love to see some use case interaction diagrams, to get an understanding of the flow of things: how requests come in, what they flow through, what has to be queried, and how things come back. I've searched and browsed around but haven't hit anything lik

[Openstack] api wrappers?

2011-03-18 Thread Jon Slenk
hi, IIUC, it looks like the Nova Dashboard uses EC2 via boto. Questions along those lines: (a) will the community be wanting to move people off of EC2 and towards OpenStack API? (b) if yes, when will the OpenStack tools do that? (c) if yes, when will there be libraries for other languages (we're

Re: [Openstack] api wrappers?

2011-03-18 Thread Jon Slenk
On Fri, Mar 18, 2011 at 12:02 PM, Michael Mayo wrote: > On Mar 18, 2011, at 11:29 AM, Jon Slenk wrote: >> (c) if yes, when will there be libraries for other languages (we're >> into C# for whatever reasons right now). > > As long as the OpenStack API mirrors the

Re: [Openstack] api wrappers?

2011-03-18 Thread Jon Slenk
On Fri, Mar 18, 2011 at 1:48 PM, Michael Mayo wrote: > Sorry I wasn't more clear about that.  Anything you see that's a "cloud > servers" binding would in theory cover nova. Nothing for C# still :-) (hey, I didn't get to pick what language we're using.) I assume nobody is working on such a thing

Re: [Openstack] Instance IDs and Multiple Zones

2011-03-22 Thread Jon Slenk
the IDs must be strictly numericalish numbers, with nothing smelling of something like a string in there, i take it? ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~opens

Re: [Openstack] Instance IDs and Multiple Zones

2011-03-22 Thread Jon Slenk
On Tue, Mar 22, 2011 at 10:41 AM, Ed Leafe wrote: >        Well, since they are defined as: `id` int(11) NOT NULL AUTO_INCREMENT, > I would say the chance of a stringish thing slipping in is pretty small. :) if the schema cannot be changed (which might be worth reconsidering since it seems to be

Re: [Openstack] Federated Identity Management (bursting and zones)

2011-03-30 Thread Jon Slenk
On Wed, Mar 30, 2011 at 11:57 AM, Sandy Walsh wrote: > http://wiki.openstack.org/ZonesOauth "At this point the user will be asked to confirm the request (assuming this is the first interaction the user has had with this Zone). So, here's an authenticated user getting this seemingly random prompt

Re: [Openstack] Federated Identity Management (bursting and zones)

2011-03-30 Thread Jon Slenk
On Wed, Mar 30, 2011 at 12:44 PM, Sandy Walsh wrote: > This flow is saying "The AuthZ resource lives on your side of the fence and > I'd like to access it", but to do so Alice needs to grant permission and that > interaction seems confusing to me. Ja wohl, I don't disagree that it could well be

[Openstack] javascript for client-side direct file uploads?

2011-04-04 Thread Jon Slenk
hi, Anybody know of any purely web-browser-client-side-javascript to upload a file to a Swift install? (From what I've googled up on it so far there isn't, and even if there were it would need to deal with security issues. I've seen a Flash tool for uploading directly to S3 but I suspect the authn

[Openstack] dotnet cloud files access?

2011-04-04 Thread Jon Slenk
hi, I've been trying to get https://github.com/rackspace/csharp-cloudfiles to work with a local Swift install, but no dice yet. Has anybody else succeeded with that? (I happen to be running it all on Mono on Mac OS X oh brother. I hacked up a demo C# app myself that does successful REST AuthN and

Re: [Openstack] dotnet cloud files access?

2011-04-06 Thread Jon Slenk
hi, thanks to all for the thoughts on this. On Tue, Apr 5, 2011 at 7:19 PM, Chuck Thier wrote: > some operations sounds promising.  A 503 return code from the server means > that something wrong happened server side, so you might check the server > logs to see if they provide any useful informat

[Openstack] ec2 vs. openstack api question

2011-04-25 Thread Jon Slenk
hi, My local euca2ools works fine for e.g. describe images. They are pointing at port 8774 so they are doing OpenStack-speak I assume. When I try to hit 8773 to do EC2 using curl, I get a stack barf from Python ending in "No floating ip for address 127.0.0.1". Might anybody know what the underlyin

Re: [Openstack] ec2 vs. openstack api question

2011-04-25 Thread Jon Slenk
On Mon, Apr 25, 2011 at 4:18 PM, Jon Slenk wrote: > ending in "No floating ip for address 127.0.0.1". Might anybody know turns out that is a red herring -- thanks to folks in IRC -- seems like that is an error case that should just be a 40something instead of

Re: [Openstack] ec2 vs. openstack api question

2011-04-25 Thread Jon Slenk
On Mon, Apr 25, 2011 at 4:34 PM, Joshua McKenty wrote: > Can you give us the actual command you're running? curl localhost:8773/ works, lists the versions. curl localhost:8773/1.0 python barf with "No floating ip" curl localhost:8773/services/Cloud 400 Bad Request curl localhost:8773/services/

Re: [Openstack] ec2 vs. openstack api question

2011-04-26 Thread Jon Slenk
On Mon, Apr 25, 2011 at 5:25 PM, Masanori ITOH wrote: > The following two examples are because of lack of Authentication tokens > as your guess. Thanks for the sanity check :-) > BTW, do you really need to use curl instead of euca2ools, boto,...? Probably I really do need something other than e

[Openstack] Swift large data ingress thoughts?

2011-05-12 Thread Jon Slenk
hi, Any experience or recommendations or thoughts about getting big data into Swift in the first place? I am figuring there are options like: a) just do it over the public network: slowest but most easy for everybody. b) go sneakernet, and ship a physical device like a single fat disk, or raid, o

[Openstack] testing and deploying swift?

2011-05-17 Thread Jon Slenk
hi, So what are people's processes for tracking Swift releases, on production systems? I'm guessing Rackspace is probably the most serious deployment to date. If anybody there could comment on what release of Swift is being run and how you expect to deploy newer versions, that would be fun and ed

Re: [Openstack] testing and deploying swift?

2011-05-18 Thread Jon Slenk
hi Jay, Many thanks for the thoughts. > The dispersion-report is a great tool for production monitoring but it > can be very useful for testing too. ah! i missed finding out about that tool while so far reading docs, thanks for mentioning it. -Jon. _

Re: [Openstack] testing and deploying swift?

2011-05-18 Thread Jon Slenk
On Wed, May 18, 2011 at 8:14 AM, Clay Gerrard wrote: > Specially regarding "expanding the ring" - one of the Cloud Files ops wrote > some tips in a lp answer awhile back: > https://answers.launchpad.net/swift/+question/152024 Cool, thank you for the pointer. -Jon. _

[Openstack] bexar swift socket issue?

2011-05-27 Thread Jon Slenk
hi, has anybody else (i've been searching but haven't yet precisely hit pay-dirt) seen socket hangups with wsgi-related socket/worker code? this is bexar swift. thanks :) ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.

Re: [Openstack] bexar swift socket issue?

2011-05-27 Thread Jon Slenk
hi, On Fri, May 27, 2011 at 1:18 PM, Jon Slenk wrote: > has anybody else (i've been searching but haven't yet precisely hit > pay-dirt) seen socket hangups with wsgi-related socket/worker code? > this is bexar swift. In particular, has anybody seen issues / experimente

[Openstack] null ring gz files?

2011-06-03 Thread Jon Slenk
hi, I haven't found a way to do this, I suspect it isn't supported -- is there a way to have a null/zero/empty ring? (I realize it probably isn't The Right Way to do things, but it would be possibly awfully expediently helpful just now. :-) thanks. ___

Re: [Openstack] null ring gz files?

2011-06-03 Thread Jon Slenk
hi, solution: don't get confused/mislead into trying "rebalance". just do "write_ring". thanks. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help :

Re: [Openstack] null ring gz files?

2011-06-06 Thread Jon Slenk
On Fri, Jun 3, 2011 at 7:46 PM, Andiabes wrote: > Curious to know what is this empty ring useful for cheap hack to disable some nodes? :-) sincerely. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Un

[Openstack] swift-stats-populate & ring expansion

2011-06-09 Thread Jon Slenk
hi, I'm experimenting with expanding a cluster's set of rings. The report is 100% ok before I expand, but when I run swift-stats-report after the expansion it fails to get all the stuff. Anybody have insight/thoughts/guesses re: this? Hrm... Thanks. -Jon. # swift-stats-report -d Queried 24400 co

Re: [Openstack] swift-stats-populate & ring expansion

2011-06-09 Thread Jon Slenk
hi, thanks for your note. On Thu, Jun 9, 2011 at 12:03 PM, Florian Hines wrote: > When you updated the ring did you modify more than 1 Zone at a time ? 1) yes. added one "node" per zone, each having like 20 devices. 2) also, i've learned (had already forgotten :-() that i should re-use the sam

[Openstack] swift-stats-delete?

2011-06-09 Thread Jon Slenk
hi, hmmm... i guess there's no already existing script (well, in Bexar at least...) for deleting the stats stuff off of the cluster? :) -Jon. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe :