hi ALL

i still dont have any solution for this problem 
i still getting the same error and i didnt find any solution or a direction 
for this issue

i think its something related to user&pass
but i dont know

it will be great if someone can give me a hint for this issue 

*i am using version 2.26 on ubuntu 18 *

and this is the output i get one i run the mkfs command 


*mkfs.s3ql --authfile .s3ql/authinfo2 --debug --plain 
swiftks://objectstore-3.eu-nl-1.cloud.sap:443/eu-nl-1:amitkertis*


2019-12-15 08:27:49.101 20244 DEBUG    MainThread 
s3ql.backends.common.get_ssl_context: Reading default CA certificates.
2019-12-15 08:27:49.101 20244 DEBUG    MainThread 
s3ql.backends.swift._do_request: started with 'GET', '/', None, {'limit': 
1}, None, None
2019-12-15 08:27:49.101 20244 DEBUG    MainThread 
s3ql.backends.swift._do_request: no active connection, calling _get_conn()
2019-12-15 08:27:49.102 20244 DEBUG    MainThread 
s3ql.backends.swiftks._get_conn: started
2019-12-15 08:27:49.115 20244 ERROR    MainThread root.excepthook: Uncaught 
top-level exception:
Traceback (most recent call last):
  File "/usr/bin/mkfs.s3ql", line 11, in <module>
    load_entry_point('s3ql==2.26', 'console_scripts', 'mkfs.s3ql')()
  File "/usr/lib/s3ql/s3ql/mkfs.py", line 95, in main
    plain_backend = get_backend(options, raw=True)
  File "/usr/lib/s3ql/s3ql/common.py", line 260, in get_backend
    getattr(options, 'compress', ('lzma', 2)), raw)()
  File "/usr/lib/s3ql/s3ql/common.py", line 335, in get_backend_factory
    backend_options)
  File "/usr/lib/s3ql/s3ql/backends/swiftks.py", line 26, in __init__
    super().__init__(storage_url, login, password, options)
  File "/usr/lib/s3ql/s3ql/backends/swift.py", line 72, in __init__
    self._container_exists()
  File "/usr/lib/s3ql/s3ql/backends/common.py", line 108, in wrapped
    return method(*a, **kw)
  File "/usr/lib/s3ql/s3ql/backends/swift.py", line 87, in _container_exists
    self._do_request('GET', '/', query_string={'limit': 1 })
  File "/usr/lib/s3ql/s3ql/backends/swift.py", line 231, in _do_request
    self.conn =  self._get_conn()
  File "/usr/lib/s3ql/s3ql/backends/common.py", line 108, in wrapped
    return method(*a, **kw)
  File "/usr/lib/s3ql/s3ql/backends/swiftks.py", line 98, in _get_conn
    raise HTTPError(resp.status, resp.reason, resp.headers)
s3ql.backends.s3c.HTTPError: 400 Bad Request


*please advised*

*Amit*






On Monday, December 9, 2019 at 5:44:24 PM UTC+2, amit kertis wrote:
>
> hi all
>
> i am trying to configure s3ql to work with swift\
>
> i install s3ql on my ubuntu 16by ussing the apt get (sudo apt-get install 
> -y s3ql) 
>
> so i have S3QL 2.15
>
> i set the authinfo2 as follow
>
> ccloud@amit-kertes-s3ql:~$ cat .s3ql/authinfo2
> [swift]
> backend-login: xxx
> backend-password: xxx
> storage-url: swiftks://objectstore-3.eu-nl-1.cloud.sap/eu-nl-1:amits3ql
>
>
> i run this command 
>
> mkfs.s3ql --debug  
> swiftks://objectstore-3.eu-nl-1.cloud.sap:443/eu-nl-1:amits3ql
>
> i am getting this prompt 
>
> Enter backend login:
> Enter backend passphrase:
>
> *what i need to put on those ??*
>
> i try user & pass and its not working 
> any thing i try even just enter i getting this error
>
> 2019-12-09 15:38:30.894 14560 MainThread 
> s3ql.backends.common.get_ssl_context: Reading default CA certificates.
> 2019-12-09 15:38:30.895 14560 MainThread s3ql.backends.swift._do_request: 
> started with 'GET', '/', None, {'limit': 1}, None, None
> 2019-12-09 15:38:30.895 14560 MainThread s3ql.backends.swift._do_request: 
> no active connection, calling _get_conn()
> 2019-12-09 15:38:30.896 14560 MainThread s3ql.backends.swiftks._get_conn: 
> started
> 2019-12-09 15:38:30.909 14560 MainThread root.excepthook: Uncaught 
> top-level exception:
> Traceback (most recent call last):
>   File "/usr/bin/mkfs.s3ql", line 9, in <module>
>     load_entry_point('s3ql==2.15', 'console_scripts', 'mkfs.s3ql')()
>   File "/usr/lib/s3ql/s3ql/mkfs.py", line 96, in main
>     plain_backend = get_backend(options, raw=True)
>   File "/usr/lib/s3ql/s3ql/common.py", line 260, in get_backend
>     getattr(options, 'compress', ('lzma', 2)), raw)()
>   File "/usr/lib/s3ql/s3ql/common.py", line 335, in get_backend_factory
>     backend_options)
>   File "/usr/lib/s3ql/s3ql/backends/swiftks.py", line 26, in __init__
>     super().__init__(storage_url, login, password, options)
>   File "/usr/lib/s3ql/s3ql/backends/swift.py", line 68, in __init__
>     self._container_exists()
>   File "/usr/lib/s3ql/s3ql/backends/common.py", line 107, in wrapped
>     return method(*a, **kw)
>   File "/usr/lib/s3ql/s3ql/backends/swift.py", line 83, in 
> _container_exists
>     self._do_request('GET', '/', query_string={'limit': 1 })
>   File "/usr/lib/s3ql/s3ql/backends/swift.py", line 210, in _do_request
>     self.conn =  self._get_conn()
>   File "/usr/lib/s3ql/s3ql/backends/common.py", line 107, in wrapped
>     return method(*a, **kw)
>   File "/usr/lib/s3ql/s3ql/backends/swiftks.py", line 98, in _get_conn
>     raise HTTPError(resp.status, resp.reason, resp.headers)
> s3ql.backends.s3c.HTTPError: 400 Bad Request
>
>
>
> *please help *
> *i need to find solution ASAP*
>
> *what i am doing wrong ???*
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/s3ql/3ccb7d49-6ea9-45c6-b71c-9a9fdac470a9%40googlegroups.com.

Reply via email to