Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ d4325f42

# Date Author Comment
d4325f42 06/11/2013 04:38 pm Christos Stavrakakis

Fix compatibility issues with factory_boy

Update models_factory to use factory.DjangoModelFactory instead of
factory.Factory.

2af5dc96 06/11/2013 03:55 pm Georgios D. Tsoukalas

cyclades: fix compute api /versions

d1d7ec34 06/10/2013 09:18 pm Christos Stavrakakis

cyclades: Retry requests to quotaholder

0b690065 06/10/2013 05:02 pm Vangelis Koukis

Cyclades UI: minor textual change in networks

18c4414d 06/07/2013 03:15 pm Giorgos Korfiatis

cyclades: Rename service token

Rename CYCLADES_ASTAKOS_SERVICE_TOKEN to CYCLADES_SERVICE_TOKEN for
uniformity.

56a76611 06/07/2013 12:56 am Kostas Papadimitriou

cyclades: Use api_patterns to register API urls

7fb14dbb 06/06/2013 06:05 pm Kostas Papadimitriou

cloudbar: Automatic active service detection

automatically detect which cloudbar menu is active by matching the current
window location with the registered service url.

aca448cf 06/05/2013 09:14 pm Kostas Papadimitriou

cyclades: Sensible root url redirects

923e6582 06/05/2013 05:31 pm Georgios D. Tsoukalas

Rename astakos_keystone to astakos_identity

7103bed5 06/05/2013 03:24 pm Georgios D. Tsoukalas

cyclades: rename type 'cyclades_vmapi' to 'vmapi'

4d6a9408 06/04/2013 08:39 pm Kostas Papadimitriou

cyclades: Missing import

adcfcd8c 06/04/2013 08:37 pm Kostas Papadimitriou

cyclades ui: Improvements in ui url settings

- Use get_public_endpoint to resolve each service url
- Depend on cyclades_settings for services objects

bb516951 06/04/2013 08:36 pm Kostas Papadimitriou

plankton: Update api version prefix

v1 -> v1.0

1691312c 06/04/2013 08:34 pm Kostas Papadimitriou

cyclades: Fill endpoints to astakos_services object

enable modules that include object from cyclades_setting to access endpoint
urls.

2bf7498b 06/04/2013 07:14 pm Georgios D. Tsoukalas

cyclades: compute version v1.1 -> v2.0 in URLs

b70c0e29 06/04/2013 07:14 pm Georgios D. Tsoukalas

cyclades: fix syntax error in service list

43d9e5f4 06/04/2013 05:48 pm Giorgos Korfiatis

cyclades: Fix syntax errors in resource definition

fc5e8f04 06/04/2013 05:32 pm Georgios D. Tsoukalas

cyclades: add version 'v1.0' to vmapi URLs

47d421ae 06/04/2013 05:31 pm Georgios D. Tsoukalas

Incorporate all resources into service definitions

- Add 'service_origin' key in resources, as the normative name of
the service that exported it.
- Keep resources backwards compatible, export-resource-service
reads resources from the service list.

cbc4c781 06/04/2013 02:15 pm Georgios D. Tsoukalas

cyclades: fix URLs in vmapi

125a1cee 06/04/2013 02:15 pm Georgios D. Tsoukalas

cyclades: plankton/image version 'v1' -> 'v1.0'

69edece7 06/03/2013 07:54 pm Georgios D. Tsoukalas

cyclades: add version 'v1' in plankton/image URLs

beb6bb20 06/03/2013 06:12 pm Giorgos Korfiatis

cyclades: Remove obsolete delegate

Also remove setting UI_ACCOUNTS_API_URL

89d091bf 06/03/2013 03:33 pm Giorgos Korfiatis

cyclades, pithos: Update resource definitions

Include service_type in each resource dict.

22a882a1 06/03/2013 03:32 pm Georgios D. Tsoukalas

cyclades: informative CYCLADES_BASE_URL default

b55b9692 06/03/2013 02:09 pm Giorgos Korfiatis

common: Export only services specified as public

