Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi Clayg,

I already followed your suggestions and made it work. now my issue is how can I test using boto. I have installed the boto using the following command "git clone https://github.com/boto/boto.g... cd boto; sudo python setup.py install".

Now when i am entering the following command : "connection = boto.connect_s3(aws_access_key_id='service:swift', aws_secret_access_key='swift', port=8080, host='10.0.0.154',is_secure=False, calling_format=boto.s3.connection.OrdinaryCallingFormat())" - i am receiving the following error message:

bash: syntax error near unexpected token '(

Please suggest!!

Besides, I have downloaded cloudberry explorer and created s3 compatible account but I am confused as what should be entered into service account field? when I enter the ip address of the keystone server along with the tenant:user + password details then I can connect but the moment I try creating the bucket it throws the following error in tha application -

2013-08-07 16:53:25,891 [UI] [1] INFO - Show "Retrieving data..." on left panel 2013-08-07 16:53:25,899 [UI] [15] INFO - Browse folder // (swift s3) 2013-08-07 16:53:25,899 [UI] [15] INFO - Received 0 elements from // 2013-08-07 16:53:30,821 [S3] [1] INFO - CreateBucket start, bucket: ccc location: US 2013-08-07 16:53:30,824 [Base] [1] ERROR - Internal do request error. Retry failed: attempts left 2 System.Net.WebException The remote name could not be resolved: 'ccc.192.168.4.43' at dV.A(HttpWebRequest , HttpWebResponse , WebException , Boolean , Action1 , fN ) at dV.A(dw , Action1 , HttpWebRequest , Ep ) at dV.A(Ee ) at dV.dv.A(Ee )

2013-08-07 16:53:31,633 [Base] [1] ERROR - Internal do request error. Retry failed: attempts left 1 System.Net.WebException The remote name could not be resolved: 'ccc.192.168.4.43' at dV.A(HttpWebRequest , HttpWebResponse , WebException , Boolean , Action1 , fN ) at dV.A(dw , Action1 , HttpWebRequest , Ep ) at dV.A(Ee ) at dV.dv.A(Ee )

2013-08-07 16:53:33,242 [Base] [1] ERROR - Internal do request error. Retry failed: attempts left 0 System.Net.WebException The remote name could not be resolved: 'ccc.192.168.4.43' at dV.A(HttpWebRequest , HttpWebResponse , WebException , Boolean , Action1 , fN ) at dV.A(dw , Action1 , HttpWebRequest , Ep ) at dV.A(Ee ) at dV.dv.A(Ee )

2013-08-07 16:53:33,250 [S3] [1] INFO - CreateBucket ready: bucket: ccc, location: US, status: -1 2013-08-07 16:53:33,250 [S3] [1] ERROR - Http response status: -1: No more retry attempts 2013-08-07 16:53:33,257 [S3] [1] ERROR - The remote name could not be resolved: 'ccc.192.168.4.43' 2013-08-07 16:53:33,264 [S3] [1] ERROR - CreateBucket failed for bucket: ccc, location: US CloudBerryLab.Base.Exceptions.ClientLibException The remote name could not be resolved: 'ccc.192.168.4.43'

System.Net.WebException The remote name could not be resolved: 'ccc.192.168.4.43' at dV.A(HttpWebRequest , HttpWebResponse , WebException , Boolean , Action1 , fN ) at dV.A(dw , Action1 , HttpWebRequest , Ep ) at dV.A(Ee ) at dV.dv.A(Ee )

2013-08-07 16:53:33,271 [UI] [1] ERROR - Failed to create new bucket. CloudBerryLab.Base.Exceptions.ClientLibException The remote name could not be resolved: 'ccc.192.168.4.43' at nr.A(String , Datacenter ) at nI.a(String , BucketLocation , ge ) at nI.A(String , BucketLocation , ge ) at CloudBerryLab.Explorer.Console.Controls.PluginArea.K(Object , EventArgs ) System.Net.WebException The remote name could not be resolved: 'ccc.192.168.4.43' at dV.A(HttpWebRequest , HttpWebResponse , WebException , Boolean , Action1 , fN ) at dV.A(dw , Action1 , HttpWebRequest , Ep ) at dV.A(Ee ) at dV.dv.A(Ee )

if you can suggest anything would be gr8