We'll commit to the idea of constructing a session based on token auth
here in the sahara-dashboard code itself. And in preparation for some
upcoming python-saharaclient changes, move certificate settings into
that session object.
Change-Id: I5f76af0e14822513849af2e75445af837af85285
Story: 1747838
Because guess what, times have changed. When that code was written
version discovery wasn't what it is today...
Without this change, we couldn't handle unversioned endpoints in the
service catalog.
Closes-Bug: #1745083
Change-Id: Ie82e8a67b2820909625719c5f8a39ca0e1e2fbc0
The 'SAHARA_AUTO_IP_ALLOCATION_ENABLED' config parameter in Sahara
is confusing. If you wish to disable floating IP options during node
group template creation, set it 'True', but this name sounds like it
has to do with automatically associating a floating IP. So this patch
renames it to a meaningful variable name.
Change-Id: If8f71ea21cb71bbffe996f7db88b7683ad91ecac
Partially-Implements: bp portable-node-group-and-cluster-templates
This change adds Import Template button to Node Group Templates Tab.
Change-Id: I68c2fa2a856fa8e14aa9512b11f0ea326c25f2a5
Partially-Implements: bp portable-node-group-and-cluster-templates
Depends-On: I027169ace70929318990a4225d456bf1cf8a83b2
This chande adds an option to GUI to enable user export a cluster template
Change-Id: If1c1b055c3f03b656853db1b35c42a422b08de7f
Partially-Implements: bp portable-node-group-and-cluster-templates
Depends-On: I33c3b6daa5b9e2be218a84efdb6113a4ce9a86df
This change adds functions to saharaclient to enable export of ngt
to JSON.
Change-Id: Ic5d9dffd0a3ae21a28ecbcfdd88f5cd1194551bb
If cluster verification in Sahara is totally disabled, then operators
probably do not want to have ugly UNKNOWN in the cluster status page.
They also probably do not want any references to health at all, if
there will never be any usable information there. So, let's add
something that can be read from local_settings to disable these when
the operator doesn't want them.
Change-Id: Ifc624d07767ed29646aa8a5b5739103fd4972b90
Co-Authored-By: Lucas H. Xu <xuh@bu.edu>
[H102 H103] Source code should be licensed under the Apache 2.0 license.
All source files should have the licensing header.
Change-Id: I4f9ead44b5efa3616086f5a62a2e0e68854baf44
this change contains implementation:
1. of updating plugin workflow;
2. page with details of plugin labels;
3. only enabled versions are displayed on general
page with plugins.
blueprint: plugin-management-api
Change-Id: Ia125ad8108cafd4e39dc1c2c53f3c62ff3ce3e78
co-authored-by: Michael Lelyakin <mlelyakin@mirantis.com>
Pagination abilities were implemented in Sahara API.
This changes support work with new abilities on UI.
Change-Id: I655779e0c92cf4187ff2566aa109f26abbbccb9d
bp: pagination
Depends-on: Idf96a82b0f49bd288eb3fd9bfa82f92074ea4e7c
added designate client;
added SelectDnsDomain step in Cluster Template creation form. This
step is available if we enable dns service. This step contains one
dropdown list of available dns servers.
Domain Name is not required field so if it's not selected then
a cluster will be launched without designate usage.
partial-bp: designate-integration
Change-Id: If3e994026d012b9b33d59c8477d6f2a892f61374
it's absolutely outdated form, and there is no plugins
that supports converting to cluster template feature.
Change-Id: I433d0ea32d4affd45408131d970cc6f72ce26a8b
The reasons of failures are following:
1. The change [0] is introduced in horizon, which removes unneeded
tags in production envs. This caused most failures.
2. HDP is removed from sahara codebase.
3. Sometimes unicode string 'None' is passed to saharaclient as input_id
or output_id of job. This string was translated to NoneType.
[0] https://review.openstack.org/#/c/287793
Co-Authored-by: Michael Ionkin <mionkin@mirantis.com>
Change-Id: I9cb0641b2b61a78a40b0e2c6faf2609f974088d2
Rewriting acl updates and shares updates calls to allow
this methods not to update other important fields like
node processes and so on.
Change-Id: I629779bba8d780f518040180f594209d7933ddf1
Closes-bug: 1552166
following things are done in change:
* action to verify cluster;
* view to display health check in cluster details;
* new column for the health overview in clusters list.
Implements blueprint: cluster-verification
Depends-On: I598753cbb33d7781b646e726ad8d614e924e4876
Change-Id: I6c47d564400872ec4f38bf9d5824f93f4599181c
This field allows to choice an image (including empty image choice)
for node group template
Also added Base Image field in Node Group Template details page
Change-Id: I87420c489664301dac3f6cad3abc06c97b0e8029
Closes-bug: 1528182
The imports order should follow the simple rule of
groups. There are usually 3 groups in most cases.
However this repository is a plugin so imports from
the base system (Horizon) should be moved to a
separate group.
So imports should go into the following groups:
1) Imports from Python standard modules
2) Imports from dependencies previded in requirements
3) Imports from Horizon
4) Imports within current project
Change-Id: Ie028a4aa6897a3400872a45b94b073b2819ee4ac
Sahara started support of is_public and
is_protected fields, so this change brings that
to sahara ui.
Implements blueprint: ui-acl-support
Change-Id: I67acfed8973afe2efd4ef046b1bf936cb9b2c3fa
This adds the ability to add or remove manila shares
on clusters that are in the active state.
Change-Id: I3e07c59753e0f2c5dd16dfb55d1bceeafc59b951
Partial-Implements: bp sahara-add-shares-to-clusters
The Sahara data processing service now supports manila
shares when creating or editing cluster templates.
Change-Id: I32c44b6a7fa860df41e06d36c77e600b84bd5733
Partial-Implements: bp sahara-add-shares-to-clusters
The Sahara data processing service now supports manila
shares when creating or editing node group templates.
Change-Id: I4712c1f795ad81d9a0ad6eadde2759fcb4f4cfb6
Partial-Implements: bp sahara-add-shares-to-clusters
The Sahara data processing service now supports manila
shares as a location for job binaries. Also adding a unit
test for creation of manila-based job binaries.
Change-Id: I6599aca1baabe9875f6ac3ed847cb5030f0e5bb7
Implements: bp add-manila-binary-store
This plugin moves the current content from the horizon repo to this
plugin repo. The code has been tested in a devstack install using the
following steps:
1. packaging the plugin: "python setup.cfg sdist"
2. pip installing the tar.gz in the resulting dist directory
3. a. (temporary step) remove existing sahara enabled files from
horizon
"rm openstack_dashboard/enabled/_18*.py"
b. finding the install location and changing to it
"cp sahara_dashboard/enabled/* /opt/stack/horizon/local/enabled"
4. in /opt/stack/horizon
a. python manage.py collectstatic
b. python manage.py compress
5. restarting the horizon server
Additionally, you can run the unit tests by:
./run_tests.sh
Note: added script to programmatically remove the old configuration
files from the targeted horizon install, either in venv or system
install.
Known issues:
1. running tests locally emits missing neutron service messages.
2. plugin code for devstack needs to be added
3. README is inadequate
4. integration tests are still in horizon repo
5. local copy of run_tests is heavy weight, but a better solution is
not available currently.
6. localization tooling and strings
Change-Id: Icdce2d3e945e612d368556dd5cea1930194c7b67