3146 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
f58087bbb1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I50c6947281cf18231d859acff793d5a6c46d0dd5
1.0.2 stein-em stein-eol
2019-12-12 08:54:42 +00:00
Telles Nobrega
24e39c247d Fixing image creation
Updating image creation to keep compatibility with some package changes.

Story: #2006752
Task: #37236
Change-Id: I23c8d14dce45d003fdfb58fed6591e937b27abab
(cherry picked from commit 2cf6806c1829bf1ac0915f78ec319f07967f254b)
2019-11-06 14:35:21 +01:00
Telles Nobrega
ee926298ea Python 3 compatibility fixes
Fixes on MapR plugin to fit python3 compatibility.

Story: #2005902
Task: #36069
Change-Id: Ibc9f517425b05d5e22718b0f1581c33d8b436f21
(cherry picked from commit 8905dd368e6a518ce9c0456c9c41adf53d9dff9d)
1.0.1
2019-08-30 17:01:45 +02:00
Telles Nobrega
1f92ebb034 Check MariaDB installation
Checking if MariaDB is installed before trying to install it.

Story: #2005902
Task: #33764

Change-Id: I20eeac76373058eca0c33da11eb1e9dfce91de54
(cherry picked from commit 7df4957949fed406b708b850677a4a41d7926690)
2019-08-12 22:22:04 +02:00
OpenDev Sysadmins
7f4e060dd3 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:42:09 +00:00
f58b924644 Update UPPER_CONSTRAINTS_FILE for stable/stein
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/stein branch, tests will
continue to use the upper-constraints list on master.

Change-Id: Ia7d2303cd3cfc2ccbae2f096ff16e80a2ca525dc
2019-03-20 04:49:36 +00:00
6d754bd038 Update .gitreview for stable/stein
Change-Id: If73b922d45cfd821f82a5598c433cbb82132d49f
2019-03-20 04:49:34 +00:00
Telles Nobrega
1f4353f158 Small fixes on MapR image gen.
Updating the java install script and also fixing function call that is
not working on ubuntu image generation.

Change-Id: Ic6d3853e7137f5a2140628aa32e8f07428547527
1.0.0.0b1 1.0.0.0rc1 1.0.0
2019-03-06 13:56:42 -03:00
Zuul
03b85b75bb Merge "Adding compatibility to MariaDB" 2019-03-06 13:30:16 +00:00
Telles Nobrega
5de8849622 Adding compatibility to MariaDB
Hue service requires access to libs that is not supported anymore on
MariaDB. The compatibility rpm fixes that.

Change-Id: I93c2eaf1413e40063007ebd8cb31a7b049da5dd3
2019-03-04 11:35:08 +00:00
ZhongShengping
75e2ff46ea add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html
Story: #2004073
Task: #27450

Change-Id: I45e399d14e0c833e0d3710675e4d4cac6e290b1e
2019-02-28 17:43:14 +01:00
Luigi Toscano
5445169d79 Reduce the dependencies, add more common Zuul jobs
The requirements files have been mostly copied from sahara.git,
but most of the dependencies are not needed.

Refresh the content of lower-constraints.txt and ensure that
the lower-constraints tox environment considers also the doc
dependencies.

Explicitly depend on the pre-release of Sahara for Stein.

Add few more jobs to avoid breakages, namely:
- add check-requirements and openstack-lower-constraints-jobs;
- replace tempest-plugin-jobs with openstack-python-jobs,
  openstack-python35-jobs and openstack-python36-jobs
  now that it is possible to depend on sahara.

Change-Id: I087151df07044d9012a6a89bab9925c194b622cd
2019-02-05 20:03:38 +01:00
Zuul
a15f87cacc Merge "Migrate away from oslo_i18n.enable_lazy()" 2019-01-17 14:16:52 +00:00
Telles Nobrega
1f86905eb7 Migrate away from oslo_i18n.enable_lazy()
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: I4ace7936251449e468fc2153bb048a2b90940539
2019-01-17 10:54:21 -03:00
Luigi Toscano
ee20ab7ae6 Fix translations: add the babel.cfg file
Change-Id: I74e290f442e04a5a6a0535c3cc61438c7c385245
2019-01-15 15:28:35 +01:00
Luigi Toscano
542e7e78ba Post-import fixes: name, license, doc, translations
- fix the name of the module in setup.cfg, according the correct
  pattern (otherwise the name of the directory is not correct);
