Revert dummy images from commit 9555268a
Merge branch 'ui-0.11' into devel-0.12
Include deleted networks in get_flavor_info
Do not allow actions to deleted networks
Allow custom link, mac_prefix in network-create
Add extra command line arguments, to allow the user specify thelink and mac_prefix of the new network if needed.
Remove depricated settings and update migrations
Update cyclades-app Changelog
Optionally group public nics in one network view in ui
Proper exception representation
Fix stray divs
Html fix
Return ServiceUnavailable when pools are depleted
Return ServiceUnavailable, instead of OverLimit, when pools of bridges,mac-prefixes or IPs run out of resources.
Merge remote-tracking branch 'origin/devel-0.12' into ui-0.11
Make management commands list non-deleted entries
Modify snf-manage {server, network, flavor}-list to list by default onlynon-deleted entries. The `--deleted` flag can be used to also includedeleted ones.
Merge branch 'master' into devel-0.12
Conflicts: snf-cyclades-app/setup.py
Plankton raise HttpResponseForbidden in case of NotAllowedError
Do not import logging in common default settings
Move LOGGING_SETUP from common to webproject
Fix compatibility issues with python-bitarray
Reapply diagnostics migrations
Merge branch 'devel-0.12' into ui-0.11
Implement queue-retry management command
Implement a new command which consumes all the messages from thedead-letter queues and re-sends the messages back to the snf-dispatcherin order to handle them again.
Messages are annotated with "from-dead-letter" field in order to detect...
Configurable changes since attribute alignment
Introduce a new setting (UI_CHANGES_SINCE_ALIGMENT) to allow aligment ofchanges-since attribute of consiquent API calls.
Fix bug, UI not updating NICs
Dummy-save the Network when processing messages from Ganeti hooksabout a VM NICs. This is needed, because the UI uses the HTTP changes-sinceswhen requesting VMs and Networks, and combines the result in order to showthe new NICs. Not updating the Network object, resulted in VMs IPv4...
Declare dead-letter exchanges and queues
Modify snf-dispatcher in order to declare the dead-letter exchanges andqueues
Use basic_reject in snf-dispatcher callbacks
Modify snf-dispatcher callbacks in order to reject messages that causedan unknown exception. Because a dead-letter-exchange is associatedwith the queues that snf-dispatcher is using, these messages will betransfered to the dead-letter-exchange.
Update Quick Installation Guide
to reflect support for multiple Ganeti backends and minor fixes.Also remove it from the general Admin Guide and give it a separatesection in the index.rst
docs: apt.dev GPG key link/instructions
Add setproctitle to install requires
Add support for dead-letter-exchange to amqp_puka
Also add support for custom headers when publishing messages.
Implement basic_nack and basic_reject AMQP methods
Basic_nack method is not support by puka. We are implementingbasic_nack as basic_ack since they have the same effect whenmultiple and requeue options are not used.
Remove trailing whitespace
Cache images in server-list
Use cache in order to speed-up the output of server-list
Reverse --deleted option in server-list
Pool connections to snf-pithos-backend
Add mac2eui64 to snf-cyclades-app
Copy mac2eui64 from snf-network to snf-cyclades-app, since it isnow used in the reconciliation process to caclculate the IPv6address of the VMs.
Reconnect to different Broker if idle for too long
Modify snf-dispatcher and add a timeout option to basic_wait method. Iftimeout is reached, the connection to the current RabbitMQ broker isclosed and dispatcher tries to connect to a different one.
This commit is supplementary of 6d27ead, which detects connection...
Detect and handle connection problems in amqp_puka
Use the TCP keepalive feature in amqp_puka in order to detect connectionerrors to the RabbitMQ broker, and retry to a different one. Also setupthe keepalive parameters to relative small values, to detect failures...
Update quick admin guide
To reflect:
Handle every exception in manually transactions
Do not create bridge for public network
Fix bug in reconcile-networks
When only detecting, reconciliation can not continue, if theBackendNetwork object does not exist.
Bridge indexes must start from 1
Restore IP Pool creation for corner cases
Create IPPool when creating Network
Create the IPPool associated with each Network, when creating it. Untilnow, IPPools were created on first demand. However, because the Networkobject is not accessed in exclusive mode, concurrent access to theNetwork model resulted in a race condition. More than one workers may...
Fix default private networks in UI
Fix typo
Do not give IPs to networks without dhcp
Fix typos
Use - instead of _ in backend-update-status
Merge branch 'devel-0.11'
Fix bug when connecting a network to a nodegroup in networkreconciliation. Use connect_network instead of obsoleteconnect_network_group method. Also fix job dependency handling in thismethod.
Refactor process op and network status callbacks
Block create instance api call with deleted flavor
Do not allow creation of instances with deleted flavorsRefs #2481
Fix GET networks API response for public networks
Fix default UI settings import synnefo settings
Fix default UI settings import synnefo settings,remove import and have the administrator set FEEDBACK_EMAIL_FROMspecifically.
Bail out if any settings file is unreadable
Log an error to stderr and die immediately if any settings fileunder SYNNEFO_SETTINGS_DIR (/etc/synnefo by default) is unreadable.
Also remove use of braindead Python glob(), which ignores access failureerrors, and fails silenty....
Increase snf-manage logging level to warning
Log 5xx API faults
Improve exception message when no backends
Catch OverLimit error in network create
Various fixes about logging
Fix logging from snf-manage commands. Modify snf-manage implementationin order to setup the loggers for all snf-manage commands. Configurationis based on SNF_MANAGE_LOGGING_SETUP setting from snf-common or onbasicConfig if that setting is missing....
Fix bug when synchronously creating networks
Release mac_prefix only if network is MAC_FILTERED
Release address only if a NIC has an IP
Change and fix migration files
Change network migration, so that it does not allocate a new bridge toexisting network. Instead it keeps the bridges from the old NetworkLinkpool.
Remove network_mac_prefix migration because there are no networks withmac prefixes....
Give more weight to cpu_ratio
Change how scores are computed in default_allocator so that vcpuratio has more importance the free memory and disk ratio
Merge branch 'master' into ui-0.11
Merge branch 'snf-tools'
Fix duplicate return of HTTP connection into pool
Fix duplicate return of HTTP connection into pool on duplicateinvocation of conn.close().
Revert commit b9c834003, and make sure a connection object's _poolattribute is re-initialized whenever it is retrieved from the pool....
Merge branch 'devel-0.11' into ui-0.11
Conflicts: snf-cyclades-app/synnefo/db/models.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/ui/static/snf/js/models.js
Merge branch 'progress-monitor-new' into ui-0.11
Conflicts: snf-cyclades-app/synnefo/ui/static/snf/js/models.js
snf-burnin stores information about VMs/networks in the detailed log
Change eventd and dispatcher AMQP retries
Set unlimited connection retries to AMQP hosts for snf-ganeti-eventd,since death of snf-ganeti-eventd results in loss of events.Also increase retries of snf-dispatcher.
Fix bug in amqp_puka
Make AMQPConnectionError an exception
Restore Ganeti RAPI client to snf-common
Temporary commit in order to restore Ganeti RAPI client to snf-commonuntil snf-cyclades-app 0.11 is released.
Fix bug about RAPI client pooling
Modify the pooled_rapi_client context manager to handle exceptionsand release the client in any case. Also modify uses of reconciliationto handle exceptions inside the scope of the context manager
Add missing ipv6 arguments to create_network
Fix wrong call in VirtualMachine get_client
Add missing arguments in Backend's get_client
Fix bug when hidding image password
Use deepcopy instead of copy, since the dictionaryis nested
Put synnefo logger of snf-dispatcher to INFO level
Fix bug in snf-dispatcher about ignored messages
Update backendtime only for jobs that have been successfully completed,since only those jobs update the state of the VM. Else a "racecondition" may occur when a successful job (e.g. OP_INSTANCE_REMOVE)completes before an error job for the same VM and messages arrive in...
Remove user provided names from models unicode
Remove user provided names from models representation, as the usermay provide a value that can affect the admin terminal. Fix suggestedby vkoukis.
Hide image password from log file
Fix bug when not using pool for public networks
Change logging levels
Garbage collect GanetiRapiClient pools
Modify the rapi_pool to delete unused GanetiRapiClient pools. Thisclients become unused when the credentials of a backend change.
Add extra logging
Refresh backends in locked mode
Pool Ganeti RAPI clients
- Move Ganeti RAPI client from snf-common to snf-cyclades-app/logic.- Create GanetiRapiClientPool for pooling GanetiRapiClient objects- Create context manager in db.models for pool handling- Update code using the RAPI client
--delete-stale checks for stale resources until action_timeout
Do not print public networks when adding backend
Fix white space
Add support for Archipelagos/extstorage COW images
Move check for free IP to backend_allocator
Filter out the backends that do no have a free IP in BackendAllocatorinstead of the default_allocator, in order to remove imports fromsynnefo in the allocation strategy.
Take care for messages without timestamp
Catch exception produced in snf-dispatcher when receiving messages withoutproper timestamp.
Fix None timestamp in eventd messages
Send the job timestamp when an opcode does not have a timestamp.