Commit Graph

28 Commits

Author SHA1 Message Date
Akihiro Motoki cd7c1b5110 Address RemovedInDjango40Warning (2)
django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(),
ungettext(), and ungettext_lazy() are deprecated in favor of the
functions that they’re aliases for: django.utils.translation.gettext(),
gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy().

https://docs.djangoproject.com/en/4.0/releases/3.0/#id3

Change-Id: I77878f84e9d10cf6a136dada81eabf4e18676250
2022-02-04 16:22:07 +09:00
manchandavishal 7192f4ae93 [cleanup] Remove "Update flavors" from documentation
"Edit Flavor" feature is dropped in horizon by 377422b
and this patch removes its reference from the documentation
to avoid confusion.

Closes-Bug: #1940035
Change-Id: I76a0e0052c7ede9f9e9751b39a6264ffeb0322e3
2021-10-18 22:22:05 +05:30
Marc Methot 207ebdf27c Removing USE_SSL parameter from the configuration documentation
Change-Id: I15be80d6c02ea2cc1b8434cf930879b782360dd6
Closes-Bug: #1860614
2020-01-22 17:44:56 -05: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
Keith Berger 85a1dddf12 Fix aes-xts key length in Horizon Admin Guide / Manage Volumes
When using aes-xts-plain64, a 512 bit key produces an error as this
is not a supported barbican key length for aes-xts-plain64. This patch
updates the horzion admin doc to remove the reference of a 512 bit key.

Change-Id: Ie36e05a1e59eb88b779c9f3249a714c20b5f5fe0
Closes-Bug: #1708505
Closes-Bug: #1849196
2019-10-21 16:41:46 -04:00
Akihiro Motoki 8cc055157d doc: Use `manage.py migrate`
`syncdb` subcommand was deprecated in django 1.7 and subsequently
removed in 1.9. We need to use 'manage.py migrate'.

This commit also drops a sample output of 'manage.py migrate'.
I don't think we need to maintain this kind of output and
it can change per Django release.

Closes-Bug: #1777358

Reference: https://docs.djangoproject.com/en/dev/topics/http/sessions/#using-database-backed-sessions

Change-Id: Ib3a7e50584a8deb9bee409335464163b7b1258d1
2019-01-07 23:50:07 +09:00
Zuul 02fc6588b3 Merge "Update link addresses in documents" 2018-12-14 18:10:50 +00:00
manchandavishal a0b72d54c0 Updating "Create an Encrypted Volume Type" Picture
With reference to I038918e4beef2ea4d346127713855e0421e8b721.
The description for "Key Size" field is changed.
So picture for the same also need to be updated.
This patch updates the picture in the doc.

Change-Id: Idfed41249cd6e74ff0ad209798dfc5f921552ed9
Related-Bug: #1780457
2018-11-29 04:34:36 +00:00
zhangdebo a548d464d1 Update link addresses in documents
Change-Id: I838adb8fface6f0931007e859dc3779238923e5a
2018-11-24 10:37:39 +08:00
Ivan Kolodyazhny 770afab1bf Remove nose references from Horizon
Commit I7fb2fd7dd40f301ea822154b9809a9a07610c507 changed test runner to
not use nose. So it's safe to remove all references now.

Change-Id: I8856e4e91b25f059645eb5e0356d207f6fc119f2
2018-09-22 20:11:30 +03:00
zhang.lei ee40a3693d Remove -u root as mysql is executed with root user
As openstack installation guides suggest to run mysql with root shell
user, mysql will not ask for password, so in
controller-install-*.rst "-u root -p" is useless.

Change-Id: I22e1dedeeec5f4fbc77f663ffd3f4b433de56875
Related-Bug: #1785025
2018-08-14 12:00:53 +00:00
Akihiro Motoki 69f42aefa1 doc: Update apache configuration for WSGI
It makes more sense to use <Location> directive rather than
<Directory> directive because HTTP requests are handled by
WSGI script and the directory paths are not actually referred.
The proposed approach is already used in DevStack and what we test.

This is a patch to follow up the discussion on the apache
configuration files in https://review.openstack.org/#/c/561802/.

Change-Id: I0c3111ed4d04c55ba31924d02bbf3eb416ec3412
2018-06-05 07:28:11 +09: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
Brianna Poulos 21ffefaf6b docs: Update help text for encryption provider
The volume encryption provider no longer uses class names.
Instead, 'luks' and 'plain' are used. This patch updates
the help text for the volume encryption provider to use
the new encryption provider format constants.

