pithos: Change object header attribute 'Map-Exists' to 'Available'
pithos: Use new Archipelago conffile for mapper
pithos: Use new Archipelago conffile for glue
pithos: Adjust glue for XSEG dynamic port allocation
XSEG now supports dynamic port allocation. Pithcat instances can runsimultaneously by utilizing this new feature providing support forArchipelago volumes.
pithos: Lazy evaluation of "available" attribute
Whenever the backend tries to access the object's contentchecks its database records whether the snapshot map is available or not.If it is not, it pings Archipelago to check the status of the map.If the map exists, then it updates the snapshot record in the Pithos...
pithos: Database migration for "available" attribute.
deploy: Add archipelago related packages in conf
Those packages are currently found in apt.dev unstable and inceph's repo. Both are added in sources.list.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
pithos: Close archipelago resource after reading it.
Archipelago implicitly opens a resource after reading the map file. So we shouldclose it, after successfully reading it.
pithos: Use new Archipelago conffile for blocker
cyclades: Merge handling of images and snapshots
Also, rename 'checksum' to 'mapfile'.
cyclades: Process progress of snapshots
Update status of snapshots based on notifications about the progress ofGaneti OP_INSTANCE_SNAPSHOT job. Extend snf-ganeti-eventd andsnf-dispatcher to create and handle such notifications. Currently, westore the snapshot_id, in a hacky way as a reason in the...
cyclades: Add 'disk_template' to Volumes
Also check GANETI_CLONE_PROVIDERS
cyclades: volume-modify and various fixes
cyclades: Create servers with volumes
Extend Cyclades POST /servers API endpoint to support specifying volumeswhen creating a server. The call is extended with the'block_device_mapping_v2' field that contains a list of dictionaries,each of which contains the following information about the devices that...
cyclades: Implement volume-import command
Implement management command to import an existing Ganeti disk (that hasbeen created directly in the Ganeti backend) to Cyclades, as a newCyclades Volume.
cyclades: Implement server actions for volumes
Implement 'attach_volume' and 'detach_volume' server actions. Also, add'GANETI_MAX_DISKS_PER_INSTANCE' setting, to force a hard limit on themaximum number of disks a server can have.
cyclades: Implement API for volume attachments
Extend /servers API with 'os-volume_attachments' endpoint, containingAPI calls for attaching and detaching volumes to servers, andlisting/showing the volumes of a server.
cyclades: Update tests
cyclades: Add management commands for volumes
gtools: Make eventd send instance disks
Extend snf-ganeti-eventd to send the disks of the instance when needed,exactly like it is doing for the NICs of the instance.
cyclades: Make snf-dispatcher handle volumes
Update snf-dispatcher to handle messages from snf-ganeti-eventd aboutthe instance disks(volumes). Handling of disks is done almost exactly aswith NICs.
cyclades: Implement reconciliation for volumes
Extend 'reconcile-servers' management command, to reconcile the state ofCyclades Volumes with the corresponding disks of instances in the Ganetibackends.
deploy: WIP for archipelago
ci: Option to install x2go and firefox
cyclades: Various fixes relative for volumes
cyclades: Various fixes for snapshots
cyclades: Update volume unittests
pithos: pep8 fixes
cyclades: Make 'volume' an app
Add 'models.py' to make 'volume' a Django app.
cyclades: Handle keybord interrupt in dispatcher
ci: Add option to build pithos webclient
cyclades: Fix exception for missing snapshots
pithos: Move Xseg Pool initialization
Move Xseg Object Pool initialization to hashfiler module
pithos: Add snf-image support
pithos: Add default Archipelago config file
Add new constant ArchipelagoConfFile for the default Archipelagoconfig file. Set ArchipelagoConfFile after calling setupXsegPoolfunction.
pithos: Use new ArchipelagoConfFile constant
Remove BACKEND_ARCHIPELAGO_CONF and use the new ArchipelagoConfFileintroduced in WorkerGlue class.
pithos: New constants in ModularBackend class
Introduce new constants archipelago_conf_file and xseg_pool_sizein ModularBackend class. The new constant DEFAULT_ARCHIPELAGO_CONF_FILEis set in the default path '/etc/archipelago/archipelago.conf'.
Create the XSEG Object Pool while initializing ModularBackend class.
pithos: Use synnefo.settings in backend/__init__.py
ui: Fixes for volumes and snapshots
ui: Create vm snapshot view
- New overlay view to handle vm snapshot creation- Snapshot action available from vm single view
Conflicts:
snf-cyclades-app/synnefo/ui/templates/partials/machines.html snf-cyclades-app/synnefo/ui/templates/partials/machines_single.html
ui: Include snapshot action in vm icon view
ui: Introduce snapshot image type in vm wizard
ui: Update images collection every time user opens vm wizard
ui: Properly set snapshot OS attribute
if not already set
ui: Snapshot image icon
ui: Implement snapshot create api call
cyclades: Add SnapshotInstance RAPI method
cyclades: Delete volumes together with the instance
cyclades: Check that image fits into disk
Check that the disk size is big enough to fit the image.
cyclades: Allow snapshots only for ext_ template
Do not allow taking a snapshot from a volume, if the disk template isnot ext_*.
cyclades: Various fixes for volumes and snapshots
cyclades: Make plankton aware of snapshots
Add 'is_snapshot' attribute to plankton images. Also add methods forgetting or deleting a snapshot.
cyclades: Initialize 'volume' app
Initialize new 'volume' app, which will implement the block storage APIof Cyclades.
cyclades: Create DB models for 'volume' app
Also add VolumeFactory and SnapshotFactory models factories.
cyclades: Add urls for volume API
cyclades: Implementat volumes and snapshots
cyclades: Add tests for volumes
pithos: Change relative import "base"
Relative import "base" should be "pithos.backends.base"
pithos: Remove unused import objpool
pithos: Do not put xseg request before map retrieval
During map_retr_archipelago, we should not put the xseg request which fetchedthe map data, before actually retrieving them.
The ctypes "from_address" method, does not copy the data where the pointerpoints. It simply creates a ctypes instance using the given memory. Ctypes...
pithos: Fix bug when catching IllegalExceptionError
pithos: Add Archipelago Blocker and Mapper
pithos: Remove File - RADOS Blocker and Mapper
Add new constant for Archipelago configuration file in pithos API,PITHOS_BACKEND_ARCHIPELAGO_CONF
pithos: Add support for recognizing Archipelago Volumes
Fix mapfile support the new snapshot naming
Introduce new IllegalOperationError exception
Add access control to Archipelago Volume hashmaps and blocks.Raise an IllegalOperationError exception when trying to update an...
pithos: Introduce new register_object_map function
Register an object without providing any data. Cyclades canuse this function to register a newly created VM snapshot
pithos: Add Gevent Gunicorn Worker for Archipelago
pithos: Add glue code for Archipelago XSEG Object Pool and Gunicorn
pithos: Add monkey patch for making XSEG Request go green
pithos: Add configuration file for Gunicorn
Make workers delegate only one XSEG port pool
Merge branch 'release-0.15' into develop
Conflicts: snf-deploy/snfdeploy/__init__.py version
plankton: Fix wrong import
s/lib/util
plankton: Validate parameters and catch assertions
plankton: Fix storing of image properties
Image properties where stored all together as one metadata (JSON dumpedstring). This caused problems with the maximum allowed length of for ametadata value. This commit fixes this by storing each property as aseparate metadata which is prefixed with the 'PROPERTY_PREFIX'.
pithos: Database data migration for the plankton properties.
plankton: Validate meta key/value length
Fail with BadRequest if length of metadata key or value is not valid.
snf-deploy: Fix ASTAKOS_AUTH_URL for cyclades.conf
Add the '/astakos' prefix to the ASTAKOS_AUTH_URL path.
Add missing dhcp_queue option in nfdhcpd template
Since 0.12.0 nfdhcpd serves DHCPv6 requests in order to supply DNSrelated info. So we have to define a new NFQUEUE to mangle thecorresponding packets.
deploy: Fix cyclades configure()
CYCLADES_NODE_IP is needed for customizing cyclades.conftemplate for UI_MEDIA_URL.
deploy: workaround for java console Issue
Java VncViewer class has an issue with self-signed certificates.With existing deployment it does not work if UI_MEDIA_URL usesFQDN. Use the node's IP instead.
NOTE: In a linux (Debian) client add the following in...
docs: Update image api guide
cyclades: Check if the name of an image is null
cyclades: Stats per backend from API
Extend Cyclades stats API endpoint with the ability to return statsonly for a backend. Also, add option to include image stats or not.
plankton: Check that object is an image
Fix bug that caused Plankton to return Pithos files that were notregistered as images. Plankton did not checked that the requested Pithosobject (UUID or URL) was an Image. This was caused because'get_object_meta' call of PithosBackend returns the common metadata for...
cyclades: Fix typo in tests/networks.py
snf-deploy: Fix ownership of snf_pithos database
deploy: add missing ganeti collectd setup
cyclades: Typo fix in api/networks.py
cyclades: Update api/networks.py and typo fixes
Refs #4979
cyclades: Validate fields of API requests
Make sure that all fields of a request (user input) have a valid type.This commit validates 'ports', 'servers' and 'floating_ips' APIs.
cyclades: Detach serial from resource when resolved
cyclades: Delete unused quota code
cyclades: Update serial only if actually resolved
astakos: Display auth provider identifier in user-show command
snf_django: Fix bug in list commands
Fix bug in Synnefo ListCommand where you could not select to print onlythe user email columnd ('-o user.email').
astakos oa2: Fix request authorisation code failures due to unicode issue
If the object to be urlencoded has its own urlencode() method,use this instead.
Refs: #4971