Ubuntu 12.04 VM'de bir 'Swift All In One' sistemi kurmaya çalışıyorum: http://docs.openstack.org/developer/swift/development_saio.html.
VMware WorkStation 12 Pro'yu Win7 64bit sisteminde kullanıyorum ve 'Yalnızca sunucu' ağ modunu kullanıyorum. VM ip adresi "192.168.137.200".
Ben VM üzerinde komutunu çalıştırdığınızda: Çok iyi çalışıyorcurl: (6) hostta çözümlenemedi; 401 Openstack Swift'de (SAIO) yetkilendirilmemiş
curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://192.168.137.200/auth/v1.0
.
Ama ana makinede (Win7 platformu) üzerinde komutunu çalıştırdığınızda, bu başarısız olur ve iadeler:
* Could not resolve host: test:tester'; Host not found
* Closing connection #0
curl: (6) Could not resolve host: test:tester'; Host not found
* Could not resolve host: testing'; Host not found
* Closing connection #0
curl: (6) Could not resolve host: testing'; Host not found
* About to connect() to 192.168.137.200 port 80 (#0)
* Trying 192.168.137.200... connected
* Connected to 192.168.137.200 (192.168.137.200) port 80 (#0)
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.20.1 (amd64-pc-win32) libcurl/7.20.1 OpenSSL/0.9.8n zlib/1.
2.3
> Host: 192.168.137.200
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Date: Fri, 25 Mar 2016 05:57:24 GMT
< Content-Length: 131
< Content-Type: text/html; charset=UTF-8
< Www-Authenticate: Swift realm="unknown"
< X-Trans-Id: tx081d67bec35b457bb4cb8-0056f4d343
< Vary: Accept-Encoding
<
<html><h1>Unauthorized</h1><p>This server could not verify that you are authoriz
ed to access the document you requested.</p></html>* Connection #0 to host 192.1
68.137.200 left intact
* Closing connection #0