Retire repository
Fuel repositories are all retired in openstack namespace, retire remaining fuel repos in x namespace since they are unused now. This change removes all content from the repository and adds the usual README file to point out that the repository is retired following the process from https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project See also http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011675.html A related change is: https://review.opendev.org/699752 . Change-Id: I123b74e17d248fb7c9d6eb54d453caef5ed7198d
This commit is contained in:
parent
e8ef6f45fa
commit
54ff7180db
|
@ -1,35 +0,0 @@
|
|||
.tox
|
||||
.build
|
||||
*.pyc
|
||||
build.sh
|
||||
*.rpm
|
||||
logs
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
.coverage
|
||||
.tox
|
||||
nosetests.xml
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
|
||||
# Mr Developer
|
||||
.mr.developer.cfg
|
||||
.project
|
||||
.pydevproject
|
||||
.idea
|
||||
|
||||
# Local example
|
||||
example_local.py
|
||||
|
||||
# Local settings
|
||||
local_settings.py
|
||||
|
||||
# Logs
|
||||
sys_test.log
|
||||
|
||||
# Documentation build files
|
||||
doc/user_guide/_build
|
|
@ -1,8 +0,0 @@
|
|||
[submodule "deployment_scripts/puppet/modules/mistral"]
|
||||
path = deployment_scripts/puppet/modules/mistral
|
||||
url = https://github.com/openstack/puppet-mistral.git
|
||||
branch = stable/mitaka
|
||||
[submodule "plugin_test/fuel-qa"]
|
||||
path = plugin_test/fuel-qa
|
||||
url = https://github.com/openstack/fuel-qa.git
|
||||
branch = stable/mitaka
|
202
LICENSE
202
LICENSE
|
@ -1,202 +0,0 @@
|
|||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
19
README.md
19
README.md
|
@ -1,19 +0,0 @@
|
|||
Mirantis Fuel Mistrak plugin
|
||||
=============================
|
||||
|
||||
Compatible versions:
|
||||
|
||||
- Mirantis Fuel 9.0
|
||||
|
||||
How to build plugin:
|
||||
|
||||
- Install fuel plugin builder (fpb)
|
||||
- Clone plugin repo and run fpb there:
|
||||
|
||||
git clone https://github.com/openstack/fuel-plugin-mistral
|
||||
|
||||
cd fuel-plugin-mistral/
|
||||
|
||||
fpb --build .
|
||||
|
||||
- Check if file fuel-plugin-mistral-1.0-1.0.0-1.noarch.rpm was created.
|
|
@ -0,0 +1,10 @@
|
|||
This project is no longer maintained.
|
||||
|
||||
The contents of this repository are still available in the Git
|
||||
source code management system. To see the contents of this
|
||||
repository before it reached its end of life, please check out the
|
||||
previous commit with "git checkout HEAD^1".
|
||||
|
||||
For any further questions, please email
|
||||
openstack-discuss@lists.openstack.org or join #openstack-dev on
|
||||
Freenode.
|
|
@ -1,14 +0,0 @@
|
|||
# This file contains wizard components descriptions that are pretty similar to
|
||||
# the `environment_config.yaml`.
|
||||
# Please, take a look at following link for the details:
|
||||
# - https://blueprints.launchpad.net/fuel/+spec/component-registry
|
||||
# - https://specs.openstack.org/openstack/fuel-specs/specs/8.0/component-registry.html
|
||||
|
||||
- name: additional_service:fuel-plugin-mistral
|
||||
label: "Enable Mistral Fuel plugin"
|
||||
description: "Deploy Mistral OpenStack service"
|
||||
requires: []
|
||||
incompatible: []
|
||||
compatible:
|
||||
- name: 'hypervisor:*'
|
||||
- name: 'additional_service:fuel-plugin-cinder-gcs'
|
|
@ -1,19 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
notice('MODULAR: fuel-plugin-mistral/api.pp')
|
||||
|
||||
include plugin_tasks
|
||||
|
||||
class {'plugin_tasks::api':}
|
|
@ -1,19 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
notice('MODULAR: fuel-plugin-mistral/conf.pp')
|
||||
|
||||
include plugin_tasks
|
||||
|
||||
class {'plugin_tasks::conf':}
|
|
@ -1,19 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
notice ('MODULAR: fuel-plugin-mistral/dashboard.pp')
|
||||
|
||||
include plugin_tasks
|
||||
|
||||
class { 'plugin_tasks::dashboard': }
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
notice('MODULAR: fuel-plugin-mistral/db.pp')
|
||||
|
||||
include plugin_tasks
|
||||
|
||||
class {'plugin_tasks::db':}
|
||||
|
||||
class mysql::config {}
|
||||
include mysql::config
|
||||
class mysql::server {}
|
||||
include mysql::server
|
|
@ -1,20 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
notice('MODULAR: fuel-plugin-mistral/engine.pp')
|
||||
|
||||
include plugin_tasks
|
||||
|
||||
class {'plugin_tasks::engine':}
|
|
@ -1,20 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
notice('MODULAR: fuel-plugin-mistral/executor.pp')
|
||||
|
||||
include plugin_tasks
|
||||
|
||||
class {'plugin_tasks::executor':}
|
|
@ -1,19 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
notice('MODULAR: fuel-plugin-mistral/keystone.pp')
|
||||
|
||||
include plugin_tasks
|
||||
|
||||
class {'plugin_tasks::keystone':}
|
|
@ -1,17 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
notice('MODULAR: fuel-plugin-mistral/repo.pp')
|
||||
|
||||
class {'plugin_tasks::repo':}
|
|
@ -1,19 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
notice('MODULAR: fuel-plugin-mistral/sync.pp')
|
||||
|
||||
include plugin_tasks
|
||||
|
||||
class {'plugin_tasks::db::sync':}
|
|
@ -1,20 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
notice('MODULAR: fuel-plugin-mistral/vip.pp')
|
||||
|
||||
include plugin_tasks
|
||||
|
||||
class {'plugin_tasks::vip':}
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 15dfc011f0bad1836e37f9944b87c22264740a86
|
|
@ -1,21 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::api {
|
||||
|
||||
class { '::mistral::api':
|
||||
bind_host => $plugin_tasks::bind_host,
|
||||
}
|
||||
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::conf {
|
||||
|
||||
$roles = hiera(roles)
|
||||
|
||||
Package <| title == 'mistral-common' |> {
|
||||
name => 'mistral-common',
|
||||
}
|
||||
class { '::mistral':
|
||||
keystone_password => $plugin_tasks::password,
|
||||
keystone_user => $plugin_tasks::auth_name,
|
||||
keystone_tenant => $plugin_tasks::tenant,
|
||||
auth_uri => $plugin_tasks::auth_uri,
|
||||
identity_uri => $plugin_tasks::identity_uri,
|
||||
database_connection => $plugin_tasks::db_connection,
|
||||
rpc_backend => $plugin_tasks::rpc_backend,
|
||||
rabbit_hosts => $plugin_tasks::rabbit_hosts,
|
||||
rabbit_userid => $plugin_tasks::rabbit_hash['user'],
|
||||
rabbit_password => $plugin_tasks::rabbit_hash['password'],
|
||||
control_exchange => $plugin_tasks::control_exchange,
|
||||
rabbit_ha_queues => $plugin_tasks::rabbit_ha_queues,
|
||||
use_syslog => $plugin_tasks::use_syslog,
|
||||
use_stderr => $plugin_tasks::use_stderr,
|
||||
log_facility => $plugin_tasks::log_facility,
|
||||
verbose => $plugin_tasks::verbose,
|
||||
debug => $plugin_tasks::debug,
|
||||
}
|
||||
|
||||
mistral_config {
|
||||
'keystone_authtoken/auth_version': value => $plugin_tasks::auth_version;
|
||||
}
|
||||
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::dashboard {
|
||||
|
||||
include ::horizon::params
|
||||
|
||||
package { 'python-pip':
|
||||
ensure => installed,
|
||||
} ->
|
||||
package { 'python-dev':
|
||||
ensure => installed,
|
||||
} ->
|
||||
package { 'mistral-dashboard':
|
||||
ensure => $plugin_tasks::dashboard_version,
|
||||
name => $plugin_tasks::dashboard_name,
|
||||
provider => pip,
|
||||
} ->
|
||||
file { $plugin_tasks::horizon_ext_file:
|
||||
ensure => file,
|
||||
content => template('plugin_tasks/_50_mistral.py.erb'),
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
} ~>
|
||||
service { $horizon::params::http_service:
|
||||
ensure => running,
|
||||
}
|
||||
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::db {
|
||||
|
||||
if $plugin_tasks::db_create {
|
||||
|
||||
class { '::openstack::galera::client':
|
||||
custom_setup_class => hiera('mysql_custom_setup_class', 'galera'),
|
||||
}
|
||||
|
||||
class { '::mistral::db::mysql':
|
||||
user => $plugin_tasks::db_user,
|
||||
password => $plugin_tasks::db_password,
|
||||
dbname => $plugin_tasks::db_name,
|
||||
allowed_hosts => $plugin_tasks::allowed_hosts,
|
||||
}
|
||||
|
||||
class { '::osnailyfacter::mysql_access':
|
||||
db_host => $plugin_tasks::db_host,
|
||||
db_user => $plugin_tasks::db_root_user,
|
||||
db_password => $plugin_tasks::db_root_password,
|
||||
}
|
||||
|
||||
Class['::openstack::galera::client'] ->
|
||||
Class['::osnailyfacter::mysql_access'] ->
|
||||
Class['::mistral::db::mysql']
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::db::sync {
|
||||
|
||||
Exec <| title == 'mistral-db-sync' |> {
|
||||
refreshonly => false,
|
||||
}
|
||||
|
||||
Exec <| title == 'mistral-db-populate' |> {
|
||||
refreshonly => false,
|
||||
}
|
||||
|
||||
include mistral::db::sync
|
||||
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::engine {
|
||||
|
||||
class { '::mistral::engine': }
|
||||
|
||||
Mistral_config <||> ~> Service[$::mistral::params::engine_service_name]
|
||||
Package['mistral-engine'] -> Service[$::mistral::params::engine_service_name]
|
||||
Package['mistral-engine'] -> Service['mistral-engine']
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::executor {
|
||||
|
||||
class { '::mistral::executor': }
|
||||
Mistral_config <||> ~> Service[$::mistral::params::executor_service_name]
|
||||
Package['mistral-executor'] -> Service[$::mistral::params::executor_service_name]
|
||||
Package['mistral-executor'] -> Service['mistral-executor']
|
||||
|
||||
}
|
|
@ -1,150 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks {
|
||||
|
||||
$network_scheme = hiera_hash('network_scheme', {})
|
||||
$network_metadata = hiera_hash('network_metadata', {})
|
||||
prepare_network_config($network_scheme)
|
||||
|
||||
# General
|
||||
|
||||
$mistral_hash = hiera_hash('fuel-plugin-mistral', {})
|
||||
|
||||
$public_vip = hiera('public_vip', undef)
|
||||
$management_vip = hiera('management_vip', undef)
|
||||
$database_vip = hiera('database_vip', undef)
|
||||
$service_endpoint = hiera('service_endpoint')
|
||||
|
||||
$public_ssl_hash = hiera_hash('public_ssl')
|
||||
$ssl_hash = hiera_hash('use_ssl', {})
|
||||
$public_ssl = get_ssl_property($ssl_hash, $public_ssl_hash, 'mistral', 'public', 'usage', false)
|
||||
$public_ssl_path = get_ssl_property($ssl_hash, $public_ssl_hash, 'mistral', 'public', 'path', [''])
|
||||
|
||||
$port = '8989'
|
||||
|
||||
# Database
|
||||
|
||||
$mysql_hash = hiera_hash('mysql', {})
|
||||
|
||||
$mysql_root_user = pick($mysql_hash['root_user'], 'root')
|
||||
validate_string($mysql_root_user)
|
||||
$mysql_root_password = $mysql_hash['root_password']
|
||||
|
||||
$db_create = pick($mysql_hash['db_create'], true)
|
||||
|
||||
$db_user = 'mistral'
|
||||
$db_password = pick($mistral_hash['db_password'], $mysql_root_password)
|
||||
$db_name = 'mistral'
|
||||
$allowed_hosts = [ 'localhost', '127.0.0.1', '%' ]
|
||||
|
||||
$db_host = $database_vip
|
||||
$db_root_user = $mysql_root_user
|
||||
$db_root_password = $mysql_root_password
|
||||
|
||||
$db_type = 'mysql'
|
||||
|
||||
# LP#1526938 - python-mysqldb supports this, python-pymysql does not
|
||||
if $::os_package_type == 'debian' {
|
||||
$extra_params = { 'charset' => 'utf8', 'read_timeout' => 60 }
|
||||
} else {
|
||||
$extra_params = { 'charset' => 'utf8' }
|
||||
}
|
||||
$db_connection = os_database_connection({
|
||||
'dialect' => $db_type,
|
||||
'host' => $db_host,
|
||||
'database' => $db_name,
|
||||
'username' => $db_user,
|
||||
'password' => $db_password,
|
||||
'extra' => $extra_params
|
||||
})
|
||||
|
||||
# RabbitMQ
|
||||
|
||||
$rabbit_hash = hiera_hash('rabbit', {})
|
||||
|
||||
$rabbit_hosts = split(hiera('amqp_hosts',''), ',')
|
||||
$control_exchange = 'mistral'
|
||||
$rabbit_ha_queues = true
|
||||
|
||||
$queue_provider = hiera('queue_provider', 'rabbit')
|
||||
if $queue_provider == 'rabbitmq'{
|
||||
$rpc_backend = 'rabbit'
|
||||
} else {
|
||||
$rpc_backend = $queue_provider
|
||||
}
|
||||
|
||||
# Keystone
|
||||
|
||||
$public_protocol = get_ssl_property($ssl_hash, $public_ssl_hash, 'mistral', 'public', 'protocol', 'http')
|
||||
$public_address = get_ssl_property($ssl_hash, $public_ssl_hash, 'mistral', 'public', 'hostname', [$public_vip])
|
||||
validate_string($public_address)
|
||||
|
||||
$internal_protocol = get_ssl_property($ssl_hash, {}, 'mistral', 'internal', 'protocol', 'http')
|
||||
$internal_address = get_ssl_property($ssl_hash, {}, 'mistral', 'internal', 'hostname', [$management_vip])
|
||||
validate_string($internal_address)
|
||||
|
||||
$admin_protocol = get_ssl_property($ssl_hash, {}, 'mistral', 'admin', 'protocol', 'http')
|
||||
$admin_address = get_ssl_property($ssl_hash, {}, 'mistral', 'admin', 'hostname', [$management_vip])
|
||||
validate_string($admin_address)
|
||||
|
||||
$public_base_url = "${public_protocol}://${public_address}:${port}"
|
||||
$internal_base_url = "${internal_protocol}://${internal_address}:${port}"
|
||||
$admin_base_url = "${admin_protocol}://${admin_address}:${port}"
|
||||
|
||||
$password = $mistral_hash['keystone_password']
|
||||
validate_string($password)
|
||||
$auth_name = 'mistral'
|
||||
$configure_endpoint = true
|
||||
$configure_user = true
|
||||
$configure_user_role = true
|
||||
$service_name = 'mistral'
|
||||
$service_type = 'workflowv2'
|
||||
$public_url = "${public_base_url}/v2"
|
||||
$internal_url = "${internal_base_url}/v2"
|
||||
$admin_url = "${admin_base_url}/v2"
|
||||
$region = hiera('region', 'RegionOne')
|
||||
$tenant = 'services'
|
||||
|
||||
|
||||
$keystone_auth_protocol = get_ssl_property($ssl_hash, {}, 'keystone', 'internal', 'protocol', 'http')
|
||||
$keystone_auth_host = get_ssl_property($ssl_hash, {}, 'keystone', 'internal', 'hostname', [hiera('keystone_endpoint', ''), $service_endpoint, $management_vip])
|
||||
|
||||
$service_port = '5000'
|
||||
|
||||
$auth_version = 'v3'
|
||||
$auth_uri = "${keystone_auth_protocol}://${keystone_auth_host}:${service_port}/${$auth_version}"
|
||||
$identity_uri = "${keystone_auth_protocol}://${keystone_auth_host}:${service_port}/"
|
||||
|
||||
# API and VIP
|
||||
|
||||
## Mistral API runs on Controllers
|
||||
$mistral_api_nodes_hash = get_nodes_hash_by_roles($network_metadata, ['primary-controller','controller'])
|
||||
$mistral_api_nodes_ips = ipsort(values(get_node_to_ipaddr_map_by_network_role($mistral_api_nodes_hash, 'management')))
|
||||
$bind_host = get_network_role_property('management', 'ipaddr')
|
||||
|
||||
# Dashboard
|
||||
|
||||
$horizon_ext_file = '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_50_mistral.py'
|
||||
$dashboard_version = '2.0.0'
|
||||
$dashboard_name = 'mistral-dashboard'
|
||||
# Logging
|
||||
|
||||
$use_syslog = hiera('use_syslog', true)
|
||||
$use_stderr = hiera('use_stderr', false)
|
||||
$log_facility = 'LOG_LOCAL0'
|
||||
$verbose = hiera('verbose', true)
|
||||
$debug = hiera('debug', true)
|
||||
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::keystone {
|
||||
|
||||
Class['::osnailyfacter::wait_for_keystone_backends'] -> Class['::mistral::keystone::auth']
|
||||
|
||||
class { '::osnailyfacter::wait_for_keystone_backends':}
|
||||
class { '::mistral::keystone::auth':
|
||||
password => $plugin_tasks::password,
|
||||
auth_name => $plugin_tasks::auth_name,
|
||||
configure_endpoint => $plugin_tasks::configure_endpoint,
|
||||
configure_user => $plugin_tasks::configure_user,
|
||||
configure_user_role => $plugin_tasks::configure_user_role,
|
||||
service_name => $plugin_tasks::service_name,
|
||||
service_type => $plugin_tasks::service_type,
|
||||
public_url => $plugin_tasks::public_url,
|
||||
internal_url => $plugin_tasks::internal_url,
|
||||
admin_url => $plugin_tasks::admin_url,
|
||||
region => $plugin_tasks::region,
|
||||
tenant => $plugin_tasks::tenant,
|
||||
}
|
||||
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::repo {
|
||||
|
||||
include apt
|
||||
|
||||
apt::pin { 'fuel-plugin-mistral':
|
||||
priority => 1200,
|
||||
label => 'fuel-plugin-mistral',
|
||||
}
|
||||
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
class plugin_tasks::vip {
|
||||
|
||||
openstack::ha::haproxy_service { 'mistral-api':
|
||||
internal_virtual_ip => $plugin_tasks::management_vip,
|
||||
listen_port => $plugin_tasks::port,
|
||||
order => '300',
|
||||
public_virtual_ip => $plugin_tasks::public_vip,
|
||||
internal => true,
|
||||
public => true,
|
||||
ipaddresses => $plugin_tasks::mistral_api_nodes_ips,
|
||||
server_names => $plugin_tasks::mistral_api_nodes_ips,
|
||||
public_ssl => $plugin_tasks::public_ssl,
|
||||
public_ssl_path => $plugin_tasks::public_ssl_path,
|
||||
haproxy_config_options => {
|
||||
option => ['httpchk', 'httplog', 'httpclose'],
|
||||
'http-request' => 'set-header X-Forwarded-Proto https if { ssl_fc }',
|
||||
},
|
||||
balancermember_options => 'check inter 10s fastinter 2s downinter 3s rise 3 fall 3',
|
||||
}
|
||||
|
||||
firewall { '300 mistral':
|
||||
chain => 'INPUT',
|
||||
dport => $plugin_tasks::port,
|
||||
proto => 'tcp',
|
||||
action => 'accept',
|
||||
}
|
||||
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
from mistraldashboard import exceptions
|
||||
|
||||
DASHBOARD = 'mistral'
|
||||
ADD_INSTALLED_APPS = ['mistraldashboard']
|
||||
DEFAULT = True
|
||||
|
||||
ADD_EXCEPTIONS = {
|
||||
'recoverable': exceptions.RECOVERABLE,
|
||||
'not_found': exceptions.NOT_FOUND,
|
||||
'unauthorized': exceptions.UNAUTHORIZED,
|
||||
}
|
|
@ -1,154 +0,0 @@
|
|||
# Groups
|
||||
|
||||
- id: mistral
|
||||
type: group
|
||||
role: [mistral]
|
||||
tasks: [globals, logging, hiera, hosts, firewall, connectivity_tests, dns-client, fuel_pkgs, netconfig, tools, ntp-client, reserved_ports, ssl-add-trust-chain, ssl-keys-saving]
|
||||
cross-depends:
|
||||
- name: primary-controller
|
||||
- name: controller
|
||||
parameters:
|
||||
strategy:
|
||||
type: parallel
|
||||
|
||||
# Tasks
|
||||
|
||||
- id: mistral-db
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [primary-controller]
|
||||
cross-depends:
|
||||
- name: /^(primary-)?database$/
|
||||
# condition:
|
||||
# yaql_exp: >
|
||||
# changedAny($.fuel-plugin-mistral, $.mysql, $.network_metadata.vips,
|
||||
# $.get('mysql_custom_setup_class'))
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/db.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 1800
|
||||
|
||||
- id: mistral-keystone
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [primary-controller]
|
||||
cross-depends:
|
||||
- name: primary-keystone
|
||||
role: self
|
||||
# condition:
|
||||
# yaql_exp: >
|
||||
# changedAny($.fuel-plugin-mistral, $.network_metadata.vips, $.public_ssl,
|
||||
# $.get('use_ssl'), $.get('region', 'RegionOne'))
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/keystone.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 1800
|
||||
|
||||
- id: mistral-repo
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [primary-controller, controller, mistral]
|
||||
cross-depends:
|
||||
- name: setup_repositories
|
||||
role: self
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/repo.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 360
|
||||
|
||||
- id: mistral-conf
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [primary-controller, controller, mistral]
|
||||
cross-depends:
|
||||
- name: mistral-repo
|
||||
role: self
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/conf.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 360
|
||||
|
||||
- id: mistral-db-sync
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [primary-controller]
|
||||
cross-depends:
|
||||
- name: mistral-db
|
||||
role: self
|
||||
- name: mistral-conf
|
||||
role: self
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/sync.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 360
|
||||
|
||||
- id: mistral-api
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [primary-controller, controller]
|
||||
cross-depends:
|
||||
- name: mistral-conf
|
||||
role: self
|
||||
- name: mistral-keystone
|
||||
- name: mistral-db
|
||||
role: primary-controller
|
||||
- name: mistral-db-sync
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/api.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 360
|
||||
|
||||
- id: mistral-vip
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [primary-controller, controller]
|
||||
cross-depends:
|
||||
- name: primary-cluster-haproxy
|
||||
role: self
|
||||
- name: mistral-api
|
||||
role: self
|
||||
- name: cluster-haproxy
|
||||
role: self
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/vip.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 360
|
||||
|
||||
- id: mistral-dashboard
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [primary-controller, controller]
|
||||
cross-depends:
|
||||
- name: /.*horizon.*/
|
||||
role: self
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/dashboard.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 360
|
||||
|
||||
- id: mistral-engine
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [mistral]
|
||||
cross-depends:
|
||||
- name: mistral-conf
|
||||
role: self
|
||||
- name: mistral-db-sync
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/engine.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 360
|
||||
|
||||
- id: mistral-executor
|
||||
version: 2.1.0
|
||||
type: puppet
|
||||
groups: [mistral]
|
||||
cross-depends:
|
||||
- name: mistral-conf
|
||||
role: self
|
||||
- name: mistral-db-sync
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/executor.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 360
|
||||
|
|
@ -1,205 +0,0 @@
|
|||
=====================================================
|
||||
Master test plan for Google cloud storage fuel plugin
|
||||
=====================================================
|
||||
|
||||
|
||||
1. Introduction
|
||||
---------------
|
||||
|
||||
|
||||
1.1 Purpose
|
||||
###########
|
||||
|
||||
This document describes Master Test Plan for Mistral Fuel Plugin. The scope
|
||||
of this plan defines the following objectives:
|
||||
|
||||
- describe testing activities;
|
||||
- outline testing approach, test types, test cycles that will be used;
|
||||
- test mission;
|
||||
- deliverables;
|
||||
|
||||
|
||||
1.2 Intended Audience
|
||||
#####################
|
||||
|
||||
This document is intended for Mistral project team staff (QA and Dev
|
||||
engineers and managers) all other persons who are interested in testing
|
||||
results.
|
||||
|
||||
|
||||
2. Governing Evaluation Mission
|
||||
-------------------------------
|
||||
|
||||
|
||||
Mistral plugin for Fuel provides the functionality to execute set of closely
|
||||
related OpenStack API calls. It uses Fuel plugin architecture along
|
||||
with pluggable architecture enhancements introduced in latest Mirantis
|
||||
OpenStack Fuel.
|
||||
The plugin must be compatible with the version 9.0 of Mirantis OpenStack.
|
||||
|
||||
|
||||
2.1 Evaluation Test Mission
|
||||
###########################
|
||||
|
||||
- Lab environment deployment.
|
||||
- Deploy MOS with developed plugin installed.
|
||||
- Create and run specific tests for plugin/deployment.
|
||||
- Documentation
|
||||
|
||||
|
||||
2.2 Test Items
|
||||
##############
|
||||
|
||||
- Fuel Mistral plugin UI setup page and other UI scenarios will be tested
|
||||
manually;
|
||||
- Fuel CLI;
|
||||
- Fuel API;
|
||||
- Fuel UI;
|
||||
- MOS;
|
||||
- MOS API.
|
||||
|
||||
|
||||
3. Test Approach
|
||||
----------------
|
||||
|
||||
The project test approach consists of BVT, Functional, Destructive and
|
||||
Acceptance test levels.
|
||||
|
||||
|
||||
3.1 Criteria for test process starting
|
||||
######################################
|
||||
|
||||
Before test process can be started it is needed to make some preparation
|
||||
actions - to execute important preconditions. The following steps must be
|
||||
executed successfully for starting test phase:
|
||||
|
||||
- all project requirements are reviewed and confirmed;
|
||||
- implementation of testing features has finished (a new build is ready for
|
||||
testing);
|
||||
- implementation code is stored in GIT;
|
||||
- bvt-tests are executed successfully (100% success);
|
||||
- test environment is prepared with correct configuration;
|
||||
- test environment contains the last delivered build for testing;
|
||||
- test plan is ready and confirmed internally;
|
||||
- implementation of manual tests and necessary autotests has finished.
|
||||
|
||||
|
||||
3.2 Suspension Criteria
|
||||
#######################
|
||||
|
||||
Testing of a particular feature is suspended if there is a blocking issue
|
||||
which prevents tests execution. Blocking issue can be one of the following:
|
||||
|
||||
- Feature has a blocking defect, which prevents further usage of this feature
|
||||
and there is no workaround available;
|
||||
- CI test automation scripts failure.
|
||||
|
||||
|
||||
3.3 Feature Testing Exit Criteria
|
||||
#################################
|
||||
|
||||
Testing of a feature can be finished when:
|
||||
|
||||
- All planned tests (prepared before) for the feature are executed; no
|
||||
defects are found during this run;
|
||||
- All planned tests for the feature are executed; defects found during this
|
||||
run are verified or confirmed to be acceptable (known issues);
|
||||
- The time for testing of that feature according to the project plan has run
|
||||
out and Project Manager confirms that no changes to the schedule are
|
||||
possible.
|
||||
|
||||
|
||||
4. Deliverables
|
||||
---------------
|
||||
|
||||
|
||||
4.1 List of deliverables
|
||||
########################
|
||||
|
||||
Project testing activities are to be resulted in the following reporting
|
||||
documents:
|
||||
|
||||
- Test plan;
|
||||
- Test run report;
|
||||
|
||||
|
||||
4.2 Acceptance criteria
|
||||
#######################
|
||||
|
||||
90% of tests cases should be with status - passed. Critical and high issues
|
||||
are fixed.
|
||||
|
||||
5. Test Cycle Structure
|
||||
-----------------------
|
||||
|
||||
An ordinary test cycle for each iteration consists of the following steps:
|
||||
|
||||
- Smoke testing of each build ready for testing;
|
||||
- Verification testing of each build ready for testing;
|
||||
- Manual testing for functional and destructive tests;
|
||||
- Creation of a new test case for covering of a new found bug (if such test
|
||||
does not exist).
|
||||
|
||||
|
||||
5.1.1 Smoke Testing
|
||||
###################
|
||||
|
||||
Smoke testing is intended to check a correct work of a system after new
|
||||
build delivery. Smoke tests allow to be sure that all main system
|
||||
functions/features work correctly according to customer requirements.
|
||||
|
||||
|
||||
5.1.2 Verification testing
|
||||
##########################
|
||||
|
||||
Verification testing includes functional testing covering the following:
|
||||
|
||||
- new functionality (implemented in the current build);
|
||||
- critical and major defect fixes (introduced in the current build).
|
||||
|
||||
|
||||
5.1.3 Regression testing
|
||||
########################
|
||||
|
||||
Regression testing includes execution of a set of test cases for features
|
||||
implemented before current iteration to ensure that following modifications
|
||||
of the system haven't introduced or uncovered software defects. It also
|
||||
includes verification of minor defect fixes introduced in the current
|
||||
iteration.
|
||||
|
||||
|
||||
5.1.4 Bug coverage by new test case
|
||||
###################################
|
||||
|
||||
Bug detection starts after all manual and automated tests are prepared and
|
||||
test process initiated. Ideally, each bug must be clearly documented and
|
||||
covered by test case. If a bug without a test coverage was found it must
|
||||
be clearly documented and covered by custom test case to prevent occurrence
|
||||
of this bug in future deployments/releases etc. All custom manual test
|
||||
cases suppose to be added into TestRail and automated tests suppose to be
|
||||
pushed to Git/Gerrit repo.
|
||||
|
||||
|
||||
5.2 Metrics
|
||||
###########
|
||||
|
||||
Test case metrics are aimed to estimate a quality of bug fixing; detect not
|
||||
executed tests and schedule their execution. Passed / Failed test cases -
|
||||
this metric shows results of test cases execution, especially, a ratio
|
||||
between test cases passed successfully and failed ones. Such statistics must
|
||||
be gathered after each delivered build test. This will help to identify a
|
||||
progress in successful bugs fixing. Ideally, a count of failed test cases
|
||||
should aim to a zero.
|
||||
Not Run test cases - this metric shows a count of test cases which should be
|
||||
run within a current test phase (have not run yet). Having such statistics,
|
||||
there is an opportunity to detect and analyze a scope of not run test cases,
|
||||
causes of their non execution and planning of their further execution
|
||||
(detect time frames, responsible QA).
|
||||
|
||||
|
||||
6. Test scope
|
||||
-------------
|
||||
|
||||
.. include:: test_suite_smoke_bvt.rst
|
||||
.. include:: test_suite_functional.rst
|
||||
.. include:: test_suite_destructive.rst
|
|
@ -1,95 +0,0 @@
|
|||
===================
|
||||
Destructive testing
|
||||
===================
|
||||
|
||||
|
||||
Verify master controller fail in HA cluster will not crash the system
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
||||
ID
|
||||
##
|
||||
|
||||
mistral_controller_failover
|
||||
|
||||
|
||||
Description
|
||||
###########
|
||||
|
||||
Verify that after non-graceful shutoff of controller node, cluster stays
|
||||
operational and after turning it back online, cluster is operational.
|
||||
|
||||
|
||||
Complexity
|
||||
##########
|
||||
|
||||
manual
|
||||
|
||||
|
||||
Steps
|
||||
#####
|
||||
|
||||
1. Create cluster
|
||||
2. Install and configure Mistral plugin
|
||||
3. Add 3 controller-mistral nodes
|
||||
4. Add 1 compute and cinder nodes
|
||||
5. Deploy cluster
|
||||
6. Verify Cluster using OSTF
|
||||
7. Power off main controller (non-gracefully)
|
||||
8. Run OSTF
|
||||
9. Power on controller which was powered off in step 6.
|
||||
10. Run OSTF
|
||||
|
||||
|
||||
Expected results
|
||||
################
|
||||
|
||||
All steps except step 7 must be completed successfully, without any errors.
|
||||
Step 7 one OSTF HA test will fail, because one of controllers is offline - this
|
||||
is expected.
|
||||
|
||||
|
||||
Verify mistral node fail in Non-HA cluster will not crush the system
|
||||
--------------------------------------------------------------------
|
||||
|
||||
|
||||
ID
|
||||
##
|
||||
|
||||
mistral_node_failover
|
||||
|
||||
|
||||
Description
|
||||
###########
|
||||
|
||||
Verify that after non-graceful shutoff of mistral node cluster stays
|
||||
operational and after turning it back online, cluster is operational.
|
||||
|
||||
|
||||
Complexity
|
||||
##########
|
||||
|
||||
manual
|
||||
|
||||
|
||||
Steps
|
||||
#####
|
||||
|
||||
1. Create cluster
|
||||
2. Install and configure Mistral plugin
|
||||
3. Add 1 controller-mistral, cinder and compute node
|
||||
4. Add 1 mistral node
|
||||
5. Deploy cluster
|
||||
6. Run OSTF
|
||||
7. Power off the mistral node (non-gracefully)
|
||||
8. Run OSTF
|
||||
9. Power on mistral node which was powered off in step 6
|
||||
10. Run OSTF
|
||||
|
||||
|
||||
Expected results
|
||||
################
|
||||
|
||||
All steps except step 8 must be completed successfully, without any errors.
|
||||
Step 8 one OSTF test will fail, because one of nodes is offline - this is
|
||||
expected.
|
|
@ -1,91 +0,0 @@
|
|||
==================
|
||||
Functional testing
|
||||
==================
|
||||
|
||||
|
||||
Check that Controller node can be deleted and added again
|
||||
---------------------------------------------------------
|
||||
|
||||
|
||||
ID
|
||||
##
|
||||
|
||||
mistral_delete_add_controller
|
||||
|
||||
|
||||
Description
|
||||
###########
|
||||
|
||||
Verify that a controller-mistral node can be deleted and added after deploying
|
||||
|
||||
|
||||
Complexity
|
||||
##########
|
||||
|
||||
manual
|
||||
|
||||
|
||||
Steps
|
||||
#####
|
||||
|
||||
1. Create cluster
|
||||
2. Enable and configure Mistral plugin
|
||||
3. Add 3 controller-mistral nodes
|
||||
4. Add 1 compute and 1 cinder node
|
||||
5. Deploy cluster with plugin
|
||||
6. Run OSTF tests
|
||||
7. Delete a Controller-Mistral node and deploy changes
|
||||
8. Run OSTF tests
|
||||
9. Add a node with "Controller-Mistral" role and deploy changes
|
||||
10. Run OSTF tests
|
||||
|
||||
|
||||
Expected results
|
||||
################
|
||||
|
||||
Step 6 will have failed cases because only 2 controller nodes are present in
|
||||
cloud
|
||||
|
||||
|
||||
Check that Compute node can be deleted and added again
|
||||
------------------------------------------------------
|
||||
|
||||
|
||||
ID
|
||||
##
|
||||
|
||||
mistral_delete_add_mistral_node
|
||||
|
||||
|
||||
Description
|
||||
###########
|
||||
|
||||
Verify that a mistral node can be deleted and added after deploying
|
||||
|
||||
|
||||
Complexity
|
||||
##########
|
||||
|
||||
manual
|
||||
|
||||
|
||||
Steps
|
||||
#####
|
||||
|
||||
1. Create cluster
|
||||
2. Enable and configure Mistral plugin
|
||||
3. Add 1 controller, compute, cinder node
|
||||
4. Add 1 mistral node
|
||||
5. Deploy cluster with plugin
|
||||
6. Run OSTF tests
|
||||
7. Delete a mistral node and deploy changes
|
||||
8. Run OSTF tests
|
||||
9. Add a node with "mistral" role and deploy changes
|
||||
10. Run OSTF tests
|
||||
|
||||
|
||||
|
||||
Expected results
|
||||
################
|
||||
|
||||
All steps must be completed successfully, without any errors.
|
|
@ -1,80 +0,0 @@
|
|||
=========
|
||||
BVT tests
|
||||
=========
|
||||
|
||||
|
||||
Smoke test
|
||||
----------
|
||||
|
||||
|
||||
ID
|
||||
##
|
||||
|
||||
mistral_smoke
|
||||
|
||||
Description
|
||||
###########
|
||||
|
||||
Smoke test for Mistral fuel plugin. Create cluster and install plugin. Deploy
|
||||
cluster with controller-mistral, compute and cinder nodes
|
||||
|
||||
Complexity
|
||||
##########
|
||||
|
||||
core
|
||||
|
||||
Steps
|
||||
#####
|
||||
|
||||
1. Upload plugin to the master node
|
||||
2. Create cluster
|
||||
3. Install plugin
|
||||
4. Add 1 nodes with controller-mistral role
|
||||
5. Add 1 node with compute role
|
||||
6. Add 1 node with cinder role
|
||||
7. Deploy the cluster
|
||||
|
||||
Expected results
|
||||
################
|
||||
|
||||
All steps must be completed successfully, without any errors.
|
||||
|
||||
|
||||
|
||||
BVT test
|
||||
--------
|
||||
|
||||
|
||||
ID
|
||||
##
|
||||
|
||||
|
||||
mistral_bvt
|
||||
|
||||
Description
|
||||
###########
|
||||
|
||||
BVT test for Mistral fuel plugin. Deploy cluster in HA mode with
|
||||
3 controllers-mistral and 2 compute nodes and install plugin.
|
||||
|
||||
Complexity
|
||||
##########
|
||||
|
||||
core
|
||||
|
||||
Steps
|
||||
#####
|
||||
|
||||
1. Upload plugin to the master node
|
||||
2. Create cluster
|
||||
3. Install plugin
|
||||
4. Add 3 nodes with controller-mistral-ceph-osd role
|
||||
5. Add 2 nodes with compute-ceph-osd role
|
||||
6. Deploy the cluster
|
||||
7. Run network verification
|
||||
8. Run OSTF
|
||||
|
||||
Expected results
|
||||
################
|
||||
|
||||
All steps must be completed successfully, without any errors.
|
|
@ -1,225 +0,0 @@
|
|||
# Makefile for Sphinx documentation
|
||||
#
|
||||
|
||||
# You can set these variables from the command line.
|
||||
SPHINXOPTS =
|
||||
SPHINXBUILD = sphinx-build
|
||||
PAPER =
|
||||
BUILDDIR = _build
|
||||
|
||||
# Internal variables.
|
||||
PAPEROPT_a4 = -D latex_paper_size=a4
|
||||
PAPEROPT_letter = -D latex_paper_size=letter
|
||||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||
# the i18n builder cannot share the environment and doctrees with the others
|
||||
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@echo "Please use \`make <target>' where <target> is one of"
|
||||
@echo " html to make standalone HTML files"
|
||||
@echo " dirhtml to make HTML files named index.html in directories"
|
||||
@echo " singlehtml to make a single large HTML file"
|
||||
@echo " pickle to make pickle files"
|
||||
@echo " json to make JSON files"
|
||||
@echo " htmlhelp to make HTML files and a HTML help project"
|
||||
@echo " qthelp to make HTML files and a qthelp project"
|
||||
@echo " applehelp to make an Apple Help Book"
|
||||
@echo " devhelp to make HTML files and a Devhelp project"
|
||||
@echo " epub to make an epub"
|
||||
@echo " epub3 to make an epub3"
|
||||
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
||||
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
||||
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
|
||||
@echo " text to make text files"
|
||||
@echo " man to make manual pages"
|
||||
@echo " texinfo to make Texinfo files"
|
||||
@echo " info to make Texinfo files and run them through makeinfo"
|
||||
@echo " gettext to make PO message catalogs"
|
||||
@echo " changes to make an overview of all changed/added/deprecated items"
|
||||
@echo " xml to make Docutils-native XML files"
|
||||
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
|
||||
@echo " linkcheck to check all external links for integrity"
|
||||
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
||||
@echo " coverage to run coverage check of the documentation (if enabled)"
|
||||
@echo " dummy to check syntax errors of document sources"
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(BUILDDIR)/*
|
||||
|
||||
.PHONY: html
|
||||
html:
|
||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
||||
|
||||
.PHONY: dirhtml
|
||||
dirhtml:
|
||||
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
||||
|
||||
.PHONY: singlehtml
|
||||
singlehtml:
|
||||
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
||||
@echo
|
||||
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
||||
|
||||
.PHONY: pickle
|
||||
pickle:
|
||||
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
||||
@echo
|
||||
@echo "Build finished; now you can process the pickle files."
|
||||
|
||||
.PHONY: json
|
||||
json:
|
||||
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
||||
@echo
|
||||
@echo "Build finished; now you can process the JSON files."
|
||||
|
||||
.PHONY: htmlhelp
|
||||
htmlhelp:
|
||||
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
||||
@echo
|
||||
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
||||
".hhp project file in $(BUILDDIR)/htmlhelp."
|
||||
|
||||
.PHONY: qthelp
|
||||
qthelp:
|
||||
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
||||
@echo
|
||||
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
||||
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
||||
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/MistralFuelPlugin.qhcp"
|
||||
@echo "To view the help file:"
|
||||
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/MistralFuelPlugin.qhc"
|
||||
|
||||
.PHONY: applehelp
|
||||
applehelp:
|
||||
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
|
||||
@echo
|
||||
@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
|
||||
@echo "N.B. You won't be able to view it unless you put it in" \
|
||||
"~/Library/Documentation/Help or install it in your application" \
|
||||
"bundle."
|
||||
|
||||
.PHONY: devhelp
|
||||
devhelp:
|
||||
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
||||
@echo
|
||||
@echo "Build finished."
|
||||
@echo "To view the help file:"
|
||||
@echo "# mkdir -p $$HOME/.local/share/devhelp/MistralFuelPlugin"
|
||||
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/MistralFuelPlugin"
|
||||
@echo "# devhelp"
|
||||
|
||||
.PHONY: epub
|
||||
epub:
|
||||
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
||||
@echo
|
||||
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
||||
|
||||
.PHONY: epub3
|
||||
epub3:
|
||||
$(SPHINXBUILD) -b epub3 $(ALLSPHINXOPTS) $(BUILDDIR)/epub3
|
||||
@echo
|
||||
@echo "Build finished. The epub3 file is in $(BUILDDIR)/epub3."
|
||||
|
||||
.PHONY: latex
|
||||
latex:
|
||||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
||||
@echo
|
||||
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
||||
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
||||
"(use \`make latexpdf' here to do that automatically)."
|
||||
|
||||
.PHONY: latexpdf
|
||||
latexpdf:
|
||||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
||||
@echo "Running LaTeX files through pdflatex..."
|
||||
$(MAKE) -C $(BUILDDIR)/latex all-pdf
|
||||
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
||||
|
||||
.PHONY: latexpdfja
|
||||
latexpdfja:
|
||||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
||||
@echo "Running LaTeX files through platex and dvipdfmx..."
|
||||
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
|
||||
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
||||
|
||||
.PHONY: text
|
||||
text:
|
||||
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
||||
@echo
|
||||
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
||||
|
||||
.PHONY: man
|
||||
man:
|
||||
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
||||
@echo
|
||||
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
||||
|
||||
.PHONY: texinfo
|
||||
texinfo:
|
||||
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
||||
@echo
|
||||
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
|
||||
@echo "Run \`make' in that directory to run these through makeinfo" \
|
||||
"(use \`make info' here to do that automatically)."
|
||||
|
||||
.PHONY: info
|
||||
info:
|
||||
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
||||
@echo "Running Texinfo files through makeinfo..."
|
||||
make -C $(BUILDDIR)/texinfo info
|
||||
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
||||
|
||||
.PHONY: gettext
|
||||
gettext:
|
||||
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
||||
@echo
|
||||
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
||||
|
||||
.PHONY: changes
|
||||
changes:
|
||||
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
||||
@echo
|
||||
@echo "The overview file is in $(BUILDDIR)/changes."
|
||||
|
||||
.PHONY: linkcheck
|
||||
linkcheck:
|
||||
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
||||
@echo
|
||||
@echo "Link check complete; look for any errors in the above output " \
|
||||
"or in $(BUILDDIR)/linkcheck/output.txt."
|
||||
|
||||
.PHONY: doctest
|
||||
doctest:
|
||||
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
|
||||
@echo "Testing of doctests in the sources finished, look at the " \
|
||||
"results in $(BUILDDIR)/doctest/output.txt."
|
||||
|
||||
.PHONY: coverage
|
||||
coverage:
|
||||
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
|
||||
@echo "Testing of coverage in the sources finished, look at the " \
|
||||
"results in $(BUILDDIR)/coverage/python.txt."
|
||||
|
||||
.PHONY: xml
|
||||
xml:
|
||||
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
|
||||
@echo
|
||||
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
|
||||
|
||||
.PHONY: pseudoxml
|
||||
pseudoxml:
|
||||
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
|
||||
@echo
|
||||
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
|
||||
|
||||
.PHONY: dummy
|
||||
dummy:
|
||||
$(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
|
||||
@echo
|
||||
@echo "Build finished. Dummy builder generates no files."
|
|
@ -1,14 +0,0 @@
|
|||
Useful links
|
||||
------------
|
||||
|
||||
Information about Mistral Fuel plugin:
|
||||
|
||||
* `Specification <https://github.com/openstack/fuel-plugin-mistral/blob/master/specs/spec.rst>`_
|
||||
* `GitHub project <https://github.com/openstack/fuel-plugin-mistral>`_
|
||||
* `Launchpad project <https://launchpad.net/fuel-plugin-mistral>`_
|
||||
|
||||
Information about OpenStack Mistral:
|
||||
|
||||
* `Mistral documentation <http://docs.openstack.org/developer/mistral/>`_
|
||||
* `Launchpad project <https://launchpad.net/mistral>`_
|
||||
* `GitHub project <https://github.com/openstack/mistral>`_
|
|
@ -1,324 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Mistral Fuel Plugin documentation build configuration file, created by
|
||||
# sphinx-quickstart on Tue Sep 27 11:58:25 2016.
|
||||
#
|
||||
# This file is execfile()d with the current directory set to its
|
||||
# containing dir.
|
||||
#
|
||||
# Note that not all possible configuration values are present in this
|
||||
# autogenerated file.
|
||||
#
|
||||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
#
|
||||
# import os
|
||||
# import sys
|
||||
# sys.path.insert(0, os.path.abspath('.'))
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
# If your documentation needs a minimal Sphinx version, state it here.
|
||||
#
|
||||
# needs_sphinx = '1.0'
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = []
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
||||
# The suffix(es) of source filenames.
|
||||
# You can specify multiple suffix as a list of string:
|
||||
#
|
||||
# source_suffix = ['.rst', '.md']
|
||||
source_suffix = '.rst'
|
||||
|
||||
# The encoding of source files.
|
||||
#
|
||||
# source_encoding = 'utf-8-sig'
|
||||
|
||||
# The master toctree document.
|
||||
master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = u'Mistral Fuel Plugin'
|
||||
copyright = u'2016, Mirantis Inc.'
|
||||
author = u'Mirantis Inc.'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = u'1.0.0'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = u'1.0-1.0.0-0'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
#
|
||||
# This is also used if you do content translation via gettext catalogs.
|
||||
# Usually you set "language" from the command line for these cases.
|
||||
language = None
|
||||
|
||||
# There are two options for replacing |today|: either, you set today to some
|
||||
# non-false value, then it is used:
|
||||
#
|
||||
# today = ''
|
||||
#
|
||||
# Else, today_fmt is used as the format for a strftime call.
|
||||
#
|
||||
# today_fmt = '%B %d, %Y'
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
# This patterns also effect to html_static_path and html_extra_path
|
||||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
||||
|
||||
# The reST default role (used for this markup: `text`) to use for all
|
||||
# documents.
|
||||
#
|
||||
# default_role = None
|
||||
|
||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||
#
|
||||
# add_function_parentheses = True
|
||||
|
||||
# If true, the current module name will be prepended to all description
|
||||
# unit titles (such as .. function::).
|
||||
#
|
||||
# add_module_names = True
|
||||
|
||||
# If true, sectionauthor and moduleauthor directives will be shown in the
|
||||
# output. They are ignored by default.
|
||||
#
|
||||
# show_authors = False
|
||||
|
||||
# The name of the Pygments (syntax highlighting) style to use.
|
||||
pygments_style = 'sphinx'
|
||||
|
||||
# A list of ignored prefixes for module index sorting.
|
||||
# modindex_common_prefix = []
|
||||
|
||||
# If true, keep warnings as "system message" paragraphs in the built documents.
|
||||
# keep_warnings = False
|
||||
|
||||
# If true, `todo` and `todoList` produce output, else they produce nothing.
|
||||
todo_include_todos = False
|
||||
|
||||
|
||||
# -- Options for HTML output ----------------------------------------------
|
||||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
#
|
||||
html_theme = 'alabaster'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
# documentation.
|
||||
#
|
||||
# html_theme_options = {}
|
||||
|
||||
# Add any paths that contain custom themes here, relative to this directory.
|
||||
# html_theme_path = []
|
||||
|
||||
# The name for this set of Sphinx documents.
|
||||
# "<project> v<release> documentation" by default.
|
||||
#
|
||||
# html_title = u'Mistral Fuel Plugin v1.0-1.0.0-0'
|
||||
|
||||
# A shorter title for the navigation bar. Default is the same as html_title.
|
||||
#
|
||||
# html_short_title = None
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top
|
||||
# of the sidebar.
|
||||
#
|
||||
# html_logo = None
|
||||
|
||||
# The name of an image file (relative to this directory) to use as a favicon of
|
||||
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
||||
# pixels large.
|
||||
#
|
||||
# html_favicon = None
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
html_static_path = ['_static']
|
||||
|
||||
# Add any extra paths that contain custom files (such as robots.txt or
|
||||
# .htaccess) here, relative to this directory. These files are copied
|
||||
# directly to the root of the documentation.
|
||||
#
|
||||
# html_extra_path = []
|
||||
|
||||
# If not None, a 'Last updated on:' timestamp is inserted at every page
|
||||
# bottom, using the given strftime format.
|
||||
# The empty string is equivalent to '%b %d, %Y'.
|
||||
#
|
||||
# html_last_updated_fmt = None
|
||||
|
||||
# If true, SmartyPants will be used to convert quotes and dashes to
|
||||
# typographically correct entities.
|
||||
#
|
||||
# html_use_smartypants = True
|
||||
|
||||
# Custom sidebar templates, maps document names to template names.
|
||||
#
|
||||
# html_sidebars = {}
|
||||
|
||||
# Additional templates that should be rendered to pages, maps page names to
|
||||
# template names.
|
||||
#
|
||||
# html_additional_pages = {}
|
||||
|
||||
# If false, no module index is generated.
|
||||
#
|
||||
# html_domain_indices = True
|
||||
|
||||
# If false, no index is generated.
|
||||
#
|
||||
# html_use_index = True
|
||||
|
||||
# If true, the index is split into individual pages for each letter.
|
||||
#
|
||||
# html_split_index = False
|
||||
|
||||
# If true, links to the reST sources are added to the pages.
|
||||
#
|
||||
# html_show_sourcelink = True
|
||||
|
||||
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
||||
#
|
||||
# html_show_sphinx = True
|
||||
|
||||
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
||||
#
|
||||
# html_show_copyright = True
|
||||
|
||||
# If true, an OpenSearch description file will be output, and all pages will
|
||||
# contain a <link> tag referring to it. The value of this option must be the
|
||||
# base URL from which the finished HTML is served.
|
||||
#
|
||||
# html_use_opensearch = ''
|
||||
|
||||
# This is the file name suffix for HTML files (e.g. ".xhtml").
|
||||
# html_file_suffix = None
|
||||
|
||||
# Language to be used for generating the HTML full-text search index.
|
||||
# Sphinx supports the following languages:
|
||||
# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
|
||||
# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh'
|
||||
#
|
||||
# html_search_language = 'en'
|
||||
|
||||
# A dictionary with options for the search language support, empty by default.
|
||||
# 'ja' uses this config value.
|
||||
# 'zh' user can custom change `jieba` dictionary path.
|
||||
#
|
||||
# html_search_options = {'type': 'default'}
|
||||
|
||||
# The name of a javascript file (relative to the configuration directory) that
|
||||
# implements a search results scorer. If empty, the default will be used.
|
||||
#
|
||||
# html_search_scorer = 'scorer.js'
|
||||
|
||||
# Output file base name for HTML help builder.
|
||||
htmlhelp_basename = 'MistralFuelPlugindoc'
|
||||
|
||||
# -- Options for LaTeX output ---------------------------------------------
|
||||
|
||||
latex_elements = {
|
||||
'classoptions': ',openany,oneside', 'babel': '\\usepackage[english]{babel}'
|
||||
}
|
||||
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title,
|
||||
# author, documentclass [howto, manual, or own class]).
|
||||
latex_documents = [
|
||||
(master_doc, 'MistralFuelPlugin.tex', u'Mistral Fuel Plugin Guide',
|
||||
u'Mirantis Inc.', 'manual'),
|
||||
]
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top of
|
||||
# the title page.
|
||||
#
|
||||
# latex_logo = None
|
||||
|
||||
# For "manual" documents, if this is true, then toplevel headings are parts,
|
||||
# not chapters.
|
||||
#
|
||||
# latex_use_parts = False
|
||||
|
||||
# If true, show page references after internal links.
|
||||
#
|
||||
# latex_show_pagerefs = False
|
||||
|
||||
# If true, show URL addresses after external links.
|
||||
#
|
||||
# latex_show_urls = False
|
||||
|
||||
# Documents to append as an appendix to all manuals.
|
||||
#
|
||||
# latex_appendices = []
|
||||
|
||||
# It false, will not define \strong, \code, itleref, \crossref ... but only
|
||||
# \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added
|
||||
# packages.
|
||||
#
|
||||
# latex_keep_old_macro_names = True
|
||||
|
||||
# If false, no module index is generated.
|
||||
#
|
||||
# latex_domain_indices = True
|
||||
|
||||
|
||||
# -- Options for manual page output ---------------------------------------
|
||||
|
||||
# One entry per manual page. List of tuples
|
||||
# (source start file, name, description, authors, manual section).
|
||||
man_pages = [
|
||||
(master_doc, 'mistralfuelplugin', u'Mistral Fuel Plugin Documentation',
|
||||
[author], 1)
|
||||
]
|
||||
|
||||
# If true, show URL addresses after external links.
|
||||
#
|
||||
# man_show_urls = False
|
||||
|
||||
|
||||
# -- Options for Texinfo output -------------------------------------------
|
||||
|
||||
# Grouping the document tree into Texinfo files. List of tuples
|
||||
# (source start file, target name, title, author,
|
||||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
(master_doc, 'MistralFuelPlugin', u'Mistral Fuel Plugin Documentation',
|
||||
author, 'MistralFuelPlugin', 'One line description of project.',
|
||||
'Miscellaneous'),
|
||||
]
|
||||
|
||||
# Documents to append as an appendix to all manuals.
|
||||
#
|
||||
# texinfo_appendices = []
|
||||
|
||||
# If false, no module index is generated.
|
||||
#
|
||||
# texinfo_domain_indices = True
|
||||
|
||||
# How to display URL addresses: 'footnote', 'no', or 'inline'.
|
||||
#
|
||||
# texinfo_show_urls = 'footnote'
|
||||
|
||||
# If true, do not generate a @detailmenu in the "Top" node's menu.
|
||||
#
|
||||
# texinfo_no_detailmenu = False
|
Binary file not shown.
Before Width: | Height: | Size: 69 KiB |
Binary file not shown.
Before Width: | Height: | Size: 87 KiB |
|
@ -1,34 +0,0 @@
|
|||
Mistral Fuel Plugin's User Guide
|
||||
===============================================
|
||||
|
||||
Overview
|
||||
~~~~~~~~~
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
intro
|
||||
requirements
|
||||
prerequisites
|
||||
limitations
|
||||
release_notes
|
||||
license
|
||||
appendix
|
||||
|
||||
Installation and Usage
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
install
|
||||
use
|
||||
|
||||
Troubleshooting
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
troubleshoot
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
.. _install:
|
||||
|
||||
Install Mistral Fuel plugin
|
||||
---------------------------
|
||||
|
||||
Before you proceed with Mistral Fuel plugin installation, please verify next:
|
||||
|
||||
#. You have completed steps from :ref:`prerequisites` section.
|
||||
|
||||
#. All the nodes of your future environment are *DISCOVERED*
|
||||
by the Fuel Master node if :ref:`new_env`.
|
||||
At least one node is *DISCOVERED* if :ref:`hotplug`.
|
||||
|
||||
**To install the Mistral plugin:**
|
||||
|
||||
#. Download Mistral Fuel plugin from the
|
||||
`Fuel Plugin Catalog <https://www.mirantis.com/products/openstack-drivers-and-plugins/fuel-plugins/>`__.
|
||||
|
||||
#. Copy the plugin ``.rpm`` package to the Fuel Master node:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ scp fuel-plugin-mistral-1.0-1.0.0-1.noarch.rpm <Fuel Master nodeip>:/tmp
|
||||
|
||||
#. Log in to the Fuel Master node CLI as root.
|
||||
|
||||
#. Install the plugin:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# fuel plugins --install /tmp/fuel-plugin-mistral-1.0-1.0.0-1.noarch.rpm
|
||||
|
||||
#. Verify that the plugin was installed successfully:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# fuel plugins
|
||||
|
||||
id | name | version | package_version | releases
|
||||
---+---------------------+---------+-----------------+--------------------
|
||||
5 | fuel-plugin-mistral | 1.0.0 | 4.0.0 | ubuntu (mitaka-9.0)
|
||||
|
||||
#. Proceed to :ref:`new_env` or :ref:`hotplug` section.
|
|
@ -1,27 +0,0 @@
|
|||
Introduction
|
||||
------------
|
||||
|
||||
The purpose of this document is to describe how to install, configure, and use
|
||||
Mistral Fuel plugin 1.0.0 for Fuel 9.0.
|
||||
|
||||
The plugin allows Fuel to deploy OpenStack with
|
||||
Mistral installed and configured.
|
||||
|
||||
Key terms
|
||||
--------
|
||||
|
||||
The table below lists the key terms, acronyms, and abbreviations that
|
||||
are used in this document.
|
||||
|
||||
.. tabularcolumns:: |p{4cm}|p{12.5cm}|
|
||||
|
||||
====================== ========================================================
|
||||
**Term/abbreviation** **Definition**
|
||||
====================== ========================================================
|
||||
Mistral `OpenStack workflow service <https://github.com/openstack/mistral>`__
|
||||
Workflow `Set of tasks and relations between them <http://docs.openstack.org/developer/mistral/dsl/dsl_v2.html#workflows>`__. Mistral term.
|
||||
====================== ========================================================
|
||||
|
||||
.. raw:: latex
|
||||
|
||||
\pagebreak
|
|
@ -1,9 +0,0 @@
|
|||
Licenses
|
||||
--------
|
||||
|
||||
===================================== ============
|
||||
**Component** **License**
|
||||
===================================== ============
|
||||
Mistral Fuel plugin Apache 2.0
|
||||
Mistral Apache 2.0
|
||||
===================================== ============
|
|
@ -1,4 +0,0 @@
|
|||
Limitations
|
||||
===========
|
||||
|
||||
Current 1.0.0 version of Fuel Mistral Plugin has no known limitations.
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
lsb_release -a 2>/dev/null | grep 'Distributor ID:' | grep -q Ubuntu || \
|
||||
{ echo 'Not an Ubuntu'; exit 1; }
|
||||
|
||||
apt-cache policy texlive-latex-extra | grep 'Installed:' | grep -q '(none)' && \
|
||||
{ echo 'Please install texlive-latex-extra package'; exit 1; }
|
||||
|
||||
rm -rf _build
|
||||
|
||||
make latexpdf
|
||||
|
||||
echo -e -n '\nCreated pdf : '
|
||||
|
||||
find _build/ | grep -e '.*\.pdf'
|
||||
|
||||
echo ''
|
|
@ -1,6 +0,0 @@
|
|||
.. _prerequisites:
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
Before you install and start using Mistral Fuel plugin install and set up `Fuel 9.0 <http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-install-guide.html>`__.
|
|
@ -1,6 +0,0 @@
|
|||
Release notes
|
||||
-------------
|
||||
|
||||
Mistral Fuel plugin 1.0.0 provides:
|
||||
|
||||
* A possibility to deploy Mistral by Fuel.
|
|
@ -1,10 +0,0 @@
|
|||
Requirements
|
||||
------------
|
||||
|
||||
Mistral Fuel plugin 1.0.0 has the following requirements:
|
||||
|
||||
* Fuel 9.0 with Mitaka support
|
||||
|
||||
Check `Planning Guide <https://docs.mirantis.com/openstack/fuel/fuel-9.0/mos-planning-guide.html>`__
|
||||
and `Planning hardware for your OpenStack cluster: the answers to your questions <https://www.mirantis.com/blog/planning-hardware-for-your-openstack-cluster-the-answers-to-your-questions/>`__
|
||||
for additional requirements to consider.
|
|
@ -1,51 +0,0 @@
|
|||
Troubleshooting
|
||||
---------------
|
||||
|
||||
This section contains a guidance on verifying and troubleshooting Mistral Fuel
|
||||
Plugin and Mistral deployed by the plugin.
|
||||
|
||||
*Mistral* role is not available
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
If *Mistral* role is not available in Fuel UI when adding new node verify the
|
||||
plugin is installed and enabled. To verify in Fuel UI navigate to
|
||||
`Settings` tab -> `Other` section
|
||||
|
||||
.. image:: images/enable.png
|
||||
|
||||
The plugin must be present and enabled.
|
||||
If not present check :ref:`install`.
|
||||
|
||||
Mistral configuration files and logs
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Mistral API service runs on Controller nodes.
|
||||
Mistral Executor and Engine services run on Mistral nodes.
|
||||
|
||||
Mistral configuration files are located in `/etc/mistral` on Controller and
|
||||
Mistral nodes. `/etc/mistral/mistral.conf` is the main configuration file.
|
||||
|
||||
Logs can be found in `/var/log/mistral` directory.
|
||||
|
||||
Verifying Mistral operation
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
#. Login to primary Contraller node
|
||||
|
||||
#. Source openrc
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# source openrc
|
||||
|
||||
#. Verify Mistral
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# openstack workflow list
|
||||
+----...---+------...-+-----...+--------+------...--+----...+----...+
|
||||
| ID ... | Name ... | Proj...| Tags | Input... | Cre...| Upd...|
|
||||
+----...---+------...-+-----...+--------+------...--+----...+----...+
|
||||
| 9e2...bc | std.d... | <def...| <none> | insta...n | 201...| Non...|
|
||||
| a80...63 | std.c... | <def...| <none> | name,... | 201...| Non...|
|
||||
+----...---+------...-+-----...+--------+------...--+----...+----...+
|
|
@ -1,100 +0,0 @@
|
|||
Considering HA
|
||||
--------------
|
||||
|
||||
Mistral API service runs on every `Controller` node. Mistral API service HA
|
||||
is reached if multiple `Controller` nodes are deployed in the environment.
|
||||
Calls to Mistral API service instances are balanced via HAProxy.
|
||||
|
||||
Mistral Engine and Executor services run on `Mistral` nodes. Every Mistral node
|
||||
runs one Mistral Engine instance and one Mistral Executor instance.
|
||||
The services HA is reached by deploying multiple `Mistral` nodes.
|
||||
|
||||
.. _new_env:
|
||||
|
||||
Creating new environment with Mistral Fuel plugin
|
||||
-------------------------------------------------
|
||||
|
||||
To create and configure a new environment with Mistral Fuel plugin
|
||||
follow the steps below:
|
||||
|
||||
#. `Create a new OpenStack environment <http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-user-guide.html>`__
|
||||
in Fuel web UI.
|
||||
|
||||
#. Enable the Mistral Fuel plugin in `Additional services` tab:
|
||||
|
||||
.. image:: images/plugin.png
|
||||
|
||||
#. `Add nodes and assign them roles: <http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-user-guide/configure-environment/add-nodes.html>`__
|
||||
|
||||
* At least 1 Controller
|
||||
* At least 1 Mistral node. The Mistral role can also be added to any other
|
||||
node except Compute
|
||||
|
||||
#. Make additional `configuration adjustments <http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-user-guide/configure-environment.html>`__.
|
||||
|
||||
#. Proceed to the `environment deployment <http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-user-guide/deploy-environment.html>`__.
|
||||
|
||||
.. _hotplug:
|
||||
|
||||
Enabling Mistral Fuel plugin for a deployed environment
|
||||
-------------------------------------------------------
|
||||
|
||||
Mistral Fuel plugin is hotpluggable and can be enabled for an already deployed
|
||||
environment. The enable the plugin follow the steps below:
|
||||
|
||||
#. Navigate to the `Settings` tab -> `Other` section and enable the plugin
|
||||
|
||||
.. image:: images/enable.png
|
||||
|
||||
#. Press `Save Settings` button.
|
||||
|
||||
#. `Add Mistral node: <http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-user-guide/configure-environment/add-nodes.html>`__
|
||||
|
||||
* At least 1 Mistral node. The Mistral role can also be added to any other
|
||||
node except Compute
|
||||
|
||||
#. Proceed to the `environment deployment <http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-user-guide/deploy-environment.html>`__.
|
||||
|
||||
Getting `Mistral` service credentials
|
||||
-------------------------------------
|
||||
|
||||
To call Mistral API `admin` Keystone user credentials can be used.
|
||||
Mistral service also has it's own Keystone user.
|
||||
The user name is `mistral`.
|
||||
|
||||
To get Keystone endpoint and `mistral` Keystone user password login
|
||||
to the primary `Controller` node after the environment has been deployed
|
||||
and run:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# source openrc
|
||||
|
||||
# openstack endpoint show mistral
|
||||
+--------------+-----------------------------------+
|
||||
| Field | Value |
|
||||
+--------------+-----------------------------------+
|
||||
| adminurl | http://10.109.1.8:8989/v2 |
|
||||
| enabled | True |
|
||||
| id | 3023eac53843471fa70c96c081008daf |
|
||||
| internalurl | http://10.109.1.8:8989/v2 |
|
||||
| publicurl | https://public.fuel.local:8989/v2 |
|
||||
| region | RegionOne |
|
||||
| service_id | e136f06aab484b6e8a513604f72eb284 |
|
||||
| service_name | mistral |
|
||||
| service_type | workflowv2 |
|
||||
+--------------+-----------------------------------+
|
||||
|
||||
# hiera -h fuel-plugin-mistral
|
||||
{"db_password"=>"db_password",
|
||||
"keystone_password"=>"mistral_user_keystone_password", <-- the password
|
||||
"metadata"=>
|
||||
{"class"=>"plugin",
|
||||
"enabled"=>true,
|
||||
"group"=>"other",
|
||||
"hot_pluggable"=>true,
|
||||
"label"=>"Fuel Mistral plugin",
|
||||
"plugin_id"=>5,
|
||||
"plugin_version"=>"1.0.0",
|
||||
"toggleable"=>true,
|
||||
"weight"=>70}}
|
|
@ -1,21 +0,0 @@
|
|||
attributes:
|
||||
metadata:
|
||||
group: 'other'
|
||||
db_password:
|
||||
label: 'db_password'
|
||||
value:
|
||||
generator: 'password'
|
||||
weight: 25
|
||||
type: "password"
|
||||
restrictions:
|
||||
- condition: "true"
|
||||
action: "hide"
|
||||
keystone_password:
|
||||
label: 'Keystone password'
|
||||
value:
|
||||
generator: 'password'
|
||||
weight: 25
|
||||
type: "password"
|
||||
restrictions:
|
||||
- condition: "true"
|
||||
action: "hide"
|
|
@ -1,34 +0,0 @@
|
|||
# Plugin name
|
||||
name: fuel-plugin-mistral
|
||||
# Human-readable name for your plugin
|
||||
title: Fuel Mistral plugin
|
||||
# Plugin version
|
||||
version: '1.0.0'
|
||||
# Description
|
||||
description: This plugin provides deployment of Mistral
|
||||
# Required fuel version
|
||||
fuel_version: ['9.0']
|
||||
# Specify license of your plugin
|
||||
licenses: ['Apache License Version 2.0']
|
||||
# Specify author or company name
|
||||
authors: ['Mirantis Inc.']
|
||||
# A link to the plugin's page
|
||||
homepage: 'https://github.com/openstack/fuel-plugin-mistral'
|
||||
# Specify a group which your plugin implements, possible options:
|
||||
# network, storage, storage::cinder, storage::glance, hypervisor,
|
||||
# equipment
|
||||
groups: []
|
||||
# Change `false` to `true` if the plugin can be installed in the environment
|
||||
# after the deployment.
|
||||
is_hotpluggable: true
|
||||
|
||||
# The plugin is compatible with releases in the list
|
||||
releases:
|
||||
- os: ubuntu
|
||||
version: mitaka-9.0
|
||||
mode: ['ha']
|
||||
deployment_scripts_path: deployment_scripts/
|
||||
repository_path: repositories/ubuntu
|
||||
|
||||
# Version of plugin package
|
||||
package_version: '4.0.0'
|
|
@ -1,15 +0,0 @@
|
|||
# Unique network role name
|
||||
- id: "mistral/api"
|
||||
# Role mapping to network
|
||||
default_mapping: "management"
|
||||
properties:
|
||||
# Should be true if network role requires subnet being set
|
||||
subnet: true
|
||||
# Should be true if network role requires gateway being set
|
||||
gateway: false
|
||||
# List of VIPs to be allocated
|
||||
vip:
|
||||
# Unique VIP name
|
||||
- name: "vip_name"
|
||||
# Optional linux namespace for VIP
|
||||
namespace: "haproxy"
|
|
@ -1,11 +0,0 @@
|
|||
mistral:
|
||||
name: "Mistral"
|
||||
description: >
|
||||
Mistral is the OpenStack workflow service. It provides a mechanism to define
|
||||
tasks and workflows without writing code, manage and execute them
|
||||
in the cloud environment.
|
||||
has_primary: false
|
||||
public_ip_required: true
|
||||
weight: 1000
|
||||
limits:
|
||||
min: 1
|
|
@ -1,14 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 0dcc0a988caf86d91e506aa8b9c172b5d509ad6b
|
|
@ -1,14 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
"""Base module which classes and methods will be used in test cases."""
|
||||
|
||||
import os
|
||||
|
||||
from fuelweb_test.tests.base_test_case import TestBasic
|
||||
from fuelweb_test import logger
|
||||
from fuelweb_test.helpers import utils
|
||||
|
||||
|
||||
class MistralTestBase(TestBasic):
|
||||
"""GcsTestBase.
|
||||
|
||||
Base class for GCS verification testing, methods in this class will be used
|
||||
by test cases.
|
||||
"""
|
||||
|
||||
# TODO(unknown) documentation
|
||||
|
||||
def get_remote(self, node):
|
||||
"""Method designed to get remote credentials."""
|
||||
logger.info('Getting a remote to {0}'.format(node))
|
||||
if node == 'master':
|
||||
environment = self.env
|
||||
remote = environment.d_env.get_admin_remote()
|
||||
else:
|
||||
remote = self.fuel_web.get_ssh_for_node(node)
|
||||
return remote
|
||||
|
||||
def install_plugin(self):
|
||||
"""Method designed to install plugin on cluster."""
|
||||
master_remote = self.get_remote('master')
|
||||
utils.upload_tarball(master_remote.host,
|
||||
os.environ['MISTRAL_PLUGIN_PATH'],
|
||||
'/var')
|
||||
utils.install_plugin_check_code(
|
||||
master_remote.host,
|
||||
os.path.basename(os.environ['MISTRAL_PLUGIN_PATH']))
|
|
@ -1,25 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
"""Module with GCS plugin settings."""
|
||||
|
||||
|
||||
plugin_name = 'fuel-plugin-mistral'
|
||||
plugin_version = '1.0.0'
|
||||
|
||||
default_tenant = 'admin'
|
||||
default_user = 'admin'
|
||||
default_user_pass = 'admin'
|
||||
|
||||
options = {}
|
|
@ -1,73 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# copy of the License at
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
import sys
|
||||
|
||||
import os
|
||||
import re
|
||||
from nose.plugins import Plugin
|
||||
from paramiko.transport import _join_lingering_threads
|
||||
|
||||
|
||||
class CloseSSHConnectionsPlugin(Plugin):
|
||||
"""Closes all paramiko's ssh connections after each test case.
|
||||
Plugin fixes proboscis disability to run cleanup of any kind.
|
||||
'afterTest' calls _join_lingering_threads function from paramiko,
|
||||
which stops all threads (set the state to inactive and joins for 10s)
|
||||
"""
|
||||
|
||||
name = 'closesshconnections'
|
||||
|
||||
def options(self, parser, env=os.environ):
|
||||
"""Options."""
|
||||
super(CloseSSHConnectionsPlugin, self).options(parser, env=env)
|
||||
|
||||
def configure(self, options, conf):
|
||||
"""Configure env."""
|
||||
super(CloseSSHConnectionsPlugin, self).configure(options, conf)
|
||||
self.enabled = True
|
||||
|
||||
def afterTest(self, *args, **kwargs):
|
||||
"""After_Test.
|
||||
After_Test calls _join_lingering_threads function from paramiko,
|
||||
which stops all threads (set the state to inactive and joins for 10s).
|
||||
"""
|
||||
_join_lingering_threads()
|
||||
|
||||
|
||||
def import_tests():
|
||||
"""Import test suite of project."""
|
||||
from tests import test_smoke_bvt
|
||||
|
||||
|
||||
def run_tests():
|
||||
"""Run test cases."""
|
||||
from proboscis import TestProgram # noqa
|
||||
import_tests()
|
||||
|
||||
# Run Proboscis and exit.
|
||||
TestProgram(
|
||||
addplugins=[CloseSSHConnectionsPlugin()]
|
||||
).run_and_exit()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.path.append(sys.path[0] + "/fuel-qa")
|
||||
import_tests()
|
||||
from fuelweb_test.helpers.patching import map_test
|
||||
if any(re.search(r'--group=patching_master_tests', arg)
|
||||
for arg in sys.argv):
|
||||
map_test('master')
|
||||
elif any(re.search(r'--group=patching.*', arg) for arg in sys.argv):
|
||||
map_test('environment')
|
||||
run_tests()
|
|
@ -1,14 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
|
@ -1,145 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
"""Module with set of basic test cases."""
|
||||
|
||||
from proboscis import test
|
||||
|
||||
from fuelweb_test.helpers.decorators import log_snapshot_after_test
|
||||
from fuelweb_test.tests.base_test_case import SetupEnvironment
|
||||
from helpers.mistral_base import MistralTestBase
|
||||
from helpers import mistral_settings
|
||||
from fuelweb_test.settings import DEPLOYMENT_MODE
|
||||
from fuelweb_test import logger
|
||||
|
||||
|
||||
@test(groups=["mistral_smoke_bvt_tests"])
|
||||
class MistralTestClass(MistralTestBase):
|
||||
"""MistralTestBase.""" # TODO(unknown) documentation
|
||||
|
||||
@test(depends_on=[SetupEnvironment.prepare_slaves_3],
|
||||
groups=["mistral_smoke"])
|
||||
@log_snapshot_after_test
|
||||
def mistral_smoke(self):
|
||||
"""Deploy non HA cluster with mistral plugin installed and enabled.
|
||||
|
||||
Scenario:
|
||||
1. Create cluster
|
||||
2. Install Mistral plugin
|
||||
3. Add 1 node with controller-mistral role
|
||||
4. Add 1 node with compute role
|
||||
5. Add 1 node with cinder role
|
||||
6. Deploy the cluster
|
||||
"""
|
||||
self.env.revert_snapshot("ready_with_3_slaves")
|
||||
|
||||
logger.info('Creating Mistral HA cluster...')
|
||||
segment_type = 'vlan'
|
||||
cluster_id = self.fuel_web.create_cluster(
|
||||
name=self.__class__.__name__,
|
||||
mode=DEPLOYMENT_MODE,
|
||||
settings={
|
||||
"net_provider": 'neutron',
|
||||
"net_segment_type": segment_type,
|
||||
'tenant': mistral_settings.default_tenant,
|
||||
'user': mistral_settings.default_user,
|
||||
'password': mistral_settings.default_user_pass,
|
||||
'assign_to_all_nodes': True
|
||||
}
|
||||
)
|
||||
|
||||
self.install_plugin()
|
||||
self.fuel_web.update_plugin_settings(cluster_id,
|
||||
mistral_settings.plugin_name,
|
||||
mistral_settings.plugin_version,
|
||||
mistral_settings.options)
|
||||
|
||||
self.fuel_web.update_nodes(
|
||||
cluster_id,
|
||||
{
|
||||
'slave-01': ['controller', 'mistral'],
|
||||
'slave-02': ['compute'],
|
||||
'slave-03': ['cinder']
|
||||
}
|
||||
)
|
||||
|
||||
self.fuel_web.deploy_cluster_wait(
|
||||
cluster_id,
|
||||
check_services=False
|
||||
)
|
||||
|
||||
self.env.make_snapshot("mistral_smoke")
|
||||
|
||||
@test(depends_on=[SetupEnvironment.prepare_slaves_5],
|
||||
groups=["mistral_bvt"])
|
||||
@log_snapshot_after_test
|
||||
def mistral_bvt(self):
|
||||
"""Deploy HA cluster with Mistral plugin installed and enabled.
|
||||
|
||||
Scenario:
|
||||
1. Create an environment
|
||||
2. Install Mistral plugin
|
||||
3. Enable Mistral plugin
|
||||
4. Add 3 nodes with controller+ceph-osd roles
|
||||
5. Add 2 nodes with compute+ceph-osd role
|
||||
6. Deploy the cluster
|
||||
7. Run OSTF
|
||||
"""
|
||||
|
||||
self.env.revert_snapshot("ready_with_5_slaves")
|
||||
|
||||
self.show_step(1)
|
||||
cluster_id = self.fuel_web.create_cluster(
|
||||
name=self.__class__.__name__,
|
||||
settings={
|
||||
'images_ceph': True,
|
||||
'volumes_ceph': True,
|
||||
'ephemeral_ceph': True,
|
||||
'objects_ceph': True,
|
||||
'volumes_lvm': False
|
||||
}
|
||||
)
|
||||
|
||||
self.show_step(2)
|
||||
self.install_plugin()
|
||||
|
||||
self.show_step(3)
|
||||
self.fuel_web.update_plugin_settings(cluster_id,
|
||||
mistral_settings.plugin_name,
|
||||
mistral_settings.plugin_version,
|
||||
mistral_settings.options)
|
||||
|
||||
self.show_step(4)
|
||||
self.show_step(5)
|
||||
self.fuel_web.update_nodes(
|
||||
cluster_id,
|
||||
{
|
||||
'slave-01': ['controller', 'ceph-osd', 'mistral'],
|
||||
'slave-02': ['controller', 'ceph-osd', 'mistral'],
|
||||
'slave-03': ['controller', 'ceph-osd', 'mistral'],
|
||||
'slave-04': ['compute', 'ceph-osd'],
|
||||
'slave-05': ['compute', 'ceph-osd'],
|
||||
}
|
||||
)
|
||||
|
||||
self.show_step(6)
|
||||
self.fuel_web.deploy_cluster_wait(
|
||||
cluster_id,
|
||||
check_services=False
|
||||
)
|
||||
|
||||
self.show_step(7)
|
||||
self.fuel_web.run_ostf(
|
||||
cluster_id=cluster_id,
|
||||
test_sets=['smoke', 'sanity', 'ha'])
|
|
@ -1,487 +0,0 @@
|
|||
#!/bin/sh
|
||||
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
# functions
|
||||
|
||||
INVALIDOPTS_ERR=100
|
||||
NOJOBNAME_ERR=101
|
||||
NOISOPATH_ERR=102
|
||||
NOTASKNAME_ERR=103
|
||||
NOWORKSPACE_ERR=104
|
||||
DEEPCLEAN_ERR=105
|
||||
MAKEISO_ERR=106
|
||||
NOISOFOUND_ERR=107
|
||||
COPYISO_ERR=108
|
||||
SYMLINKISO_ERR=109
|
||||
CDWORKSPACE_ERR=110
|
||||
ISODOWNLOAD_ERR=111
|
||||
INVALIDTASK_ERR=112
|
||||
|
||||
# Defaults
|
||||
|
||||
export REBOOT_TIMEOUT=${REBOOT_TIMEOUT:-5000}
|
||||
export ALWAYS_CREATE_DIAGNOSTIC_SNAPSHOT=${ALWAYS_CREATE_DIAGNOSTIC_SNAPSHOT:-true}
|
||||
|
||||
# Export specified settings
|
||||
if [ -z "$OPENSTACK_RELEASE" ]; then export OPENSTACK_RELEASE=Ubuntu; fi
|
||||
if [ -z "$ENV_NAME" ]; then export ENV_NAME="mistral"; fi
|
||||
if [ -z "$ADMIN_NODE_MEMORY" ]; then export ADMIN_NODE_MEMORY=4096; fi
|
||||
if [ -z "$ADMIN_NODE_CPU" ]; then export ADMIN_NODE_CPU=4; fi
|
||||
if [ -z "$SLAVE_NODE_MEMORY" ]; then export SLAVE_NODE_MEMORY=4096; fi
|
||||
if [ -z "$SLAVE_NODE_CPU" ]; then export SLAVE_NODE_CPU=4; fi
|
||||
|
||||
# Init and update submodule
|
||||
git submodule update --init --recursive --remote
|
||||
|
||||
#sudo /sbin/iptables -F
|
||||
#sudo /sbin/iptables -t nat -F
|
||||
#sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||
|
||||
|
||||
ShowHelp() {
|
||||
cat << EOF
|
||||
System Tests Script
|
||||
|
||||
It can perform several actions depending on Jenkins JOB_NAME it's ran from
|
||||
or it can take names from exported environment variables or command line options
|
||||
if you do need to override them.
|
||||
-w (dir) - Path to workspace where fuelweb git repository was checked out.
|
||||
Uses Jenkins' WORKSPACE if not set
|
||||
-e (name) - Directly specify environment name used in tests
|
||||
Uses ENV_NAME variable is set.
|
||||
-j (name) - Name of this job. Determines ISO name, Task name and used by tests.
|
||||
Uses Jenkins' JOB_NAME if not set
|
||||
-v - Do not use virtual environment
|
||||
-V (dir) - Path to python virtual environment
|
||||
-i (file) - Full path to ISO file to build or use for tests.
|
||||
Made from iso dir and name if not set.
|
||||
-t (name) - Name of task this script should perform. Should be one of defined ones.
|
||||
Taken from Jenkins' job's suffix if not set.
|
||||
-o (str) - Allows you any extra command line option to run test job if you
|
||||
want to use some parameters.
|
||||
-a (str) - Allows you to path NOSE_ATTR to the test job if you want
|
||||
to use some parameters.
|
||||
-A (str) - Allows you to path NOSE_EVAL_ATTR if you want to enter attributes
|
||||
as python expressions.
|
||||
-m (name) - Use this mirror to build ISO from.
|
||||
Uses 'srt' if not set.
|
||||
-U - ISO URL for tests.
|
||||
Null by default.
|
||||
-r (yes/no) - Should built ISO file be places with build number tag and
|
||||
symlinked to the last build or just copied over the last file.
|
||||
-b (num) - Allows you to override Jenkins' build number if you need to.
|
||||
-l (dir) - Path to logs directory. Can be set by LOGS_DIR evironment variable.
|
||||
Uses WORKSPACE/logs if not set.
|
||||
-d - Dry run mode. Only show what would be done and do nothing.
|
||||
Useful for debugging.
|
||||
-k - Keep previously created test environment before tests run
|
||||
-K - Keep test environment after tests are finished
|
||||
-h - Show this help page
|
||||
|
||||
Most variables uses guesing from Jenkins' job name but can be overriden
|
||||
by exported variable before script is run or by one of command line options.
|
||||
You can override following variables using export VARNAME="value" before running this script
|
||||
WORKSPACE - path to directory where Fuelweb repository was checked out by Jenkins or manually
|
||||
JOB_NAME - name of Jenkins job that determines which task should be done and ISO file name.
|
||||
If task name is "iso" it will make iso file
|
||||
Other defined names will run Nose tests using previously built ISO file.
|
||||
ISO file name is taken from job name prefix
|
||||
Task name is taken from job name suffix
|
||||
Separator is one dot '.'
|
||||
For example if JOB_NAME is:
|
||||
mytest.somestring.iso
|
||||
ISO name: mytest.iso
|
||||
Task name: iso
|
||||
If ran with such JOB_NAME iso file with name mytest.iso will be created
|
||||
If JOB_NAME is:
|
||||
mytest.somestring.node
|
||||
ISO name: mytest.iso
|
||||
Task name: node
|
||||
If script was run with this JOB_NAME node tests will be using ISO file mytest.iso.
|
||||
First you should run mytest.somestring.iso job to create mytest.iso.
|
||||
Then you can ran mytest.somestring.node job to start tests using mytest.iso and other tests too.
|
||||
EOF
|
||||
}
|
||||
GlobalVariables() {
|
||||
# where built iso's should be placed
|
||||
# use hardcoded default if not set before by export
|
||||
ISO_DIR="${ISO_DIR:=/var/www/fuelweb-iso}"
|
||||
|
||||
# name of iso file
|
||||
# taken from jenkins job prefix
|
||||
# if not set before by variable export
|
||||
if [ -z "${ISO_NAME}" ]; then
|
||||
ISO_NAME="${JOB_NAME%.*}.iso"
|
||||
fi
|
||||
|
||||
# full path where iso file should be placed
|
||||
# make from iso name and path to iso shared directory
|
||||
# if was not overriden by options or export
|
||||
if [ -z "${ISO_PATH}" ]; then
|
||||
ISO_PATH="${ISO_DIR}/${ISO_NAME}"
|
||||
fi
|
||||
|
||||
# what task should be ran
|
||||
# it's taken from jenkins job name suffix if not set by options
|
||||
if [ -z "${TASK_NAME}" ]; then
|
||||
TASK_NAME="${JOB_NAME##*.}"
|
||||
fi
|
||||
|
||||
# do we want to keep iso's for each build or just copy over single file
|
||||
ROTATE_ISO="${ROTATE_ISO:=yes}"
|
||||
|
||||
# choose mirror to build iso from. Default is 'srt' for Saratov's mirror
|
||||
# you can change mirror by exporting USE_MIRROR variable before running this script
|
||||
USE_MIRROR="${USE_MIRROR:=srt}"
|
||||
|
||||
# only show what commands would be executed but do nothing
|
||||
# this feature is usefull if you want to debug this script's behaviour
|
||||
DRY_RUN="${DRY_RUN:=no}"
|
||||
|
||||
VENV="${VENV:=yes}"
|
||||
}
|
||||
|
||||
GetoptsVariables() {
|
||||
while getopts ":w:j:i:t:o:a:A:m:U:r:b:V:l:dkKe:v:h" opt; do
|
||||
case $opt in
|
||||
w)
|
||||
WORKSPACE="${OPTARG}"
|
||||
;;
|
||||
j)
|
||||
JOB_NAME="${OPTARG}"
|
||||
;;
|
||||
i)
|
||||
ISO_PATH="${OPTARG}"
|
||||
;;
|
||||
t)
|
||||
TASK_NAME="${OPTARG}"
|
||||
;;
|
||||
o)
|
||||
TEST_OPTIONS="${TEST_OPTIONS} ${OPTARG}"
|
||||
;;
|
||||
a)
|
||||
NOSE_ATTR="${OPTARG}"
|
||||
;;
|
||||
A)
|
||||
NOSE_EVAL_ATTR="${OPTARG}"
|
||||
;;
|
||||
m)
|
||||
USE_MIRROR="${OPTARG}"
|
||||
;;
|
||||
U)
|
||||
ISO_URL="${OPTARG}"
|
||||
;;
|
||||
r)
|
||||
ROTATE_ISO="${OPTARG}"
|
||||
;;
|
||||
b)
|
||||
BUILD_NUMBER="${OPTARG}"
|
||||
;;
|
||||
V)
|
||||
VENV_PATH="${OPTARG}"
|
||||
;;
|
||||
l)
|
||||
LOGS_DIR="${OPTARG}"
|
||||
;;
|
||||
k)
|
||||
KEEP_BEFORE="yes"
|
||||
;;
|
||||
K)
|
||||
KEEP_AFTER="yes"
|
||||
;;
|
||||
e)
|
||||
ENV_NAME="${OPTARG}"
|
||||
;;
|
||||
d)
|
||||
DRY_RUN="yes"
|
||||
;;
|
||||
v)
|
||||
VENV="no"
|
||||
;;
|
||||
h)
|
||||
ShowHelp
|
||||
exit 0
|
||||
;;
|
||||
\?)
|
||||
echo "Invalid option: -$OPTARG"
|
||||
ShowHelp
|
||||
exit $INVALIDOPTS_ERR
|
||||
;;
|
||||
:)
|
||||
echo "Option -$OPTARG requires an argument."
|
||||
ShowHelp
|
||||
exit $INVALIDOPTS_ERR
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
CheckVariables() {
|
||||
|
||||
if [ -z "${JOB_NAME}" ]; then
|
||||
echo "Error! JOB_NAME is not set!"
|
||||
exit $NOJOBNAME_ERR
|
||||
fi
|
||||
|
||||
if [ -z "${ISO_PATH}" ]; then
|
||||
echo "Error! ISO_PATH is not set!"
|
||||
exit $NOISOPATH_ERR
|
||||
fi
|
||||
|
||||
if [ -z "${TASK_NAME}" ]; then
|
||||
echo "Error! TASK_NAME is not set!"
|
||||
exit $NOTASKNAME_ERR
|
||||
fi
|
||||
|
||||
if [ -z "${WORKSPACE}" ]; then
|
||||
echo "Error! WORKSPACE is not set!"
|
||||
exit $NOWORKSPACE_ERR
|
||||
fi
|
||||
}
|
||||
|
||||
MakeISO() {
|
||||
# Create iso file to be used in tests
|
||||
|
||||
# clean previous garbage
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo make deep_clean
|
||||
else
|
||||
make deep_clean
|
||||
fi
|
||||
ec="${?}"
|
||||
|
||||
if [ "${ec}" -gt "0" ]; then
|
||||
echo "Error! Deep clean failed!"
|
||||
exit $DEEPCLEAN_ERR
|
||||
fi
|
||||
|
||||
# create ISO file
|
||||
export USE_MIRROR
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo make iso
|
||||
else
|
||||
make iso
|
||||
fi
|
||||
ec=$?
|
||||
|
||||
if [ "${ec}" -gt "0" ]; then
|
||||
echo "Error making ISO!"
|
||||
exit $MAKEISO_ERR
|
||||
fi
|
||||
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
ISO="${WORKSPACE}/build/iso/fuel.iso"
|
||||
else
|
||||
ISO="$(find "${WORKSPACE}/build/iso/"*".iso" | head -n 1)"
|
||||
# check that ISO file exists
|
||||
if [ ! -f "${ISO}" ]; then
|
||||
echo "Error! ISO file not found!"
|
||||
exit $NOISOFOUND_ERR
|
||||
fi
|
||||
fi
|
||||
|
||||
# copy ISO file to storage dir
|
||||
# if rotation is enabled and build number is aviable
|
||||
# save iso to tagged file and symlink to the last build
|
||||
# if rotation is not enabled just copy iso to iso_dir
|
||||
|
||||
if [ "${ROTATE_ISO}" = "yes" -a "${BUILD_NUMBER}" != "" ]; then
|
||||
# copy iso file to shared dir with revision tagged name
|
||||
NEW_BUILD_ISO_PATH="${ISO_PATH#.iso}_${BUILD_NUMBER}.iso"
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo cp "${ISO}" "${NEW_BUILD_ISO_PATH}"
|
||||
else
|
||||
cp "${ISO}" "${NEW_BUILD_ISO_PATH}"
|
||||
fi
|
||||
ec=$?
|
||||
|
||||
if [ "${ec}" -gt "0" ]; then
|
||||
echo "Error! Copy ${ISO} to ${NEW_BUILD_ISO_PATH} failed!"
|
||||
exit $COPYISO_ERR
|
||||
fi
|
||||
|
||||
# create symlink to the last built ISO file
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo ln -sf "${NEW_BUILD_ISO_PATH}" "${ISO_PATH}"
|
||||
else
|
||||
ln -sf "${NEW_BUILD_ISO_PATH}" "${ISO_PATH}"
|
||||
fi
|
||||
ec=$?
|
||||
|
||||
if [ "${ec}" -gt "0" ]; then
|
||||
echo "Error! Create symlink from ${NEW_BUILD_ISO_PATH} to ${ISO_PATH} failed!"
|
||||
exit $SYMLINKISO_ERR
|
||||
fi
|
||||
else
|
||||
# just copy file to shared dir
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo cp "${ISO}" "${ISO_PATH}"
|
||||
else
|
||||
cp "${ISO}" "${ISO_PATH}"
|
||||
fi
|
||||
ec=$?
|
||||
|
||||
if [ "${ec}" -gt "0" ]; then
|
||||
echo "Error! Copy ${ISO} to ${ISO_PATH} failed!"
|
||||
exit $COPYISO_ERR
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${ec}" -gt "0" ]; then
|
||||
echo "Error! Copy ISO from ${ISO} to ${ISO_PATH} failed!"
|
||||
exit $COPYISO_ERR
|
||||
fi
|
||||
echo "Finished building ISO: ${ISO_PATH}"
|
||||
exit 0
|
||||
}
|
||||
|
||||
CdWorkSpace() {
|
||||
# chdir into workspace or fail if could not
|
||||
if [ "${DRY_RUN}" != "yes" ]; then
|
||||
cd "${WORKSPACE}"
|
||||
ec=$?
|
||||
|
||||
if [ "${ec}" -gt "0" ]; then
|
||||
echo "Error! Cannot cd to WORKSPACE!"
|
||||
exit $CDWORKSPACE_ERR
|
||||
fi
|
||||
else
|
||||
echo cd "${WORKSPACE}"
|
||||
fi
|
||||
}
|
||||
|
||||
RunTest() {
|
||||
# Run test selected by task name
|
||||
|
||||
# check if iso file exists
|
||||
if [ ! -f "${ISO_PATH}" ]; then
|
||||
if [ -z "${ISO_URL}" -a "${DRY_RUN}" != "yes" ]; then
|
||||
echo "Error! File ${ISO_PATH} not found and no ISO_URL (-U key) for downloading!"
|
||||
exit $NOISOFOUND_ERR
|
||||
else
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo wget -c "${ISO_URL}" -O "${ISO_PATH}"
|
||||
else
|
||||
echo "No ${ISO_PATH} found. Trying to download file."
|
||||
wget -c "${ISO_URL}" -O "${ISO_PATH}"
|
||||
rc=$?
|
||||
if [ $rc -ne 0 ]; then
|
||||
echo "Failed to fetch ISO from ${ISO_URL}"
|
||||
exit $ISODOWNLOAD_ERR
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "${VENV_PATH}" ]; then
|
||||
VENV_PATH="/home/jenkins/venv-nailgun-tests"
|
||||
fi
|
||||
|
||||
# run python virtualenv
|
||||
if [ "${VENV}" = "yes" ]; then
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo . $VENV_PATH/bin/activate
|
||||
else
|
||||
. $VENV_PATH/bin/activate
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${ENV_NAME}" = "" ]; then
|
||||
ENV_NAME="${JOB_NAME}_system_test"
|
||||
fi
|
||||
|
||||
if [ "${LOGS_DIR}" = "" ]; then
|
||||
LOGS_DIR="${WORKSPACE}/logs"
|
||||
fi
|
||||
|
||||
if [ ! -f "$LOGS_DIR" ]; then
|
||||
mkdir -p "$LOGS_DIR"
|
||||
fi
|
||||
|
||||
export ENV_NAME
|
||||
export LOGS_DIR
|
||||
export ISO_PATH
|
||||
|
||||
if [ "${KEEP_BEFORE}" != "yes" ]; then
|
||||
# remove previous environment
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo dos.py erase "${ENV_NAME}"
|
||||
else
|
||||
if dos.py list | grep "^${ENV_NAME}\$"; then
|
||||
dos.py erase "${ENV_NAME}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# gather additional option for this nose test run
|
||||
OPTS=""
|
||||
if [ -n "${NOSE_ATTR}" ]; then
|
||||
OPTS="${OPTS} -a ${NOSE_ATTR}"
|
||||
fi
|
||||
if [ -n "${NOSE_EVAL_ATTR}" ]; then
|
||||
OPTS="${OPTS} -A ${NOSE_EVAL_ATTR}"
|
||||
fi
|
||||
if [ -n "${TEST_OPTIONS}" ]; then
|
||||
OPTS="${OPTS} ${TEST_OPTIONS}"
|
||||
fi
|
||||
|
||||
# run python test set to create environments, deploy and test product
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo export PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${WORKSPACE}"
|
||||
echo python plugin_test/run_tests.py -q --nologcapture --with-xunit ${OPTS}
|
||||
else
|
||||
export PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${WORKSPACE}"
|
||||
echo "${PYTHONPATH}"
|
||||
python plugin_test/run_tests.py -q --nologcapture --with-xunit ${OPTS}
|
||||
|
||||
fi
|
||||
ec=$?
|
||||
|
||||
if [ "${KEEP_AFTER}" != "yes" ]; then
|
||||
# remove environment after tests
|
||||
if [ "${DRY_RUN}" = "yes" ]; then
|
||||
echo dos.py destroy "${ENV_NAME}"
|
||||
else
|
||||
dos.py destroy "${ENV_NAME}"
|
||||
fi
|
||||
fi
|
||||
|
||||
exit "${ec}"
|
||||
}
|
||||
|
||||
RouteTasks() {
|
||||
# this selector defines task names that are recognised by this script
|
||||
# and runs corresponding jobs for them
|
||||
# running any jobs should exit this script
|
||||
|
||||
case "${TASK_NAME}" in
|
||||
test)
|
||||
RunTest
|
||||
;;
|
||||
iso)
|
||||
MakeISO
|
||||
;;
|
||||
*)
|
||||
echo "Unknown task: ${TASK_NAME}!"
|
||||
exit $INVALIDTASK_ERR
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
}
|
||||
|
||||
# MAIN
|
||||
|
||||
# first we want to get variable from command line options
|
||||
GetoptsVariables "${@}"
|
||||
|
||||
# then we define global variables and there defaults when needed
|
||||
GlobalVariables
|
||||
|
||||
# check do we have all critical variables set
|
||||
CheckVariables
|
||||
|
||||
# first we chdir into our working directory unless we dry run
|
||||
CdWorkSpace
|
||||
|
||||
# finally we can choose what to do according to TASK_NAME
|
||||
RouteTasks
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Add here any the actions which are required before plugin build
|
||||
# like packages building, packages downloading from mirrors and so on.
|
||||
# The script should return 0 if there were no errors.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
234
specs/spec.rst
234
specs/spec.rst
|
@ -1,234 +0,0 @@
|
|||
===================
|
||||
Mistral Fuel plugin
|
||||
===================
|
||||
|
||||
Mistral Fuel plugin allows Fuel to deploy OpenStack with Mistral installed and configured.
|
||||
|
||||
Problem description
|
||||
===================
|
||||
|
||||
It’s often required to execute some set of closely related OpenStack API calls.
|
||||
For example creating a volume backup requires actions like creating a snapshot,
|
||||
creating a backup, removing a snapshot. This is a place where Mistral,
|
||||
the OpenStack workflow service, becomes very handy as it allows to compose
|
||||
such set of API calls in workflows and invoke the API calls as a single entity.
|
||||
|
||||
Fuel is a widely used automation tool for deploying OpenStack clouds but
|
||||
currently does not support installing and configuring Mistral during OpenStack deployment.
|
||||
|
||||
Proposed changes
|
||||
================
|
||||
|
||||
Develop Fuel plugin to automate Mistral installation and configuration.
|
||||
|
||||
The plugin should provide ``mistral`` role.
|
||||
The role should be compatible with Controller role or placed to a standalone node.
|
||||
Multiple nodes with ``mistral`` role should be allowed to provide HA and performance improvement.
|
||||
Mistral Engine and Mistral Executor HA is achieved by running multiple
|
||||
Engine and Executor processes.
|
||||
|
||||
The tasks to be performed by the plugin:
|
||||
|
||||
* On primary controller.
|
||||
|
||||
* Create ``mistral`` MySQL database.
|
||||
* Create ``mistral`` MySQL database user.
|
||||
* Grant the appropriate rights.
|
||||
* Create ``mistral`` Keystone service user.
|
||||
* Create Mistral Keystone endpoint
|
||||
* Keystone Service Name : mistral
|
||||
* Keystone Service Type : workflow
|
||||
|
||||
* On Mistral node.
|
||||
|
||||
* Install ``mistral-engine``, ``mistral-executor`` packages.
|
||||
* Create mistral.conf.
|
||||
* Enable ``mistral-engine`` and ``mistral-executor`` services autostart and start them.
|
||||
|
||||
* On all controllers and Mistral node.
|
||||
* Configure Mistral logging.
|
||||
|
||||
* On all controllers.
|
||||
|
||||
* Install ``mistral-api`` package
|
||||
* Create mistral.conf.
|
||||
* Enable ``mistral-api`` service autostart and start it.
|
||||
* Configure firewall to open the port TCP/8989 for ``mistral-api`` endpoint.
|
||||
* Configure HAProxy to balance calls to mistral-api.
|
||||
* Install ``mistral-client`` package.
|
||||
* Create Mistral-specific ``openrc`` file in ``root`` user home directory.
|
||||
* Install ``mistral-dashboard`` package to add Mistral section to Horizon.
|
||||
|
||||
* On primary controller.
|
||||
|
||||
* Initialize and populate the database.
|
||||
|
||||
Web UI
|
||||
------
|
||||
|
||||
Fuel Web UI is extended with plugin-specific settings.
|
||||
|
||||
The settings are:
|
||||
|
||||
* A checkbox to enable Mistral Fuel Plugin.
|
||||
|
||||
* MySQL password
|
||||
|
||||
* name: db_password
|
||||
* label: MySQL password
|
||||
* description: Password of MySQL user for Mistral.
|
||||
* type: hidden
|
||||
* default value: generated automatically
|
||||
|
||||
* Keystone password
|
||||
|
||||
* name: keystone_password
|
||||
* label: Keystone password
|
||||
* description: Password of Keystone service user for Mistral.
|
||||
* type: hidden
|
||||
* default value: generated automatically
|
||||
|
||||
Nailgun
|
||||
-------
|
||||
None
|
||||
|
||||
Data model
|
||||
----------
|
||||
None
|
||||
|
||||
REST API
|
||||
--------
|
||||
Mistral service endpoints will be registered with Keystone.
|
||||
|
||||
Orchestration
|
||||
-------------
|
||||
None
|
||||
|
||||
Fuel Client
|
||||
-----------
|
||||
None
|
||||
|
||||
Fuel Library
|
||||
------------
|
||||
None
|
||||
|
||||
Limitations
|
||||
-----------
|
||||
None
|
||||
|
||||
Alternatives
|
||||
============
|
||||
The plugin can also be implemented as a part of Fuel core but it was decided
|
||||
to create a plugin as any new additional functionality makes a project and
|
||||
testing more difficult which is an additional risk for the Fuel release.
|
||||
Also Mistral can be installed manually.
|
||||
|
||||
Upgrade impact
|
||||
==============
|
||||
Compatibility of new Fuel components and the Plugin should be checked before
|
||||
upgrading Fuel Master.
|
||||
|
||||
Security impact
|
||||
===============
|
||||
None
|
||||
|
||||
Notifications impact
|
||||
====================
|
||||
None
|
||||
|
||||
End user impact
|
||||
===============
|
||||
None
|
||||
|
||||
Performance impact
|
||||
==================
|
||||
Working Mistral server causes additional load on DB and query services.
|
||||
|
||||
Deployment impact
|
||||
=================
|
||||
The plugin is hotpluggable and can be installed and enabled either during
|
||||
Fuel Master installation or after an environment has been deployed.
|
||||
|
||||
Developer impact
|
||||
================
|
||||
None
|
||||
|
||||
Infrastructure impact
|
||||
=====================
|
||||
A new role with name *mistral* is provided.
|
||||
Mistral can be deployed to primary Controller node.
|
||||
|
||||
Documentation impact
|
||||
====================
|
||||
* Deployment Guide
|
||||
* User Guide
|
||||
* Test Plan
|
||||
* Test Report
|
||||
|
||||
Implementation
|
||||
==============
|
||||
|
||||
Assignee(s)
|
||||
-----------
|
||||
|
||||
Primary assignee:
|
||||
|
||||
- Taras Kostyuk <tkostyuk@mirantis.com> - developer
|
||||
|
||||
Other contributors:
|
||||
|
||||
- Oleksandr Martsyniuk <omartsyniuk@mirantis.com> - feature lead, developer
|
||||
- Kostiantyn Kalynovskyi <kkalynovskyi@mirantis.com> - developer
|
||||
|
||||
Project manager:
|
||||
|
||||
- Andrian Noga <anoga@mirantis.com>
|
||||
|
||||
Quality assurance:
|
||||
|
||||
|
||||
- Vitaliy Yerys <vyerys@mirantis.com> - qa
|
||||
- Oleksandr Kosse <okosse@mirantis.com> - qa
|
||||
|
||||
|
||||
Work Items
|
||||
----------
|
||||
|
||||
* Prepare development environment
|
||||
* Implement Puppet manifests to install and configure Mistral
|
||||
* Test Mistral Fuel plugin
|
||||
* Prepare Documentation
|
||||
|
||||
Dependencies
|
||||
============
|
||||
|
||||
* Fuel 9.0
|
||||
* OpenStack Mitaka
|
||||
|
||||
Testing
|
||||
=======
|
||||
|
||||
|
||||
* Test Mistral deployed on a Controller in HA cloud.
|
||||
* Test Mistral deployed on standalone node.
|
||||
|
||||
Acceptance criteria
|
||||
-------------------
|
||||
|
||||
|
||||
* Mistral server is up and running
|
||||
* Mistral client can retrieve a list of actions
|
||||
(verifies that DB is populated)
|
||||
* Mistral client can create and execute a very basic workflow
|
||||
* Mistral UI is working
|
||||
|
||||
References
|
||||
==========
|
||||
|
||||
* Welcome to Mistral’s documentation!
|
||||
http://docs.openstack.org/developer/mistral/
|
||||
* Welcome to yaql’s documentation!
|
||||
https://yaql.readthedocs.io/en/latest/
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue