GithubHelp home page GithubHelp logo

grnet / archipelago Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 13.0 2.3 MB

A distributed storage layer that decouples Volume and File operations/logic from the actual underlying storage technology.

License: Other

Python 32.79% Shell 0.35% Makefile 0.42% C 58.75% C++ 6.10% CMake 1.60%

archipelago's People

Contributors

cnanakos avatar cstavr avatar erethon avatar ergonomicon avatar louridas avatar lzmths avatar philipgian avatar vkoukis avatar yiannist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

archipelago's Issues

vlmc remove <snapshot> fails

Hi,

vlmc remove always returns error when removing snapshots.
Here's what I do:

$ vlmc create -s 1024 image1
$ vlmc snapshot image1 snapshot1
Snapshot name: snapshot1
$ vlmc remove snapshot1
vlmc removal failed
$ vlmc close snapshot1
Volume closed 
$ vlmc remove snapshot1
vlmc removal failed

Debug output from vlmcd.log:

XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        handle_accepted: Handle accepted
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume_len: looking up volume snapshot1, len 9
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume: looking up volume snapshot1
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume: looking up volume snapshot1 completed. VI: 1a82e60
XSEG[II]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        handle_accepted: Handle accepted for pr 1a72910, req 385f2000 started
XSEG[II]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        do_accepted_pr: Do accepted pr started for pr 1a72910
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume_len: looking up volume snapshot1, len 9
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume: looking up volume snapshot1
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume: looking up volume snapshot1 completed. VI: 1a82e60
XSEG[II]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        do_accepted_pr: Freezing volume snapshot1
XSEG[II]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        do_accepted_pr: No active reqs of snapshot1. Pending pr is set to NULL
XSEG[II]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        do_accepted_pr: Pr 1a72910 of volume snapshot1 completed
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        handle_received: Handle received 

XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume_len: looking up volume snapshot1, len 9
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume: looking up volume snapshot1
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume: looking up volume snapshot1 completed. VI: 1a82e60
XSEG[EE]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        mapping_delete: req 385f21c8 (op: 5) failed
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume_len: looking up volume snapshot1, len 9
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume: looking up volume snapshot1
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_volume: looking up volume snapshot1 completed. VI: 1a82e60
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        conclude_pr: Concluding pr 1a72910, req: 385f2000 vi: 1a82e60
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        fail: failing req 0
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        conclude_pr: vi: 1a82e60, volume name: snapshot1, active_reqs: 0, pending_pr: 0
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        conclude_pr: Concluded pr 1a72910, vi: 1a82e60
XSEG[DD]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51:17 2015 (1421765477):
        mapping_delete: Unfreezing volume snapshot1
XSEG[II]: /usr/bin/archip-vlmcd: Tue Jan 20 15:51

mapperd.log:

XSEG[DD]: /usr/bin/archip-mapperd: Tue Jan 20 15:51:17 2015 (1421765477):
        handle_accepted: Handle accepted
XSEG[DD]: /usr/bin/archip-mapperd: Tue Jan 20 15:51:17 2015 (1421765477):
        find_map_len: looking up map snapshot1, len 9
XSEG[DD]: /usr/bin/archip-mapperd: Tue Jan 20 15:51:17 2015 (1421765477):
        map_action: Checking map b75e60 snapshot1. Waiters 0, ta: 1
XSEG[DD]: /usr/bin/archip-mapperd: Tue Jan 20 15:51:17 2015 (1421765477):
        put_map: Putting map b75e60 snapshot1. ref 2
XSEG[DD]: /usr/bin/archip-mapperd: Tue Jan 20 15:51:17 2015 (1421765477):
        fail: failing req 0
XSEG[II]: /usr/bin/archip-mapperd: Tue Jan 20 15:51:17 2015 (1421765477):
        generic_peerd_loop: Peer goes to sleep

There's nothing relevant in blockerb.log nor blockerm.log.

I'm using archipelago on Debian Wheezy, installed from packages (version 0.4-1~wheezy).
My configuration files aren't modified apart from increasing debug log levels, so file_blocker is used both for blocks and maps.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.