108 Commits

Author SHA1 Message Date
Akihiro Motoki
496439b2ad Use pbr autodoc feature rather than custom logic
zun-ui doc/source/conf.py has a custom logic which prepare index files
for autodoc, but now pbr and sphinx autodoc have a feature to do it and
it is no a good idea to keep the custom logic.

UI cookiecutter populates the custom logic and it is an example of
the clean up.

Change-Id: I6c6eb2f6292bda30a4fa8d4375defd8234463008
2017-07-12 11:24:22 +00:00
Akihiro Motoki
946490ea78 rearrange existing documentation to fit the new standard layout
For more detail, see the doc migration spec:
http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

The current installation document is mainly for contributors not operators.
It is better to be reviit later, but it is beyond the scope of this patch.

Change-Id: Ibdbb20131b5c7bea6a1e6ab8ff47b971889ad319
2017-07-11 09:07:07 +00:00
OpenStack Proposal Bot
ef783af9df Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ib35220fc986910a90d8dd45240fda6cd928a9ed0
2017-07-06 10:31:25 +00:00
OpenStack Proposal Bot
0cfafb4b36 Updated from global requirements
Change-Id: Iadab251062f3527ae68a31981e7cffd525d6385a
2017-07-06 01:47:44 +00:00
Shu Muto
b68516b9de Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow.
https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: If3f5c25611dffd462c8b8abe3ecc3f9aa00735ba
2017-06-29 18:33:08 +09:00
Shu Muto
a7a9f20865 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I5de43845fdd29a8fc6eddb6564c20da2a47c6581
2017-06-28 12:21:51 +09:00
Jenkins
5699470a56 Merge "Improve docs build" 2017-06-28 02:54:38 +00:00
Jenkins
bf6d4a865d Merge "Clean up doc/ and releasenotes/" 2017-06-28 02:54:32 +00:00
OpenStack Proposal Bot
543d1d2ce3 Updated from global requirements
Change-Id: I63fad1010716a49b843e81865969916e547b79d5
2017-06-27 12:25:33 +00:00
Shu Muto
164d29526e Improve docs build
Starting in Django 1.7, standalone scripts, such as a sphinx build
require that django.setup() be called first. See:
https://docs.djangoproject.com/en/1.8/releases/1.7/#standalone-scripts
It does not always necessary, but it is needed to avoid warnings
when creating autoindex.
Note that horizon no longer generates the autoindex to avoid warnings.

Drops setenv DJANGO_SETTINGS_MODULE in docs env in tox.ini.
DJANGO_SETTINGS_MODULE is configured in doc/source/conf.py,
so there is no need to pass envvar.

Add warning-is-error sphinx setting to avoid doc build warnings.

Change-Id: I4c036e264c7dd28463c3d52d73fcbbd3abeacb2b
2017-06-27 17:17:17 +09:00
Shu Muto
45c763336f Clean up doc/ and releasenotes/
Already we setup reno environment. So there were two Release notes
information: doc/source/releases and releasenotes (by reno).
Release Notes in doc directory are unnecessary.

It is not a good idea to have too much contents in the top page
document. Installation stuff is split into a separate page.

Title level of index.rst was inconsistent.

_static and _templates directories in releasenotes/source
are unnecessary. Also version info is set in release notes.

Change-Id: I0c2c31c9efc71d97ccea064da36302d886d8a743
2017-06-27 16:51:01 +09:00
Jenkins
9ac84cdc36 Merge "Fix image pull action" 2017-06-27 06:16:18 +00:00
Jenkins
3c70594869 Merge "Imported Translations from Zanata" 2017-06-27 02:41:29 +00:00
Shu Muto
051a02a67b Fix image pull action
For now pull image action doesn't work due to server error.
The following patch adds second return value into
_cleanup_params function, but the patch forgot to add the second
return value for _cleanup_params in image_create function.
https://review.openstack.org/#/c/474101/
This patch fixes it.

Change-Id: I5f2dca94821fa8c427e2804626f8b7f4a9fdcbb3
Closes-Bug: #1700479
2017-06-27 11:26:09 +09:00
OpenStack Proposal Bot
cb0a66c9db Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Id619ed3d0d2feb8fefb0c6b5806a7a4a80883656
2017-06-26 10:20:54 +00:00
Shu Muto
055f8f71ea Fix translate tag
This patch fixes translation tag properly.

