Commit Graph

65 Commits

Author SHA1 Message Date
manchandavishal 605a515ebc Drop Django 3.2 support
Django 3.2 support was dropped. Django 3.2 ends its extended support
in April 2024[1]. Considering this, horizon dropped Django 3.2 support
and used Django 4.2 as the default version of Django. It also updates
some references to Django 4.2 from Django 3.2 in the documentation.

[1] https://www.djangoproject.com/download/

Change-Id: I9fff310c5433cf96cdf0a2cd81d11a96c2a4a55b
2024-01-30 17:01:51 +05:30
Zuul da0024f666 Merge "Add a Note Under Install and configure Section in documentation" 2022-02-25 19:08:47 +00:00
manchandavishal 83f864f490 Fix hardcoded link error in sphinx 4.4.0
horizon doc job is failing because sphinx 4.4.0 raise an error
for the hardcoded extlinks link [1]. This patch fixes those links
to unblock the doc gate job.

Closes-Bug: #1958290
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>

[1] https://github.com/sphinx-doc/sphinx/pull/9800

Change-Id: Ica1a16522421a697efdab882afe6d9c08ff05e0b
2022-01-21 11:42:14 +05:30
manchandavishal 029de21c11 Add a Note Under Install and configure Section in documentation
This patch adds a note to use keystone port 5000 while configuring
horizon for all distros like ubuntu/debian/rdo/obs under the install
and configure section. Right now if a user tries to set up an OpenStack
env. manually using documentation [1], [2] leads to some confusion
because keystone documents suggest creating keystone endpoint at
http://controller:5000/v3/ rather than http://controller/v3/ while
horizon document consider keystone doesn't run at 5000 port updated
by [3].

Closes-Bug: #1910476
Closes-Bug: #1926096
Closes-Bug: #1950919
Closes-Bug: #1956437
Closes-Bug: #1892279
Closes-Bug: #1903320
Change-Id: I18d0d2105ea54ba02f8979ab7a15a75a0425b8c7

[1] https://docs.openstack.org/keystone/latest/install/keystone-install-ubuntu.html#install-and-configure-components
[2] https://docs.openstack.org/horizon/latest/install/install-ubuntu.html#install-and-configure-components
[3] https://review.opendev.org/c/openstack/horizon/+/697406

Change-Id: I537a963c9d955b8d7e21f0d05b0197588907419e
2022-01-19 10:35:25 +05:30
manchandavishal 8918bf751d Drop Django 2.2 support
Django 2.2 support was dropped. Django 2.2 ends its extended support
in April 2022[1]. Considering this, horizon dropped Django 2.2 support
and use Django 3.2 as default version of Django.

It also updates the python version from py38 to py39 for
"horizon-non-primary-django-jobs" and
"horizon-tox-python3-django" project template because py36
and py39 are now runtime for the Yoga cycle[2]. So I have updated it to
py39.

[1] https://www.djangoproject.com/download/
[2] https://review.opendev.org/c/openstack/governance/+/820195

Change-Id: I8886f12f7e51b721ac5123070086d5dcfefe4e72
2022-01-05 19:26:56 +00:00
Akihiro Motoki 0f34f6e7ed Add a release note on Django 3.2 support
We consider Django 3.2 support as experimental in Xena,
but it is worth documenting it.

Change-Id: Ibdaed0f4eafd18c61289e70e41584e97d6c60dd7
2021-09-22 16:10:02 +09:00
Takashi Kajinami 2e1a45db30 Clean up the removed enable_* settings
OPENSTACK_NEUTRON_NETWORK no longer supports the following settings[1].
 - enable_firewall
 - enable_lb
 - enable_vpn

This change removes the remanining usage of these settings from
installation guide.

[1] 53a5164d82

Change-Id: I9c75bafc2301f045096b51f433456d1accb12edf
2021-01-02 15:01:47 +09:00
Akihiro Motoki 08878b6b01 doc: Drop old Django information
The dropped information is about Ussuri release which dropped
Django 1.11 support. The information is no longer needed
as we are in Wallaby release.

Note that the referred bug is about a typo in the dropped note.
Closes-Bug: #1904855

Change-Id: Iee2b5a7f2c0d2a4e68db638d7f17e99884df42de
2020-11-24 23:04:11 +09:00
Ivan Kolodyazhny 57999617ec Update docs for Ubuntu 20.04
* Add gettext package for development environment
* Use 'apt install' command instead of legacy 'apt-get'

