Commit Graph

28 Commits

Author SHA1 Message Date
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
Nicolas Haller 059457e878 Fix a typo on Storm plugin cluster info (Strom -> Storm)
Change-Id: I03a11ce2e88ad895504301c00c6ddd67984e1021
2018-10-04 11:03:02 -04:00
Telles Nobrega b6504eee92 Adding Storm 1.2.0 and 1.2.1
Adding new versions of Storm to sahara.

Change-Id: I7f4a96f2dc8cb66468866f77e3d4091d2a8d19d1
2018-07-12 15:18:55 -03:00
Telles Nobrega 17509c3626 Updating plugins status for Rocky
For Rocky we are removing some plugins versions:

- CDH: removing 5.5.0
- MapR: removing 5.1.0
- Spark: removing 1.3.1
- Storm: removing 0.9.2

Also, we are marking some versions as deprecated:

- CDH: deprecating 5.7.0
- Spark: deprecating 1.6.0 and 2.1
- Storm: deprecating 1.0.1

Change-Id: I2dcec1344db4225263be179366eb408d62b9e108
2018-06-13 17:14:46 -03:00
Jenkins c998c68c14 Merge "Adding labels support to Storm" 2017-04-21 10:28:10 +00:00
Jenkins 2b97b5d95c Merge "Added support to Storm 1.1.0" 2017-04-18 15:49:33 +00:00
lcsong 8b4af0daf3 Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, _LW and _LC translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

It will be a giant patch if all these _LE, _LI, _LW and _LC being deleted
within one patch, so this patch only delete _LI; _LW, _LC and _LE has been
handled in previous patchies. This is the last patch for sahara to delete
log translations.

Change-Id: I73e99ca7fd5bc0cd8df7cce30b5f12e00e70149c
2017-04-18 10:56:48 +08:00
Telles Nobrega 55dc2d8dc2 Adding labels support to Storm
Adding support to labels to the Storm plugin as well as marking storm
version 0.9.2 as deprecated.

Change-Id: If58ddce1324341da48fb1d1d3da3d456316c1d10
2017-04-06 16:28:27 -03:00
Telles Nobrega 5cadd6eae2 Added support to Storm 1.1.0
Adding support for Storm 1.1.0 and tests as well

Change-Id: I627090dd1d69f548af47d6743a1e135e0e320def
2017-04-06 15:53:25 -03:00
Shu Yingya 48a88ea0d4 [storm] improve nimbus validation
Right now, storm cluster can exist exactly 1 nimbus node.
If user creates a cluster with 2 nimbus nodes,
"Missing nimbus service" will prompt.
The error message is ambiguous.

Change-Id: I674a23d9932659d56292ceb4340eb10b0bced727
2017-04-01 23:16:22 +08:00
gecong1973 53c5089a03 Remove unused config.CONF
This patch remove unused config.CONF to
keep code clean

Change-Id: Ibacc1539b1001ea09550b56f7f26a09814cd53e6
2016-08-31 09:04:00 +08:00
Michael Ionkin d9a2f00d2d Designate integration
This patch implements designate integration. Added:
* 'use_designate' and 'nameservers' configs
* 'domain_name' column to Cluster and Cluster Templates and
  'dns_hostname' to Instance in DB
* get_management_ip() method for Instance for properly setup
  hostnames in cluster info and use it in ambari, cdh, mapr, spark,
  storm and vanilla plugins
* method for change /etc/resolv.conf on all cluster instances
  according to 'nameservers' config
* method for generate heat template for designate A and PTR records
* validation check for cluster template creation because now it
  contains new field - 'domain_name'
* fix unit tests appropriatly and new tests added
* updated heat_template_version to '2016-04-08' (because we use
  'str_split' method)

NOTE: in spec we proposed to use two domains: one for internal
resolution and another for external. But we decided to use only one
domain for both sides so an instance will have one hostname in the
domain and two appropriate A records because it's more convenient.

bp: designate-integration
Change-Id: I66525c0305450d8ba08840be1c95bfe79f21fff7
2016-08-02 18:53:25 +03:00
Telles Nobrega 4bb6437f9a Changing zookeeper path while updating conf
Zookeeper path is hardcoded but we recently changed the path to avoid
having to update the path every time zookeeper changed versions. We
forgot to update this path in one place which causes the cluster to fail
to scale. The patch fix that

Change-Id: Idde36e39ac4c2e2e006b4a92d92e77440666c314
Closes-bug: #1607386
2016-07-28 15:20:26 +00:00
Telles Nobrega 024694539f Adding Pyleus configs to Storm plugin
In order to use Pyleus we need to have it installed on image during image
generation process and have some configurations done.
This patch configures pylues on the master node.