Change-Id: Iecc6bd58d6bcc9e704d78358c03f5598d3d31517
2017-06-26 11:38:25 +09:00
OpenStack Proposal Bot
bab87425d3 Updated from global requirements
Change-Id: If510fad89e125175462d88fedf826df5664bda53
2017-06-23 18:17:16 +00:00
Jenkins
6c41e2e2ad Merge "hacking: Specify white list rules in noqa explicity" 2017-06-23 01:07:17 +00:00
Jenkins
534d1615cb Merge "Add reno for releasenotes management" 2017-06-22 10:52:47 +00:00
Shu Muto
0ad3744f64 Add reno for releasenotes management
An initial patch to add reno and create a base directory for
release notes

Change-Id: Ia8dbcf1aed76946a3f64c8d437f85ae88069db57
2017-06-22 15:42:19 +09:00
Shu Muto
a13c830f1b hacking: Specify white list rules in noqa explicity
If 'noqa' is specified all hacking checks are disabled.
It is better to ignore specific rules explicitly rather than
ignoring all. The recent flake8 supports this [1].

[1] http://flake8.pycqa.org/en/stable/user/ignoring-errors.html

Change-Id: I0f2a0cccf459c5a353f777a2be352c0faa8b18e0
2017-06-22 14:00:45 +09:00
Shu Muto
7ddb9c69ad ignore nose test results
To exclude nose test results from git management,
add '*nose_results.html' into .gitignore.

Change-Id: I1675a795da350e862c2495b8a2ce8d7957f0d2db
2017-06-22 12:35:03 +09:00
Jenkins
1efb2069dd Merge "Use commonized serial console" 2017-06-20 07:46:56 +00:00
Shu Muto
aefbe4e6f6 Exclude node_modules directory from flake8 target
Change-Id: I5927e3a5bdc6d4bd9e3f0649fa86a243d23c3178
2017-06-19 14:47:39 +09:00
Shu Muto
fb51a6dcf6 Use commonized serial console
This patch follows commonization of serial console in Horizon.

Change-Id: I41f236f2762613e56748bb05eb7ce0e4c26158d2
Depends-On: Ib0df9ddfc74f98bfea75abce3b5d5479e3cd47bd
2017-06-15 18:20:16 +09:00
Shu Muto
ea685c4c92 Fix execute action
For now, execute action doesn't works. This patch fixes it.

Change-Id: If8dae8073ce832ba62de56c388480760375098dd
2017-06-15 16:04:18 +09:00
Shu Muto
f42c24e1e8 Enable to rename container in update action
This patch enables to rename container in update action.

Change-Id: I2c58d65355965f512ff89ba0b689d735b7f36522
2017-06-15 16:04:01 +09:00
Shu Muto
6ab8f75e59 Add update action for container
This patch adds update action for container as item action.

Change-Id: Ie80a1f447e218213adaff2253a1ec1afd7fe5672
2017-06-15 15:55:48 +09:00
Shu Muto
2fe0d61529 Use Angular-Schema-Form for container creation
To modify dialog easily, this patch uses Angular-Schema-Form
for container creation dialog.
This also makes easier to implement update dialog in the future.

Change-Id: Id369ec6650931433e3e5fd4569838c3ff420e504
2017-06-14 15:27:37 +09:00
Shu Muto
fa57cda20c Add parameters for cluster creation
This patch adds 'image_driver', 'image_pull_policy' and
'restart_policy' parameters into cluster creation action.

Change-Id: I479e85787b0a2518968e8bb774159073b1573162
2017-06-14 10:44:15 +09:00
OpenStack Proposal Bot
68ceee59da Updated from global requirements
Change-Id: Ie816a3fa508229e167a07a0c07da5d17b109bb83
2017-06-04 03:03:59 +00:00
Shu Muto
6d7a8dc3bf Add images panel into admin dashboard
This patch adds images panel with pull action.

To enable images panel, copy enabled files:
* zun_ui/enabled/_2330_project_container_panelgroup.py
* zun_ui/enabled/_2331_project_container_images_panel.py

into horizon:
* openstack_dashboard/local/enabled/

