archipelago
10 years agoci: Install libxseg0-dbg
Filippos Giannakos [Mon, 17 Feb 2014 15:49:30 +0000 (17:49 +0200)]
ci: Install libxseg0-dbg

10 years agoci: Add unstable branch to dev-grnet.list
Filippos Giannakos [Mon, 17 Feb 2014 15:32:47 +0000 (17:32 +0200)]
ci: Add unstable branch to dev-grnet.list

10 years agoci: Fix typo in dev-grnet.list
Filippos Giannakos [Mon, 17 Feb 2014 15:20:56 +0000 (17:20 +0200)]
ci: Fix typo in dev-grnet.list

10 years agoci: Add dev-grnet repo to test vm
Filippos Giannakos [Mon, 17 Feb 2014 15:12:53 +0000 (17:12 +0200)]
ci: Add dev-grnet repo to test vm

10 years agoci: Remove xseg packages
Filippos Giannakos [Mon, 17 Feb 2014 14:16:40 +0000 (16:16 +0200)]
ci: Remove xseg packages

10 years agoci: Fix tests path
Filippos Giannakos [Mon, 17 Feb 2014 14:04:03 +0000 (16:04 +0200)]
ci: Fix tests path

10 years agoci: Remove full archipelago tests
Filippos Giannakos [Mon, 17 Feb 2014 13:20:21 +0000 (15:20 +0200)]
ci: Remove full archipelago tests

10 years agoCreate extstorage log directory
Filippos Giannakos [Mon, 17 Feb 2014 11:02:30 +0000 (13:02 +0200)]
Create extstorage log directory

10 years agoInstall archipelago executables
Filippos Giannakos [Mon, 17 Feb 2014 11:00:00 +0000 (13:00 +0200)]
Install archipelago executables

10 years agoFix python install
Filippos Giannakos [Mon, 17 Feb 2014 10:51:40 +0000 (12:51 +0200)]
Fix python install

10 years agoAdd cmake files
Filippos Giannakos [Mon, 17 Feb 2014 10:44:21 +0000 (12:44 +0200)]
Add cmake files

10 years agoremove me
Filippos Giannakos [Mon, 17 Feb 2014 10:41:29 +0000 (12:41 +0200)]
remove me

10 years agoRemove libxseg and rearrange code
Filippos Giannakos [Mon, 17 Feb 2014 10:30:04 +0000 (12:30 +0200)]
Remove libxseg and rearrange code

10 years agoMove xseg dir to src
Filippos Giannakos [Fri, 14 Feb 2014 15:37:49 +0000 (17:37 +0200)]
Move xseg dir to src

10 years agoStrip xseg stuff
Filippos Giannakos [Fri, 14 Feb 2014 15:37:29 +0000 (17:37 +0200)]
Strip xseg stuff

10 years agoBump version to 0.3.5next
Filippos Giannakos [Fri, 14 Feb 2014 14:42:12 +0000 (16:42 +0200)]
Bump version to 0.3.5next

10 years agovlmc tool: Disable broken mapinfo and list commands
Filippos Giannakos [Mon, 3 Feb 2014 14:33:09 +0000 (16:33 +0200)]
vlmc tool: Disable broken mapinfo and list commands

10 years agoBuild: Add conf directory to install-src
Filippos Giannakos [Thu, 30 Jan 2014 11:46:12 +0000 (13:46 +0200)]
Build: Add conf directory to install-src

10 years agotests: Remove bin dir overwriting
Filippos Giannakos [Tue, 28 Jan 2014 15:59:34 +0000 (17:59 +0200)]
tests: Remove bin dir overwriting

10 years agoMerge branch 'feature-mapperimprovements-rebased' into develop
Filippos Giannakos [Tue, 28 Jan 2014 15:03:43 +0000 (17:03 +0200)]
Merge branch 'feature-mapperimprovements-rebased' into develop

10 years agomapper: Close map, opened by current req on snapshot
Filippos Giannakos [Fri, 20 Dec 2013 11:06:22 +0000 (13:06 +0200)]
mapper: Close map, opened by current req on snapshot