Change-Id: Id45c4878e3a115284192a8a83196df74cc05dbe7
2016-07-14 16:07:17 -03:00
Telles Nobrega 9789e6c596 Adding Python Jobs using Pyleus
In order to allow user to develop storm topologies that we can also can
call storm jobs in a pure python form we are adding support to Pyleus in
Sahara.
Pyleus is a framework that allows the creation of Storm topologies in
python and uses yaml to wire how the flow is going to work.

Change-Id: I3a657164c91f1c7705d47882a1334925adf8db39
Partially-implements: blueprint python-storm-jobs
2016-07-11 21:21:09 -03:00
Telles Nobrega 3f43a76227 Upgrade Storm plugin to version 1.0.1
This is the last part of upgrading Strom to version 1.0.1.

Change-Id: I74660f5734100c04066e1a96f46cddf3f9de0f10
Partially-implements: blueprint upgrade-storm-1-0-1
2016-06-30 15:58:08 -03:00
Javeme 3cb08bc52b Ensure default arguments are not mutable
* add hacking check: no_mutable_default_args()
* remove the mutable default arguments "[]" or "{}" when the function
  is defined.

ref: http://docs.python-guide.org/en/latest/writing/gotchas/

Closes-Bug: #1530282
Change-Id: Ice6f7654211b73d7f8bc3ca0e4dfae3dca354397
2015-12-31 15:56:11 +08:00
Telles Nobrega 6b4effee93 Get Open Ports for Storm
This patch implements the get_open_ports method to allow storm to be used with
auto_security_groups.

Closes-bug: #1503709

Change-Id: I4939ee9c7d53f760ee654792e017c294a288be0f
2015-10-26 22:05:52 -03:00
Ken Chen 5a62575049 Change zk_instance to zk_instances in storm plugin
get_instances will return a list, so we use zk_instances instead
of zk_instance. We remove the "if" check for method
_start_zookeeper_processes already checks zk_instances.

Change-Id: Iac48dcad3439871ab3bc8479bed715fe14625c1d
2015-07-23 13:12:42 +08:00
Telles Nobrega 559f2f1e55 Implementation of Storm scaling
Implementation of Storm scaling. This will allow users to quickly scale
a storm cluster.

Change-Id: Id2f00e0aadc8aac5c79ebec5e55e13c2964c7fec
Implements: bp storm-scaling
2015-05-13 09:52:28 -03:00
Telles Nobrega 252b311dfc Storm EDP implementation
Implementation of Storm EDP. This will allow users to submit Storm Jobs
via UI.
This patch implements the EDP engine, Storm Job Type.

Implements: bp storm-edp

Change-Id: I7d5937f26df715ef66826396a6387ab512af1f47
2015-04-29 17:14:58 -03:00
Nikolay Starodubtsev ce62f364cd Rewrite log levels and messages
This is an initial commit to make sahara logs relevant to new
logging spec.
We need to change some log levels to become closer to the spec, also
we need to change some log messages (e.g. for INFO level).

partially-implement bp new-style-logging

Change-Id: I8e7b7c4c3f375648d2999b1d0e19b68390cc22a8
2015-03-12 17:16:06 +03:00
Vitaly Gridnev 0244234f6d Add provisioning steps to Storm plugin
Partially implements blueprint event-log

Change-Id: I82a02ef24bf96183d6592355abb05835625810da
2015-02-21 11:32:45 +00:00
Telles Nobrega ea93a789cb Changing zookeeper to not use version number
Sahara-image-elements removed zookeeper's version number from the folder
name. Storm needs to adapt to that.

Depends on the patch from sahara-image-elements #154889
Change-Id: Ibb39a7b10ea590d817e0ca4db8f6cce812c50687
Closes-bug: #1420838
2015-02-11 15:43:32 -03:00
Andrey Pavlov 5c5491f9de Using oslo_* instead of oslo.*
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
2015-02-04 13:19:28 +03:00
Vitaly Gridnev a0c4d13e90 Migrate to oslo.log
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
2015-01-27 11:09:10 +03:00
Telles Nobrega 49400a30da Removing unecessary check
The check for the port is not necessary in this context.
This patch removes it

Change-Id: Ie2b8e69ba7d017d66f214727dc06ded64dcb9215
Closes-bug: #1400822
2014-12-09 15:24:55 -03:00
Telles Nobrega 7dc31d33a4 Storm integration
This patch implements the Storm plugin.

Implements: bp storm-integration
Change-Id: I65e76b7c4d63e2fd0c4a52ec2a198a7510ccbaad
2014-12-04 08:30:33 -03:00