Change-Id: I2bd06b7708a72a1986e75968aee79ba27457bf62
2020-11-12 12:36:11 +02:00
Akihiro Motoki c897a8e444 doc: Reorganize contributor doc
Ussuri community goal "Project specific contributor and PTL docs"
want us to use doc/source/contributor/contributing.rst as an entry
point, but the current contributor/contributing.rst in horizon
contains a lot of information.

Before updating the file to satisfy the community goal criteria,
this commit reorganize the contributor doc.
It splits the existing contents in contributing.rst into pieces.

Change-Id: I8aa9a310a99e0eed5a93ed040a02a2829ee09bf7
2020-08-20 08:34:11 +09:00
Zuul c93db9d1a2 Merge "Generate plugin registry based on releases repo" 2020-01-14 09:39:33 +00:00
Akihiro Motoki 3e54ba096f Complete "Drop Python 2.7 Support" goal
The goal definition in the TC repo [1] defines the completion criteria.
We have already completed 1, 2, 3 and partially 4 in [1].
This commit completes 4 (requirements.txt etc) and 5 (release note).

Python dependency in the installation guide is updated.
Django support plan in Ussuri is updated as well.
References to python 2.7 in the document are updated as well.

[1] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I0383920e32e053e1611519be774fab8dec124ccc
2019-12-29 01:42:54 +09:00
Akihiro Motoki cd80207d09 Generate plugin registry based on releases repo
The plugin registry is maintained manually, so it tends to be out-of-date.
The deliverble files in openstack/releases repository provide information
on repositories and bug trackers. It sounds reasonable to me to generate
the plugin registry based on infomration in the openstack/releases repo.

The script added picks up deliverables marked as horizon-plugin.
mistral-dashboard and networking-bgpvpn dashboard are released in
different ways, so they are handled specially in the script.

How to run:
  ./tools/list-horizon-plugins.py \
      --csv-file plugin-registry.csv \
      ../releases ussuri

Note that this commit does not autogenerate the plugin registry.
The script still needs to be run manually.
Further automation would be the next step.

Note that bug trackers of senlin-dashboard and trove-dashboard in
the releases repo looks out-of-date. I will submit a fix for them soon.

The downside of the automation is that we cannot list non-official
horizon plugins but I believe it is a good compromise.
The only non-offical plugin listed now is the group-based-policy UI,
but it is questionable whether it is still maintained well.

Change-Id: Id56be13fb93c6dc123e7cfb1c906357cdf59732b
2019-12-23 18:43:24 +09:00
白子玉 3f7fc68085 Changed default identity url to horizon
The keystone doesn't use 5000 port anymore from Newton version. And all
 the references should be changed together.

Change-Id: I3f02686ab5b3abf48f129fde92e90427ca148317
2019-12-06 18:41:38 +08:00
Erik Olof Gunnar Andersson 9efd44a40a Fix syntax error in installation guide
This fixes a missing comma in the configuration example
and also adds a proper default key to caches.

Change-Id: I907172cfe295b310617139b0431ededda7fc33f4
2019-11-30 21:43:24 -08:00
Akihiro Motoki c6496c7d05 django22: release note and docs update
Change-Id: I52a9c0319e0b5bd8254b4d4e769fc0497883044d
2019-09-11 16:31:55 +09:00
Carlos Goncalves a55d7944bf Remove reference to Neutron LBaaS
Neutron LBaaS has been retired and there will be no Train release [1].
References to it should now be removed.

[1] https://review.opendev.org/#/c/658494/

Change-Id: I543694a97406241d86acacefe528b36c80bee214
2019-06-05 10:20:58 +00:00
Akihiro Motoki 9790293c2a Update URLs of horizon plugin registry
As result of the recent opendev migration, github repositories
for non-TC-governed OpenStack projects are not synced automatically.
group-based-policy-ui is such repository.
It is a good chance to point repositories on opendev.org.
This commit replaces github links to opendev links.

This commit also updates bug tracker links to more direct links
to the bug trackers.

sphinx extlink is now used to simplify the plugin registry doc.

Change-Id: Ib1a746e2cd6c7ed0c81c10e2767d6f76ad0203b9
2019-05-23 22:16:22 +09:00
Frank Kloeker 77c6b1919e [trivial] use systemctl for service management in Ubuntu
service command is a wrapper for SystemV init scripts.
It's still working, but usage of systemd (systemctl) is more common since Ubuntu 16.04.

