swiftonfile - vol directory is missing after running remakerings

Asked by aaguilan

Following the quick guide on swiftonfile. running into an issue in the guide where I do not see the vol directory in the xfs partition that I just created.

Here is the link of the guide I am following - https://github.com/swiftonfile/swiftonfile/blob/master/doc/markdown/quick_start_guide.md#what_now

Is this a known issue? When I get to the following instructions -

 curl -v -H 'X-Auth-User: test:tester' -H "X-Auth-key: testing" -k http://localhost:8080/auth/v1.0
* About to connect() to localhost port 8080 (#0)
* Trying ::1...
* Connection refused
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost:8080
> Accept: */*
> X-Auth-User: test:tester
> X-Auth-key: testing
>
< HTTP/1.1 200 OK
< X-Storage-Url: http://localhost:8080/v1/AUTH_test
< X-Auth-Token: AUTH_tke228bbbe26da4a9a976e6c280e7886e8
< Content-Type: text/html; charset=UTF-8
< X-Storage-Token: AUTH_tke228bbbe26da4a9a976e6c280e7886e8
< Content-Length: 0
< X-Trans-Id: tx9d412701c5a0495793215-005655e8fa
< Date: Wed, 25 Nov 2015 16:59:38 GMT
<
* Connection #0 to host localhost left intact

curl -v -X PUT -H 'X-Auth-Token: AUTH_tke228bbbe26da4a9a976e6c280e7886e8' -H 'X-Storage-Policy: swiftonfile' http://localhost:8080/v1/AUTH_test/mycontainer4
* About to connect() to localhost port 8080 (#0)
* Trying ::1...
* Connection refused
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> PUT /v1/AUTH_test/mycontainer4 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost:8080
> Accept: */*
> X-Auth-Token: AUTH_tke228bbbe26da4a9a976e6c280e7886e8
> X-Storage-Policy: swiftonfile
>
< HTTP/1.1 201 Created
< Content-Length: 0
< Content-Type: text/html; charset=UTF-8
< X-Trans-Id: tx38be48a2c7d342929acd4-005655e916
< Date: Wed, 25 Nov 2015 17:00:06 GMT
<
* Connection #0 to host localhost left intact

The above command was successful, no idea where the directory was created since I do not see in the /mnt/swiftonfile/vol list -

ls -l /mnt/swiftonfile/vol/
total 0

Obviously the create object part now fails with 401 error.

Wanted to try out swiftonfile but having difficulty, anyone is appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
swiftonfile Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Prashanth Pai (ppai) said :
#1

The directory is created when the first object is PUT. Directory is not created during container creation.

Can you help with this problem?

Provide an answer of your own, or ask aaguilan for more information if necessary.

To post a message you must log in.