Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ edbc1d5a

# Date Author Comment
edbc1d5a 11/23/2013 07:59 pm Christos Stavrakakis

cyclades: Remove duplicate constants

1cb7846c 11/23/2013 07:52 pm Christos Stavrakakis

cyclades: Fix removal of stale NICs in BUILD state

Until now, NICs that did not exist in the Ganeti backend and were in
BUILD state were removed after a timeout (BUILDING_NIC_TIMEOUT). This
was dangerous, because if an OP_INSTANCE_CONNECT job had been "stuck"...

f8df95f9 11/22/2013 04:51 pm Kostas Papadimitriou

ui: Typo fix

d6316aad 11/22/2013 04:49 pm Kostas Papadimitriou

ui: Remove dependency on vm_hostname_format setting

f21051c8 11/22/2013 04:46 pm Kostas Papadimitriou

ui: Styling improvements

2d92b7ed 11/22/2013 04:46 pm Kostas Papadimitriou

ui: Improve ipv6 connectivity warning styles

d14155e3 11/22/2013 04:44 pm Giorgos Korfiatis

cyclades: Enforce quota

Introduce command enforce-resources-cyclades, which checks for quota
violations and applies actions to enforce the limits. By default, it
operates only on these resources: cpu, ram, floating_ip.

2dc27ac1 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Add resource visibility flags

Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.
The former entails the latter.

90e7da53 11/22/2013 04:44 pm Giorgos Korfiatis

Remove resource import/export commands

They have been subsumed by the respective service import/export commands.

c2e41963 11/22/2013 01:16 pm Christos Stavrakakis

cyclades: Small fixes to server-import command

90fbedb6 11/21/2013 08:37 pm Kostas Papadimitriou

ui: Proper initialization of port progress indicator

in icon view vm ips

93c25f8d 11/21/2013 08:33 pm Kostas Papadimitriou

ui: Remove snapshots specific patch

37353119 11/21/2013 08:31 pm Kostas Papadimitriou

ui: Update image details title styles

8626b696 11/21/2013 08:31 pm Kostas Papadimitriou

ui: Avoid image name double escaping in vm wizard

de0693f8 11/21/2013 08:31 pm Kostas Papadimitriou

ui: Snapshot action indicator icon

d9128cf3 11/21/2013 08:31 pm Kostas Papadimitriou

ui: IPs icons

74831b0d 11/21/2013 08:31 pm Kostas Papadimitriou

ui: Handle port_forward vm info when available

display corresponding connect info in vm connect overlay

43b53ee7 11/21/2013 08:28 pm Kostas Papadimitriou

ui: Remove debug statement

3cac4a52 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Warn user when vm has no public ip v4

in vm connect overlay

d6d1f049 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Skip snapshot action confirmation step

bfb11987 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Network/IPs/Public keys action indicators

807a0305 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Truncate model names in several cases

b502f75d 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Avoid double escaping of image name

deeeb954 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Additional vm name truncates

6fe8c2ca 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Remove UI_VM_HOSTNAME_FORMAT setting

no longer needed since compute api responses contain the fqdn vm attribute.

Setting ``UI_NO_FQDN_MESSAGE`` setting added. Setting value will be displayed
when fqdn vm attribute is empty.

45ff73d0 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Remove categories list in vm wizard view

8d874572 11/21/2013 08:27 pm Kostas Papadimitriou

ui: IPs icon subview alignment fixes

9db70e60 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Fix network ports toggling overflow issues

9145aad9 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Disconnect action in vm ips icon subview

2b516a38 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Improve inactive vm actions handling

796d9069 11/21/2013 08:27 pm Kostas Papadimitriou

ui: Hide public network connect action border

d9f2a9e1 11/21/2013 01:28 pm Christos Stavrakakis

cyclades: Command to export Cyclades statistics

Add new 'snf-manage stats-cyclades' management command to export basic
statistics about Cyclades, like number of servers, network and resource
utilization. The command can either export the statistics either in JSON...