10 years agomapper: Keep track which request opened a map
Filippos Giannakos [Fri, 20 Dec 2013 11:05:55 +0000 (13:05 +0200)]
mapper: Keep track which request opened a map

10 years agomapper: Add counter for accepted requests
Filippos Giannakos [Fri, 20 Dec 2013 11:04:50 +0000 (13:04 +0200)]
mapper: Add counter for accepted requests

Trach each accepted request with a monotonically increased counter.

10 years agomapper: Check create_map return during snapshot
Filippos Giannakos [Fri, 20 Dec 2013 11:01:50 +0000 (13:01 +0200)]
mapper: Check create_map return during snapshot

10 years agomapper: Do not drop cache on close explicitly.
Filippos Giannakos [Fri, 20 Dec 2013 10:59:54 +0000 (12:59 +0200)]
mapper: Do not drop cache on close explicitly.

Do not drop on cache on close operation explicitly. Instead, when closing a map,
wait all pending I/O operations and then close map. If this succceeds, the map
is marked as non-Exclusive. The map action codepath will always drop the cache
when a map is marked as non Exclusive.

10 years agoMerge branch 'feature-new-configfile-rebased' into develop
Filippos Giannakos [Tue, 28 Jan 2014 15:03:16 +0000 (17:03 +0200)]
Merge branch 'feature-new-configfile-rebased' into develop

10 years agomapper: Change order when writing map.
Filippos Giannakos [Fri, 24 Jan 2014 16:14:24 +0000 (18:14 +0200)]
mapper: Change order when writing map.

When writing a map, change the order in which the map metadata and map data are
written. The map metadata is a small block of bytes while the map data can
consist of larger blocks. By doing so, and by always reading the map in the
reverse order (that is first the metadata and then the data), we can create the
illusion of atomic map creation. A map where the metadata have not been written
yet, it can not be loaded and thus cannot get partial data.

10 years agoFix bug in ganeti pre migrate hooks
Filippos Giannakos [Mon, 23 Dec 2013 14:30:25 +0000 (16:30 +0200)]
Fix bug in ganeti pre migrate hooks

Check if ganeti node is the primary before attempting to open the volumes.

10 years agoFix bug in archipelago premigrate hook
Filippos Giannakos [Tue, 17 Dec 2013 12:05:33 +0000 (14:05 +0200)]
Fix bug in archipelago premigrate hook

Return 0 if template is not ext, to allow migration of other templates.

10 years agoAdd ganeti pre-migrate hook
Filippos Giannakos [Wed, 4 Dec 2013 15:00:59 +0000 (17:00 +0200)]
Add ganeti pre-migrate hook

Add ganeti pre-migrate hook to ensure that the volume is opened by the current
node, before proceeding with the migration.

Conflicts:
xseg/base.mk

10 years agoarchipelago: Fix typo in lock, open, close vlmc ops
Filippos Giannakos [Tue, 14 Jan 2014 14:47:19 +0000 (16:47 +0200)]
archipelago: Fix typo in lock, open, close vlmc ops

10 years agoext_scripts: Fix bug in detach
Chrysostomos Nanakos [Thu, 19 Dec 2013 16:42:19 +0000 (18:42 +0200)]
ext_scripts: Fix bug in detach

Fix bug in detach when checking whether volume is already mapped.

10 years agoext_scripts: Fix bug in attach
Filippos Giannakos [Wed, 18 Dec 2013 17:27:15 +0000 (19:27 +0200)]
ext_scripts: Fix bug in attach

Fix bug in attach when checking whether volume is already mapped.

10 years agomapper: Fix bug in reading map version
Filippos Giannakos [Wed, 18 Dec 2013 17:26:36 +0000 (19:26 +0200)]
mapper: Fix bug in reading map version

10 years agoci: Fix private network ip retrieval
Filippos Giannakos [Wed, 18 Dec 2013 12:09:17 +0000 (14:09 +0200)]
ci: Fix private network ip retrieval

