OpenStack Dashboard (Horizon)
Go to file
Akihiro Motoki c63e4c91ae Fix community image handling in launch instance form
Community images which are not owned by a focused project are not
included in the normal image list API (i.e., without specifying
"community" as visibility), so we need an extra call of the image
list API specifying "community" visibility in a filter.

It was originally fixed by [1] but was dropped in [2].
The main motivation of [2] is to address "Duplicates in a repeater
are not allowed" error in the JavaScript console.

The approach of [2] was to drop multiple glance API calls, but
the right solution would be to check duplicated images included
in both API calls. This situation with duplicated images happens
when a community image is owned by a focused project. In such case,
the community image is included in the responses of both API calls.

This commit adds a logic to check image IDs already processed.

[1] https://review.opendev.org/c/openstack/horizon/+/614688
[2] https://review.opendev.org/c/openstack/horizon/+/640762

Closes-Bug: #1914045
Related-Bug: #1779250
Related-Bug: #1818508

Change-Id: I2ed1b6064ddd6f62818d6112e98e5d5a98beae9d
(cherry picked from commit c9bb0e95ea)
2021-04-07 11:22:20 +05:30
.zuul.d Consume horizon tempest test from tempest master 2021-01-26 00:08:41 +09:00
doc Imported Translations from Zanata 2021-03-09 06:44:29 +00:00
horizon Add WEBROOT to ngdetails navigation 2021-01-04 16:15:54 +00:00
openstack_auth Imported Translations from Zanata 2021-03-09 06:44:29 +00:00
openstack_dashboard Fix community image handling in launch instance form 2021-04-07 11:22:20 +05:30
playbooks Fix ironic-ui cross job 2020-09-10 06:10:38 +00:00
releasenotes Imported Translations from Zanata 2020-10-01 07:08:17 +00:00
roles Improve integration tests logging 2020-09-04 12:46:17 +03:00
tools Update plugin registry 2020-06-26 07:43:39 +00:00
.eslintignore bump eslint version to 1.10.3 2016-03-31 14:06:45 +00:00
.eslintrc Disabling warnings of 'quote-props' 2016-05-18 15:04:00 -06:00
.gitignore Change horizon test runner to pytest 2020-04-03 13:47:18 +03:00
.gitreview Update .gitreview for stable/victoria 2020-09-25 12:27:57 +00:00
.mailmap Update my mailmap 2013-10-25 14:49:23 +08:00
.pylintrc Bump pylint version to support python3.8 2020-09-10 11:43:57 +09:00
CONTRIBUTING.rst [ussuri] [goal] Project PTL and contributor docs 2020-08-20 08:34:11 +09:00
HACKING.rst Update the documentation link for doc migration 2017-08-04 18:38:25 +00:00
LICENSE Initial commit 2011-01-12 13:43:31 -08:00
MANIFEST.in Update MANIFEST for dashboard config 2020-06-08 15:06:58 +02:00
README.rst Add release notes link in README 2018-07-10 14:45:26 +07:00
babel-django.cfg Drop babel extractor definitions from babel config 2019-12-23 17:25:38 +09:00
babel-djangojs.cfg Drop babel extractor definitions from babel config 2019-12-23 17:25:38 +09:00
bindep.txt Fix video recording for integration tests 2020-04-09 09:20:04 +00:00
lower-constraints.txt Update lower constraints and change browser to Firefox to unblock gate 2020-12-16 14:05:19 +00:00
manage.py hacking: noqa cleanup in horizon 2017-03-17 19:38:47 +00:00
package.json Update lower constraints and change browser to Firefox to unblock gate 2020-12-16 14:05:19 +00:00
plugin-registry.csv Update plugin registry 2020-06-26 07:43:39 +00:00
reno.yaml Tell reno to ignore the kilo branch 2020-03-23 13:18:58 +00:00
requirements.txt Bump xstatic-mdi lower-bound 2020-04-01 16:01:48 +09:00
setup.cfg Add py38 package metadata 2020-04-24 08:22:35 -05:00
setup.py Updated from global requirements 2017-05-30 13:34:43 +00:00
test-requirements.txt Bump pylint version to support python3.8 2020-09-10 11:43:57 +09:00
test-shim.js Add Apache 2.0 license to source file 2016-12-02 17:40:28 +07:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/victoria 2020-09-25 12:28:00 +00:00

README.rst

Horizon (OpenStack Dashboard)

Horizon is a Django-based project aimed at providing a complete OpenStack Dashboard along with an extensible framework for building new dashboards from reusable components. The openstack_dashboard module is a reference implementation of a Django site that uses the horizon app to provide web-based interactions with the various OpenStack projects.

image

Using Horizon

See doc/source/install/index.rst about how to install Horizon in your OpenStack setup. It describes the example steps and has pointers for more detailed settings and configurations.

It is also available at Installation Guide.

Getting Started for Developers

doc/source/quickstart.rst or Quickstart Guide describes how to setup Horizon development environment and start development.

Building Contributor Documentation

This documentation is written by contributors, for contributors.

The source is maintained in the doc/source directory using reStructuredText and built by Sphinx

To build the docs, use:

$ tox -e docs

Results are in the doc/build/html directory