bda47e03 11/21/2013 01:28 pm Christos Stavrakakis

cyclades: Export Cyclades detailed stats from API

Add '/admin/stats/detail' API endpoint to export basic statistics about
Cyclades. Access to this view is only allowed to the users that belong
to specific Astakos groups, as specified in the new setting
'ADMIN_STATS_PERMITTED_GROUPS.' Also, added the new 'user_in_groups' API...

e897b073 11/20/2013 10:10 pm Christos Stavrakakis

cyclades: Delete stale NICs before migration

Extend migration file to delete NICs that belong to VMs that have
already been deleted. Such NICs may exist due to a bug in previous versions
of Synnefo, and are totally useless. Also, they must be removed because...

1fdd8d69 11/20/2013 08:08 pm Christos Stavrakakis

cyclades: Fix bugs relative with quotas

  • Reject previous unaccepted serials if action is 'DESTROY'. This is
    required because multiple DESTROY actions may be pending for the same
    resource (e.g. VM). The one who succeeds will be accepted, while all
    others will be rejected. This isn't optimal since it causes circular...
d1a71346 11/20/2013 07:52 pm Christos Stavrakakis

cyclades: Update firewall_profile field to None

Migration value of 'firewall_profile' attribute from '' to None.

e4330db2 11/20/2013 12:43 pm Kostas Papadimitriou

ui: Update firewall profile API calls

using port ids in action parameters

3e323ae8 11/20/2013 12:43 pm Kostas Papadimitriou

ui: Fix resolving of vm hostname

488209a5 11/20/2013 12:43 pm Kostas Papadimitriou

ui: Remove deprecated floating IPs API calls

7bbe4333 11/20/2013 12:05 pm Ilias Tsitsimpis

cyclades: Catch exception in verify_personality

The verify_personality function assumes that the contents of a
personality is encoded in base64 and tries to decode them. But if the
client didn't encode them a TypeError `Incorrect padding' will be
raised. Catch this exception and raise a BadRequest.

0b4268c8 11/20/2013 12:54 am Kostas Papadimitriou

ui: Display connections instead of machines

in networks view

375a9cb5 11/20/2013 12:41 am Kostas Papadimitriou

ui: Trigger window resize when needed

69dac1ba 11/20/2013 12:41 am Kostas Papadimitriou

ui: Networks/IPs updates and fixes

f784d324 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Floating ip creating progress styles

5bfb38cf 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Floating ip destroying style

176921aa 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Improve floating IP status display

af32efaa 11/18/2013 07:03 pm Kostas Papadimitriou

ui: VM ip addresses subview improvements

5475c563 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Improve floating ip status display

d647cc0b 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Remove debug statement

e6a4b75c 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Several ips/networks fixes and improvements

8e13afa9 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Enable automatic quota handling in collection views

b9add257 11/18/2013 07:03 pm Kostas Papadimitriou

ui: Disable language select menu

a45b4f10 11/18/2013 07:03 pm Kostas Papadimitriou

ui: SSH create view. Focus on name input by default

73517357 11/18/2013 12:48 pm Christos Stavrakakis

gtools: Fix Ganeti allocation parameters

When retrying a failed job, remove 'pnode' and 'snode' fields if they
were implicitly set by Ganeti iallocator. Ganeti will fail if both
iallocator and node are specified in the job.

7c132ef3 11/15/2013 04:46 pm Kostas Papadimitriou

ui: Remove options menu from header

213a8396 11/15/2013 04:46 pm Kostas Papadimitriou

ui: Public networks fixes

- 'Internet' instead of 'Public'
- Common prefix 'Internet' for both IPv4 IPv6 network names in vm wizard
- Loading indicator when creating a new floating ip from vm wizard

eab078ee 11/15/2013 04:46 pm Kostas Papadimitriou

ui: Hide empty private network list

bbea0414 11/15/2013 03:06 pm Christos Stavrakakis

helpdesk: Support quering history of public IPs

