[sheepdog] SWIFT / FUSE support

Jason Kiebzak jkiebzak at gmail.com
Tue Dec 1 21:20:04 CET 2015


I cannot get sheepdog to start using the SWIFT option. My goal is to have a
sheepdog cluster for serving storage to clients. I'd be willing to do this
either with the swift option, or some other FUSE based option. If there's
an easier way to do this, I'm open for suggestions.

Here is what I did to try to get swift to work:
# sheep -n /var/lib/sheepdog,/mnt/sfs/0 -c zookeeper:192.168.1.201:2181 -r
swift -l level=debug

The sheep process does not stay alive. When I do a:
 # ps aux|grep sheep
there is no sheep process running.

If I do this command, the sheep process stays alive and runs correctly:
# sheep -n /var/lib/sheepdog,/mnt/sfs/0 -c zookeeper:192.168.1.201:2181 -l
level=debug

Here is the contents of the log file when I try to use the "-r swift" option
Dec 01 14:51:38   INFO [main] md_add_disk(368) /mnt/sfs/0, vdisk nr 415,
total disk 1
Dec 01 14:51:38  DEBUG [main] init_signal(270) register signal_handler for
12
Dec 01 14:51:38  DEBUG [main] init_disk_space(442) disk free space is
16485653343018736222
Dec 01 14:51:38  DEBUG [main] zk_init(1380) version 3.4.5, address
192.168.1.201:2181, timeout 30000
Dec 01 14:51:38  DEBUG [main] zk_watcher(706) path:, type:-1, state:3
Dec 01 14:51:38 NOTICE [main] get_local_addr(522) found IPv4 address
Dec 01 14:51:38  DEBUG [main] create_cluster(1313) zone id = 3372329152
Dec 01 14:51:38   INFO [main] send_join_request(1042) IPv4 ip:192.168.1.201
port:7000 going to join the cluster
Dec 01 14:51:38  DEBUG [main] zk_compete_master(912) start to compete
master for the first time
Dec 01 14:51:39  DEBUG [main] zk_compete_master(927) my compete path:
/sheepdog/master/0000000022
Dec 01 14:51:39  DEBUG [main] zk_compete_master(957) success
Dec 01 14:51:39  DEBUG [main] zk_queue_push(547) create
path:/sheepdog/queue/0000000039, queue_pos:0000000039, len:983256
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread net 1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread gway
1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread io 1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread rw 1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread
deletion 1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread
block 1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread md 1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread
async_req 1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread util
1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread
sockfd_grow 1
Dec 01 14:51:39  DEBUG [main] create_worker_threads(256) create thread http
1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20151201/066b2a00/attachment.html>


More information about the sheepdog mailing list