1. 30 Apr, 2013 4 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).
  5. 23 Apr, 2013 1 commit
  6. 22 Apr, 2013 10 commits
    • Christos Stavrakakis's avatar
    • 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
    • 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.
    • Christos Stavrakakis's avatar
    • 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
    • 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.
    • 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).
    • 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
      Note: Currently plankton API filters in 'list_images' are not
      Refs #3510
    • 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.
    • 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.
  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 12 commits
  12. 07 Apr, 2013 1 commit
  13. 02 Apr, 2013 4 commits