Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ 0136e854

# Date Author Comment
0136e854 11/27/2013 03:06 pm Christos Stavrakakis

docs: Update upgrade notes to v0.15

Add section about converting existing networks to floating IP pools.
Also, add tool for converting public IPv4 addresses to floating IPs.

9cec0c17 11/27/2013 12:21 pm Christos Stavrakakis

cyclades: Change behaviour of servers fqdn

Change behaviour of 'CYCLADES_SERVERS_FQDN' setting: * If this setting is set to 'None', do not fall back to the public IP
address of the machine. * Return the value of the setting even if the machine has no public...

c32c74d9 11/26/2013 03:27 pm Christos Stavrakakis

cyclades: Fix bug by wrong indentation

e74a5b4b 11/26/2013 03:20 pm Christos Stavrakakis

cyclades: Improve messages for default networks

Improve log and exception messages when failing to connect new server to
default and forced server networks.

78a37c7f 11/26/2013 01:44 pm Christos Stavrakakis

cyclades: Fix typo in management command

bc4dfc43 11/26/2013 01:29 pm Christos Stavrakakis

cyclades: Include 'vlmc' and 'archipelago'

Fix image ID for both 'vlmc' and 'archipelago' ext providers.

ee995ae2 11/26/2013 01:11 pm Christos Stavrakakis

Merge branch 'master' into develop

Conflicts:
ci/schemas/one_node_wheezy/wheezy.conf
docs/admin-guide.rst
snf-cyclades-app/synnefo/api/actions.py
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/callbacks.py...

ddb7229d 11/25/2013 05:20 pm Kostas Papadimitriou

ui: Shutdown functionality in vm resize overlay

c700cb69 11/25/2013 05:20 pm Kostas Papadimitriou

ui: Several ui fixes

- Order ports by id
- Deleted port subview html element when port gets disconnected in ips view
- Update pending action class in networks view

530cc539 11/25/2013 05:20 pm Kostas Papadimitriou

ui: Public keys icons

b3aee2e0 11/25/2013 05:20 pm Kostas Papadimitriou

ui: Improve port view progress indicator

when port has an associated vm which is in transitional state

5d213e95 11/25/2013 05:20 pm Kostas Papadimitriou

ui: VM busy indicator in IPs pane

1605639f 11/25/2013 05:20 pm Kostas Papadimitriou

ui: Network creation rollback on subnet creation failure

do a destroy call on created network if associated subnet creation call
fails for some reason.

1709a768 11/25/2013 04:25 pm Dionysis Grigoropoulos

cyclades: Fix a bug in logic/subnets.py

  • Don't allow creation of subnets on a network that is initilized in a
    backend
5313efa9 11/25/2013 01:47 pm Christos Stavrakakis

cyclades: Rename script

b81e0ba5 11/25/2013 01:40 pm Christos Stavrakakis

cyclades: Rename hotplug to hotplug_if_possible

Use 'hotplug_if_possible' option when adding/removing NICs from
instances. 'hotplug' option will fail if the instance is already
stopped. Also, pass 'hotplug' option only if it is enabled.

57c57b88 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Typo fixes

0f89715b 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Update some snf-manage commands

  • Update network-remove, server-remove, floating-ip-remove, port-remove
    to extend RemoveCommand class added in commit
    ec15e2ab68f90dcc7310863c9293708055fbfb7d
20fc5c41 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Update some snf-manage *-remove commands

  • Add support for removal of multiple targets in snf-manage
    port-remove, server-remove, network-remove and floating-ip-remove
    commands
4a769fc0 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Handle invalid user input in neutron api

  • Try to convert floating-ip/port IDs to integers, in order to catch
    two unhandled exceptions
d27b16cc 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Verbal fixes on some snf-manage commands

2bd38823 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: More verbal fixes

28ac6e86 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Update snf-manage network-create

  • Allow the creation of a network without specifying any subnets
91430ce0 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Better handling of deleted subnets

  • Fix a bug where snf-manage subnet-list printed deleted subnets too
  • Fix a query, that also returned deleted subnets
ef761fe4 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Update success code on subnet create

406968dc 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Catch an unhandled exception

eb5f7eb0 11/25/2013 01:13 pm Dionysis Grigoropoulos

cyclades: Fix a bug in logic/subnets.py

  • Fix a potential crash if the gateway IP was the last available IP of
    the subnet
  • Create the corresponding test
83157287 11/25/2013 01:13 pm Dionysis Grigoropoulos

Add a new function to assert success code 201

  • Add assertSuccess201 function
  • Use this new function in test/subnets.py
88d998b9 11/25/2013 01:03 pm Christos Stavrakakis

cyclades: Add script for adding name to NICs

Add migration script for adding a unique name to the NICs of all Ganeti
instances. Also, this script updates the firewall instance tags to
include the NIC names and not the NIC index.

74267398 11/25/2013 11:33 am Christos Stavrakakis

cyclades: Add shutdown_timeout to RAPI client

Add missing 'shutdown_timeout' option to reboot, shutdown and destroy
methods of Ganeti RAPI client. The Ganeti RAPI daemon will ignore this
options until Ganeti 2.10.

51136096 11/25/2013 11:33 am Christos Stavrakakis

cyclades: Map reboot type to shutdown timeout

Fix handling of reboot type option. If 'hard' reboot type is specified
this is mapped to zero shutdown timeout of OP_INSTANCE_REBOOT Ganeti
job. This is only supported from Ganeti>=2.10 and snf-ganeti. In other...

2a58c29b 11/24/2013 02:53 pm Christos Stavrakakis

cyclades: Add default owner for port

Consider as default owner for a port the owner of the machine that the
port will be connected to.

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.

b2272468 11/22/2013 02:38 pm Christos Stavrakakis

cyclades: Add name to Ganeti NICs

Add 'name' attribute to newly created NICs. Currently, the name of the
NICs will not be used to refer to NICs, as it will be in Synnefo 0.15.
Names are added only to ease the migration to version 0.15. Also, this
commit updates snf-dispatcher to preserve the name of the NIC, if any,...

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

c22db8ce 11/20/2013 12:12 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.

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

aee560b0 11/18/2013 02:57 pm Christos Stavrakakis

cyclades: Do not retry all Ganeti failed creations

Make snf-dispatcher retry only the OP_INSTANCE_CREATE jobs that failed
due to opportunistic locking. Such jobs include the 'ECODE_TEMP_NORES'
error code in the opcode result. This commit makes snf-ganeti-eventd...

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.

7b4a61dc 11/18/2013 12:46 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.

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.