10 years agoArchipelago: Fix typo in new conffile
Chrysostomos Nanakos [Wed, 18 Dec 2013 11:05:47 +0000 (13:05 +0200)]
Archipelago: Fix typo in new conffile

10 years agoArchipelago: Adjust new conffile
Filippos Giannakos [Wed, 11 Dec 2013 14:57:20 +0000 (16:57 +0200)]
Archipelago: Adjust new conffile

10 years agoRemove old configuration file parsing functions
Chrysostomos Nanakos [Mon, 18 Nov 2013 09:23:04 +0000 (11:23 +0200)]
Remove old configuration file parsing functions

Use createDict function to parse the configuration file

10 years agoChange configuration file format
Chrysostomos Nanakos [Tue, 12 Nov 2013 13:19:01 +0000 (15:19 +0200)]
Change configuration file format

New configuration file format respects the parsing language provided by
the ConfigParser module

10 years agoAdd posixfd signaling
Filippos Giannakos [Thu, 29 Aug 2013 10:04:40 +0000 (13:04 +0300)]
Add posixfd signaling

10 years agoMerge branch 'feature-fdsignals-dynalloc-rebased' into develop
Filippos Giannakos [Tue, 28 Jan 2014 15:02:55 +0000 (17:02 +0200)]
Merge branch 'feature-fdsignals-dynalloc-rebased' into develop

10 years agoci: Change default flavor to cached disk
Filippos Giannakos [Wed, 11 Dec 2013 10:15:14 +0000 (12:15 +0200)]
ci: Change default flavor to cached disk

10 years agoqa: Adjust tests for dynamic port allocation
Filippos Giannakos [Tue, 10 Dec 2013 11:59:39 +0000 (13:59 +0200)]
qa: Adjust tests for dynamic port allocation

10 years agotests: Remove test BINDIR
Filippos Giannakos [Tue, 10 Dec 2013 11:07:49 +0000 (13:07 +0200)]
tests: Remove test BINDIR

10 years agoxseg-tool: Adjust it to signal descs
Filippos Giannakos [Tue, 10 Dec 2013 09:49:34 +0000 (11:49 +0200)]
xseg-tool: Adjust it to signal descs

10 years agoxseg: Fix bug in bind_dynport
Filippos Giannakos [Fri, 6 Dec 2013 12:25:25 +0000 (14:25 +0200)]
xseg: Fix bug in bind_dynport

When allocating a port which already has a signal descriptor attached to it,
check if is is of the right type. If not, allocate a new one.

10 years agovlmc tool: Dynamically allocate xseg port
Filippos Giannakos [Thu, 5 Dec 2013 11:28:50 +0000 (13:28 +0200)]
vlmc tool: Dynamically allocate xseg port

10 years agoxseg: Add support for "dynamic" port allocation
Filippos Giannakos [Thu, 5 Dec 2013 11:23:33 +0000 (13:23 +0200)]
xseg: Add support for "dynamic" port allocation

Add support to xseg for dynamic port allocation. Arrange for xseg to use a range
of ports as reusable by those who wish to get a random port. Peers do not
actually bind to the port they get, through the normal bind process (except when
a port is first used). Instead they claim a port, another peer has left and
reuse the same structures, signal descriptors, etc.

10 years agoRemove XSEGLOG when mmap()'ing XSEG segment
Chrysostomos Nanakos [Mon, 18 Nov 2013 12:18:05 +0000 (14:18 +0200)]
Remove XSEGLOG when mmap()'ing XSEG segment

XSEGLOG writes messages in stdout resulting in corrupted partition
tables when XSEG is used by snf-image and pithcat

10 years agoAdd posixfd signaling
Filippos Giannakos [Thu, 29 Aug 2013 10:04:40 +0000 (13:04 +0300)]
Add posixfd signaling

10 years agoMerge branch 'feature-cinetwork-rebased' into develop
Filippos Giannakos [Tue, 28 Jan 2014 15:02:26 +0000 (17:02 +0200)]
Merge branch 'feature-cinetwork-rebased' into develop

