On 05/17/2010 09:44 AM, Michal Fojtik wrote: > On 14/05/10 17:50 -0400, Chris Lalancette wrote: >> This is to avoid problems with newly created instances. >> GoGrid does not assign a real ID number to an instance >> until it has gone through some backend initialization. >> That means trying to look up an instance by ID that you >> just created will fail, which is pretty non-intuitive >> behavior. Fix this by using the name as the ID, which >> probably should be unique enough for our purposes. > > Yes, I know about this bug. I found relevant post inside GoGrid support > forum. > They want to fix this 'issue' in next API version. > Btw. Server name needs to be <20 chars long + they have some 'weird' > rules for > names. (Time.now.to_i doesn't work for me as a name...)... > > Also we will need some 'default' name, in case when client will not sent > it.
Actually, we already have that; we set it to "Server <random_number>" (which is how I found the problem with spaces that I addressed in patch 9). > > For now I'm acking ACKing this patch (until ID issue will be not fixed) OK. Once they fix it, we can go back to using the real ID. Thanks, I've pushed this for now. -- Chris Lalancette _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
