Re: [Openstack] Openstack JAVA SDK
Thanks Vincent for your reply. I lean towards using java cloud-files too since my primary work would be involving swift. How did you build the java cloud-files code? My existing Java application is done on Netbeans IDE and i'm bound to use that. Do we need any extra build tool like Ant / Maven etc? Thanks again, Jyothsna. - Original Message - From: Sheng Bo Hou sb...@cn.ibm.com To: Jyothsna Padavala jyothsna.padav...@strongauth.com Cc: openstack@lists.launchpad.net Sent: Wednesday, July 18, 2012 2:28:30 AM (GMT-0800) America/Los_Angeles Subject: Re: [Openstack] Openstack JAVA SDK Hi Jyothsna, I think they are different java codes for the client sides. I was using java cloud-files for accessing the swift. Open-java-sdk can be used as the client side of nova. And I used the source code directly. Best wishes. Vincent Hou (侯胜博) Software Engineer, Standards Growth Team, Emerging Technology Institute, IBM China Software Development Lab Tel: 86-10- 82450778 Fax: 86-10- 82453660 Notes ID: Sheng Bo Hou/China/IBM@IBMCN E-mail: sb...@cn.ibm.com Address:3F Ring, Building 28 Zhongguancun Software Park, 8 Dongbeiwang West Road, Haidian District, Beijing, P.R.C. 100193 Jyothsna Padavala jyothsna.padav...@strongauth.com Sent by: openstack-bounces+sbhou= cn.ibm@lists.launchpad.net 2012-07-18 06:09 To openstack openstack@lists.launchpad.net cc Subject [Openstack] Openstack JAVA SDK Hello all, I've the openstack (only keystone and swift)setup ready. Now, i want to talk to this setup from my java application. When i tried to google for java sdk for openstack, i got two options. 1) java cloud-files from rackspace ( https://github.com/rackspace/java-cloudfiles ) 2) Java SDK from ( https://github.com/woorea/openstack-java-sdk ) My question is which one is reliable and easy to use. How do i go about installing them? Thanks much, Jyothsna ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Openstack JAVA SDK
Thanks Monty, But how about keystone? All of these have to be authenticated using Keystone. Does jclouds has api bindings for keystone as well? Also, can you post a link for the jclouds binary? -Jyothsna - Original Message - From: Monty Taylor mord...@inaugust.com To: Jyothsna Padavala jyothsna.padav...@strongauth.com Cc: Sheng Bo Hou sb...@cn.ibm.com, openstack openstack@lists.launchpad.net Sent: Wednesday, July 18, 2012 9:55:35 AM (GMT-0800) America/Los_Angeles Subject: Re: [Openstack] Openstack JAVA SDK Hi! You probably want to check out jclouds as well. It's extremely mature, is in production all over the world and has support for openstack compute and storage. http://www.jclouds.org/ Monty On 07/18/2012 08:50 AM, Jyothsna Padavala wrote: Thanks Vincent for your reply. I lean towards using java cloud-files too since my primary work would be involving swift. How did you build the java cloud-files code? My existing Java application is done on Netbeans IDE and i'm bound to use that. Do we need any extra build tool like Ant / Maven etc? Thanks again, Jyothsna. - Original Message - From: Sheng Bo Hou sb...@cn.ibm.com To: Jyothsna Padavala jyothsna.padav...@strongauth.com Cc: openstack@lists.launchpad.net Sent: Wednesday, July 18, 2012 2:28:30 AM (GMT-0800) America/Los_Angeles Subject: Re: [Openstack] Openstack JAVA SDK Hi Jyothsna, I think they are different java codes for the client sides. I was using java cloud-files for accessing the swift. Open-java-sdk can be used as the client side of nova. And I used the source code directly. Best wishes. Vincent Hou (侯胜博) Software Engineer, Standards Growth Team, Emerging Technology Institute, IBM China Software Development Lab Tel: 86-10- 82450778 Fax: 86-10- 82453660 Notes ID: Sheng Bo Hou/China/IBM@IBMCN E-mail: sb...@cn.ibm.com Address:3F Ring, Building 28 Zhongguancun Software Park, 8 Dongbeiwang West Road, Haidian District, Beijing, P.R.C. 100193 Jyothsna Padavala jyothsna.padav...@strongauth.com Sent by: openstack-bounces+sbhou= cn.ibm@lists.launchpad.net 2012-07-18 06:09 Toopenstack openstack@lists.launchpad.net cc Subject [Openstack] Openstack JAVA SDK Hello all, I've the openstack (only keystone and swift)setup ready. Now, i want to talk to this setup from my java application. When i tried to google for java sdk for openstack, i got two options. 1) java cloud-files from rackspace ( https://github.com/rackspace/java-cloudfiles ) 2) Java SDK from ( https://github.com/woorea/openstack-java-sdk ) My question is which one is reliable and easy to use. How do i go about installing them? Thanks much, Jyothsna ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Openstack JAVA SDK
Hello all, I've the openstack (only keystone and swift)setup ready. Now, i want to talk to this setup from my java application. When i tried to google for java sdk for openstack, i got two options. 1) java cloud-files from rackspace (https://github.com/rackspace/java-cloudfiles) 2) Java SDK from (https://github.com/woorea/openstack-java-sdk) My question is which one is reliable and easy to use. How do i go about installing them? Thanks much, Jyothsna ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Fwd: Problem integrating swift with keystone
Thanks pete for a quick reply, Here is the output of the keystone endpoint-list command. I made sure there are no typos. When i get the tenant list, i see only service and openstackdemo in the list. Which tenant name am i supposed to use in my swift command? # nova:/usr/local/strongauth keystone --endpoint http://nova.strongauth.com:35357/v2.0/ --token 2a9ffaa3d3770c404eda endpoint-list +--+---+++--+ |id| region | publicurl| internalurl | adminurl | +--+---+++--+ | 0110e33de1504e5da1cde176151be474 | RegionOne | http://nova.strongauth.com:9292/v1 | http://nova.strongauth.com:9292/v1 | http://nova.strongauth.com:9292/v1 | | 82c7176ea8654cfd911bba7462254326 | RegionOne | http://notus.strongauth.com:8080/v1/AUTH_%(tenant_id)s | http://notus.strongauth.com:8080/v1/AUTH_%(tenant_id)s | http://notus.strongauth.com:8080/| | a2d6588b361349358ae979d96d5ca6c5 | RegionOne | http://nova.strongauth.com:8774/v2/%(tenant_id)s | http://nova.strongauth.com:8774/v2/%(tenant_id)s | http://nova.strongauth.com:8774/v2/%(tenant_id)s | | b276a5467b044a70a1c2cfcf395996cc | RegionOne | http://nova.strongauth.com:8776/v1/%(tenant_id)s | http://nova.strongauth.com:8776/v1/%(tenant_id)s | http://nova.strongauth.com:8776/v1/%(tenant_id)s | | c16a620daebe4b89bdfeec3988a09df8 | RegionOne | http://nova.strongauth.com:5000/v2.0 | http://nova.strongauth.com:5000/v2.0 | http://nova.strongauth.com:35357/v2.0| | c6f7ce4340704f84a49dc3fbb2fe2a9b | RegionOne | http://nova.strongauth.com:8773/services/Cloud | http://nova.strongauth.com:8773/services/Cloud | http://nova.strongauth.com:8773/services/Admin | +--+---+++--+ Thanks, Jyothsna - Original Message - From: Pete Zaitcev zait...@redhat.com To: Jyothsna Padavala jyothsna.padav...@strongauth.com Cc: openstack@lists.launchpad.net Sent: Tuesday, July 10, 2012 2:07:12 PM (GMT-0800) America/Los_Angeles Subject: Re: [Openstack] Problem integrating swift with keystone On Tue, 10 Jul 2012 09:29:12 -0800 (GMT-08:00) Jyothsna Padavala jyothsna.padav...@strongauth.com wrote: $: swift -V 2 -A http://nova.strongauth.com:5000/v2.0 -U admin:adminuser -K adminuserpswd stat There is no object-store endpoint on this auth server. $: keystone --endpoint http://nova.strongauth.com:35357/v2.0/ --token mytoken endpoint-list and could see the list of endpoints which has an object-store endpoint as well. No, please don't describe verbally. Copy-paste the command and its output. It must be some minute typo in publicUrl field that you cannot see because you're desensitized to it. -- Pete ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Problem integrating swift with keystone
Hello I have openstack keystone and swift (both of essex release) installed on two different machines. I did the keystone installation using http://docs.openstack.org/essex/openstack-compute/install/yum/content/ and swift installation using http://docs.openstack.org/developer/swift/development_saio.html OS - Centos 6.2 , 64-bit. Both the services individually have been started successfully, which means there are no start-up errors. Keystone works fine as i could add all the users, tenanta, endpoints. I could get tokens and could view the end points using curl commands as well. Now, when i try to test swift using keystone as auth service, i get a message saying - $: swift -V 2 -A http://nova.strongauth.com:5000/v2.0 -U admin:adminuser -K adminuserpswd stat There is no object-store endpoint on this auth server. Here are my questions. 1) I assumed that the 'connection to keystone is happening' and the swift command is looking up for an end point in the keystone catalog and is not able to find one. Am i correct? 2) I cross checked the endpoint-list in keystone using $: keystone --endpoint http://nova.strongauth.com:35357/v2.0/ --token mytoken endpoint-list and could see the list of endpoints which has an object-store endpoint as well. So, why am i getting this err msg saying There is no object-store endpoint on this auth server.? 3) I am not sure if i'm using the right tenant, user/password combinations. Please suggest where iam going wrong. Have been struck with this since so long. Thanks, Jyothsna ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp