summaryrefslogtreecommitdiff
path: root/openstack_dashboard/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop Heat related code from horizonAkihiro Motoki2017-12-051-5/+0
| | | | | | | | | Orchestration tab in the admin info panel needs a discussion. It seems not to be covered by heat-dashboard yet. blueprint heat-dashboard-split-out Change-Id: I56e6edb1f2ac72e2f42d0e9f3291308e67f24cad
* Excise Trove from HorizonDavid Lyle2015-12-221-4/+0
| | | | | | | | | With the merging of https://review.openstack.org/256605/ https://git.openstack.org/openstack/trove-dashboard exists and contains the content previously integrated in the Horizon repository. Change-Id: Ic742f054f629a6fa078cf1e6eb137f5f8da7089d
* Removing sahara specific exception refDavid Lyle2015-12-071-2/+0
| | | | | | | Lingering code removal of exception class handling. Already merged into sahara-dashboard. Change-Id: Id0d413623574b474a3aef75c2f1e18c35089236f
* Handle glanceclient CommunicationError in horizonJingjing Ren2015-11-181-0/+1
| | | | | | | | | | | | | When glanceclient throws a CommunicationError, Horizon doesn't show the error message from the exception handling code because the exception type CommunicationError is not recognized. This change registers the exception type and adds a unit test case. Change-Id: I5c6f3df4097a4493b4c88716f30de86e4cde3b4b Closes-Bug: #1517652
* Revert "Refactoring the exceptions lists"Doug Fish2015-04-061-0/+73
| | | | | | | This reverts commit 7fc1baad3a909465423810758a8d83c4715a1010. Change-Id: I495e76eea8c873d71b37625b0953d821156c599c Closes-Bug: 1440903
* Refactoring the exceptions listsGeorge Peristerakis2015-04-011-73/+0
| | | | | | | | | | | The exception list is not properly used. The exception list is a settings constant that can be modified within the settings file. Having the list in openstack_dashboard/exceptions.py confuses the developers. The list of exceptions are moved in the settings file and removed all duplications. Partially Implements: blueprint improve-error-message-details-for-usability Change-Id: I5e19c3f0b84b17fa28f6e3c113467cc19d9b0a03
* Merge "Update exception map based on neutronclient exception rearrange"Jenkins2014-07-241-9/+1
|\
| * Update exception map based on neutronclient exception rearrangeAkihiro Motoki2014-07-221-9/+1
| | | | | | | | | | | | Change-Id: I59f31d269f97d86ce9b681dc7714c9a10892a3a2 Closes-Bug: #1296148 Related-Bug: #1284317
* | Tolerate service catalog and endpoint connection errorsJustin Pomeroy2014-07-211-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | This is a fix for the issues encountered when a service is not configured or a service endpoint is not reachable. This fix will add tolerance for these errors so that an error message is displayed but the dashboard page will still load, not an error page. This makes it easier for the user to recover by allowing them to go to a different page, select a different region, or logout. This makes sense in many cases such as when a region only contains an image service endpoint, or when a single endpoint is not reachable for whatever reason. It also adds permissions to the panels that require compute or image services so that the dashboard will not display them if the service is not configured. To test these changes you will need to set up your keystone service catalog so that not all services are available in all regions, or some of the service endpoints are not reachable. Change-Id: Ie04699d1fb1d4db13a7f4dcf1bdfd23bf21aab80 Closes-Bug: 1323811 Closes-Bug: 1207636
* Adding sahara client api codeChad Roberts2014-06-111-1/+3
| | | | | | | | | | | | | This is the code that will interface with the sahara library. This is part of the merging of the sahara dashboard into horizon. This code was originally from: https://github.com/openstack/sahara-dashboard Change-Id: Icdec326e276e1cfeedae6d2fd6047051725f9566 Partial-Implements: blueprint merge-sahara-dashboard Co-Authored-By: Nikita Konovalov <nkonovalov@mirantis.com> Co-Authored-By: Dmitry Mescheryakov <dmescheryakov@mirantis.com>
* Merge "Move `Forbidden` exceptions to `RECOVERABLE` group"Jenkins2014-05-211-5/+5
|\
| * Move `Forbidden` exceptions to `RECOVERABLE` groupAna Krivokapic2014-04-221-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Previously the Forbidden exceptions raised by clients were classified as UNAUTHORIZED. This classification is not entirely correct, as the UNAUTHORIZED group of exceptions implies that the user should be logged out and forced to log in again. This, however, is not the case with Forbidden exceptions. Thus, it is more appropriate to place the Forbidden exceptions into the RECOVERABLE group. Change-Id: I7e52ed72d66e9d0496bc07036e48c968e7a66c2e Closes-bug: #1299126
* | Remove extraneous vim configuration commentsHe Yongli2014-05-061-2/+0
|/ | | | | | | | | | | Remove vim setting: comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4 at the top of source code files, except for files in openstack/common. Change-Id: I9a5c6b17c6ef7ecec601f4503dfc7b31fc72e90a Close-bug: #1229324
* Update troveclient to 1.0.0Robert Myers2013-11-251-49/+47
| | | | | | | | Closes-Bug: #1238121 Author: Robert Myers <robert.myers@rackspace.com> Change-Id: I03d3d95602f4009c97d37fdf8e241ec8ab82389d
* Importing from trove-client compat firstSteve Leon2013-11-141-2/+2
| | | | | | | | - Switched the logic so that the compat version is imported first Fixes bug #1250237 Change-Id: I7650fc6c3ce93164ca8bee610d5fe2293df3ecc7
* Importing from trove-client compatSteve Leon2013-11-111-1/+5
| | | | | | Fixes bug #1250237 Change-Id: I7a67fa7e2ab34c960fed908090edb05059ae74e4
* Merge "added new exception cinderclient.ConnectionError"Jenkins2013-11-021-0/+1
|\
| * added new exception cinderclient.ConnectionErrorChristian Berendt2013-08-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Introduced new exception cinderclient.ConnectionError with the change I37da522e812286e72706409b8a6d4652515f720f. Adding the exception cinderclient.ConnectionError to the RECOVERABLE list solves the issues described in the bug ##1207635. fixes bug #1207635 Change-Id: I6b90343e79433fe554d84df1db65e096c8ed4423
* | Make troveclient optionalMatthias Runge2013-09-171-7/+13
| | | | | | | | | | | | Fixes bug 1221906 Change-Id: I3d022fca2f6bc1f0f5143373259882f2522f7958
* | Adding panels for troveRobert Myers2013-08-311-3/+7
|/ | | | | | | | | | | | | | | | * Add python-troveclient to requirements. * Add trove api to openstack_dashboard apis. * Add Database Instances panel. * Add Database Backups panel. Authors: * Robert Myers * Denis Makogon * Andrea Giardini Implements: Blueprint trove-support Change-Id: I0541534612ccb491d692168c3c9ca7a841650be6
* update Quantum references to NeutronMark McClain2013-07-091-11/+11
| | | | | | implements bug: 1197208 Change-Id: I14de163ca3cf498f5cb738a4c09088bba1759488
* Implementation of a Heat stacks UI.Steve Baker2013-07-031-3/+8
| | | | | | | | | | | | | | | | | This change implements a UI to launch, manage and delete Heat stacks. The launch screens are implemented with a set of chained forms where the second form is dynamically built from the template in the first step. A significant portion of this change was derived from the work Dan Radez <dradez@redhat.com> did on thermal: https://github.com/steveb/heat-horizon UX flow revisions and basic test cases by Gabriel Hurley. Implements blueprint: heat-ui Change-Id: I294e93bed6da9dd3553e8b4a6a1c09b7c165a555
* Switch to using cinderclient.Gabriel Hurley2012-08-141-0/+5
| | | | | | | | | | | | This is practically a transparent switch since it was copied out of novaclient and maintains API compatibility. NOTE: this will fail until python-cinderclient is published to PyPI properly. Implements blueprint switch-to-cinder-client Change-Id: Ic8cd6660735e172ff5d3402952265a15dc15f9e5
* Switch to use python-swiftclient instead of cloudfiles.Gabriel Hurley2012-08-131-8/+4
| | | | | | | | | | | | | This patch also resolves some thread-safety problems with when the browser and associated tables are constructed and where the request and data caches are stored on the table. Also includes stylistic and UX enhancments to the swift ResourceBrowser subclass. Implements blueprint swiftclient. Change-Id: I578277ff158b293ee50860528b069dc20e2136a9
* Initial support of Quantum V2.Akihiro MOTOKI2012-08-131-0/+13
| | | | | | | | | | | | | | Implementes blueprint quantum-horizon and blueprint readd-quantum-support. This commit also covers blueprint quantum-workflow-integration. - Added quantum API layer, - Added network/subnet/port CRUD operations, - Added 'Network' user panel, - Added 'Network' system panel, - Added 'Networking' tab in instance creation workflow. - Supported launching an instance with specified network(s) Change-Id: I7ad608e17cb6fb4f0de02721888e96a68cf926e8
* Separate OpenStack exceptions from Horizon exceptions.Gabriel Hurley2012-08-051-0/+47
Placing the OpenStack exception class definitions into their own module inside the openstack_dashboard project allows more flexibility for deployers and others who might wish to use the horizon module for non-OpenStack Django projects. The patch also contains two tiny cleanup items in the templatetag files. Change-Id: I8b250804ad07027d40d554ad1e7ee0b5af63d466