Change-Id: I452449e6cf8dd5c150f5ff0843ce5babfface6ea
Implements: blueprint add-images-panel
2017-05-25 16:48:44 +09:00
Hongbin Lu
e9c497df63 Make console work with zun-wsproxy
Zun server is switching to websockify library for streaming.
This requires client to set sub-protocols manually.

New WebSocket connection manner is completely same as of
serial console for the instance.
So it's enough to use django template for the instance.

Change-Id: I7ebd0893ea4db0149fade4f32d6b70ee8b55147c
2017-05-19 15:25:29 +00:00
OpenStack Proposal Bot
abe017df59 Updated from global requirements
Change-Id: I3beffd0e0ad2916aeb442e7b8fc2b30fad677eff
2017-05-17 04:01:09 +00:00
OpenStack Proposal Bot
f02d6ddc4d Updated from global requirements
Change-Id: If4c8fe7fb9b93ee0f7ec3fd3f23d160dc652b23f
2017-05-15 00:57:48 +00:00
Shu Muto
cbd590935d Bump 0.0.0 to 0.1.0
Also, package.json needs to change its version.

Change-Id: I4addcce29c8f4adcccfc1983c3cdcda8c622cfb9
0.1.0
2017-04-28 18:28:09 +09:00
Jenkins
282c4f300c Merge "Combine tty and stdin_open" 2017-04-24 18:56:46 +00:00
Jenkins
eac8991cc8 Merge "Optimize the link address in README.rst" 2017-04-24 06:34:21 +00:00
Jenkins
ef6732bb8c Merge "Optimize the link address" 2017-04-21 13:13:07 +00:00
Feng Shengqin
2a522bec9f Combine tty and stdin_open
Change-Id: I6b01c35260671ac0c45c5bb188aa07f637fb7eac
Closes-Bug: #1683951
2017-04-20 06:18:28 +00:00
Feng Shengqin
d0df87d19d Optimize the link address in README.rst
Use https instead of http in README.rst

Change-Id: Ib35e2d45f7d49a0808b559de49bfdf3418d5b9fc
2017-04-20 14:11:30 +08:00
coldmoment
48c34148be Optimize the link address
Use https instead of http in installation guide

Change-Id: I9099fd9067dc0f55bd071f7b397f88cc0b795c43
2017-04-19 15:08:16 +08:00
OpenStack Proposal Bot
04297f651e Updated from global requirements
Change-Id: Iae0e790d3a7a27dbb1bda1c3c0849743568d4b55
2017-04-18 16:58:37 +00:00
Jenkins
07866d2ca4 Merge "Rename 'reboot' to 'restart'" 2017-04-17 08:12:31 +00:00
Jenkins
ceebecb9f3 Merge "Refresh test environment" 2017-04-17 05:18:14 +00:00
Shu Muto
cbb5888cff Refresh test environment
To enable py35 tests, refresh test environments.
Also, update docs, remove run_tests.sh that is no longer used.

This patch needs to wait for adding python-zunclient into
global-requirements.

Change-Id: Ibed3eea72839226dca878d0ecd1778c9d9a7e7d3
2017-04-17 05:04:06 +00:00
Hongbin Lu
c8983de015 Rename 'reboot' to 'restart'
Change-Id: I5d821303f9e5efb80efeeb3b0d7b3c7c330fa13b
Depends-On: I412fdb2123feb57b9fd5bcdb47ab389271d0d7e0
Closes-Bug: #1682679
2017-04-14 23:58:00 +00:00
Shu Muto
daa20b5483 Handle 400/500 error on execute dialog
If a 'exec' request returned 400/500, the UI doesn't handle it.
This causes spinner remaining. This patch fixes the issue.
Also, to ease to see status of exit code for command,
change its container from readonly input text box to label.

Change-Id: I833d5f448f5294ae8b537476e53643e35f25e7a2
Closes-Bug: #1682173
2017-04-13 14:17:20 +09:00
Shu Muto
6644b6be77 Increase the height of output area.
It is better to increase the height of output area
since the output couldn't fit into the box at majority cases.

Change-Id: Ia8dbb2c3985eca7125575de803f7c5fa749558b2
2017-04-12 15:40:30 +09:00
OpenStack Proposal Bot
cbdf73d63e Updated from global requirements
Change-Id: Id534d8c41a9715f0524310ed7ddf8bf466711a82
2017-04-12 04:24:32 +00:00