Add containers panel into admin dashboard with actions that restricted for admin.
In details view, admin should not see logs tab and console tab.
Allowed actions for admin
- update
- rebuild
- start / stop / restart
- kill
- delete with force
Not allowed actions for admin
- create
- manage security group
- pause / unpause
- execute
- delete
- delete with stop
Not allowed view for admin
- logs tab on details view
- console tab on details view
To enable containers panel for admin, copy following[1] into horizon's
enabled folder[2].
[1] zun_ui/enabled/_2333_admin_container_containers_panel.py
[2] openstack_dashboard/local/enabled/
Change-Id: I1f96464b0103e099bd58bc2889087e1b55f4ed97
Implement: blueprint add-admin-containers-panel
'host' parameter for deleting image has removed from client.
Zun UI should remove this parameter.
Now, due to only 'id' is necessary for deleting image,
we can use 'delete-selected' type action and common deletion
confirmation dialog. Using the common deletion action,
we can also implement deletion action as batch action.
Change-Id: I2adae5cb466e620177c3788ac340f6464711e21d
Closes-Bug: #1799125
Horizon replaced @memoized_with_request to @memoized
for client module. Plugins need to replace it as same as
Horizon.
Change-Id: I050bc27236700b8469890468efba46bec5c7d246
Closes-Bug: #1799650
There is a recent change [1] in python-zunclient that breaks the
zun-ui. In particular, zunclient changes the default api version
to '1.latest'. Zun-ui directly sends '1.latest' to server which
result in a 406 response because '1.latest' means client should
negotiate the api version with server first to decide the actual
api version to use.
[1] https://review.openstack.org/#/c/608467/
Change-Id: Ib09d2ebb0cd6f4302d6245d10f7790c572614b6a
This patch adds hosts panel that includes index view.
Change-Id: I1c51961ba33ed4117774df83cad7d5bc6f076f69
Partial-Implements: blueprint add-host-panel
Before implementing hosts panel for admin, this patch adds REST API
and Angular service for hosts-show.
Change-Id: I4d74d014e1c8185a167343e568a941bb0e29716a
Partial-Implements: blueprint add-host-panel
This parameter is not used in server and has been removes it from
client side [1]. This commit removes it from UI.
[1] https://review.openstack.org/#/c/575926/
Change-Id: I39f71d56da51f7c45a5f24da7b535ff570df1bba
Closes-Bug: #1797528
The 'command' parameter has changed from string to list [1].
This patch updates the UI to catch this up.
[1] https://review.openstack.org/#/c/580990/
Change-Id: I60bdd84c22ba14e0646593a9747c5251e0dd46ff
Closes-Bug: #1797285
Some cleanups and improvements:
* Add required-projects to py36 job
* Use openstack-lower-constraints template instead of individual jobs
* Sort list of templates
Change-Id: I80992c244a86029d003381d78918e308b08de735
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I96e16271dc9eb9a383c12a429380e53ffb7dada3
Story: #2002586
Task: #24347
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I62990e570c756148caa115c5d3b2df7396286408
Story: #2002586
Task: #24347
Dependency for mox3 is fully removed. So this patch removes mox3
dependency from doc/requirements.txt
This should be cherry-picked into stable/rocky branch.
Change-Id: I708b0ac29dc686cec2d16a40281c04e1e61366d3
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.
The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.
Change-Id: I616966db07033dded5a6de5e432b5876f015a234
This patch prepares python3.6 support.
We should add py36-local into tox.ini and support for python3.6
into setup.cfg when we decide to support python3.6 formally.
Change-Id: Ief38d75d7ccea880a7424f18a607bb4c8032568c
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
To install horizon, check python3 version and set target directory
in postinstall script on package.json.
Change-Id: Iadf07f630bfc5d8f8d0c2a57e108c0f05aca899d
Co-Authored-By: Shu Muto <shu.mutow@gmail.com>