Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app @ 501d0f38

# Date Author Comment
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
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()
2e0f135c 11/12/2013 02:22 am Marios Kogias

cyclades: Rename snf-manage floating-ip-state

New name is snf-manage floating-ip-history <floating-ip-address>
Get info about which servers this ip is or was connected to.

5e66fc73 11/11/2013 07:32 pm Kostas Papadimitriou

ui: Allow disconnect of floating network ports

4bf6778f 11/11/2013 05:59 pm Kostas Papadimitriou

ui: Configurable forced networks in network select view

9c8f31ad 11/11/2013 05:21 pm Kostas Papadimitriou

ui: Network select view improvements in vm wizard

5035e5f7 11/11/2013 05:02 pm Kostas Papadimitriou

ui: Missing resize action icon

27d628c4 11/11/2013 05:02 pm Kostas Papadimitriou

ui: Implement floating ip port disconnect

6201f0e3 11/11/2013 05:02 pm Kostas Papadimitriou

ui: Separate truncate length for icon/single port list views

44bd008a 11/11/2013 04:43 pm Dionysis Grigoropoulos

cyclades: Fix a bug in network and subnet create

  • Fix a bug if the user specified no allocation pools
  • Fix a wrong error message in logic/subnets.py
0d1f9117 11/11/2013 04:00 pm Dionysis Grigoropoulos

cyclades: Add a new function in logic/subnets.py

  • Add a function in logic/subnets.py that parses allocation pools
  • Add a new option in snf-manage network-create for allocation pools
  • Update subnet-create to use the new function
69cdf66c 11/11/2013 03:39 pm Nanakos Chrysostomos

plankton: Fix check about object permissions

Update check after getting an objects permissions to fail only if an
image gets permissions from a None path and the object has permissions.
Also, instead of just logging a warning, raise an exception.

727fb2f9 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Retry failed instance creation

Handle special case where an OP_INSTANCE_CREATE job which uses the
opportunistic locking feature fails. This failure is probably due to the
fact that all nodes may be already locked. In this case, make
snf-dispatcher retry the failed job with opportunistic locking turned...

dee2e82c 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Fix compatibility issues with networks

From version 2.7, Ganeti returns the network's UUID field in nics
'networks' attribute. Instead use 'networks.names' attribute to get
the network name.

66932293 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: fix typo in snf-dispatcher

0dd40027 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Fix case where 'dfree' is None

If Ganeti has not enabled 'plain' or 'drbd' disk template, then it
reports 'dfree' as None. Fix this corner case by treating None as 0.

2796f26a 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Small fixes to network reconciliation

  • Pass missing argument to function
  • Fix corner case where there are no externally reserved IPs.
4b052f94 11/11/2013 03:29 pm Dimitris Aragiorgis

cyclades: New style format for modifying a NIC

Signed-off-by: Dimitris Aragiorgis <>

9c7c6a57 11/11/2013 03:29 pm Dimitris Aragiorgis

cyclades: Remove hotplug from InstanceCreate

Signed-off-by: Dimitris Aragiorgis <>

d9b5b020 11/11/2013 03:29 pm Dimitris Aragiorgis

cyclades: Pass network type info as network tag

Signed-off-by: Dimitris Aragiorgis <>

3f68fa52 11/11/2013 03:28 pm Dimitris Aragiorgis

cyclades: Remove deprecated network type in ganeti

Signed-off-by: Dimitris Aragiorgis <>

b36d45e6 11/11/2013 03:28 pm Christos Stavrakakis

cyclades: Use opportunistic locking

