Questions tagged [openstack-swift]

Swift is a massively scalable redundant storage system providing an object storage similar to Amazon's S3. Project was started in August 2009 and is part of OpenStack.

Related tag: , see also http://OpenStack.org.

339 questions
0
votes
2 answers

Uploading file to openstack object storage from JavaScript

I have a openstack object storage container to which I'm trying to upload files directly from browser. As per the documentation here, I can upload the file using a PUT request and I'm doing this using Angularjs provided $http.put method as shown…
0
votes
1 answer

swift client delete object failed

Environment swift client in CentOS7(10.0.0.2) bash [root@bogon ~]# pip2 show python-swiftclient Name: python-swiftclient Version: 2.7.0 Summary: OpenStack Object Storage API Client Library Home-page: http://www.openstack.org/ Author:…
colben
  • 31
  • 1
  • 7
0
votes
0 answers

How to use AWS Java SDK to connect Complaint S3 Service?

I am trying to implement a simple Java/Scala client to connect to the S3 Service which provided by the OpenStack Swift(it supports S3 API). However the codes seems not working when I am using AWS Java SDK 1.11.176. Could anyone share me some…
Martin Peng
  • 87
  • 1
  • 9
0
votes
1 answer

OpenStack Swift Object Storage File Access?

I'm setting up OpenStack Swift object storage via IBM Bluemix for a few needs in our application. First of all I need a place to securly upload customer files via our API, which this is a perfect solution for. The portion I'm struggling with is the…
MichaelWClark
  • 382
  • 1
  • 12
0
votes
1 answer

Cannot upload object of size more than 2147483647 bytes using swift python API

Connect to the object storage user1_connection = swiftclient.client.Connection(user=sl_user,key=user_key,authurl=endpoint_url) Upload object to container with open(object_path, 'r') as temp: …
0
votes
1 answer

Multiple storage containers in Django

Is it possible in Django to store image files in different buckets/containers in external object storage OpenStack Swift? I have an issue related with creating proper way to upload image files through REST service request. The user is able to POST…
0
votes
1 answer

Curl Get Swift Storage files saved by Spark

As it known Apache spark saves files by parts i.e foo.csv/part-r-00000.. I save files on Swift Object storage now I want want to get the files using Openstack swift API but when I do curl on foo.csv I get zero file How I download the contents of the…
YAKOVM
  • 9,805
  • 31
  • 116
  • 217
0
votes
1 answer

Could NFS be mounted on one of openstack swift storage node?

Currently, I got one CentOS in virtual box with openstack swift running which is installed by SAIO. Question: Data would not stored in the node which I mount nfs. For example, I create a container by curl, the output returns 201. But there is no…
tommyjin
  • 1
  • 2
0
votes
0 answers

Openstack Swift high number of processes in D state

I recently set up a standalone swift cluster with one proxy node and three storage nodes. I put some 100gb of data on that. I have attached a volume of 1tb to all three servers and the storage is mounted on those volumes. Everyday at some point of…
ymo
  • 1
0
votes
0 answers

openstack swit-init can not assign socket port 6002

When I am using openstack to init swift in the storage node with the command: swift-init all start It gives me an error: So I want to see if port 6002 is busy netstat -plnt Maybe port 6002 is not in use. So I am confused. How do I solve this…
Itachi
  • 1
0
votes
1 answer

Openstack Swift strange behaiour on copying back the Data Dirs

So, I am seeing some very strange behavior with Openstack Swift. If I start all the swift processes, and say do an operation (eg. upload a file), then if I kill all my Swift processes, copy all the data directories to some other temp location,…
Manav Garg
  • 512
  • 1
  • 3
  • 17
0
votes
1 answer

I can't delete container and objects by object storage swift

When I delete a container by swift, the following error occurrs. $ swift -A http://192.168.1.120:8010/auth/v1.0 -U test:vo8AlYgTxchsh37YF1mm -K cqAIBc9B3mIGvJt5DbDmkG3j6Vi0OaEa delete -a ・・・ Error Deleting: test: Container DELETE failed:…
Ubunkun
  • 253
  • 1
  • 5
  • 12
0
votes
1 answer

Is it possible to interact via s3cmd with a single node deployment of OpenStack Swift

I deployed the storage service OpenStack Swift ontop of a Raspberry Pi 3 with Raspbian = Debian Jessie 8.0. (Thanks to Swift on Pi, the installation was no a big issue). $ curl -i -H "X-Auth-User: test:tester" -H "X-Auth-Key: testing"…
Neverland
  • 773
  • 2
  • 8
  • 24
0
votes
1 answer

Update the X-Delete-After time on an existing OpenStack Swift file?

I'm using OpenStack Swift as a cache, and using X-Delete-After to make sure that old data are deleted. How can I update or remove the X-Delete-After value for an existing file (without re-uploading it)?
David Wolever
  • 148,955
  • 89
  • 346
  • 502
0
votes
1 answer

Copy blob from S3 to Swift using aws-sdk gem

I have a bunch of blobs stored in Amazon S3. Ruby aws-sdk gem seems to support Swift, we just need to pass endpoint: swift_client = Aws::S3::Resource.new( endpoint: 'https://swift.me.com/, bucket: 'bucket', credentials:…
nattfodd
  • 1,790
  • 1
  • 17
  • 35