- add LICENSE file, required by (at least some) distributions;
- setup the translations;
- fix the name of the manpage, use the name of the module;
- add the classifier for Python 3.6.

Change-Id: I37d205c2d900600674d3862eba61c3c017e5d538
2019-01-14 23:32:26 +01:00
Telles Nobrega
ae590bac87 Updating plugin documentation and release notes
Updating documentation to reflect what it means to the Sahara project,
and make it build again.
Also cleaning up release notes so we can start fresh.

Change-Id: Icfffefd5e753b8455c0307c38ca5dc16ba35ed67
2019-01-08 22:47:27 -03:00
Luigi Toscano
81603e60cd Add .gitreview and basic Zuul jobs
Most important tempest-plugin-jobs, which looks like openstack-python-jobs
but without the py27 job, which is failing right now (waiting for
the sahara patch which exports the plugin interface).

Change-Id: If5731e14c8c0b68a3380b31c33d0b04a5be48c6e
2019-01-08 14:31:22 +01:00
Telles Nobrega
40fd2aa34e Plugins splitted from sahara core
Change-Id: I43e0beec6508f93a436a150749bfa23571986b9d
2019-01-03 14:54:12 -03:00
Zuul
31aa7c01f2 Merge "Bump the version of hacking to 1.1.0, with few fixes" 2018-12-19 21:04:48 +00:00
Zuul
47321bb656 Merge "Update devel info: mailing list, meeting time" 2018-12-04 12:27:13 +00:00
Luigi Toscano
2e157d900a Bump the version of hacking to 1.1.0, with few fixes
Also switch to pycodestyle from pep8 which requires a bump
of the the version of flake8 too.

Skip the following checks for now:
- E123 Closing bracket does not match indentation of opening bracket's line
- E226 Missing whitespace around arithmetic operator
- E402 Module level import not at top of file
- E731 Do not assign a lambda expression, use a def
- W503 Line break occurred before a binary operator

They should be probably revisited and fixed, if possible,
or skipped individually using # noqa

The following checks reported a limited number of errors and
they were fixed directly in this review:
- E241 Multiple spaces after ','
- E501 Line too long (82 > 79 characters)

Change-Id: I1f185d2efd1adf27a26e3ac93f2e1011c0b63124
2018-11-26 19:03:02 +01:00
Zuul
3ae4c1d6eb Merge "Add python 3.6 unit test job" 2018-11-21 23:09:35 +00:00
Zuul
7ff0151242 Merge "Update http link to https" 2018-11-21 22:32:42 +00:00
Luigi Toscano
f6218ef321 Update devel info: mailing list, meeting time
- The new openstack-discuss mailing list is going to replace few
  mailing lists, including openstack-dev.
- There is only one meeting time now (1400UTC).

Change-Id: I14c5d37ae7f59095d00a7b26fa0a0fc23b01a33a
2018-11-21 18:35:53 +01:00
Zuul
faf92eed9b Merge "Increase the startup time of ambari-server to 180s" 2018-11-16 20:07:50 +00:00
Nguyen Hai Truong
b7db9a9f87 Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ia9927693c1ef48e04b8eaa8d0754ce294f41cd97
2018-11-07 19:07:55 -08:00
Zuul
f0f292f3e3 Merge "Add framework for sahara-status upgrade check" 2018-10-22 14:02:21 +00:00
akhiljain23
fd0d8e9b69 Add framework for sahara-status upgrade check
This commit adds the functionality of sahara-status CLI for performing
upgrade checks as part of the Stein cycle upgrade-checkers goal.
It only includes a sample check which must be replaced by real checks in
future.

Change-Id: Idcb8d9eaf689800812cf6087e9c5937058c89ea6
Story: 2003657
Task: 26152
2018-10-19 14:08:44 +00:00
Luigi Toscano
fb0ba78929 doc: restructure the image building documentation
Main goal: consolidate the information about image
building under the same documentation page, and move
plugin-specific details inside plugin pages.
No plugin-specific information should live outside
those pages.

More details:
- move the detailed documentation about sahara-image-pack
  from the contributor guide to the new dedicated page
  in the user manual;
- remove the vanilla and cdh pages which describes building
  images with sahara-image-create, and move the common
  information to new sahara-image-create page
  in the user manual;
- add the matrix of supported plugin versions and
  supported building technology for each plugin inside
  the respective <plugin>-plugin.rst;
- add the redirects for the removed pages (only for master
  and rocky, where this change should be backported).