10 years agoci: Add support to attach specific network
Filippos Giannakos [Mon, 9 Dec 2013 16:23:35 +0000 (18:23 +0200)]
ci: Add support to attach specific network

10 years agoMerge branch 'feature-nfsdirect-rebased' into develop
Filippos Giannakos [Tue, 28 Jan 2014 15:01:56 +0000 (17:01 +0200)]
Merge branch 'feature-nfsdirect-rebased' into develop

10 years agoSet directIO in default archipelago conf
Filippos Giannakos [Wed, 2 Oct 2013 14:36:16 +0000 (17:36 +0300)]
Set directIO in default archipelago conf

10 years agofiled: Initial dummy approach to directio
Filippos Giannakos [Wed, 18 Sep 2013 09:09:39 +0000 (12:09 +0300)]
filed: Initial dummy approach to directio

10 years agosegdev: Fix segment mapping to user.
Filippos Giannakos [Tue, 1 Oct 2013 08:59:02 +0000 (11:59 +0300)]
segdev: Fix segment mapping to user.

Do not use remap_pfn_range anymore. This causes problems when a peer performs
direct IO with buffer on the segment. Use tha fault vm operation to dynamically
map a page to the userspace peer address space when it tries to access a
specific part of the segment for the first time.

10 years agoMerge branch 'feature-peer-improvements-rebased' into develop
Filippos Giannakos [Tue, 28 Jan 2014 14:58:47 +0000 (16:58 +0200)]
Merge branch 'feature-peer-improvements-rebased' into develop

10 years agopeer: Add core dumping and backtrace in segfaults
Alex Pyrgiotis [Thu, 12 Sep 2013 10:06:43 +0000 (13:06 +0300)]
peer: Add core dumping and backtrace in segfaults

10 years agopeer: Add support for CPU pinning
Alex Pyrgiotis [Tue, 27 Aug 2013 18:04:26 +0000 (21:04 +0300)]
peer: Add support for CPU pinning

Add the "--cpus" CLI option that is a comma-separated list of CPUs on
which threads or a process can be pinned.

10 years agoarchipelago: Add threshold option for peers
Filippos Giannakos [Wed, 7 Aug 2013 14:43:20 +0000 (17:43 +0300)]
archipelago: Add threshold option for peers

10 years agopeers: Add threshold option on cli.
Filippos Giannakos [Mon, 5 Aug 2013 10:02:04 +0000 (13:02 +0300)]
peers: Add threshold option on cli.

10 years agoext_scripts: Fix cont-addr flag during create
Filippos Giannakos [Tue, 10 Dec 2013 08:51:44 +0000 (10:51 +0200)]
ext_scripts: Fix cont-addr flag during create

Fix bug, introduced by wrongly merging commits from another branch.

10 years agoMerge branch 'feature-flush-rebased' into develop
Filippos Giannakos [Wed, 4 Dec 2013 14:52:05 +0000 (16:52 +0200)]
Merge branch 'feature-flush-rebased' into develop

10 years agotests: Add tests for vlmcd flush
Filippos Giannakos [Fri, 13 Sep 2013 10:51:55 +0000 (13:51 +0300)]
tests: Add tests for vlmcd flush

10 years agoArchipelago: Add flags on write request
Filippos Giannakos [Fri, 13 Sep 2013 10:51:26 +0000 (13:51 +0300)]
Archipelago: Add flags on write request

10 years agotests: Put requests on multi-request tests
Filippos Giannakos [Fri, 13 Sep 2013 10:47:38 +0000 (13:47 +0300)]
tests: Put requests on multi-request tests

10 years agoarchipelago: Put request on vlmc remove
Filippos Giannakos [Fri, 13 Sep 2013 10:46:24 +0000 (13:46 +0300)]
archipelago: Put request on vlmc remove

10 years agovlmcd: Complete pending requests after "flushing"
Filippos Giannakos [Fri, 13 Sep 2013 10:42:30 +0000 (13:42 +0300)]
vlmcd: Complete pending requests after "flushing"