Employ helper function `filter_public' in service-export-* commands.
Also set `pithos_ui' service to non-public and clear version of
`astakos_ui'.

fb814235 06/03/2013 01:45 pm Kostas Papadimitriou

astakos: Update references to astakos urls

/im/ renamed to /ui/.
Updated all references in default settings, documentation and constants.

c2873a91 06/03/2013 11:50 am Georgios D. Tsoukalas

cyclades: add service-export-cyclades command

00d2a0ee 06/03/2013 11:50 am Georgios D. Tsoukalas

astakosclient: add service catalog

4080a1df 06/03/2013 11:50 am Georgios D. Tsoukalas

service catalogs: autofill endpoints from BASE_URL

27738c43 06/03/2013 11:50 am Kostas Papadimitriou

cyclades ui: Clean up ui url settings

- Removed most url's from ui conf file. Default values are dynamically set based
on other settings (CYCLADES_BASE_URL, ASTAKOS_BASE_URL etc.). We still do
service lookups to be able to change urls in extraordinary deployments....

7eb45083 06/03/2013 11:50 am Kostas Papadimitriou

cyclades ui: Handle non empty base urls better

BASE_PATH is not slash prefixed causing js to make requests to relative urls.

acb284f7 06/03/2013 11:50 am Kostas Papadimitriou

cyclades ui: Allow developers to disable logout redirects

using UI_AUTH_SKIP_REDIRECTS. Useful for developers coping with 401 cyclades
api responses.

cb561c2f 06/03/2013 11:50 am Kostas Papadimitriou

cyclades ui: Remove debug statement

efb00000 06/03/2013 11:50 am Georgios D. Tsoukalas

cyclades: add service catalog module

3ab15f84 06/03/2013 11:50 am Georgios D. Tsoukalas

cyclades: initialize settings from service catalog

b1fb3aac 06/03/2013 11:50 am Kostas Papadimitriou

cyclades ui: Configurable ui prefix path

0c2166b9 06/03/2013 11:50 am Kostas Papadimitriou

cyclades ui: Move connect/console urls under ui

9f6eb417 06/03/2013 11:50 am Kostas Papadimitriou

cyclades ui: Handle empty EXTRA_RDP_CONTENT setting

b47b110d 06/03/2013 11:50 am Kostas Papadimitriou

cyclades: Remove userdata api from ui prefix

- Individualize userdata api by placing module under synnefo namespace and
urs under it's own USERDATA_PREFIX

6015b1d3 06/03/2013 11:50 am Kostas Papadimitriou

cyclades: Remove duplicate INSTALLED_APPS entry

e3ff6830 06/03/2013 11:49 am Georgios D. Tsoukalas

make synnefo URLs consistent and configurable

https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______|
BASE_HOST BASE_PATH PREFIX Hardcoded...

3f1bee22 06/03/2013 11:48 am Georgios D. Tsoukalas

cyclades: remove all csrf_exempt usage.

The csrf middleware is not to be installed with cyclades,
therefore there is no need to use csrf_exempt.

6dafedf6 05/31/2013 05:12 pm Christos Stavrakakis

cyclades: Add 'drained' flag to Network

Extend Network model with the 'drained' attribute, to indicate whether a
network should be used in public IP allocation when creating servers.
This option is only useful for public networks.

270b11f9 05/31/2013 02:36 pm Kostas Papadimitriou

cyclades ui: Show password view minor improvement

avoid redirecting user to the single view of the build vm

499d9bfe 05/31/2013 01:13 pm Christos Stavrakakis

cyclades: Raise 500 for commission errors

Wrap all calls to astakosclient for commissions to raise 500, if any
error other than QuotaLimit(413) occurs.

75b8439a 05/29/2013 05:56 pm Olga Brani

Merge branch 'develop' of https://code.grnet.gr/git/synnefo into develop

acf78de3 05/29/2013 05:56 pm Olga Brani

branding: Improve footer appearance

Capitilize 'synnefo' in footer and remove space between v and version
number in footer

8a992938 05/28/2013 01:22 pm Christos Stavrakakis

cyclades: Rename meta to metadata at Cyclades URLs

For compatibility with OpenStack Compute API v2, rename 'meta' to
'metadata' to Cyclades API URLs. Specifically, to the following ones:

  • /servers/<server-id>/meta
  • /servers/<server-id>/meta/<key>
  • /images/<image-id>/meta...
5029ff36 05/28/2013 01:22 pm Christos Stavrakakis

cyclades: Remove "values" term from API

For compatibility with OpenStack Compute API v2, we remove the
term 'values' from all JSON requests and responses.

Refs #3768

e13aeb09 05/28/2013 01:22 pm Christos Stavrakakis

cyclades: Remove 'Ref' suffix from servers API

Rename 'flavorRef' to 'flavor' and 'imageRef' to 'image', to responses of
/servers API. 'flavorRef' and 'imageRef' are still preserved to to request
parameters of POST /servers.

Refs #3768

2d04422f 05/28/2013 01:22 pm Christos Stavrakakis

cyclades: Update tests

Update tests to use OpenStack Compute API v2.

Refs #3768

a333c901 05/28/2013 01:22 pm Christos Stavrakakis

cyclades: Rename 'cpu' to 'vcpus' to flavor API

Rename attribute of GET /flavors response, from 'cpu' to 'vcpus'.

Refs #3768

0dee4086 05/28/2013 01:22 pm Kostas Papadimitriou

cyclades ui: In sync with the updated compute api

Update javascript libraries to keep up with the latest changes in compute api.

29fef7b9 05/28/2013 01:22 pm Christos Stavrakakis

ui: Rename flavor 'cpu' to 'vcpus'

d63606c8 05/28/2013 01:22 pm Kostas Papadimitriou

cyclades ui: Revert glance response parsing

Refs: #3768

d5fd0d3c 05/28/2013 01:22 pm Kostas Papadimitriou

cyclades ui: Update metadata post/delete url

the updated api uses /metadata/ instead of /meta/

Refs: #3768

1489e9b1 05/28/2013 01:22 pm Kostas Papadimitriou

cyclades ui: Revert server create params names

the new api changed image/flavor keys only in servers response.
imageRef and flavorRef are still required in server create requests
(makes sense)

Refs: #3768

7055982e 05/28/2013 08:14 am Kostas Papadimitriou

cyclades ui: Always send network type in create request

type parameter is mandatory in private network creation requests.

7ad07359 05/27/2013 06:04 pm Kostas Papadimitriou

helpdesk: Configurable media url

d3e3ad5d 05/24/2013 04:30 pm Christos Stavrakakis

cyclades: Always add attachments to server info

Update /servers API, to include attachments to /servers responses,
even if the server has no NICs.

7f79fa49 05/24/2013 04:17 pm Christos Stavrakakis

cyclades: Export hypervisor to backend-list cmd

ac47eef6 05/24/2013 04:15 pm Christos Stavrakakis

cyclades: Fix bug in network test

58350a50 05/23/2013 04:30 pm Sofia Papagiannaki

astakos: move get_services back to astakos im services

052ef3b9 05/23/2013 12:53 pm Christos Stavrakakis

cyclades: Fix bug in network-modify management cmd

Use 'parse_bool' function to parse '--dhcp' option. Also, include
'dhcp' to default columnds of 'network-list' command.

9cd9bfe7 05/22/2013 01:31 pm Olga Brani

branding: Renaming SYNNEFO_JS_LIB_VERSION to SYNNEFO_VERSION

0be81d73 05/21/2013 07:41 pm Sofia Papagiannaki

astakos: move get_menu service under astakos im services

get_menu is used only by astakos cloudbar:
it should not be under astakos api services

4c9ac139 05/21/2013 02:09 pm Christos Stavrakakis

cyclades: Add --hypervisor option to backend cmds

Add '--hypervisor' option to 'backend-add' and 'backend-modify'
management commands.

Refs #3772

bd87213f 05/21/2013 02:07 pm Christos Stavrakakis

cyclades: Sypport backends with Xen hypervisor

Support Ganeti backends with Xen hypervisor:
  • Extend 'Backend' model with the 'hypervisor' attribute, which
    currently can be 'kvm' or 'xen'. Use 'kvm' as default value to
    easy database migration. Also add the corresponding schema migration....
040fcb12 05/21/2013 01:03 pm Kostas Papadimitriou

helpdesk: Update tests

use existing cyclades db factories instead of json fixtures which are painful
to maintain

73f9a3d5 05/21/2013 12:41 pm Kostas Papadimitriou

cyclades ui: Handle no missing image ids case

614fb66b 05/20/2013 07:59 pm Kostas Papadimitriou

cyclades ui: Fix resolving of missing image ids

- Start resloving once the images have been loaded.
- Continue loading view progress only once all missing ids have been resolved.

734107ef 05/20/2013 03:09 pm Kostas Papadimitriou

branding: Use branding util to render email templates

Use synnefo_branding.util.render_to_string accross synnefo apps to be able to
use branding variables within the templates.

7f16b9b1 05/20/2013 03:08 pm Kostas Papadimitriou

cyclades ui: Configurable userdata api url

PublicKey collections used hardcoded urls to access the ssh public keys
api. A new dummy view added (to serve '/ui/userdata/') to be able to use
django reverse mechanism for the base url of userdata api.

8b14f29d 05/20/2013 08:55 am Kostas Papadimitriou

cyclades ui: Avoid setting group in personality metadata

3f339d85 05/20/2013 08:48 am Kostas Papadimitriou

cyclades ui: Include missing index view setting

UNKNOWN_OS setting was missing from the index view context, causing javascript
errors.

7bdf51c4 05/17/2013 05:39 pm Georgios D. Tsoukalas

cyclades: fix name errors in app_settings

5aa83766 05/16/2013 06:57 pm Kostas Papadimitriou

Merge branch 'feature-branding' into develop

Conflicts:
snf-astakos-app/astakos/im/templates/im/account_pending_moderation_notification.txt
snf-astakos-app/astakos/im/templates/im/group_creation_notification.txt
snf-astakos-app/astakos/im/views.py

a6a2112e 05/16/2013 06:55 pm Kostas Papadimitriou

cyclades: Update proxy user services

use the common api.proxy method from snf-django-lib

205cc8d3 05/16/2013 06:41 pm Giorgos Korfiatis

Catch QuotaLimit exception when reconciling resources

This can happen, if the actual usage registered by a service exceeds
the quota limit.
Advise the user to try the --force option.

bcd80cd9 05/16/2013 06:30 pm Christos Stavrakakis

cyclades: Move common code to seperate function

Move common between API method and management command for creating a
server to a separate function.

eec66d97 05/16/2013 06:30 pm Christos Stavrakakis

cyclades: Fix bug in flavor-modify command

Fix bug in flavor-modify command, which resulted in flavors being always
deleted. Deleted option must be parsed to bool, otherwise is always
True.

e892db2d 05/16/2013 06:30 pm Christos Stavrakakis

helpdesk: Use 'mock' library to bypass auth

Use mock to library to bypass astakos authentication in helpdesk views.

263cb456 05/16/2013 03:47 pm Olga Brani

Synnefo branding: Documentation correction & minor fixes

d2c9adac 05/15/2013 06:36 pm Christos Stavrakakis

Use custom method for joining urls

Implement 'join_urls' method for joining a base URL with a path,
without worrying about redundant or missing "/". Do not use
'urlparse.urljoin', since it has different semantics.

e4ce2d35 05/15/2013 06:35 pm Christos Stavrakakis

cyclades: fix db migration

Migration 0066 should not run on a fresh installation.

3dbd9457 05/15/2013 05:05 pm Christos Stavrakakis

cyclades: Make cyclades work with pycrypto==2.6

In PyCrypto 2.6, it is mandatory to use an IV of 16 bytes when using AES
encryption. This commit updates 'aes_encrypt' module to use a random IV.
Also, a data migration is required to re-encrypt the old passwords, as...

f58b0a14 05/15/2013 04:06 pm Olga Brani

Correct merging error

8b9e871d 05/14/2013 03:14 pm Olga Brani

Merge branch 'develop' into feature-branding

Conflicts:
snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js
snf-astakos-app/astakos/im/templates/im/base.html
snf-astakos-app/astakos/im/templates/im/landing.html
snf-astakos-app/astakos/im/views.py...

c6c889f7 05/14/2013 02:09 pm Christos Stavrakakis

cyclades: Various fixes to tests

fd95834e 05/14/2013 01:25 pm Christos Stavrakakis

dispatcher: Handle NICs in callbacks.

Update 'update_db' callback to handle instance NICs together with
instance status.

Also update the relevant tests.

be4d8aed 05/14/2013 01:25 pm Christos Stavrakakis

cyclades: simplify comparison of NICs

95059648 05/14/2013 01:25 pm Christos Stavrakakis

Remove 'snf-events-net' queue and binding

Remove 'snf-events-net' queue (together with the corresponding routing
key and binding) from the queues that snf-dispatcher is consuming
messages. This queue is no longer needed, because messages for instance
NICs will be sended by snf-ganeti-eventd to 'snf-events-op' queue....

acfc71ef 05/14/2013 01:25 pm Christos Stavrakakis

cyclades: Fix deadlock when connecting vms

Fix deadlock caused by 'get_or_create' method, since it acquires an
implicit shared lock. Take an exclusive lock on network to fix this
deadlock.

5b0832fc 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fix stale 'DeletedError' exception

a5781130 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fix typo in comment

27cda06b 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fixes relevant to lazy networks

de1fed2b 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Simplify reconcile-networks checks

Refactor and simplify checks of reconcile-networks to take advantage
of lazy networks.

b471b597 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fix bug in management command

Do not try to issue commission for networks without user (e.g. public
networks), when deleting them.

1e23ceb2 05/14/2013 12:32 pm Olga Brani

Synnefo branding: Remove greek text & verbal fixes

Emails sent to Astakos Users do not contain greek translations any more.
Minor verbal corrections are made and title attribute are added to logos
links.