Commit Graph

26 Commits

Author SHA1 Message Date
Luigi Toscano c7fc57b42a devstack: do not use configure_auth_token_middleware
The devstack function configure_auth_token_middleware is deprecated,
because it specifies an option (signing_dir) which has been removed
a few releases ago.
Use the new configure_keystone_token_middleware function, which does
not use the removed parameter. Remove also all the logic related
to that parameter.

Depends-On: https://review.opendev.org/628651
Change-Id: Ic13d8cfb3aeb425a7ad28ec1b8fc95629fafcc2f
2019-06-30 12:35:26 +02:00
Luigi Toscano 8c941ed187 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Depends-On: https://review.opendev.org/653988
Change-Id: I6c7fffc1a32cb35ff7fe2ba964510b4f32805842
2019-04-20 14:55:03 +02:00
Telles Nobrega 55bd5da57f Dynamically loading plugins
Since plugins are not part of Sahara core anymore, loading plugins
like we currently do fails when plugins are not installed.
Currently we check the list of loaded plugins by checking the CONF
file plugins session. To fix that, we are changing to check the list
of loaded plugins on the PluginManager variable loaded_plugins, this
way we can instead of failing to start sahara if a desired plugin
is not installed, we can warn that the plugin was not loaded and
continue the application.

Change-Id: Iaae3a75cd75b06e94bc4492e5dc654a6281fdff4
2019-02-05 11:30:09 -03:00
Telles Nobrega 92686f5a10 Prepare Sahara core for plugin split
On the effort to make Sahara more user and operators friendly
we are splitting the plugins from Sahara core.

The main goal of this change is to facilitate installation,
maintainance and upgrade of plugins. With the plugins outside
the main Sahara code, operators will be able to install a subset
of plugins, as well as upgrade to newer versions of the plugins
without having to wait for a new version of OpenStack to be
released. As well, it aims to facilitate new contributors to
develop and maintain their own plugins.

Sahara Spec: https://specs.openstack.org/openstack/sahara-specs/specs/rocky/plugins-outside-sahara-core.html

Change-Id: I7ed0945fd82e37daaf6b29f947d3dba06db9d158
2019-01-10 22:18:24 -03:00
Luigi Toscano 7f5588024d Enable also ambari by default in devstack
It should not impact the usual features of devstack,
but no reason to not enable it.
The old hdp plugin was removed but this one was never added.

Change-Id: Ie93948966b90e286eac401673e6704694bacf249
2018-08-06 16:46:28 +02:00
Luigi Toscano 3ff85aba7b Deploy using wsgi by default
Complete the switch to wsgi and only use it from now on.
The default won't be changed for old branches (i.e. this change
should not be backported).

Story: 2001991
Task: 19622
Change-Id: Ia23083d0ec7c17a84e0bb4bc5db970cbfe57882a
2018-05-10 00:03:09 +02:00
ghanshyam ba6860d237 Remove use of unsupported TEMPEST_SERVICES variable
TEMPEST_SERVICES global variable is not supported
by devstack since long back.
- I380dd20e5ed716a0bdf92aa02c3730359b8136e4
- I9c24705e494689f09a885eb0a640efd50db33fcf

Service availability of tempest known services will be
set by devstack with local check.
- I02be777bf93143d946ccbb8e9eff637bfd1928d4

This commit removes the unused TEMPEST_SERVICES setting
Related-Bug: #1743688

Change-Id: I74575c6c6796f875bd4b5b36ced1563c46fb2e47
2018-01-23 16:51:39 +03:00
Jeremy Freudberg b4fb2c404c Use neutronclient for all network operations
Latest novaclient 8.0.0 removed nova-network
related functionality which Sahara depended on for
network operations, even for Neutron.

Now, use neutronclient (and Neutron resources in
Heat) for all network operations.

Additionally, fix devstack coordination backend.

Partially-Implements: bp sahara-remove-nova-network
Closes-Bug: #1692551
Co-Authored-By: Vitaly Gridnev <vgridnev@mirantis.com>
Change-Id: I6b8e12f0d33752e7790c5f40ebe6a3940ff1b0c1
2017-06-07 13:05:16 -04:00
Vitaly Gridnev 6eee9f9220 Add ability to install with Apache in devstack
Change-Id: I9e9bc6edaca948ea4af7868901f76623c8d0d9c5
2017-03-19 12:31:08 +00:00
Luigi Toscano fbd43c3acf Configure the publicURL instead of adminURL in devstack
A recent change in devstack reduced the number of endpoints configured
by default. See Ided7a65c81b3a0b56f0184847fc82e17c29a771e .