10 years agovlmc: Honor flush req by stall until all reqs done
Filippos Giannakos [Tue, 10 Sep 2013 13:19:12 +0000 (16:19 +0300)]
vlmc: Honor flush req by stall until all reqs done

10 years agoext_storage: Update Makefile and symlinks
Christos Stavrakakis [Tue, 19 Nov 2013 13:45:12 +0000 (15:45 +0200)]
ext_storage: Update Makefile and symlinks

Update Makefile and add new symlinks for new 'snapshot' and 'setinfo'
actions.

10 years agoext_storage: Add 'snapshot' and 'setinfo' actions
Christos Stavrakakis [Mon, 18 Nov 2013 14:55:57 +0000 (16:55 +0200)]
ext_storage: Add 'snapshot' and 'setinfo' actions

Extend supported actions with the 'snapshot' action, which is used
to snapshot an existing image. Also add 'setinfo' action as NOP.
Finally, refactor 'ReadEnv' function to return a dictionary instead of a
tuple.

Conflicts:
xseg/tools/ext_scripts/vlmc_wrapper.py

10 years agoMerge branch 'feature-sosd-fix' into develop
Alex Pyrgiotis [Wed, 27 Nov 2013 13:23:45 +0000 (15:23 +0200)]
Merge branch 'feature-sosd-fix' into develop

10 years agososd: Remove unnecessary overwrite of objname
Alex Pyrgiotis [Tue, 26 Nov 2013 13:56:46 +0000 (15:56 +0200)]
sosd: Remove unnecessary overwrite of objname

In dispatch, we would always overwrite the objname field of rio with the
request's target. Given that the dispatch is always called by the
callback function, this is potentially dangerous behavior.

This commit fixes the above issue.

10 years agoAdd COPYRIGHT file.
Filippos Giannakos [Mon, 7 Oct 2013 10:01:09 +0000 (13:01 +0300)]
Add COPYRIGHT file.

Add COPYRIGHT file in the root directory. Also add NEWS and Changelog
placeholders.

10 years agoMerge branch 'feature-docs-add-apt' into develop
Filippos Giannakos [Mon, 7 Oct 2013 10:00:36 +0000 (13:00 +0300)]
Merge branch 'feature-docs-add-apt' into develop

10 years agodocs: update installation section to include apt
Constantinos Venetsanopoulos [Fri, 4 Oct 2013 15:03:45 +0000 (18:03 +0300)]
docs: update installation section to include apt

* add section for adding the apt repository
* comment the 'list' command since it's not working yet
* minor fixes

10 years agoMerge branch 'feature-docs-update' into develop
Filippos Giannakos [Sun, 22 Sep 2013 17:05:28 +0000 (20:05 +0300)]
Merge branch 'feature-docs-update' into develop

10 years agodocs: Update Archipelago images
Filippos Giannakos [Sun, 22 Sep 2013 17:04:43 +0000 (20:04 +0300)]
docs: Update Archipelago images

10 years agodocs: Update index.rst and archipelago.rst
Constantinos Venetsanopoulos [Wed, 18 Sep 2013 10:02:15 +0000 (13:02 +0300)]
docs: Update index.rst and archipelago.rst

10 years agoci: Change ipv4 for nat VMs to synnefo.org
Filippos Giannakos [Wed, 11 Sep 2013 06:45:20 +0000 (09:45 +0300)]
ci: Change ipv4 for nat VMs to synnefo.org

10 years agoci: Adjust "synnefo" url
Filippos Giannakos [Tue, 10 Sep 2013 13:49:52 +0000 (16:49 +0300)]
ci: Adjust "synnefo" url

10 years agoarchipelago: Fix wait request in common.py
Filippos Giannakos [Fri, 6 Sep 2013 09:53:59 +0000 (12:53 +0300)]
archipelago: Fix wait request in common.py

10 years agoci: Change demo synnefo infrastructure.
Filippos Giannakos [Fri, 6 Sep 2013 08:46:41 +0000 (11:46 +0300)]
ci: Change demo synnefo infrastructure.

