Datastore Admin Copy

37 views
Skip to first unread message

Kyle Mulka

unread,
Jul 13, 2011, 2:35:02 AM7/13/11
to Google App Engine
Did the way authentication works on the datastore admin copy function
change recently? I tried to copy all the data from one app to another,
but it said it failed with a 401 error. When I removed the "s~" in
front of the app name in appengine_config.py it worked again.

Kyle Mulka

unread,
Jul 14, 2011, 2:07:35 AM7/14/11
to Google App Engine
Ok, now something really weird is happening. I went into the datastore
admin of the source application and initiated a copy. From the
perspective of the source application it looks like everything worked
fine and completed successfully. But, from the perspective of the
target application, no data got transfered. The only indication there
that anything happened is one log entry for /_ah/remote_api. What
happened?

Chip

unread,
Jul 14, 2011, 3:41:32 PM7/14/11
to Google App Engine
The same thing just happened with our application.

Moving it out of the source app worked fine (I assume, since the
Datastore Admin for the source app shows all copy steps completed).

It's been over an hour and the target app is still empty.

This was as a small amount of data. Does it take a long time to move,
or could there be a problem that does not show up in the logs?

Note that I created my own appengine_config.py file in the root
directory of the target app with just one line:

remoteapi_CUSTOM_ENVIRONMENT_AUTHENTICATION =
('HTTP_X_APPENGINE_INBOUND_APPID', ['my source appid here'])

Thanks!

Chip

unread,
Jul 15, 2011, 8:50:56 AM7/15/11
to Google App Engine
This happened to me yesterday as well. The Source app indicated
success (19 steps completed), the Target app has no signs of any
data. Given it's been a day, I assume it has failed.

What should I do?

Jesse

unread,
Oct 29, 2011, 11:21:24 AM10/29/11
to google-a...@googlegroups.com
There still seems to be a problem with this.  I went to copy entities from one migrated HRD app to another (for staging) and only the /_ah/remote_api?rtok= request went through (with a 200), but then no data.  It seems something is broken.
Reply all
Reply to author
Forward
0 new messages