syndicate-storage / syndicate

Internet-scale software-defined storage system
Apache License 2.0
56 stars 10 forks source link

Question about UG registration #11

Closed iychoi closed 11 years ago

iychoi commented 11 years ago

Hi. I have questions on managing UG through web front end.

It seems that adding and deleting UG is not work well.

I used following URL to add UG.

https://syndicate-metadata.appspot.com/debug/setup/test?ug_action=create&username=bugsoda@gmail.com&ug_name=jsyndicatefs&ug_host=128.196.142.90&ug_port=32780

This request failed with 500 error.

Also, deletion request also doesn't work. I used following request.

https://syndicate-metadata.appspot.com/debug/setup/test?ug_action=delete@username=bugsoda@gmail.com&ug_name=jsyndicatefs

Thanks.

jcnelson commented 11 years ago

I tried creating it, and was told that the UG jsyndicatefs already exists. Maybe that's the 500 error?

Also, "delete@username" should be "delete&username".

According to the logs, you should probably re-compile everything. I'm getting errors that suggest either you haven't re-compiled the protobufs recently, or the MS somehow got an old version of the protobufs.

iychoi commented 11 years ago

I retried with "delete&username" and deletion and addition works, thanks.

But, I don't know about protobufs. I recompiled all because it's a new machine.

jcnelson commented 11 years ago

John, can you make sure that the MS has the latest protobuf definitions? This can be done by re-building the MS, and uploading it from the build/ directory.