The method is known to be problematic, and it is going to be
deprecated:
http://lists.openstack.org/pipermail/openstack-operators/2018-November/016139.html
Moreover, its usage in Sahara produces some nasty side-effects
when Python 3.x is used. The provisioning of the clusters ends
abruptly when sahara-engine tries to update the status in the
database, with a failure inside oslo_i18n.
Change-Id: Icd2f22a0cb9e7642099600eeb38d3090d046c304
Story: 2004657
Task: 28613
Now calling launch_api_service and service.start() for
sahara-api when launching sahara-all to get the
api server to start, even in debug mode.
Change-Id: I8668a70b99e3f1fba98ec9df783b7962b9632037
Closes-Bug: #1521266
Changes:
* using oslo_config instead of oslo.config
* using oslo_concurrency instead of oslo.concurrency
* using oslo_db instead of oslo.db
* using oslo_i18n instead of oslo.i18n
* using oslo_messaging instead of oslo.messaging
* using oslo_middleware instead of oslo.middleware
* using oslo_serialization instead of oslo.serialization
* using oslo_utils instead of oslo.utils
Change-Id: Ib0f18603ca5b0885256a39a96a3620d05260a272
Closes-bug: #1414587
oslo.log was added to global requirements, so we can migrate to this module.
Also we need this migration to be ensure that it works correctly with
log-improvements.
Since openstack.common.log is not dropped in oslo-incubator,
we shouldn't remove it.
Change-Id: I90468e4db812ae0b5d8a43a37206b236f8904661
Closes-bug: #1412673
* Added policy oslo module
* Added related config options to sample file
* Enabled policy enforcement for all API calls
* Changed error rendering for access violations
Implements blueprint: auth-policy
Change-Id: Idb27eb052b1f598c3cb688bae1debcaaebe13aa5
Periodics should run in engine, not in api, because they don't
interact with the user. On the other hand they do require remote
operations.
Change-Id: I00273de0632ee99ca21e9ddd796755172af2a4da
Split monolitic sahara-api into two services: sahara-api and
sahara-engine. The former is a user-facing interface, the later -
service doing all the work. Sahara-api sends tasks to sahara-engine
via oslo.messaging. See the blueprint for details.
Notes:
* Used the following Climate RPC code as a baseline:
https://github.com/stackforge/climate/blob/master/climate/utils/service.py
hence added Julien Danjou to licence header.
* Removed the old contents of sahara/utils/rpc.py - that is a prehistoric
stuff not used anywhere.
* sahara-api still depends on eventlet, while we want to drop this dependency
in the end.
* periodics run in sahara-api. They shold be moved to engine later.
Partially Implements: blueprint scalable-savanna
Change-Id: I64275a757b539f3fcddd6e993d6614d492745226