Change-Id: I59db9bf29696a1e64cdde322df29ec1a827d7e84
2019-05-15 12:12:04 +02:00
ZhongShengping a569f0faf3 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: I7f5506455ed52e4670b8e428548e931db13b13db
2019-04-24 12:25:40 +08:00
Ivan Kolodyazhny b028b5a0aa Change Cinder API version in the documentation
Cinder API v3 is a default version for Horizon so we need
to use it in the documentation.

data-processing API version is removed from the Horizon
documentation since it's availale in a separate plugin.

Change-Id: I5f178b70f73c23f8220f44a418eec689f0bc3b1c
2019-04-11 17:44:22 +03:00
manchandavishal 3b6c944ff5 Update python3 version info
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit drops python 3.5 info
and adds python 3.6 and 3.7 info.

[1] https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I8f024505ed9b37c9f2b480f49b5000d75da42cc0
2019-03-29 10:32:52 +00:00
Zuul aa5e7b822b Merge "Document horizon policies" 2019-02-12 21:50:33 +00:00
Akihiro Motoki 8f39950a0e Document horizon policies
This commit tries to capture basic policies on back-end feature
supports and so on that have not documented so far.

Change-Id: Ic1dc6029ce2a1cf54d313e8320b7ca206f5dfaea
2019-01-15 16:19:28 +09:00
Ivan Kolodyazhny d910acb7d1 Change bug tracker URL for the vitrage-dashboard
vitrage-dashboard uses Story Board now. This patch changes old URL wich
points to the Launchpad.

Change-Id: I0ab127ae3847edf885efe55610f36ea7c60137bb
2019-01-09 17:21:22 +02:00
Akihiro Motoki f2828b9104 Drop TripleO UI from horizon plugin registry
TripleO UI is not a horizon plugin. It does not depend on horizon.

Change-Id: I11b76b180f928ece19532e68c7f84acc6f50bcab
2018-12-21 03:27:59 +09:00
Zuul 02fc6588b3 Merge "Update link addresses in documents" 2018-12-14 18:10:50 +00:00
Zuul 4985710066 Merge "Document Django and Python support policy" 2018-12-03 14:35:24 +00:00
zhangdebo a548d464d1 Update link addresses in documents
Change-Id: I838adb8fface6f0931007e859dc3779238923e5a
2018-11-24 10:37:39 +08:00
Akihiro Motoki b21add6e2d Document Django and Python support policy
As discussed in the Stein PTG at Denver,
we support maintained LTS versions of Django and other maintained
Django versions are optional. For example, upcoming LTS version of
Django 2.2 will be supported. Django 2.1 support will be best-effort.

The policy for Python supported version is documented.
Python 3.6 is now covered by unit tests, so it can be considered
as experimental. Python 3.7 support will be added along with
the community goal.

Change-Id: I1d844b0333b2701adbae7a51033091bff1458313
2018-11-20 20:33:39 +09:00
zhouxinyong 23313c7ec3 Update the HTTP links to HTTPS.
Change-Id: I7c45f9a54be390df2d965e181c581b26f17e70d5
2018-11-15 09:57:17 +00:00
ardentpark 967fa37801 Fix documents in doc/source/install
* Fix release version name
  because I think the latest release(Stein)
  needs to be applied to these documents.
* Fix list number(trivial)

Change-Id: I5973f14696975c757ee8d0fc264a25f85c2e4585
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
2018-10-29 02:19:49 +09:00
Trinh Nguyen 13c6fd0a10 Replace Searchlight-UI launchpad link with Storyboard
Searchlight-UI was moved to Storyboard at [1].

[1] https://storyboard.openstack.org/#!/project/openstack/searchlight-ui

Change-Id: I1c3a9468684da7e2be013b77082eaa49b2825821
2018-09-11 18:55:50 +09:00
Akihiro Motoki cf8c63d3f5 doc: Fix dashboard URL in Debian installation
Change-Id: I05e3c3d4b92ebda39b28d092c646c846fae2a57a
Closes-Bug: #1784658
2018-08-11 05:29:10 +09:00
Zuul ab03c13711 Merge "Remove the "browser support" dead link in the doc" 2018-06-26 12:02:49 +00:00
François Magimel dc51fc5094 Remove the "browser support" dead link in the doc
Browser support list was removed from the noVNC wiki, but a summary is
still in their README.