Change-Id: I582b239d9de86aa1f1f5e55d4576cc65d33e74a7
2018-02-16 16:49:31 -05:00
Ivan Kolodyazhny b28b8e2b9a Change django.utils.log.NullHandler to logging.NullHandler
django.utils.log.NullHandler was removed in Django 1.9. logging.NullHandler
wad added to Python standard library since 2.7 so we should use it now.

Change-Id: I38f3f1d592f5456efc7dc94c0677a0a594722fbd
2018-01-26 11:20:51 +02:00
Zuul fbbab68777 Merge "doc: drop horizon-plugins' content from user/admin guide" 2018-01-25 21:25:21 +00:00
Zuul 697a9b2a3d Merge "doc: cleanup unnecessary vertical lines" 2018-01-18 13:41:58 +00:00
Zuul 636d3e8a19 Merge "[doc] Correct the wrong 'System' tab" 2018-01-17 13:40:48 +00:00
Qian Min Chen dda139ba86 [doc] Correct the wrong 'System' tab
The 'Flavors', 'Images', 'Instances' and 'Host Aggregates' are
under 'Compute' tab, this patch fix them.

Change-Id: Ibd411c10d524d0c66da35e3580329713517f36a9
2018-01-15 13:02:07 +00:00
Akihiro Motoki 5a11dd64b1 doc: cleanup unnecessary vertical lines
If a content has unnecessary indent, we will have unnecessary
vertical gray lines in rendered HTML like [1].

[1] https://docs.openstack.org/horizon/latest/configuration/customizing.html#icons

Change-Id: I69140e396db80c5008d60db64b83f7cdb5a891d8
2018-01-14 05:45:35 +09:00
Qian Min Chen 27b1690f49 [doc] Correct the wrong 'System' tab
Now the 'Volume Types' and 'Volumes' are under 'Volume' tab
of the 'Admin' tab, this patch fix them.

Change-Id: I9242c083aab591fa1aca58dfccc69fbf0d320ab8
2018-01-08 15:21:38 +00:00
Akihiro Motoki 77ed0e3db2 doc: drop horizon-plugins' content from user/admin guide
This commit drops contents on manila-ui, neutron-lbaas-dashboard
and trove-dashboard from the user and admin guides.
These were imported from openstack-manuals into horizon
during the doc-migration work, but they were mistakes because
they should be maintained by individual horizon plugin teams.

Closes-Bug: #1741613
Closes-Bug: #1741614
Closes-Bug: #1741615
Change-Id: I6f30cb260a23721015059c1f672b0749364033cb
2018-01-06 22:40:38 +09:00
Akihiro Motoki cd49510878 Updating default keystone API verson to 3
The keystone API version 3 has become the default API version
for a long time and our CI already uses keystone v3 API only.

In addition, our documentation recommended to use the cached session,
so switching the default API version to 3 does not hit the limitation
on the maximum size of session data when using the cookie-based
sessions.

This is based on django_opensatck_auth review
https://review.openstack.org/#/c/158384/

Implements blueprint: default-keystone-api-3
Change-Id: I79e9fbd3567cc69468694dbf043fecf422347c7e
2017-12-21 03:24:07 +09:00
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
Akihiro Motoki a4d05ce55d Clean up broken links due to doc-migration
admin-manage-stacks.rst is dropped as we have no admin stack panel.
view-cloud-resources.rst is dropped as the metering panel was dropped
several releases ago.

Closes-Bug: 1714753

Change-Id: I483cb3dbaab23722abd2f321e8666d8beea2f7c7
2017-09-03 08:57:42 +00:00
Akihiro Motoki 515ba0ae0f Update the documentation link for doc migration
This commit updates links affected by doc migration.
Note that other links are not touched in this commit.
Fixing other broken links or changing http to https
should be covered by a separate patch.

Also convert http links to docs.openstack.org to https per reviewer
request (though it is not directly related to doc-migration).

Note that this commit does not touch files under releasenotes/notes/.
If we touch release notes in older releases, reno will considers
it as a release note in the current release.
(Pike release notes are clean up in a separate patch.)

Change-Id: Iba9bd465ef08014a4972584cf4da6e7d77961119
2017-08-04 18:38:25 +00:00
Petr Kovar 4f37639902 [doc] Fix broken link
Change-Id: I42e876eb319cac57cc5223163be6c8ac67040a2d
Closes-Bug: #1701287
2017-06-30 17:42:01 +02:00
Doug Hellmann 585974e4c7 import the admin guide content from openstack-manuals
Change-Id: Ifd2bb6badc778368ca641cd0889dd2ed19b8cc41
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-24 17:03:47 +09:00