Add basic support for quering a public IP address. All uses of this IP
address are returned which are currently rendered to a dummy template.

4a71827c 11/15/2013 03:06 pm Christos Stavrakakis

helpdesk: Order IPs by allocation time

2152dd3f 11/15/2013 03:06 pm Olga Brani

helpdesk: Fix css and html for IP queries

87726194 11/15/2013 02:55 pm Giorgos Korfiatis

cyclades: Fix reference to QuotaLimit

5083fc47 11/15/2013 02:13 pm Christos Stavrakakis

Rename 'cpu' and 'ram' resources

Rename CPU and RAM relative resources to avoid data migrations.
Specifically, the resources that are renamed are the following:

  • cpu -> total_cpu
  • ram -> total_ram
  • active_cpu -> cpu
  • active_ram -> ram
44183264 11/15/2013 02:08 pm Christos Stavrakakis

cyclades: Rename FloatingIP to IPAddress

FloatingIP table has been removed. Instead floating IPs are stored in
the IPAddress table and are distinguished from other IP addresses by
the 'floating_ip' attribute.

368d879e 11/15/2013 01:38 pm Giorgos Korfiatis

cyclades: Generalize issue_and_accept_commission

Use issue_and_accept_commission for any action where one needs to
automatically accept the commission after issuing and committing.

0dc4b304 11/15/2013 01:38 pm Giorgos Korfiatis

cyclades: Handle qh errors in a context manager

Replace decorator handle_astakosclient_error with a more flexible
context manager, AstakosClientExceptionHandler.

4fb643b3 11/15/2013 01:35 pm Giorgos Korfiatis

cyclades: Change function params indentation

21eb7404 11/15/2013 01:35 pm Christos Stavrakakis

cyclades: Simplify issue_and_accept_commission

Simplify the 'issue_and_accept_commission' function that handled
commissions that should be auto-accepted. Also do not 'reject' the
serial, since the resource that corresponds to this serial has already
been committed to DB. Finally, refactor 'floating_ip' code that used this...

16b959ce 11/15/2013 01:33 pm Giorgos Korfiatis

cyclades: Issue commission based on action

Make issue_commission() the single point where provisions are computed
and the appropriate astakosclient call is issued.

fb540e3a 11/15/2013 01:32 pm Giorgos Korfiatis

cyclades: Resolve undecided serial in force mode

Reject a serial with pending=True only when we need to force a new
commission on a given resource.

Also improve handling of serial state: make sure pending is set to False
when we decide whether to accept or reject a serial. Mark a serial to...

64bca363 11/15/2013 01:32 pm Giorgos Korfiatis

cyclades: Pass action params in server_command

Commission to be issued depends on extra parameters for some actions,
e.g., on the flavor when resizing a vm.

02afb932 11/15/2013 01:32 pm Giorgos Korfiatis

cyclades: Fix commission parameter passing

Propagate `force' and `auto_accept' of handle_resource_commission
down to issue_commission.

6e73f499 11/14/2013 12:14 pm Christos Stavrakakis

cyclades: Allow deletion of ports from public nets

Move check about deleting a port from a public network. This check is
only enforced in the API, but is allowed in logic layer, e.g. snf-manage
commands.

a5a15eba 11/14/2013 12:14 pm Christos Stavrakakis

cyclades: Add '--active' filter to ip-list cmd

Add filter to display only IPs that are currently active.

64209939 11/14/2013 12:14 pm Christos Stavrakakis

cyclades: Rename attribute to 'router:external'

Rename 'external_router' attribute of network to 'router:external' as
defined in the API.

fb676f00 11/14/2013 08:41 am Dionysis Grigoropoulos

cyclades: Small bug fix in IP Pools

  • Handle invalid user input
501d0f38 11/14/2013 08:41 am Dionysis Grigoropoulos

cyclades: Update subnet-inspect

  • Update subnet inspect to print externally reserved IPs too
5b9f9c52 11/14/2013 08:41 am Dionysis Grigoropoulos