So use publicURL directly as suggested by Sean Dague.

Change-Id: I16ec6100f098f7cb7cddde9f5d41d4aa830e0029
2017-02-21 18:46:06 +01:00
Vitaly Gridnev 890f3416ce ability to configure endpoint type for services
this adds ability to configure endpoint type for
services in devstack by addition of new option for
that.

Closes-bug: 1573868
Change-Id: I9dfa6b636aeb1efb781fa20c674b39a6d2cda01f
2016-06-25 16:17:00 +00:00
Vitaly Gridnev 037ba02ea7 Remove hdp 2.0.6 plugin
Newton release is opened, so we can remove this
plugin from sahara codebase

Implements blueprint: remove-hdp206
Change-Id: I1ebf90e716964151c88de53d127789251bef066b
2016-05-17 23:28:12 +03:00
Jenkins 491c03d885 Merge "Enabling distributed periodics in devstack" 2016-02-29 13:59:10 +00:00
Andrey Pavlov de817542aa Enabling distributed periodics in devstack
Periodic tasks will be launched in distributed mode
by default

Partially-implements bp: distributed-periodics

Change-Id: Ib29d169daebcb846805a5baf3e0ef2c0051e8131
2016-02-09 16:27:34 +03:00
Sean Dague 11397d9be1 Revert "Enable sahara-dashboard devstack plugin in sahara plugin"
This adds in new upstream code that's not gated by the tempest layer4 this should never have been landed.

It is currently blocking the gate.

This reverts commit 0549e1aaee.

Change-Id: I65984d872f73cc73886d5882495ec9c42479baa8
2016-02-05 23:13:33 +00:00
Vitaly Gridnev 0549e1aaee Enable sahara-dashboard devstack plugin in sahara plugin
Change-Id: Ia8ae3aa0427e55db6eca7285f7c2f3ec816a9e9d
2016-01-14 15:34:15 +03:00
Vitaly Gridnev 14cb366225 Always enable heat service in devstack plugin
Change-Id: I250e3ed78c71826feed60b6fc3a8fca27495a0cf
2015-12-10 09:53:59 +00:00
msionkin c05e87f07b Fix bashate warnings
There were too many warnings in script. This patch fixes
E006 (check for lines longer than 79 columns) and
E042 (local declaration hides errors) bashate warnings.
Except some long URLs because splitting them up
doesn't increase code readability

Change-Id: I7838a820c2acea8ac31b5108296bfa26a439ac71
Partial-Bug: #1509271
2015-11-26 14:47:45 +03:00
Sergey Reshetnyak 368c2a8d36 Fix E005 bashate error
Change-Id: Ia7a85ae5308e3fc095e84daf729ea082eedb9c1a
Partial-bug: #1509271
2015-11-09 22:31:11 +03:00
Sergey Reshetnyak 4abbdaa69c Use distributed mode by default in devstack
Change-Id: Ie77e3bf06980c1495495b6e639b5857576b12f45
2015-10-08 16:52:08 +03:00
Sergey Lukjanov 5fbd0108d9 Make infra engine configurable in devstack plugin
Currently the infra engine conf value only depends on the
availability of the heat service, but sometimes (for testing) we'd
like to enforce one of the values.

Change-Id: I157a127448243dc01a4b26bdb84acceaea55a822
2015-08-18 17:28:46 +03:00
Sergey Reshetnyak f757d88c01 Fix installing python-saharaclient
Change-Id: I1eaf928176bccda213d9ca03062c3a3b5ec6eadc
2015-07-16 16:12:35 +03:00
Jenkins f86d633f94 Merge "Remove bin/ scripts support from in-tree devstack plugin" 2015-07-09 14:52:35 +00:00
Sergey Lukjanov 3c7e55eb07 Remove bin/ scripts support from in-tree devstack plugin
We're only using scripts exposed using console scripts in setup.cfg

Change-Id: I613967c2d42c2b1cf3ebbad49cb02437b0d2b4ee
2015-07-02 13:09:25 +03:00
Sergey Lukjanov 73069478b4 Enable all plugins in devstack code
Change-Id: Ic86636ee85ca3a934a9a9a96e2d9df10cd419f5e
2015-07-02 12:57:28 +03:00
Sergey Lukjanov 2f6e0b5e5e Add in-tree Devstack plugin
It's part of the moving Devstack Sahara plugin from Devstack to
Sahara repo.

Partial-Implements: bp sahara-devstack-intree

Change-Id: I60ad5cb7041708fd7643cd3881b9f41d74164eec
2015-07-01 14:24:59 +03:00