310 questions
0
votes
1
answer
66
views
OpenStack Swift CLI prefix-based tempurl not working
running
swift tempurl --prefix-based GET 600 "/v1/AUTH_project/container/my/prefix/" "mykey12345"
returns
/v1/AUTH_project/container/my/prefix/?temp_url_sig=abc0987&...
0
votes
1
answer
63
views
Error 422: Unprocessable Entity errors with Openstack python-swiftclient
I am writing a Python script using python-swiftclient and zipfile to zip and upload files to the Swift API endpoint of an Openstack Object Store. I store the zipped data in memory as an io.BytesIO ...
1
vote
0
answers
173
views
Having issues with PyInstaller and the Python-Keystoneclient package
---Relevant Info---
Custom Hook
# -*- mode: python ; coding: utf-8 -*-
from PyInstaller.utils.hooks import collect_submodules
from PyInstaller.utils.hooks import copy_metadata
from PyInstaller.utils....
0
votes
1
answer
70
views
multiple destination for statsd in object-server.conf of swift open stack
I want to send my statsd metrics from object server module of swift open stack to multiple hosts.
How should I change my object-server.conf in /etc/swift path?
The present version of object-server....
0
votes
1
answer
136
views
Trouble Retrieving Metadata Information from OpenStack Swift Object using REST APIs: Need Help Adding Metadata from Horizon UI or REST API properly
I am new to OpenStack Swift and I am trying to add single/multiple metadata to an object using REST APIs. However, although I receive a 202 success response for the request, when I try to retrieve the ...
0
votes
1
answer
292
views
What issues arise when using Openstack Swift SAIO for Production use?
Swift Use Case
I am currently working on an application that could leverage the ability to add in custom middleware into Swift. Currently that involves a custom auth middleware module, but could be ...
0
votes
1
answer
109
views
is there a way to revert a expiration date for an object in openstack swift?
WIth openstack swift I can set a date for an object to be expired.
After this date or at this date a daemon will take care of delete the object. But if I regreat and want to cancel the expiration date,...
0
votes
1
answer
242
views
Failed to discover available identity versions when contacting http://127.0.0.1:35357/v3. Attempting to parse version from URL. Unauthorized(HTTP 401)
I am using openstack container to enable integration testing against swift
The container used is : https://hub.docker.com/r/jeantil/openstack-swift-keystone-docker/
And the steps followed are : https:/...
0
votes
1
answer
971
views
Copy a lot of files - Swift
I own Object Storage containers at OVH. I found how to copy a file from one container to another:
swift copy -d /"Destination container" "Initial container" "File"
It ...
0
votes
1
answer
583
views
Reducing replication on Openstack Swift
Is it possible to limit replication on OpenStack Swift to one or possibly 2? 3 data replicas are currently being created.
0
votes
1
answer
244
views
How make API calls to OpenStack installed on local machine from outside the network?
I installed OpenStack on my local Ubuntu machine and can access the dashboard using a local IP address. I want to get the list of files on the storage from an external Spring Boot application.
I ...
0
votes
2
answers
1k
views
Thread blocks the main thread
I'm not python programmer.
But I need to write middleware for Openstack Swift. I don't know what environment the code running in. I have no control over the main thread.
I'm tyring to start sub-thread ...
0
votes
1
answer
101
views
OpenIO swift deny host headers
OpenIO 7.2.0.
I have an OpenIO with keystone (queens) auth cluster.
By default any user can configure his own acls and public url.
I would like to restrict user only for read and write in containers ...
0
votes
1
answer
683
views
How to create ec2 credentials with openstacksdk or boto3?
I need to create ec2 credentials, analog to CLI command:
openstack ec2 credentials create
which should return me access and secret keys.
I had run over https://docs.openstack.org/openstacksdk/latest/...
0
votes
1
answer
540
views
OpenStack Swift List Columns
How can I have the OpenStack Swift cli list the columns in the output for the swift list like swift list --lh?
I currently see the following
user@server1:~$ swift list --lh
164006 30G 2020-03-...