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
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
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
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
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>
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
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
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
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
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
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
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