cyclades: Optimize network related DB queries
Use 'prefetch_related' and 'select_related' to optimize DB queries.
quotaholder: Delete holdings of non-accepted users
Users would previously acquire quotas on email verification; this is nowdone on user acceptance. We delete holdings for non-moderated and forrejected users.
Add oa2_secret to conf files
This secret is used during registering pithos view in astakos.Make this setting configurable.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
cyclades: Fix bugs in port creation
cyclades: Add a function to check name legnth
cyclades: Fix a bug in subnet creation
snf-deploy: Typo fixes
cyclades: Replace astakos base url with auth url
Remove stale refence to obsolete 'ASTAKOS_BASE_URL' setting. Instead use'ASTAKOS_AUTH_URL'.
cyclades: Fix typo in stats-cyclades cmd
cyclades: Fix resource units
cyclades: Update backend only when needed
Make dispatcher ask Ganeti about the enabled/ipolicy disk templates onlyafter an OP_CLUSTER_SET_PARAMS. Otherwise, dispatcher will beoverwhelmed by gnt-cluster verify jobs.
cyclades: Fix bug in network link validation
snf-ci: Fix a typo with `network_id'
snf-ci: Search for IPv4 in the private_networks
If the user has specified private_networks get the IPv4 from thesenetworks. Else get it from the first public network we can find.
docs: Fix a typo
burnin: 'SSHException' has no attribute 'errno'
snf-burnin: Better log output
Testsuite ServerTestSuite will not fail if one of the generatedtests fails.
snf-burnin: Retry when SSHException
Retry when `SSHException: Error reading SSH protocol banner'.
snf-ci: Don't install kamaki from pypi
snf-burnin: Update kamaki version
cyclades: Include port in floating-ip-list command
cyclades: Fix error msg when deleting floating IPs
cyclades: Disable conflict checks for IPv6 nets
astakosclient: Pep8 fixes
astakosclient: Suppress endpoint failures
Add an option to _fill_endpoints to only query for the oauth2endpoint if needed. This way we are keeping astakosclient compatiblewith the older Astakos versions.
Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr>...
Bump version to 0.15rc3
astakos: style fix for sortable tables thead
ui: Exempt task_state logic when vm is in ERROR state
do not update machine status from task_state if machine in ERROR state,excluding the case when task_state is set to DESTROY.
ui: Resize overlay initialization fix
ui: Improve handling of ssh key injection in machine wizard
- Remove setting ``UI_SUPPORT_SSH_OS_LIST``- Always allow ssh key injection unless image os family is included in ``UI_SSH_SUPPORT_OSFAMILY_EXCLUDE_LIST`` setting.
ui: Fix quota limit reached title in create resource buttons
Cyclades UI: Minor fixes in wording
ui: Error view overlay improvements
additionally display api error message when provided in the error responseobject.
ui: Floating ip fixes
- Fix progress indicator display- Reset model state if attach api call fails
ui: Private network creation fix
handle network creation when no subnet is requested
ui: Proper display of used floatin ip addresses
warn and allow detach of floating ip address which is connected to a portwith no device assigned to it.
pithos: Fix ordering in detailed listing of public objects
Refs: #4727
docs: Indentation fixes in Changelog
Bump version to 0.15rc2
Update NEWS to reference Changelog until v0.15
NEWS file should contain a reference to Changelog until v0.15 isrelaesed.
astakos: More logging fixes
pithos: Remove get_pithos_usage() call from loop
get_pithos_usage() call is needed only once just before enteringthe loop and is used every time afterwards.
docs: Small fix to upgrade notes
Rename `client_id` to client `identifier`.
Update docs
astakos: Fix logging issue
Update admin guide to comply with kamaki v0.12+
Minor wording fix in Create Machine wizard
Change the title and subtitle of the Networking tab of theCreate Machine wizard.
Vocabulary fixes: Dettach -> Detach
cyclades: Add setting for Ganeti clone providers
Add new 'GANETI_CLONE_PROVIDERS' setting to containg the list ofExtStorage providers that support cloning. For these providers thehashmap of the image is passed as an ExtStorage parameter('origin').Also, since the disk is already filled with data, snf-image performs...
cyclades: Setting for max NICs per Ganeti instance
Add new 'GANETI_MAX_NICS_PER_INSTANCE' setting which represents themaximum number of NICs that is allowed for each Ganeti instance. Thevalue of this setting must be less than 'max:nic-count` option ofGaneti's ipolicy.
cyclades: Pass arbitrary params to ext providers
Add 'GANETI_DISK_PROVIDER_KWARGS' setting, which contains a dictionaryof arbitrary parameters for each of Ganeti's ExtStorage providers andwhich will be passed to the 'disks' option of CreateInstance Ganeti job.
ui: Escape machine name in machines list view
pithos: Fix view issue with unicode paths
ui: Improve feedback view submission
exclude nested collections while rendering user data to JSON string
ui: Proper tab navigation urls
to allow `open in new tab` functionality
ui: Reset selected flavor in resize view overlay
Print error when fail to resolve Astakos endpoints
Cyclades and Pithos use ASTAKOS_AUTH_URL to access the Astakos service.To do so the have to access Astakos' endpoints and get the ACCOUNTS andUI urls.
This patch adds an error message when Cyclades/Pithos fails to retrieve...
snf-deploy: Update kamaki register command
The --location has to be `pithos://USER_UUID/CONTAINER/PATH'or `/CONTAINER/PATH'.
cyclades: Ignore messages about deleted resources
Ignore messages from Ganeti about servers and networks that have alreadybeen marked as deleted in the Cyclades DB. Processing of these messagesmay asynchronize Cyclades with Astakos quotas.
ui: Fix network name resolving
django-lib: redirect option in proxy util
If set to True proxy view will return an http redirect response to thecorresponding target location.
Signed-off-by: Kostas Papadimitriou <kpap@grnet.gr>Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr>
cyclades: Force redirect instead of proxying for astakos ui views
pithos: Force redirect instead of proxying for astakos ui views
ui: Set default names for unnamed networks
docs: Small fixes to upgrade notes
ui: Public keys quota reached handling
ui: Fix header navigation handlers in vm wizard
burnin: Fix a bug when generated tests fail
When a generated test was failing (in particular theGeneratedServerTestSuite) burnin couldn't know that this test failedand wasn't exiting with an error exit status.
Fix this by forcing the test that generated the erroneous test suite to...
cyclades: Fix locking issue in port create
Lock VM before locking network, because otherwise a deadlock may occurwith code of snf-dispatcher.
cyclades: Order pools by id
docs: Update kamaki image register command
cyclades: Fix typo error
ci: Add options for server networking
cyclades: Remove testing try/exception statement
cyclades: Speedup db data migrations
ui: Introduce setting UI_SUPPORT_SSH_OS_FAMILY_LIST
os families list setting for which ui will allow ssh key injection
ui: Remove public key view link from vm wizard
cyclades: Fix deadlock when releasing floating IPs
cyclades: Fix duplicate constraint in DB
snf-ci: Add delete command
This patch adds the delete command to snf-ci which deletesci's created servers. Also it delete the floating IP attachedto the deleted server.
snf-ci: Use the new Network API
Update snf-ci to use the new Synnefo's Network API.This means that we have to create a floating IP and aport to attach our server.
burnin: If machine is ERROR we cannot delete ports
If the machine is not in ACTIVE state we cannot delete its ports.This patch changes burnin so when cleaning up stale servers(where there is the possibility that the machine is not ACTIVE)it will not try to disconnect the server from the public network....
cyclades: Fix bug in getting a free floating IP
Fix wrong query which resulted in getting non-floating IPs.
cyclades: Only IPv4 addresses in port forwarding
Fix bug that caused calling of port forwarding setting with IPv6addresses.
helpdesk: Mock quotaholder in helpdesk tests
burnin: Fix a bug with missing method
Method `_disconnect_from_floating_ips' has been removed butStaleFloatingIPsTestSuite was using it. Replace this method with`_delete_floating_ips'.
cyclades: Fix division by zero bug
Ganeti reports zero available and total disk if no vg is set. Thiscaused a division by zero error in the default backend allocator.
cyclades: Get network lock when creating a port
Take the network lock before creating a port in the network. Not takingthe lock may result in a race condition between creating the port anddeleting the network. Also, it can cause a DB deadlock.
cyclades: Fix DB locking issues causing deadlocks
Fix deadlock issues that is caused by Postgresql's locks on foreignkeys. For example, creation of a BackendNetwork row will result in ashared lock in the 'backend_id' rows. Because updating a VM's NICsacquired an exclusive lock on the backend that the VM lived, this...
docs: Add specs for Ganeti NICs to install guide
cyclades: Fix typo in log msg
ui: Fix windows rdp template
properly set port within the ``full address`` field when set using coloncharacter
ui: Remove unused static versioned dir
cyclades: Fix bug in migration script
Only public IPv4 addresses should be upated to floating IPs.
cyclades: Fix typo in DB migration file
ui: Remove debug statement
ui: Typo fix
helpdesk: Use api.logic.servers methods to in vm start/stop views
helpdesk: Include tablesorter plugin in static dir
ui: Fix full report link click handler
bind click handlers for each vm view separately