- remove few details not really needed (e.g. how to convert
  to VMDK images, location of cloud-init packages, etc,
  which do not really belong here).

Change-Id: I8398a7ad625276d8f11d743688ba71902a7e1adc
2018-10-18 15:15:35 +02:00
Zuul
084c019f0b Merge "Fixing image validation for Ambari 2.3" 2018-10-18 03:04:45 +00:00
Andreas Jaeger
5faffe15e4 Cleanup tox.ini constraint handling
Use the "modern" way of contraints setup and remove double setting of
constraints (in install_command and deps) for some environments.

Remove also -U from pip install command, it can break with constraints
and update required packages.

Change-Id: I2412a02dcba40a3128f9af766e27c046ce3d3f25
2018-10-17 12:50:31 +02:00
Zuul
679f8a1466 Merge "Fix a typo on Storm plugin cluster info (Strom -> Storm)" 2018-10-04 20:17:55 +00:00
Luigi Toscano
594b6381c8 sahara-image-pack: use curl for tarballs.openstack.org
It seems that wget throws some errors from time to time when getting
content from tarballs.openstack.org.
The errors are SSL-related, maybe some interaction between the SSL libaries
of the libguestfs appliance and the load balancing configuration
of tarballs.openstack.org (SNI-based).
curl seems to be immune, so let's use it.

Story: 2003961
Task: 26890
Change-Id: Ia5793a4be8cde352329e861c46de8c4eeac4312e
2018-10-04 10:47:12 +02:00
Nicolas Haller
e25fc04848 sahara-image-pack: remove bashisms from shell scripts
During image generation, some shell scripts are run inside the image
(e.g. wget_repo). Those scripts are run with /bin/sh but some parts are
written with Bash-specific syntax. This commit replaces those parts by
sh-compliant syntaxes.

Change-Id: If64b85c7b026a70c99190a2cb6487e3f1b865928
Story: #2003893
Task: #26767
Task: #26776
2018-09-28 10:24:24 -04:00
Zuul
95ad1c8bc4 Merge "Add template param for ambari pkg install timeout" 2018-09-24 15:41:44 +00:00
Zuul
f52ff59511 Merge "Use templates lower-constraints, update cover job" 2018-09-20 15:57:21 +00:00
Zuul
1a12a9eba8 Merge "grenade: relevant fixes for master (sahara-api/apache)" 2018-09-20 15:57:20 +00:00
Luigi Toscano
e961cbef15 doc: update distro information and cloud-init users
- centralize the information about the default cloud-init users
  for various distributions to point to the existing specialized
  page;
- remove all CentOS 6 and Ubuntu 12.04 (Precise) references, and
  do not refer to Ubuntu 14.04 for the vanilla plugin;
- add Ubuntu 16.04 (Xenial) details when needed;
- update the pointers to few packages.

Change-Id: I4654e6ec2821bcec5207f41b93c5d0f0633ba18c
2018-09-13 23:05:20 +02:00
Zuul
7e03ad16c5 Merge "Adapt to Keystone changes: use member instead of Member" 2018-08-23 17:23:09 +00:00
Zuul
30b8ce738a Merge "Fixing anti-affinity for Sahara" 2018-08-23 17:23:07 +00:00
Zuul
9744f4dc19 Merge "Update reno for stable/rocky" 2018-08-10 12:25:10 +00:00
OpenStack Proposal Bot
cb9a9a70a6 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id232e0d13db035594b7458f0b2ae789659413890
2018-08-10 06:19:47 +00:00
a2ae114981 Update reno for stable/rocky
Change-Id: I80c274e70512bd6088f14572e3c6b03f00b63262
2018-08-10 03:12:43 +00:00
Zuul
7fcef056f4 Merge "Add some S3 doc" 2018-08-09 15:19:24 +00:00
OpenStack Proposal Bot
5d69a990a3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I7248fc6007eb179413200e0d92276553ca094ba4
2018-08-09 06:14:47 +00:00
Zuul
6aa14b7ef8 Merge "Enable mutable config in sahara" 2018-07-26 04:22:14 +00:00
Zuul
e5c403bf49 Merge "Unversioned endpoint recommendation" 2018-07-25 16:00:23 +00:00
Zuul
003b6e07f9 Merge "Replace the deleted keypair in clusters for API v2" 2018-07-25 14:12:46 +00:00
Zuul
dccc6aada2 Merge "Adding Ambari 2.6 to image pack" 2018-07-25 12:58:26 +00:00