Commit Graph

26 Commits

Author SHA1 Message Date
Akihiro Motoki eac3e7032a Drop Heat related code from horizon
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
2017-12-05 07:38:55 +00:00
David Lyle 9a58663fae Excise Trove from Horizon
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
2015-12-22 02:01:07 -07:00
David Lyle d97f134f55 Removing sahara specific exception ref
Lingering code removal of exception class handling. Already
merged into sahara-dashboard.

Change-Id: Id0d413623574b474a3aef75c2f1e18c35089236f
2015-12-07 11:21:45 -07:00
Jingjing Ren d746c2bdc9 Handle glanceclient CommunicationError in horizon
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
2015-11-18 23:39:08 +00:00
Doug Fish 3531d7bb9a Revert "Refactoring the exceptions lists"
This reverts commit 7fc1baad3a.

Change-Id: I495e76eea8c873d71b37625b0953d821156c599c
Closes-Bug: 1440903
2015-04-06 16:49:17 -05:00
George Peristerakis 7fc1baad3a Refactoring the exceptions lists
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
2015-04-01 15:00:30 -04:00
Jenkins 7c8a37543f Merge "Update exception map based on neutronclient exception rearrange" 2014-07-24 09:59:02 +00:00
Akihiro Motoki a1fdb4709c Update exception map based on neutronclient exception rearrange
Change-Id: I59f31d269f97d86ce9b681dc7714c9a10892a3a2
Closes-Bug: #1296148
Related-Bug: #1284317
2014-07-22 19:33:26 +09:00
Justin Pomeroy 407c17b38a Tolerate service catalog and endpoint connection errors
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
2014-07-21 08:38:53 -05:00
Chad Roberts 799d24e13f Adding sahara client api code
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>
2014-06-11 12:48:48 -04:00
Jenkins 265cdd5ce3 Merge "Move `Forbidden` exceptions to `RECOVERABLE` group" 2014-05-21 00:50:08 +00:00
He Yongli e790ac070e Remove extraneous vim configuration comments
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
2014-05-06 15:30:10 +08:00
Ana Krivokapic 3a8409859f Move `Forbidden` exceptions to `RECOVERABLE` group
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
2014-04-22 13:39:42 +02:00
Robert Myers 8bca2eb363 Update troveclient to 1.0.0
Closes-Bug: #1238121

Author: Robert Myers <robert.myers@rackspace.com>

Change-Id: I03d3d95602f4009c97d37fdf8e241ec8ab82389d
2013-11-25 08:25:32 -08:00
Steve Leon 0f9617cb55 Importing from trove-client compat first
- Switched the logic so that the compat version is imported first

Fixes bug #1250237

Change-Id: I7650fc6c3ce93164ca8bee610d5fe2293df3ecc7
2013-11-14 15:44:18 -08:00
Steve Leon 2fc1a45a84 Importing from trove-client compat
Fixes bug #1250237

Change-Id: I7a67fa7e2ab34c960fed908090edb05059ae74e4
2013-11-11 16:59:42 -08:00
Jenkins 9c23d9cdae Merge "added new exception cinderclient.ConnectionError" 2013-11-02 14:13:30 +00:00
Matthias Runge c9022fa065 Make troveclient optional
Fixes bug 1221906

Change-Id: I3d022fca2f6bc1f0f5143373259882f2522f7958
2013-09-17 10:18:49 +02:00
Robert Myers 8c1bc54f93 Adding panels for trove
* 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
2013-08-31 23:27:46 -05:00
Christian Berendt 0959866f38 added new exception cinderclient.ConnectionError
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
2013-08-06 12:05:17 +02:00
Mark McClain 84e054b200 update Quantum references to Neutron
implements bug: 1197208

Change-Id: I14de163ca3cf498f5cb738a4c09088bba1759488
2013-07-09 17:51:54 -04:00
Steve Baker 1f71152b4b Implementation of a Heat stacks UI.
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
2013-07-03 03:48:31 -07:00
Gabriel Hurley 0cd51d5c28 Switch to using cinderclient.
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
2012-08-14 14:50:15 -07:00
Gabriel Hurley 801c2321bf Switch to use python-swiftclient instead of cloudfiles.
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
2012-08-13 16:48:06 -07:00
Akihiro MOTOKI 05cf900492 Initial support of Quantum V2.
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
2012-08-13 02:54:42 +09:00
Gabriel Hurley 30b58e2d03 Separate OpenStack exceptions from Horizon exceptions.
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
2012-08-05 12:56:32 -07:00