1. 03 Oct, 2013 8 commits
  2. 02 Oct, 2013 12 commits
  3. 01 Oct, 2013 20 commits
    • Christos Stavrakakis's avatar
      cyclades: Add missing queue · e59be7bb
      Christos Stavrakakis authored
      QUEUE_CLUSTER must be included in QUEUES.
      e59be7bb
    • Christos Stavrakakis's avatar
      cyclades: Make disk_templates work with Ganeti<2.8 · a37fd7a8
      Christos Stavrakakis authored
      'enabled_disk_templates' cluster attribute has been added in Ganeti 2.8.
      If this attribute is missing, return the ipolicy disk templates.
      a37fd7a8
    • Christos Stavrakakis's avatar
      cyclades: Fix typo · 943b1afe
      Christos Stavrakakis authored
      943b1afe
    • Christos Stavrakakis's avatar
      cyclades: Fix bug in custom field · 6a276da5
      Christos Stavrakakis authored
      Rename get_db_prep_value to get_prep_value. In django 1.4 the second one
      is just a wrapper for the first one.
      6a276da5
    • Christos Stavrakakis's avatar
      3d5b54b4
    • Christos Stavrakakis's avatar
      wheezy: Remove setup_environ · 3864fc23
      Christos Stavrakakis authored
      From Django docs:
      """
      This function temporarily modified sys.path in order to make the parent
      “project” directory importable under the old flat startproject layout.
      This function is now deprecated, as its path workarounds are no longer
      needed with the new manage.py and default project layout.
      
      This function was never documented or part of the public API, but it was
      widely recommended for use in setting up a “Django environment” for a
      user script. These uses should be replaced by setting the
      DJANGO_SETTINGS_MODULE environment variable or using
      django.conf.settings.configure().
      
      """
      3864fc23
    • Christos Stavrakakis's avatar
      wheezy: fix is_safe attribute of template filters · 54ebf9c8
      Christos Stavrakakis authored
      In Django 1.4 'is_safe' and 'needs_autoescape' attributes has been made
      keyword arguments of @register.filter
      54ebf9c8
    • Christos Stavrakakis's avatar
      wheezy: Rename depricated HttpRequest attribute · edf9616d
      Christos Stavrakakis authored
      From django docs:
      """
      HttpRequest.raw_post_data renamed to HttpRequest.body
      
      This attribute was confusingly named HttpRequest.raw_post_data, but it
      actually provided the body of the HTTP request. It’s been renamed to
      HttpRequest.body, and HttpRequest.raw_post_data has been deprecated.
      """
      edf9616d
    • Christos Stavrakakis's avatar
      Request Django=>1.4, <1.5 · f8082d99
      Christos Stavrakakis authored
      Drop support for Django 1.2. Remove compatibility code that were used in
      order to support Django 1.2 and 1.4. Finally update django documentation
      link in the docs.
      f8082d99
    • Christos Stavrakakis's avatar
      Merge branch 'hotfix-0.14.8' into develop · bf9d6a8f
      Christos Stavrakakis authored
      Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5
      
      Conflicts:
      	ci/ci_squeeze.conf
      	ci/ci_wheezy.conf
      	ci/schemas/one_node_squeeze/packages.conf
      	ci/schemas/one_node_squeeze/squeeze.conf
      	ci/schemas/one_node_squeeze/wheezy.conf
      	ci/schemas/one_node_wheezy/packages.conf
      	ci/schemas/one_node_wheezy/squeeze.conf
      	ci/schemas/one_node_wheezy/wheezy.conf
      	ci/tests.sh
      	ci/utils.py
      	snf-astakos-app/astakos/im/forms.py
      	snf-astakos-app/astakos/im/tests/projects.py
      	snf-astakos-app/astakos/im/views/im.py
      	snf-astakos-app/astakos/im/weblogin_urls.py
      	snf-astakos-app/astakos/urls.py
      	snf-astakos-app/setup.py
      	snf-cyclades-app/synnefo/api/networks.py
      	snf-cyclades-app/synnefo/api/tests/flavors.py
      	snf-cyclades-app/synnefo/app_settings/urls.py
      	snf-cyclades-app/synnefo/logic/management/commands/reconcile-networks.py
      	snf-cyclades-app/synnefo/logic/tests/callbacks.py
      	snf-deploy/conf/packages.conf
      	snf-deploy/conf/squeeze.conf
      	snf-deploy/conf/wheezy.conf
      	snf-deploy/fabfile.py
      	snf-deploy/files/etc/apt/sources.list.d/synnefo.squeeze.list
      	snf-deploy/files/etc/apt/sources.list.d/synnefo.wheezy.list
      	snf-deploy/files/etc/synnefo/webproject.conf
      	snf-django-lib/snf_django/lib/api/__init__.py
      	snf-django-lib/snf_django/lib/api/urls.py
      	snf-django-lib/snf_django/utils/testing.py
      	snf-pithos-app/setup.py
      	snf-stats-app/synnefo_stats/urls.py
      	version
      bf9d6a8f
    • Christos Stavrakakis's avatar
      fde7c36c
    • Christos Stavrakakis's avatar
      cyclades: Callback for cluster modifications · 667d82de
      Christos Stavrakakis authored
      Extend snf-dispatcher callbacks with one to run every time an
      OP_CLUSTER_ opcode is executed in a Ganeti backend.
      
      * make snf-ganeti-eventd send messages on cluster modifications. These
        messages do not contain any description about the job.
      * create new queue %(prefix)-events-cluster with routing key
        'ganeti.event.cluster'.
      * add update_cluster callback to update the disk templates and the
        resources of the backend.
      667d82de
    • Giorgos Korfiatis's avatar
      astakos: Avoid spaces in field names · 4447a69f
      Giorgos Korfiatis authored
      Rename fields in component-list management command so that they do not
      contain spaces.
      4447a69f
    • Christos Stavrakakis's avatar
      a6b19002
    • Giorgos Korfiatis's avatar
    • Giorgos Korfiatis's avatar
      astakos: Show component details · b9c39885
      Giorgos Korfiatis authored
      Introduce management command `component-show', which lists component
      attributes, including a list with the related registered services.
      b9c39885
    • Giorgos Korfiatis's avatar
      astakos: Store base URL in component · eae82002
      Giorgos Korfiatis authored
      Deployer should provide it when adding a new component. Service endpoints
      originating from a component are expected to match its base URL; otherwise,
      a warning is issued during service registration. Re-registration with
      `snf-component-register' affects both the base and the ui URLs.
      
      `component-list' now lists by default the base URL.
      eae82002
    • Giorgos Korfiatis's avatar
      astakos: Remove trailing slash from example URLs · 97602dd9
      Giorgos Korfiatis authored
      Since endpoint URLs do not end with slash any more, adapt base and ui URL
      examples for uniformity.
      97602dd9
    • Giorgos Korfiatis's avatar
      astakos: Fix service update · 9410f3da
      Giorgos Korfiatis authored
      When registering a service that already exists, update its attributes.
      9410f3da
    • Giorgos Korfiatis's avatar
      docs: Upgrade sketch for 0.15 · 29f915b1
      Giorgos Korfiatis authored
      29f915b1