10 years agodocs: Add showmapped vlmc command
Filippos Giannakos [Fri, 6 Sep 2013 08:45:50 +0000 (11:45 +0300)]
docs: Add showmapped vlmc command

10 years agodocs: Insert synnefo integration image + missing vlmc snapshot
Filippos Giannakos [Thu, 5 Sep 2013 11:54:18 +0000 (14:54 +0300)]
docs: Insert synnefo integration image + missing vlmc snapshot

10 years agotests: Add extra test in test_copy for filed
Filippos Giannakos [Thu, 8 Aug 2013 09:18:10 +0000 (12:18 +0300)]
tests: Add extra test in test_copy for filed

10 years agofiled: Respect req->size for copy requests
Filippos Giannakos [Thu, 8 Aug 2013 09:15:59 +0000 (12:15 +0300)]
filed: Respect req->size for copy requests

10 years agoMerge branch 'feature-docs' into develop
Filippos Giannakos [Wed, 7 Aug 2013 14:34:20 +0000 (17:34 +0300)]
Merge branch 'feature-docs' into develop

10 years agodocs: Add archipelago-{overview, apis} images
Filippos Giannakos [Tue, 6 Aug 2013 10:13:38 +0000 (13:13 +0300)]
docs: Add archipelago-{overview, apis} images

10 years agodocs: Fix some typos
Filippos Giannakos [Mon, 5 Aug 2013 14:00:35 +0000 (17:00 +0300)]
docs: Fix some typos

10 years agodocs: Add initial docs.
Filippos Giannakos [Mon, 5 Aug 2013 13:42:49 +0000 (16:42 +0300)]
docs: Add initial docs.

Add initial sphinx docs of archipelago. Also add ci script for automatic doc
compiling.

10 years agoMerge branch 'feature-powerof2' into develop
Filippos Giannakos [Wed, 7 Aug 2013 14:30:21 +0000 (17:30 +0300)]
Merge branch 'feature-powerof2' into develop

10 years agoarchipelago: Update conf documentation about nr_ops.
Filippos Giannakos [Wed, 7 Aug 2013 14:29:23 +0000 (17:29 +0300)]
archipelago: Update conf documentation about nr_ops.

Upate config documentation that a peer nr_ops must be a power of 2.

10 years agoarchipelago: Catch exceptions in argument parsing
Filippos Giannakos [Wed, 7 Aug 2013 14:29:04 +0000 (17:29 +0300)]
archipelago: Catch exceptions in argument parsing

10 years agoarchipelago: Set nr_ops = nr_threads for filed
Filippos Giannakos [Tue, 6 Aug 2013 10:06:59 +0000 (13:06 +0300)]
archipelago: Set nr_ops = nr_threads for filed

10 years agoarchipelago: Enforce nr_ops as a power of 2 for all peers
Filippos Giannakos [Tue, 6 Aug 2013 10:06:42 +0000 (13:06 +0300)]
archipelago: Enforce nr_ops as a power of 2 for all peers

10 years agofiled: Check fd limit against the real cache size
Filippos Giannakos [Tue, 6 Aug 2013 10:05:31 +0000 (13:05 +0300)]
filed: Check fd limit against the real cache size

10 years agopeer: Respect the nr of ops enforced by xq size.
Filippos Giannakos [Tue, 6 Aug 2013 10:04:39 +0000 (13:04 +0300)]
peer: Respect the nr of ops enforced by xq size.

10 years agoxq: Respect size when allocating and initializing
Filippos Giannakos [Tue, 6 Aug 2013 10:02:11 +0000 (13:02 +0300)]
xq: Respect size when allocating and initializing

When allocating and initializing a new xq, respect the xq size limit that the
initialization sets, and do not initialize past that.

10 years agofiled: Fix custom usage
Filippos Giannakos [Mon, 5 Aug 2013 10:44:51 +0000 (13:44 +0300)]
filed: Fix custom usage