Use opportunistic locking, introduced in Ganeti 2.7, to allow parallel creation
of VMs in the Ganeti backend. When this option is set, Ganeti iallocator
will allocate the VM only to nodes that not locked (e.g. by other VM...

2b4becab 11/11/2013 03:28 pm Christos Stavrakakis

gtools: Fix compatibility issues with ganeti-2.7

  • SimpleConfigReader has been removed. Use SimpleStore
  • QUEUE_DIR has been moven from ganeti.constants to ganeti.pathutils
  • _QueuedJob.Restore takes 2 more arguments
  • cyclades: Group info is returned as list instead of string
94ea30c8 11/11/2013 03:26 pm Christos Stavrakakis

cyclades: Fix bug in network reconciliation

Skip reconciliation for a network that does not exist in the DB, if
reconciliation is running without the '--fix' option.

55480205 11/11/2013 03:23 pm Dionysis Grigoropoulos

cyclades: Fix --allocation-pool in subnet-create

Update the way allocation-pools work in subnet-create. Now,
--allocation-pool can be used multiple times, each time for a different
pool. Eg.,
snf-manage subnet-create --network-id 1 --cidr 192.168.42.0/24...

80a548e3 11/11/2013 12:59 pm Christos Stavrakakis

Merge branch 'master' into develop

Conflicts:
Changelog
astakosclient/astakosclient/keypath.py
ci/utils.py
docs/admin-guide.rst
snf-astakos-app/astakos/im/cookie.py
snf-astakos-app/astakos/im/functions.py
snf-astakos-app/astakos/im/quotas.py
snf-astakos-app/astakos/im/views/projects.py...

f23fbacf 11/11/2013 11:26 am Christos Stavrakakis

cyclades: Simplify code to 'logic.subnets' module

210e5933 11/11/2013 11:11 am Christos Stavrakakis

cyclades: Simplify code of 'api.subnets' module

e5841f52 11/10/2013 06:58 pm Marios Kogias

cyclades: Fix bug in floating-ip-remove

Add decorator convert_api_faults

0fc4b580 11/10/2013 06:57 pm Marios Kogias

cyclades: snf-manage floating-ip-state

snf-manage floating-ip-state <floating_ip_state>
Find if a floating-ip is attached to a server or not.
IPAddressLog now can contain multiple entries for the same ip.

a53b5141 11/10/2013 06:21 pm Marios Kogias

cyclades: snf-manage por-list --server --public

List only ports connected to public networks
List only ports connected to a specific server

c6fe2f41 11/10/2013 06:21 pm Marios Kogias

cyclades: snf-manage server-create --port

Use --port multiple times to configure server connections.
Possible forms are:
  • --port network:<network_id>(,address=<ip_address>)
  • --port id:<port_id>
  • --port floatingip:<floatingip_id>.
a9c1db43 11/09/2013 08:15 pm Christos Stavrakakis

cyclades: Fix some typos

b5e0d5c9 11/09/2013 07:51 pm Christos Stavrakakis

cyclades: Change default value for dhcp option

Change default value of 'dhcp' option in snf-manage network-create command.

bac6ed1e 11/09/2013 07:48 pm Christos Stavrakakis

cyclades: Do not print IP pool for IPv6 only nets

Do not print IP pool of Ganeti network in case the network is an IPv6
only network. The Ganeti network has a dummy IPv5 subnet, just because
it is needed. Only change this dummy subnet to /30 to reduce space in...

8f335041 11/08/2013 05:19 pm Christos Stavrakakis

cyclades: Handle 'drained' flag of networks

  • Export 'SNF:DRAINED' status for drained networks.
  • Do not allow creation of new ports in drained networks.
  • Do not allow allocation of new IPs in drained networks.
ec4e0acc 11/08/2013 04:49 pm Christos Stavrakakis

cyclades: Fix corner case in reconciliation

If at the end of reconciliation the state of the network is not ACTIVE,
try to recompute the state of the network based on the state of the
networks in each backend. This step is mostly needed in case that the
network does not exist in any backend.

6a03d89f 11/08/2013 03:50 pm Christos Stavrakakis

cyclades: More strict 'on_delete' for models

Use 'models.PROTECT' for 'on_delete' attribute for some ForeignKey
relationship between networking models. This will create a more "strict"
database and protect for unexpected data loss.

84a0469b 11/07/2013 09:32 pm Christos Stavrakakis

cyclades: Fix reconciliation of floating IP pools

Remove special handling of floating IP pools in reconciliation
mechanism since floating IP pools are treated the same way with other
networks.

f5c5fb5e 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Single IP addresesses view improvement

36f338d0 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Styles fix

21d2d544 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Single vm view ip addresses fix

13925182 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Display resize in vm actions list

e481c282 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Update network api endpoint

32a58fdf 11/07/2013 06:43 pm Kostas Papadimitriou

ui: IP addresses togger in single vm view

af505a94 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Truncate template helper

a2bd0802 11/07/2013 04:31 pm Christos Stavrakakis

cyclades: Pass 'nfdhcp' tag to IPv6 networks

Pass 'nfdhcp' tag even if network is IPv6 only.

68129b44 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Optimize *-list commands

Use prefetch_related and select-related to importive the DB queries that
are generated by *-list snf-manage commands.

d2036274 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Code refactoring to backend module

  • Create function 'ensure_network_is_active' to check if a network
    exists in backend and create it if not.
  • Create function 'create_job_dependencies' to transaform a list of job
    IDs to the 'depends' attribute as expected by Ganeti....
0e02a709 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Fix bug in SeparatedValuesField

Return [] instead of None, if the field is null.

6b5cdb0f 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Fix init of networks in backend-add

Fix which networks are going to be initialized in the new backend and
how the are printed in the output!

64303189 11/07/2013 04:28 pm Christos Stavrakakis

cyclades: Add option to display IPs in server-list

c4b9ea4c 11/07/2013 03:42 pm Christos Stavrakakis

cyclades: Retrieve image names only if needed

Retrieve images from plankton only if the user asked for the image name.
Otherwise just display the image ID. This will significantly speed up
the execution time of 'server-list' management command.

ae6ab1c7 11/07/2013 12:39 pm Christos Stavrakakis

cyclades: Changes service type of net resources

b4f491c1 11/07/2013 12:35 pm Christos Stavrakakis

cyclades: Remove old networks API

7b5263e4 11/06/2013 09:51 pm Christos Stavrakakis

cyclades: Fix network-create management command

Fix when network is created in the Ganeti backends. The network must be
created in the Ganeti backends only after IPv4 or/and IPv6 subnet has
been created. This commit moves the code that created the network in the...

24ea227b 11/06/2013 06:58 pm Dionysis Grigoropoulos

cyclades: Return 'links' in subnet and port calls

  • Return 'links' attribute in subnet api response
  • Return 'links' attribute in port api response
3549cb2f 11/06/2013 06:58 pm Dionysis Grigoropoulos

cyclades: Fix bugs in subnets and ports

  • Return subnets from public networks, in GET subnets
  • Fix a bug in list ports, where only attached ports to servers were
    listed
bfb3f9c2 11/06/2013 05:50 pm Christos Stavrakakis

cyclades: Create IPv6 Addresses from dispatcher

When ports are created from the API they do not have an IPv6 address.
The IPv6 address is only available after the MAC address of the
NIC is known which is only available after the message from the
Ganeti backend has been received. However, dispatcher did not created...

cdd6fc06 11/06/2013 04:06 pm Christos Stavrakakis

cyclades: Create 'cyclades_network' service

Create 'cyclades_network' service which is part of Cyclades, of 'network'
type and with 'network' prefix to hold all API endpoints that are
relative with networks. So, for example, the endpoint for networks will...

3785b737 11/06/2013 02:56 pm Dionysis Grigoropoulos

cyclades: Merge subnet-create with network-create

  • Merge snf-manage subnet-create into snf-manage network-create
f8ce6d44 11/06/2013 02:00 pm Christos Stavrakakis

cyclades: Fix bug in tests

Fix bug in port tests that were introduced by latest changes in IPPool
manager.

8d5795b4 11/06/2013 02:00 pm Christos Stavrakakis

Cyclades: Rename 'Can not' to 'Cannot' to all msgs

f8714db8 11/06/2013 01:43 pm Christos Stavrakakis

cyclades: Fix bug and typo in IPPool

ee688a71 11/06/2013 01:28 pm Christos Stavrakakis

cyclades: Do not allow any action on 'ERROR' vms

Do not allow any action, other than 'DESTROY' in servers that are in
'ERROR' state. If the server is in 'ERROR' state then the corresponding
Ganeti instance may not exist, so all actions will fail.

833f2ad5 11/06/2013 11:16 am Christos Stavrakakis

cyclades: Fix handling of old IP pools

Before implementing the Neutron API, each network had one IP pool that
contained the whole subnet CIDR. This changed since now we have multiple
IP Pools(with base and offset attributes) per network and this IP pools...

fef04862 11/05/2013 06:52 pm Dionysis Grigoropoulos

cyclades: Add a test for subnet creation

c52f91ad 11/05/2013 06:52 pm Dionysis Grigoropoulos

cyclades: Update snf-manage subnet-create

  • Print info of newly created subnet after snf-manage subnet-create
cad4793e 11/05/2013 06:52 pm Dionysis Grigoropoulos

cyclades: Fix a typo in api/subnets.py

c68ad72e 11/05/2013 04:54 pm Kostas Papadimitriou

ui: Initial refactoring for network view in vm wizard

f9f43e09 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Base view object fixes

31bc4729 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Additional storage_attrs funcionality

allow custom model id resolver

d233867a 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Private network view improvements

display subnet cidr when available

e38e7fcf 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Separate network/subnet create calls

ba7421ce 11/05/2013 04:52 pm Kostas Papadimitriou

ui: VM status typo

365af933 11/05/2013 04:52 pm Kostas Papadimitriou

ui: IP addresses subview in icon vms view

02effd9c 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Port connect/disconnect api calls