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

How to view Openstack Swift objects in web browser

I have created a VM with openstack swift running and I have created a container with some objects. In theory, the URL to each object should be http://:8080/v1/AUTH_test/images/test.txt. However this directory does not exist so this URL…
peterbonar
  • 559
  • 3
  • 6
  • 24
0
votes
1 answer

ImportError: cannot import name FileModeWarning

I have set up an all in one swift. While setting up keystone in all-in-one-swift I am having an error when I try to create the service entity and API endpoints. I followed liberty documentation but couldn't resolve this issue! Documentation link …
Arup Barua
  • 51
  • 1
  • 2
  • 7
0
votes
0 answers

Jclouds multipart upload throwing : NullPointerException: Null partETag

I am trying to jClouds Blobstore API to upload a file in chunks to the openstack-swift. Here is the snippet of the code I am using to upload a file named dom4j-1.6.1.jar in chunks. blobStore.putBlob("jclouds-example", blob) does work, but if I add…
0
votes
1 answer

OpenStack Swift: PID files don't correspond to running processes' PIDs; can't restart services - port already bound

I am running a Docker container with Swift ("Swift all-in-one") on a CentOS 7 host. I noticed that the PIDs in /var/run/swift/*.pid files differ from the actual PIDs running in the system: root@5293f4890016:/var/run/swift# for pidfile in `ls`; do…
MisterStrickland
  • 947
  • 1
  • 15
  • 35
0
votes
1 answer

How to use PUT to upload a large file using c# and raw data (no multipart-formdata)

I'm working with the OpenStack Swift API version 1, and am trying to upload a large file to their object storage using c# and DotNet 4.5 in Visual Studio 2015. See their API documentation at…
Alan
  • 3,715
  • 3
  • 39
  • 57
0
votes
1 answer

Python Swift Client Object count mismatch with the actutal objects in cloud

I am using following command to list all the objects in the container and dumping into the log file. swift -A url -U username -K password list container_name> log.txt I have checked the number of lines in the output log file and it showing the …
0
votes
2 answers

can't get object from swift tempurl

I setup SAIO on VirtualBox and want to check how's temp url feature works for Swift. here is the object I created call test.txt under container "testCon", you can see the content and swift list the object swift@swift-VirtualBox:~/bin$ curl -X GET -H…
Johnny Wang
  • 15
  • 1
  • 5
0
votes
1 answer

OpenStack access token refresh

In my Node.js application I use OpenStack Swift (Object Storage) as a storage service. The app needs a authorization token to access the storage service, the (small) problem is the access token needs to be refreshed once in a couple of hours. How…
Xyz
  • 1,522
  • 17
  • 23
0
votes
1 answer

How do I connect to swift server with or without keystone?

Here is the code with wich I am trying to access the swift server: import swiftclient user = 'swift' key = 'password' conn = swiftclient.client.Connection( authurl='http://0.0.0.0:5000/v2.0', user=user, key=key, …
Vrankela
  • 1,162
  • 3
  • 16
  • 39
0
votes
2 answers

Unable to connect to open stack object storage from java application

I am trying to connect to object storage with JOSS. Here is my connection code: AccountConfig config = new AccountConfig(); config.setUsername(USERNAME); config.setPassword(PASSWORD); config.setAuthUrl(AUTHURL); …
Chetan Motamarri
  • 1,204
  • 2
  • 12
  • 15
0
votes
1 answer

Setting up S3QL with FIWARE Object Storage GE (Openstack Swift)

I am trying to setup S3QL with Object Storage GE and there seems to be only one piece of information missing. I successfully installed S3QL thanks to this pretty good tutorial:…
Clemens Sum
  • 1,110
  • 8
  • 13
0
votes
1 answer

Accessing files stored in Swift object from inside a OpenStack VM instance

I have uploaded some zip archive files to Swift object store and marked them as public. I want to download these files from inside a VM instance. I am running CentOS 7 in the VM. Is it possible to do it ?
forevergenin
  • 1,180
  • 12
  • 14
0
votes
0 answers

How to set the read ACL on container in open stack swift such that allow Read for all users and deny for one user

How to set the read ACL in open stack swift such that allow Read for all users and deny for one user. For example, i have one container i.e container10. suppose five users are there u1,u2,u3,u4,u5. All having the member role only. I want to set acl…
0
votes
1 answer

Can't get tokens from Runabove API (Openstack swift)

I'm writing a python scripts which uses OpenStack and Runabove APIs. I want to generate a token from the Runabove API which will be used to connect to SwiftClient. run = Runabove(app_key, app_secret, consumer_key) token = run.tokens.get() It comes…
val
  • 329
  • 2
  • 16
0
votes
2 answers

OpenStack Swift client for the fastest synchronisation of huge amount of files?

I have folder with a lot of files (~50k, 3Gb). I need to sync this folder recursively to my container in OpenStak Swift-like storage. I have tried to use cli duck (cyberduck), but it crashes on huge list of files in prepare process. I am trying to…