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
4
votes
1 answer

Authentication SAIO (swift all in one) using libCurl API in C++

I'm working to Open Stack in particular to Swift All in One (SAIO). I need to use C++ and libcurl for authentication. Using curl via terminal I use this command (and it works); curl -v -H 'X-Auth-User: $SWIFTACCOUNT:$SWIFTUSER' -H 'X-Auth-Key:…
cirux91
  • 105
  • 3
4
votes
2 answers

In swift, how many objects can a container hold?

In swift, how many files can a container hold, is there any limit about this? I've tried google this question but haven't got an answer, help!
chncwang
  • 148
  • 1
  • 6
4
votes
1 answer

Swift user's authorization

everyone. I installed Swift 1.7.4 , and I want to add a new user to Swift, How could I do it? I find that in 1.4.8 version, somebody had said that I should install the swauth first and I notice that the Swift api also said that choose one authrize…
cjmandlulu
  • 163
  • 1
  • 2
  • 6
3
votes
0 answers

Spring Boot app consuming Ceph Swift API via JOSS Swift Client

I am very new to Ceph and not yet very seasoned with Spring Boot Java application development either. I have set up a Ceph Object Storage cluster with Swift Object Gateway. Now I have a Spring Boot app and I need to get/post/delete objects from my…
3
votes
0 answers

access control via pre-signed url

My media storage is Openstack object storage (swift) in the cloud (OVH). Regarding the user-rights on the uploaded media: Images [A] are viewable by all users, but only deletable by user-owner/ uploader. Images [B] are very private. CRUD by…
musicformellons
  • 12,283
  • 4
  • 51
  • 86
3
votes
1 answer

Fog configuration for OVH's OpenStack Swift

Has anyone managed to connect to OVH's OpenStack Swift with the Ruby gem Fog? They don't have documentation yet and support doesn't consider Ruby and Fog. I'm getting the errors auth failed or get_version_v2() got an unexpected keyword argument…
Phil
  • 145
  • 8
3
votes
1 answer

Openstack Rest API send a file with python to a openstack container

I am trying to upload a video file to Openstack container using REST API. This is my Python code to upload to the server. res = requests.put(publicURL+'/'+output_container_name+'/'+toUpload, headers={'X-Auth-Token': token}, …
D3GAN
  • 642
  • 10
  • 26
3
votes
2 answers

CORS support in OpenStack SWIFT

How can I configure OpenStack SWIFT to send all the appropriate CORS headers in response to a client's OPTIONS request? I know about the crossdomain plugin to the SWIFT pipeline, but the documentation only says that something like the following is…
eswenson
  • 745
  • 1
  • 9
  • 25
3
votes
1 answer

Upload to Swift Pseudo folders using duplicity

I'm trying to use duplicity to backup files to a Swift Object Storage service offered by RunAbove. The name of the container is "backup" and it has a pseudo folder named "web" inside which I want to place backups. Duplicity version: 0.6.24 Python…
A.Jesin
  • 423
  • 3
  • 18
3
votes
1 answer

Cannot set more than one Meta data with OpenStack Swift Object

I am trying to set metadata with a Object stored in Swift Container. I am using following command (note that my container is 'container1' and object is 'employee.json': curl -X POST -H "X-Auth-Token:$TOKEN" -H 'X-Object-Meta-metadata1: value'…
Prosunjit Biswas
  • 935
  • 9
  • 16
3
votes
2 answers

Can I append or overwrite some bytes to an existing object in Openstack Swift?

I need to append some bytes to an existing object stored in Openstack Swift, say like a log file object and constantly append new logs to it. Is this possible? Moreover, can I change (overwrite) some bytes (specify with offset and length) to an…
fengye87
  • 2,433
  • 4
  • 24
  • 41
3
votes
1 answer

Swift TempAuth returned 404 when HEAD the account

I am a newbie to Swift, but was trying to install it on my CentOS 6.5 VM. I have done Installing lasted Swift release (1.12.0) and python-swiftclient (2.0.2) and their dependencies Preparing and mounting my drive (a separated device formated as…
fengye87
  • 2,433
  • 4
  • 24
  • 41
3
votes
1 answer

Can python script (Or any other programming language scripts) be used to restrict resources (like RAM, CPU Usage) used by other applications?

For my project, I am supposed to measure system performance of OpenStack SWIFT based on available resources like RAM, CPU, etc.. So, I was wondering, can I use a python script or some other programming language scripts to restrict the resources…
3
votes
2 answers

openstack swift: The server has waited too long for the request to be sent by the client

we get few of these now and then: Caused by: javax.ejb.EJBException: org.jclouds.http.HttpResponseException: command: PUT {{PUT_URL}} HTTP/1.1 failed with response: HTTP/1.1 408 Request Timeout; content: [

Request Timeout

The…

Saqib Ali
  • 3,953
  • 10
  • 55
  • 100
3
votes
2 answers

How to delete a Dynamic Large Objects in Openstack swift with API

Follow the document's steps http://docs.openstack.org/developer/swift/overview_large_objects.html I put 3 segments file and 1 Manifest file successfully # First, upload the segments curl -X PUT -H 'X-Auth-Token: ' \ http:///container/myobject/1…
Ryker.Wang
  • 757
  • 1
  • 9
  • 18
1
2
3
22 23