1. 24 Sep, 2013 14 commits
  2. 23 Sep, 2013 1 commit
  3. 18 Sep, 2013 6 commits
  4. 17 Sep, 2013 5 commits
    • Christos Stavrakakis's avatar
      Bump version to 0.14.6rc3 · 3fa28799
      Christos Stavrakakis authored
      3fa28799
    • Kostas Papadimitriou's avatar
      helpdesk: Exclude nics of deleted vms · 2e66630b
      Kostas Papadimitriou authored
      when helpdesk users search using ip address
      2e66630b
    • Christos Stavrakakis's avatar
      cyclades: Mock vm removal if creation fails · a2daae31
      Christos Stavrakakis authored
      In case creating a VM fails before the OP_INSTANCE_CREATE job is
      enqueued in Ganeti, the VM and its NICs must be deleted, and the
      resources must be released from Quotaholder, which is exactly what is
      done when a VM is deleted from Ganeti. Instead of duplicating the code,
      this commit uses the same function that is used by snf-dispatcher, by
      mocking an successfully OP_INSTANCE_REMOVE.
      a2daae31
    • Christos Stavrakakis's avatar
      cyclades: Fix bug during server creation · baae8e7f
      Christos Stavrakakis authored
      Commit #32a0b85, modified server creation, by refetching the object from
      DB after issuing commission to quotaholder. However, the new object is
      not having the 'config_url' attributed, which is added to the vm object
      by the 'vmapi'. This commit, fixes this by moving the signal dispatching
      code after refetching the vm. Also, this commit makes more clear the
      exception handling code, when the creation job can not be enqueued to
      Ganeti.
      baae8e7f
    • Sofia Papagiannaki's avatar
      pithos: Fix pithos-manage-account command · 57328c5d
      Sofia Papagiannaki authored
      * Set DJANGO_SETINGS_MODULE
      * Disable by default failure reports
        during container quota updates
      57328c5d
  5. 16 Sep, 2013 9 commits
  6. 13 Sep, 2013 1 commit
  7. 12 Sep, 2013 4 commits
    • Giorgos Korfiatis's avatar
      cyclades: Do not save stale objects after a commit · 9b94fc30
      Giorgos Korfiatis authored
      Call to issue_and_accept_commission saves the resource object (eg a vm)
      and commits the transaction. This has the side-effect that the resource
      object becomes stale: its lock is released and another thread may acquire
      it and update the db record. It is thus not safe to further update and then
      save the stale object, since this would override others' changes. Instead,
      lock and fetch the object again, where needed.
      9b94fc30
    • Giorgos Korfiatis's avatar
      cyclades: Do not release resources if already deleted · 8101def7
      Giorgos Korfiatis authored
      Ensure that a commission to release vm resources is issued only once.
      If a vm is marked `deleted', then resources must have already been
      released.
      8101def7
    • Giorgos Korfiatis's avatar
      common: Strip trailing slash from endpoints · 31d98e59
      Giorgos Korfiatis authored
      Remove trailing slash from the endpoints' publicURL field in service
      definitions. These values end up in the response of POST /tokens, and,
      according to the keystone API, should not end in slash. A trailing slash
      breaks some clients, which do no proper checking before appending a
      suffix.
      
      Note that these URLs are not meant to act as a base path in the strict
      semantics of http://tools.ietf.org/html/rfc3986#section-5.2.3 . Suffixes
      should be merged into by a simple append (modulo catering for the joining
      slash).
      
      URLs are still configured as groups per prefix ending in a slash, eg:
      '^account/' and '^ui/'. Permanent redirects are added for all non-API
      endpoints (ui, helpdesk, admin, etc), so that `BASE_PATH/path' leads to
      `BASE_PATH/path/'.
      31d98e59
    • Giorgos Korfiatis's avatar
      pithos: Clear pithos_public endpoint's versionId · 1ed354f2
      Giorgos Korfiatis authored
      pithos_public service is not an API and should not be versioned; the
      public URLs operated by pithos do not include a version segment, anyway.
      
      Also make its type more specific, since type `public' is too generic.
      1ed354f2