Change-Id: I6bb3cd4462f40ba06aebaffd85dc9cda0e87164b
Closes-Bug: #1778424
2018-06-24 22:05:30 +02:00
François Magimel 4e0ee573db Replace "derails" with "details" in the doc
Change-Id: Icbfae0d490cfa7e0bb9b71d5d755f0c07b298771
Closes-Bug: #1746144
2018-06-24 21:40:21 +02:00
chenxing b1d575869e Heat projects have been migrated to Storyboard
Because Heat projects have been migrated to Storyboard,
the reference should be updated correctly.

Change-Id: I4f5eea84fe50ecb495dcd0167e521950387a4810
2018-05-24 10:56:12 +08:00
Adrian Turjak 0ca736e5da Create new wsgi.py file and deprecate old file
Django 1.4 stopped creating django.wsgi files and the common
practice now for a while has been a wsgi.py since it is actually
python code, and should actually be importable.

Right now someone has to copy and rename the existing file if they
want to use it with a server like gunicorn.

This patch adds a new file in location that is importable via python
and adds a deprecation log to the old one.

This also updates the wsgi generation commands to instead  create
'horizon_wsgi.py' and have the apache conf generation also use that
or the default wsgi file.

Change-Id: I0f8bd16c8973ad23bcd8f73b54584dc69e5aed0c
Closes-Bug: #1763204
2018-05-15 01:41:01 +00:00
Ivan Kolodyazhny c3d6036f8a Cleanup Plugin Registry
This patch removes unsupported plugins and changes links from http to
https.

Change-Id: Ic2532f73dba64605bc646f88ed088fbcedc6e44a
2018-03-30 23:41:58 +03:00
Zuul c5c680cb69 Merge "Sahara projects have been migrated to Storyboard" 2018-03-20 04:19:47 +00:00
Vu Cong Tuan d7cab93a16 Sahara projects have been migrated to Storyboard
Because Sahara projects have been migrated to Storyboard,
the reference should be updated correctly.

Change-Id: I33cabea7586c60e8806068535b376c8cdf24694f
2018-03-20 11:03:15 +07:00
Zuul 9ad47acab6 Merge "Update RHEL/CentOS horizon install instruction" 2018-03-20 03:56:24 +00:00
Akihiro Motoki a180bafb75 Update RHEL/CentOS horizon install instruction
openstack-dashboard.conf in openstack-dashboard package
for RHEL/CentOS does not contain WSGIApplicationGroup configuration
which is required to make the dashboard work correctly.

Change-Id: Ic62fa29015ec153eada9d5e1ba5c06dab3a5eeca
Closes-Bug: #1741354
2018-03-16 08:10:46 +09:00
Akihiro Motoki 5e3fc94971 Update Django versions in horizon requirements
Part of blueprint django2-support

Change-Id: I748a9e4316618bf940ec507faa3456785cb2113f
2018-03-16 07:54:48 +09:00
Akihiro Motoki 5d81a96642 Update bug trackers of octavia/lbaas-dashboard
Octavia project uses the storyboard for bug tracking.
The corresponding Launchpad bug tracker is frozen.

Change-Id: I3213ec96116a68d90b13661e3ea7abc468365200
2018-03-07 23:46:45 +09:00
Akihiro Motoki c6d1e169ed Add note for Django 1.8-1.10 support in relnote and doc
As we discussed in the team meeting, we plan to drop Django 1.8
to 1.10 support in Rocky. It is worth mentioned in the release note
and the document.

Change-Id: I11a4f4ec1d2a237fad7c58951ff23affd0b5708d
2018-01-23 09:29:23 +00:00
Akihiro Motoki 8c25bb728f Update Ubuntu horizon installation instruction
openstack-dashboard.conf provided by Ubuntu package does not
contain WSGIApplicationGroup configuration which is required to
make the dashboard work correctly.

Change-Id: I578217571e7a80c174bfc65317d4a1c159ff8692
Closes-Bug: #1738379
2017-12-18 14:57:04 +09:00
Andreas Jaeger 8c5f7196b6 Remove app-catalog from plugin list
The repo is retired, see I52ce13057643d69a0fd87bce20ee460c6b7c2f17.
Remove it from the list of plugins.

Change-Id: I233c3f30e84f8568a2d29683bdefd1f5f40aeccc
2017-12-10 20:45:32 +01:00
Zuul 8bb0d6be83 Merge "Add Heat Dasbhoard to Plugin Registry" 2017-12-09 10:27:45 +00:00