No description
  • Python 34.6%
  • HTML 28.8%
  • CSS 20.9%
  • JavaScript 6%
  • Less 5.7%
  • Other 3.9%
Find a file
PCoder cb16114aba Do not break the VM list when a VM's OpenNebula template was deleted
The "my virtual machines" page showed "We could not load your VMs due to a
backend connection error" for any user owning a VM whose template had been
removed from OpenNebula. OpenNebulaManager.get_template() converted every
failure, including WrongIdError for a missing template, into
ConnectionRefusedError, and VirtualMachineSerializer.get_configuration()
let that propagate, so one VM with a stale template id took down the whole
list. The only log output was an empty ERROR line, because WrongIdError
has no message.

* Add opennebula_api.exceptions.TemplateNotFoundError and raise it from
  get_template() for a missing template; keep ConnectionRefusedError for
  genuine backend failures and log them with a traceback.
* Add OpenNebulaManager.get_template_names() and resolve_template_id() so
  the serializer fetches the template pool once per list instead of
  constructing an OpenNebulaManager and fetching the pool for every VM.
* get_configuration() now falls back to the template name embedded in the
  VM name ("<template>-<vm id>") when the template is missing or the pool
  cannot be fetched, and logs why.
* Replace str.lstrip('public-') with a real prefix strip (lstrip removes a
  character set, so "public-ubuntu" became "ntu") and also strip
  "ipv6only-".
* ProcessVMSelectionMixin shows "configuration is no longer available"
  instead of an unhandled error when ordering a retired template.
* VirtualMachinesPlanListView logs the exception behind the banner.
* Add mock-based unit tests for the fallback, the UPDATED_TEMPLATES
  mapping, the single pool fetch and the new exception.

The UPDATED_TEMPLATES setting keeps working as an operational override for
mapping retired template ids to their replacements.
2026-10-19 20:53:32 +05:30
alplora Debug 2023-11-17 03:39:12 +01:00
cms_templates Remove header block that causes the blog title to appear 2019-05-04 14:35:52 +02:00
configs Remove unused configs, unused requirements 2017-06-03 16:06:34 +02:00
datacenterlight Remove hardcode 2025-05-27 12:02:15 +05:30
design_membership Merge branch 'master' of github.com:ungleich/dynamicweb 2016-05-14 22:30:05 +02:00
digitalglarus Debug 2023-11-17 03:39:12 +01:00
docs started translations 2017-02-20 22:25:07 -05:00
dynamicweb docker: add entrypoint and add support for dynamic config 2024-02-20 17:18:29 +09:00
hosting Do not break the VM list when a VM's OpenNebula template was deleted 2026-10-19 20:53:32 +05:30
logs Improve log formatting 2019-04-13 12:04:18 +02:00
media remove more media files 2017-06-03 19:24:47 +02:00
membership Formatting and documentation 2020-12-31 22:46:15 +05:30
nosystemd Replace another occurrence in a commented block 2018-01-07 08:42:52 +01:00
opennebula_api Do not break the VM list when a VM's OpenNebula template was deleted 2026-10-19 20:53:32 +05:30
railshosting/static/railshosting/img Merge branch 'develop' of git-ungleich:dynamicweb into develop 2015-09-15 11:16:02 -06:00
templates Change to dcl-orders for new vm and removing ipv6onlyhosting.{net,ch} references 2022-05-16 11:56:05 +02:00
ungleich Fix font-awesome css file location 2019-05-05 20:34:13 +02:00
ungleich_page Debug 2023-11-17 03:39:12 +01:00
utils Update countries list 2023-12-29 08:50:58 +05:30
webhook Don't send admin email if IncompletePaymentIntent lookup doesn't contain a value 2021-01-01 11:17:07 +05:30
.dockerignore Update .dockerignore: ignore .env 2024-02-19 20:42:34 +05:30
.gitignore Update .gitignore 2025-03-29 12:55:17 +05:30
.python-version added python version 2015-10-07 20:27:34 -06:00
.travis.yml Update .travis.yml 2018-04-05 23:31:50 +02:00
build-image.sh make build image only push if push is specified 2024-02-20 16:25:13 +09:00
Changelog Update changelog 2023-04-14 05:07:37 +02:00
DEPLOY.rst Merge remote-tracking branch 'refs/remotes/origin/master' 2016-03-05 19:57:41 +00:00
deploy.sh Updated deploy.sh: corrected terminology 2017-08-19 18:32:58 +05:30
Dockerfile docker: add entrypoint and add support for dynamic config 2024-02-20 17:18:29 +09:00
entrypoint.sh entrypoint: make executable 2024-02-20 17:19:05 +09:00
INSTALLATION.rst init commit 2019-12-10 22:53:50 +05:00
Makefile Add support for docker build + docker release 2021-12-17 22:21:59 +01:00
manage.py changes on prod - master 2016-03-05 19:46:46 +00:00
README.rst Update README.rst 2017-11-27 08:14:35 +01:00
release.sh Add support for docker build + docker release 2021-12-17 22:21:59 +01:00
requirements.archlinux.txt init commit 2019-12-10 22:53:50 +05:00
requirements.debian.txt changes on prod - master 2016-03-05 19:46:46 +00:00
requirements.txt Use the same django-filer version being used on production 2024-02-19 20:50:36 +05:30
setup.cfg Added Flake8 lib and fixed PEP8 violations 2017-06-29 17:34:40 +03:00
uwsgi.ini added python path 2016-03-05 19:49:22 +00:00
vat_rates.csv Remove wrong Ireland country code in vat rates 2020-04-21 00:02:21 +05:30

ungleich
========

dynamicweb
----------

.. image:: https://travis-ci.org/ungleich/dynamicweb.svg?branch=master
    :target: https://travis-ci.org/ungleich/dynamicweb

Website for ungleich GmbH
=======

- djangocms
    - forms!
    - hosting urls
        - /hosting/django/
        - /hosting/rubyonrails/
        - /hosting/nodejs/
        --