78 Commits

Author SHA1 Message Date
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
Jenkins
34c5b80f06 Merge "Display output of command for execute action" 2017-04-12 01:23:08 +00:00
Shu Muto
526d4424a6 Display output of command for execute action
This patch adds fields for output, exit code and message into Execute
action dialog. To display output of command, this also modifies dialog
not to be close by clicking submit button. To close this dialog, click
cancel or type Esc key.

Change-Id: I6f753387f4e8fa833b5081b4f11fa5c89927b6d0
2017-04-11 20:41:48 +09:00
Shu Muto
9d61096c2c Add dialogs for stop/reboot actions
This patch adds dialogs for stop and reboot actions
to specify timeout attribute.

Change-Id: I4d7e92441dd976d6974c7b8ad84a5338b420c9d6
2017-04-11 12:42:38 +09:00
Jenkins
5160eaddf4 Merge "Don't get container's logs if it is creating" 2017-04-07 08:27:57 +00:00
OpenStack Proposal Bot
75e5069f32 Updated from global requirements
Change-Id: Ic6b3377a13e3c95d9b6694df1c35829a8f08984b
2017-04-07 06:19:02 +00:00
Hongbin Lu
f8730d79bd Don't get container's logs if it is creating
Server might return a 400 error on getting logs on container with
"Creating" state.

Change-Id: I0bc16c15ca91698713a98368d3263ac8b8764536
2017-04-05 20:30:58 +00:00
Shu Muto
3ed91caa43 Refresh views after actions
This patch fixes to refresh views after actions,
also adds refresh action as item action for manual refreshing.

Adding refresh action is trivial fix. Ideally, refresh action
should be implemented by Horizon framework.

Change-Id: I1b0b5084a7a3a3df96e04200add8f3843587cb76
2017-04-05 15:37:46 +09:00
Jenkins
2d1094c363 Merge "Fixed the error on stop reboot and kill" 2017-04-05 00:59:38 +00:00
Hongbin Lu
b2f0448e57 Fixed the error on stop reboot and kill
For stop and reboot, the timeout parameter is missing. For kill,
it doesn't work if users left the signal unspecified.

Change-Id: Ia1db001790fc491982ba4a6377bea2684d18f610
2017-04-03 19:56:21 +00:00
Shu Muto
328eca4a68 Add console tab into details view
This patch adds console tab into details view. Console view
gets console_url using attach method and access from browser
via websocket using console_url.

Change-Id: I273e83eb114e93371a23b9a1e9d26ceacb6b71d5
Implements: blueprint interactive-mode
2017-04-03 11:52:08 +09:00
Shu Muto
5e68fcc086 Add 'interaction' attribute into creation dialog
To enable Web console for container, this patch adds
'interaction' attribute into creation dialog

Change-Id: Ia941afad48c5f83594972f6f83d9267e36c04501
Partial-Impements: blueprint interactive-mode
2017-04-03 11:51:33 +09:00
Shu Muto
dc4ed360f8 Add 'run' attribute to create action
To corresponse 'run' command of python-zunclient,
this patch adds 'run' attribute to creation action.

Change-Id: I80d478951c019284441093fa50f2d41bd970c473
2017-04-03 11:11:11 +09:00
Shu Muto
f44f68aa9f Use detailRoute constant for path of details view
This patch replaces hard coded "project/ngdetails/" for path of
details view to constant using "horizon.app.core.detailRoute".

Change-Id: Ia238f0a4b6df45f08673e4d41b24c6005d22ef00
Closes-Bug: #1641250
2017-03-21 15:34:09 +09:00
Shu Muto
c2042f873a Fix eslint errors
This patch fixes lint errors for JavaScript except "FIXME" warnings.

Change-Id: Iefa0868365eb08c3a5383885dc1a747808751318
Needed-By: Idb8b9064c1e465db8284e287bcf56949ab1de5e6
2017-03-14 19:44:36 +09:00
Shu Muto
b56de185aa Add Delete Container Force action
This patch adds "Delete Container Forcely" action for each containers.
This action is too dangerous for batch action, so implemented as only
item action.

Change-Id: Id839f2ce4beb17d7c4280cecf31b29e63f59197f
2017-03-14 18:41:00 +09:00
Shu Muto
dbc4d98752 Revert APIs for images
Incomplete implementation for image management are added.
Also, adding APIs for image management is too early to implement.
This patch revert it.

Change-Id: I8dd0c25f62ecf3c606a893abdeded03e33f98949
2017-03-14 17:51:18 +09:00
Jenkins
e41f53d5bf Merge "Refresh table view and detail view" 2017-03-11 10:56:06 +00:00
Jenkins
d614ccff87 Merge "Refresh js test environment" 2017-03-11 10:54:55 +00:00
Shu Muto
14f4bc1df1 Refresh js test environment
Before add CI jobs for JS tests, refresh test settings.

Change-Id: Ic7d9314cf2381609fb584f8c97ddb201918e3061
2017-03-10 19:11:36 +09:00
Shu Muto
0a375deaa6 Refactor zun.service.js
There are many duplicated lines in zun.service.js.
So this patch refactors this.

convertMemorySize function is unnecessary,
due to the memory size unit was fixed as MiB.
Also, this patch removes it.

Change-Id: I4e88e829eb3b2c7ea59b00381b9c7c873c8fe683
2017-03-10 18:32:38 +09:00
Jenkins
b359e776c1 Merge "Hotfix creation dialog" 2017-03-10 07:38:51 +00:00
Shu Muto
21f79085d8 Refresh table view and detail view
This patch refreshes columns for table view and
properties for details view.
Also, use hz-resource-property-list for them.

Change-Id: I512de5bb76b1ea3d47ff4b5712bc9078e4f5e753
2017-03-10 16:23:40 +09:00
Jenkins
49a2e90808 Merge "Fix get logs" 2017-03-09 13:27:52 +00:00
Jenkins
a4adc6db81 Merge "Update higgins with zun" 2017-03-09 09:24:38 +00:00
Shu Muto
4797b3027b Hotfix creation dialog
This patch removes hostname and ports attributes, and modifies
memory_size as MiB from create dialog.
Also, merge environment tab into miscellaneous tab.

Since create dialog will be changed widely in following patch,
so this patch is provided as hotfix.

Change-Id: I63920f7792655cce06d3bcf531ecdce6591cdd44
2017-03-09 17:48:23 +09:00
Shu Muto
95902b8a54 Fix get logs
This patch fixes failure to get logs.

Change-Id: I6cd7a8643d72a5620349751f090918bd5c01f56e
2017-03-09 17:11:34 +09:00
bhavani
7ab90cb937 Update higgins with zun
Updated the old name of higgins with new name zun.

Change-Id: I3535a54bd3d77d9591d6f0dee8ad67acca89178a
2017-03-09 11:28:16 +05:30
bhavani
184567c9a0 Remove Xstatic packages from requirements
Following up the FFE request for xstatic packages [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-February/111770.html

Change-Id: I42480981b2245f18e425fed93cdbb79af59cf45d
2017-03-09 11:06:35 +05:30
OpenStack Proposal Bot
bc0e54180d Updated from global requirements
Change-Id: Ibcd11691227a3d4926bc580d473e64fb78c705e5
2017-03-08 23:13:33 +00:00
Jenkins
dbba806d00 Merge "changed the python version from 3.4 to 3.5 for better openstack support" 2017-03-02 10:56:01 +00:00