History | View | Annotate | Download (82.3 kB)
ui: Network select view improvements in vm wizard
ui: Display resize in vm actions list
ui: Additional storage_attrs funcionality
allow custom model id resolver
ui: VM status typo
ui: IP addresses subview in icon vms view
ui: Port connect/disconnect api calls
ui: Extra base model helpers
model_actions-------------Define available model actions, attribute dependencies and a callback whichresult is used to decide whether or not the action can be executed.
proxy_attrs-----------Allows us to define extra virtual model attributes which value depends on...
ui: Additional base collection option
to handle model removals for collections for which we cannot identify if modelhas been removed by checking some of its attributes (e.g. DELETED state).
ui: Remove NICS, Networks, PublicIPs models
models depricated. Models wil be provided in upcoming neutron module
ui: Models module cleanup and models improvements
ui: Exclude rebooting machines from network connect overlay
cyclades: Fix bug in handling of reboot type.
'type' attribute of reboot OS API call was directly mapped to the'reboot_type' option of Ganeti reboot job. However these two aresemantically different. The 'SOFT' and 'HARD' reboot types of OS API aremapped to 'shutdown_timeout' option of Ganeti jobs. However, setting...
cyclades ui: Improve available quota handling
handle the case where available resource quota is less than thecorresponding active quota (for cpu, mem and disk resources).
cyclades ui: Handle empty floating ip pools
prevent user from allocating new ip addresses if no available pools exist
Merge branch 'hotfix-0.14.2' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/views/target/__init__.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...
cyclades ui: Prefer os meta to identify connection user
How vm connection user gets resolved:
- Use the last user in `users` vm metadata if exists- Use the last user in `users` vm image metadata if exists- Use root if vm's image osfamily metadata is Linux...
cyclades ui: Allow destroy action on all vm states
cyclades: Public IP's overlay in UI
- Introduce a new overlay for IP addresses management (create, remove, connect, disconnect).- The overlay is accessible from the UI's options menu.
cyclades: Handle introduced ``SNF:task_state`` field
- Use it to identify if machine is in a transitioning state (a previously executed task is pending to be completed).- Disable all actions when field.- Backwards compatible. If no field is set the UI falls back into predicting...
cyclades: Integrate machine resize action in UI
- Action gets triggered from edit links which appear next to the cpu/memory details icon/single machine views.- Handle inability to perform resize action based on vm state by displaying a warning when machine is in running state....
cyclades ui: In sync with latest API changes
Handle updated servers/detail response format.
cyclades ui: Remove debug statement
cyclades ui: Move connect/console urls under ui
cyclades ui: In sync with the updated compute api
Update javascript libraries to keep up with the latest changes in compute api.
ui: Rename flavor 'cpu' to 'vcpus'
cyclades ui: Update metadata post/delete url
the updated api uses /metadata/ instead of /meta/
Refs: #3768
cyclades ui: Revert server create params names
the new api changed image/flavor keys only in servers response.imageRef and flavorRef are still required in server create requests(makes sense)
cyclades ui: Always send network type in create request
type parameter is mandatory in private network creation requests.
cyclades ui: Handle no missing image ids case
cyclades ui: Fix resolving of missing image ids
- Start resloving once the images have been loaded.- Continue loading view progress only once all missing ids have been resolved.
cyclades ui: Configurable userdata api url
PublicKey collections used hardcoded urls to access the ssh public keysapi. A new dummy view added (to serve '/ui/userdata/') to be able to usedjango reverse mechanism for the base url of userdata api.
cyclades ui: Avoid setting group in personality metadata
Merge branch 'develop' into feature-branding
Conflicts: snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js snf-astakos-app/astakos/im/templates/im/base.html snf-astakos-app/astakos/im/templates/im/landing.html snf-astakos-app/astakos/im/views.py...
cyclades ui: Expose and use the new astakos quota api
- Removed /userdata/quota view in respect of astakos quotas api delegate views served in the same urls used by astakos api (/astakos/api/quotas, /astakos/api/resources). Base url is configurable using the...
Conflicts: snf-astakos-app/astakos/im/settings.py snf-astakos-app/astakos/im/templates/im/login_base.html snf-astakos-app/astakos/im/templatetags/astakos_tags.py snf-cyclades-app/synnefo/app_settings/default/ui.py...
UI create vm errors fix
never forget to pass vm create callback arguments
Configurable unknown os identifier
Branding: change default icon for vms
Changing "os" to "unknown" for all VMs that don't have a prefefined os.Applies to Compute interface.
Trigger user quota updates on sepcific ui api calls
- We force user quota information to be updated after the completion of vm/network create/destroy actions.
Fix available ram options in vm create view
typo fix that caused unavailable ram options due to user quota limits tostill be shown as selectable values.
UI loading view improvements
Refs #3396Refs #3397
- Use separate loading messages for each action to avoid confusion caused due to aynchronous progress- Enforce resolving of unknown machine image ids before the main view gets rendered.
UI. Always extract user info from current cookie contents
Refs #3460
Token value set in api action/request is always retrieved from thecurrent cookie contents. When cookie contents change is detected uiredirects user to log in.
Cookie changes are detected each time the app tries to use the user...
Disable flavor options that exceed user quota
respect current user quota in flavor options display
Translate image owner uuid -> display name in UI
UI uses the introduced /user_catalog api to translate uuids to displaynames when necessary.
Fix public image handling
Handle unavailable hostname information in ui
fallback to ip address
SSH personality keys ownership fix
also send mode/owner/group for each user's authorized_keys
Support multiple image users in js models
methods that used to return user specific information modified to returnarrays of objects based on identified image users. Image space delimited`users` metadata key is now the primary point to identify existing image...
VM creation view improvement, Refs #3012
warn user against untrustworthy image owners
Network view actions fixes
- Reset network status after a failed destroy action- Fix multiple network actions (Refs #2298)- Reset button visibility after nic disconnect
JS networks collection fix
filter out unexisting deleted networks
UI quota limit handling
ui inititalization process now includes a call to the introduced`ui.views.userquota` view which returns a json representation of available userquota limits. Quota information is used across ui to prevent user from theeffort of trying to allocate additional resources.
UI vm connection improvements
- add configurable vm hostname template- allow override of vm connect messages- replace ip by hostname in vm connection messages- configurable ssh message template- optional setting to append extra content in windows rdp files
Minor js models improvements
Proper image ssh support identification
additionally check osfamily image tag. If tag set to linux enable sshkeys support.
Fix nic add/remove handling
apply nic network state changes only after successful api calls.
Optionally group public nics in one network view in ui
Configurable changes since attribute alignment
Introduce a new setting (UI_CHANGES_SINCE_ALIGMENT) to allow aligment ofchanges-since attribute of consiquent API calls.
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
Conflicts: snf-common/synnefo/lib/astakos.py snf-cyclades-app/synnefo/ui/static/snf/js/models.js
Support multiple public networks in UI
Encapsulate in nic dict a public flag (network.public) andremove twisted oldstyle identification way (network_id == 'public')for retrieving public interfaces.All network references are done via their network_id....
Networks view fixes and improvements
- Do not display vms in building state in connect overlay- Propose vm reboot after firewall changed (functionality which was broken after major networks api changes)- Hide custom subnet input field when dhcp checkbox is not checked...
Merge branch 'ui-0.11' into progress-monitor-new
Merge branch 'devel-0.11' into progress-monitor-new
Propagate NIC change event to the associated vm
so that nic changed attributes get propagated to the vm views (e.g. nic ipchange).
Catch error caused by duplicate NIC removal in ui
NICs get removed once their associated vm or network trigger theircorresponding remove signal. Synchronous removal of vm/network willcause duplicate NIC removes to be called.
JS models additions, improvements
- get_meta method now returns null if meta key doesn't exist- check for metatada attribute existance in get_meta_keys- copy image metadata set on ``synnefo.config.vm_image_common_metadata`` on vm create call
Diagnostics implementation in ui app
- Change vm status message update method to include diagnostic messages if the exist.- New overlay to display vm diagnostics if vm is in ERROR state.
Cyclades UI integration with the new networks api
- Handles nic connections instead of vms. New NIC model and NICs collections created to handle the NIC api logic. NIC models get updated on each vms/networks api call.- New private network creation form....
Console popup window fix for safari, Refs #2463
It seems that Safari allows popup windows only if the window.open callis made from within an html element click event context. Otherwise itsbehaviour is based on "Block Pop-Up Windows" setting, which when enabled...
Public SSH keys improvements
- use 'id_rsa' as the filename for the downloaded private key, Refs #2461- changed the name of the auto generated public key
Proper image gui metadata identification
Proper gui/os image metadata handling
Proper display of vms associated with deleted images
Skip timeouts for stats api calls
using the skip_timeouts mechanism
Fix handling of invalid image responses
handle invalid image responses while updating unknown image id
Move display_owner to the base Image model
Fallback support to another image service in UI
So that glance image service can fallback to the old compute images apifor missing image references.
Renamed snf-app to snf-cyclades-app