1. 30 Apr, 2013 20 commits
  2. 29 Apr, 2013 1 commit
  3. 26 Apr, 2013 1 commit
  4. 25 Apr, 2013 1 commit
    • Christos Stavrakakis's avatar
      Fix deadlock when creating server · 3ab85869
      Christos Stavrakakis authored
      Fix deadlock when creating a server that was introduced by commit
      501053a. Allocating the public IP in the same transaction with creating
      the server resulted in a deadlock with backend allocator, because
      inserting the new VM in the database waits on an exclusive lock of the
      backend (foreign key).
      3ab85869
  5. 23 Apr, 2013 1 commit
  6. 22 Apr, 2013 10 commits
    • Christos Stavrakakis's avatar
      79e0e71e
    • Christos Stavrakakis's avatar
      Cyclades: reserve public IP after commission · 78562370
      Christos Stavrakakis authored
      When creating a server, do not reserve a public IP address before
      issuing commission to quotaholder. This bug resulted in unsynchronized
      IP pools between Cyclades and Ganeti, and needed external
      reconciliation to synchronize them.
      
      Refs #3570
      78562370
    • Christos Stavrakakis's avatar
      Bypass authentication in image-show command · 011eae89
      Christos Stavrakakis authored
      Make image-show management command to show information about an image
      without passing a userid. Use 'image_list' command of ImageBackend
      instead of 'get_image' because the second one will raise Forbidden for
      non-public images.
      
      Also make command to use 'pprint_table' to print image info.
      011eae89
    • Christos Stavrakakis's avatar
      7e425ca3
    • Christos Stavrakakis's avatar
      plankton: Correct image unregister · 44c046e1
      Christos Stavrakakis authored
      Correct usage of 'update_object_meta' function to remove all metadata
      from plankton domain. Use an empty dictionary with replace=True.
      
      Refs #3522
      44c046e1
    • Christos Stavrakakis's avatar
      plankton: raise BadRequest for invalid location · 5397f8eb
      Christos Stavrakakis authored
      Modify 'add_image' plankton API method, to check that location parameter
      is a valid Pithos url, and raise BadRequest if not.
      5397f8eb
    • Christos Stavrakakis's avatar
      List all images in snf-manage image-list · 8af5f221
      Christos Stavrakakis authored
      Until now 'snf-manage image-list' management command printed only images
      that were public, or accessible by a specific user. This commit changes
      this command to print all images (regardless of the owner).
      8af5f221
    • Christos Stavrakakis's avatar
      Improve performance in listing images · 96a3cbf6
      Christos Stavrakakis authored
      Use '_get_domain_objects' function of Pithos backend, to list all
      objects in a 'plankton' domain, instead of looping over all accessible
      accounts, containers and objects. This function also returns metadata
      and permissions for each object in order to avoid two extra calls for
      each returned image.
      
      This should provide a significant performance boost in listing available
      images.
      
      Note: Currently plankton API filters in 'list_images' are not
      implemented.
      
      Refs #3510
      96a3cbf6
    • Christos Stavrakakis's avatar
      plankton: Cleanup and improve code · 73d42021
      Christos Stavrakakis authored
      Major refactor in plankton APP and ImageBackend code:
      * Remove unused code
      * Remove 'plankton_method' decorator that added an ImageBackend to
        requests an replace it with 'image_backend' context manager. This
        context manager is responsible for opening and closing connections
        to PithosBackend and converting ImageBackend errors to cloud faults.
      * Update plankton and images API methods and tests.
      73d42021
    • Christos Stavrakakis's avatar
      Remove transaction from 'backend-add' command · c117548d
      Christos Stavrakakis authored
      Do not run 'backend-add' command inside transaction, because if
      'snf-dispatcher' is running, it will receive messages that will arrive
      from a Ganeti backend that does not exist in the DB and will not be able
      to process them.
      c117548d
  7. 16 Apr, 2013 1 commit
  8. 15 Apr, 2013 2 commits
  9. 11 Apr, 2013 1 commit
  10. 10 Apr, 2013 1 commit
  11. 08 Apr, 2013 1 commit
    • Constantinos Venetsanopoulos's avatar
      Make all Changelog files prior to 0.13 obsolete · f12dd5a4
      Constantinos Venetsanopoulos authored
      Since v0.13, all Synnefo components will have the same version and the
      same Changelog, NEWS, Upgrade, Copyright file. This patch addresses
      old Changelog, NEWS and Upgrade files:
      
       * Move all separate Changelog files under docs/older/
       * Move all separate Upgrade files under docs/older/
       * Add skeleton for the new, single, unified Changelog file
       * Add skeleton for the new, single, unified NEWS file
      
      Copyright files will follow with a separate patch.
      f12dd5a4