cyclades: Fix a bug in api/subnets.py

  • Allow users to view subnets that are attached to a public network
42e041f0 11/13/2013 07:41 pm Christos Stavrakakis

cyclades: Fix location of 'ip-list' command

3bb5e4b7 11/13/2013 02:26 pm Marios Kogias

cyclades: Fix and rename snf-command

Replace snf-manage floating-ip-history with ip-list
snf-manage ip-list (--address <ip_address>) (--server <server-id>)
This is a normal ListCommand so it can take other options like
--filter-by.

3a09d155 11/13/2013 11:28 am Christos Stavrakakis

Merge branch 'hotfix-0.14.10' into develop

Conflicts:
Changelog
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/callbacks.py
snf-cyclades-app/synnefo/logic/management/commands/reconcile-networks.py...

c9e99213 11/13/2013 11:06 am Christos Stavrakakis

cyclades: Update disk_templates if empty

Make backend_allocator to refresh the available disk templates of a
backend if there are empty.

046c8f11 11/13/2013 10:39 am Christos Stavrakakis

cyclades: Rename option

Rename '--allocation-pools' option to '--allocation-pool'.

32b1ed4a 11/13/2013 09:44 am Christos Stavrakakis

cyclades: Check drained only if not destroying

Check drained flag only if network actions is not destroy. When network
is being destroyed the network is automatically marked as drained to
exclude it from IP allocations.

af1832fe 11/13/2013 09:18 am Christos Stavrakakis

cyclades: Check for all finalized states

5a5ace7c 11/13/2013 09:16 am Christos Stavrakakis

cyclades: Check for all finalized states

55b3d06b 11/13/2013 08:41 am Christos Stavrakakis

cyclades: Fix broken tests

Fix some tests that broke because of recent changes in astakosclient.
The 'token' argument has been removed, so all mocking arguments are
shifted by one.

19441a04 11/12/2013 05:22 pm Giorgos Korfiatis

cyclades: Fix floating_ip resource counting

9b5dd109 11/12/2013 05:21 pm Christos Stavrakakis

cyclades: sed 's/astakos_url/astakos_auth_url/g'

89dc40ca 11/12/2013 04:31 pm Kostas Papadimitriou

ui: Floating IP connect vm overlay fix

pass collection instead of array in show_vms call

68cc89f6 11/12/2013 04:31 pm Kostas Papadimitriou

ui: Improve dynamic model attributes handling

c935b4ea 11/12/2013 04:31 pm Kostas Papadimitriou

ui: Avoid floating ip disconnect on busy vms

c12627c7 11/12/2013 02:31 pm Christos Stavrakakis

cyclades: Handle snf-ganeti bug

Create IPv6 only networks as /29 because snf-ganeti can not create /30
networks.

9835a70d 11/12/2013 01:44 pm Christos Stavrakakis

cyclades: Replace ASTAKOS_BASE_URL

Replace ASTAKOS_BASE_URL with ASTAKOS_AUTH_URL.

a1dae38d 11/12/2013 01:34 pm Christos Stavrakakis

Merge branch 'feature-cyclades-networks' into develop

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/server-inspect.py
snf-cyclades-app/synnefo/app_settings/urls.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/backend_allocator.py...

435bb7fb 11/12/2013 01:26 pm Kostas Papadimitriou

ui: Various styles improvements

f8aa9fc3 11/12/2013 01:26 pm Kostas Papadimitriou

ui: Improve port status display

a37c5497 11/12/2013 01:26 pm Kostas Papadimitriou

ui: Refactored network/ip vm connect overlay

7dff818c 11/12/2013 01:26 pm Kostas Papadimitriou

ui: Prefetch network api data on app initialization

ddffd973 11/12/2013 01:06 pm Christos Stavrakakis

cyclades: Fix some broking tests

f04ada8d 11/12/2013 10:30 am Dionysis Grigoropoulos

cyclades: Update common.get_subnet()

  • Fix the way we handle input of get_subnet()