Commit Graph

136 Commits

Author SHA1 Message Date
Andreas Jaeger 854b3c5d37 Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

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/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: Iffe3a7de281b48693606fe0c84ebec8190018167
2019-12-18 09:41:48 +01:00
Mykyta Karpin 920cf3c656 Use Puppet 4.5.2 in puppet4 noop tests
As we plan to package puppet 4.5.2,
we need to run noop tests with this version
instead of 4.5.0.

Change-Id: I4b5303166b028205c004cf50f7b47416d47ac312
2017-02-02 11:34:11 +02:00
pangliye ef6f4710fe Update author,author-email,home-page in setup.cfg
Change-Id: I7bff98b9fe89134ba1820807946e95a94e2f8517
2016-12-14 14:27:37 +08:00
Cao Xuan Hoang 0cece75de8 Files with no code must be left completely empty
As per OpenStack licensing guide lines [1]:
[H104] Files with no code shouldn't contain any license header nor
comments, and must be left completely empty.
[H102 H103] Newly contributed Source Code should be licensed under
the Apache 2.0 license.

[1] http://docs.openstack.org/developer/hacking/#openstack-licensing

Change-Id: I2b4749b688468a042111e8e21fa8d12c16b161ee
2016-09-30 15:57:02 +07:00
Nguyen Hung Phuong 1570eed4a7 Clean imports in code
This patch set modifies lines which are importing objects instead
of modules. As per openstack import guide lines, user should import
modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I863d4433a69712cfda5f8df89e55a6ca2f820f64
2016-09-07 09:56:40 +07:00
Dmitry Ilyin 7d2edeefc1 Puppet4 support: fix noop launcher.
Prevent false positive results in cases when something
is wrong with the environment and tests have not started at all.

Change-Id: Icb8cd6ebe523ef51505ab2c7daadb10c62aa220f
Related-Bug: 1586480
2016-09-03 06:33:40 -05:00
Dmitry Ilyin 24048bc2f5 Puppet4 support: noop tests fixes
* Disable STRICT_VARIABLE checks.
* Switch to the Puppet version 4.5.0
* Disable Noop tests for Puppet4
  they should be moved to a separate job

Related-Bug: 1586480
Change-Id: Ib540dc243647fffeb4b2d101f9f902b9e4c1c104
2016-09-01 03:36:45 +00:00
Dmitry Ilyin d03bf40521 Puppet4 support: support files
* enable both Puppet4 and Puppet3 noop tests
* Rake support
* Module and gem versions
* Script improvements

Change-Id: Ib3db0e8491a34851ba86f9364131d84ed7abf2ee
Related-Bug: 1586480
2016-08-30 19:02:07 +00:00
Stanislaw Bogatkin d5891879a8 Implement yaql tests
As we already have yaql expression almost in each task, implement
basic syntax tests for these expressions.

Change-Id: Idb7768eca9be3def4783a70b2ef3b1dafc0d0510
Closes-Bug: #1588910
DocImpact
2016-06-27 18:54:44 +00:00
Alexander Arzhanov 8febf5a5c7 Update cinder-vmware conf for cinder multi backend
* Update cinder-vmware conf for cinder multi backend
* Fix the spec framework for this module so the
  spec can be actually used
* Disable non-working specs in the vmware modules
  somebody should fix them later.
* Add spec for vmware::cinder::vmdk
  It tests only this templates and
  should be finished later too.
* Enable spec for this module in the Fuel CI

Change-Id: Id3b8cdb10acd0d7a63a085c03795169c5f304c13
Closes-Bug: #1569874
Closes-Bug: #1496009
2016-04-28 18:14:02 +00:00
Jenkins cf36967458 Merge "Don't use 'include' syntax in tasks" 2016-04-21 07:43:17 +00:00
Dmitry Ilyin ca7fc7c472 Don't use 'include' syntax in tasks
Using Include and Require functions for class
declaration allows the class to me declared many
times within a single manifest without any
duplicate decalration error. But the cost of this
is that the file and line where the class is declared
is not saved in the catalog object.

The Coverage parser cannot determine if this class was
declared in the particular task and skips these classes
making the coverage report in the Noop tests much less
relevant.

Change-Id: Ie5d5ced4a9225bda5b0bf6c2a733c0d44c48118c
2016-04-08 16:27:46 +03:00
Sergii Golovatiuk aaca159af1 Remove mellanox_openstack from library
- Mellanox functionality was moved to plugin. Tasks were deprecated in
   8.0. This patch removes orphaned manifest

Change-Id: Iec4ca60310e6df352401ed7465c1784acc4a2ad9
Closes-Bug: 1567482
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
2016-04-07 16:54:55 +02:00
Jenkins 6fc89c82a7 Merge "Remove task_graph.py" 2016-03-30 15:10:09 +00:00
Dmitry Ilyin 27788d3a35 Remove task_graph.py
* It's not supported and should not be used
Closes-Bug: 1563455

Change-Id: I96374091f077b24dfd5b4cd1865505da89749cbc
2016-03-29 17:02:11 +00:00
iberezovskiy 36eb3a8ee5 Pull stable/mitaka branch of puppet modules
We should switch to stable/mitaka branch of puppet modules
for stable/mitaka branch of Fuel. Once the development of
Newton Fuel will be started the refs will be returned to master.

Change-Id: If9ce7009acab8cf83a9b82e1347447adefb18e5b
2016-03-28 16:15:35 +00:00
Jenkins 9db0671c28 Merge "Remove disabled rake lint module" 2016-03-07 13:09:22 +00:00
Artem Panchenko dad7ff3bbd Configure Hiera on master and remove legacy stuff
All puppet stuff related to dynamic dnsmasq feature
was moved to 'fuel' module after Docker removal.
Also it's necessary to setup Hiera DB on master node
in order to get manifests for update DHCP ranges work.

Change-Id: Ic2b90ff3464a6cb5a83c660386e6da47f90e0f88
Closes-bug: #1549409
2016-03-03 17:11:02 +00:00
Bartosz Kupidura 950c51fe8c Remove disabled rake lint module
This was introduced https://review.openstack.org/#/c/224857/
now we can revert it.

Change-Id: If21ca9750b2cc925432c44c7a2898fea0f0445e5
2016-03-03 15:54:10 +00:00
Vladimir Kuklin 2f2239025a Refactor to pcmk_ resources
Use pcmk_* resources from the new pacemaker module
instead of the old cs_* resources from the upstream
corosync modules and custom cs_rsc_* resources from the
duct tape patched corosync module.

The new pacemaker module is rewritten from the scratch
and provides improved performance, transparency and
debuggability. It uses it's own XML engine and depends
neither on "pcs" nor on "crm" applications.

"corosync" modules will still be used to install the
corosync cluster, and the "pacemaker" modules will
be used to work with the cluster's configuration.

Refactor pacemaker services to use pacemaker::service
wrapper. It controlls primitive creation and run in the
uniform way and creates ocf_handler helpers for
manual primitive management.

Add run_failed_log feature to fuel_noop_tests to
replay the failed tests after they were fixed.

Change-Id: Ifd5813c657031cdd7b86368cd971742483a5b8a1
Related-Bug: 1414583
Related-Bug: 1453773
Related-Bug: 1482248
2016-03-03 00:22:48 +00:00
Bogdan Dobrelya 1d5bc2a792 Fix noop tests run settings
Do not put debug messages.
Show all test results instead of failed only.
Align concurency to cpucount.
Also fix bashisms in rm commands.

Related blueprint: deployment-data-dryrun

Change-Id: I05438471873efb44e7432c6544ea44919e6e0a8c
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-02-26 17:31:49 +00:00
Jenkins 22083c570c Merge "Update logparse to the current modular logs" 2016-02-26 10:43:30 +00:00
Jenkins 7050ae4820 Merge "Remove heat_ha from ignore file" 2016-02-25 13:54:24 +00:00
Jenkins 98bdf29e0f Merge "Update requirements for fuel-tasklib." 2016-02-22 11:32:31 +00:00
Jenkins c282f86366 Merge "Switch to external noop tests" 2016-02-18 10:02:09 +00:00
iberezovskiy 31686dceb7 Update horizon and neutron manifests to support Mitaka
It's incompatible with MOS Liberty change.

Key items:
 * switch puppet-horizon module to master

 * always run collectstatic&compress for MOS/UCA packages

 * remove workaround for openstack-dashboard-apache package:
   Liberty MOS packages didn't contain 'openstack-dashboard-apache' package,
   but Mitaka MOS contains and it will be installed by default because
   os_package_type for MOS is 'debian':
   https://github.com/openstack/puppet-horizon/blob/master/manifests/params.pp#L32-L34
   For UCA packages we are using os_package_type set to 'ubuntu', so UCA isn't affected.

 * remove workaround for neutron packages:
   Naming scheme for Liberty MOS packages was aligned with UCA,
   for Mitaka MOS it's aligned with debian:
   https://github.com/openstack/puppet-neutron/blob/master/manifests/params.pp#L104-L107
   UCA packages are still not affected because of os_package_type set to 'ubuntu'.

Closes-Bug: #1517508

Partial-blueprint: puppet-mitaka-modules

Change-Id: I45274034b158171cd390d82dd78d707c98510e23
2016-02-17 13:49:45 +03:00
Dmitry Ilyin a041b2b71f Switch to external noop tests
* Use external noop tests library and fixtures
* Corrections and fixes for the spec library to make it work

Partial blueprint: deployment-data-dryrun
Fuel-CI: disable
Change-Id: Ie8d1f80bbee04b9bacb43ba4fa39a423624a8301
2016-02-16 20:10:10 +03:00
Alex Schultz 5f73ce5e5d Remove heat_ha from ignore file
Since removing this module, we no longer need this exception.

Change-Id: Ie651a6484b254d9bd09d389eaa4dc23a8280ca33
Related-Blueprint: granular-task-idempotency
2016-02-16 09:44:45 -07:00
Alex Schultz 569ebdb59d Make heat task idempotent
This change updates the heat task to be idempotent. In order to do this,
we have changed the wait_for_heat_config exec to be refresh only and is
now only triggered if configuration changes are done. Additionally this
change cleans up the pacemaker integration for heat and moves it into
the cluster module. With the addition to the cluster module, unit tests
have been added to the new cluster::heat_engine class.

The resources that were always being executed prior to this change:
 - Cs_resource[p_heat-engine]
 - Exec[wait_for_heat_config]

Change-Id: Ie0f7137206f2733259bff7b0c2c86fb1634add76
Related-Blueprint: granular-task-idempotency
2016-02-12 13:22:06 -07:00
Julia Varlamova 60e391dfeb Update requirements for fuel-tasklib.
Update version of 'networkx' package from requirements.txt,
'mock' package from test-requirements.txt.
Remove 'argparse' from requirements.txt as it's included in Python 2.7.

Change-Id: I042c223feddd6218beab6904c34d222ec3f1bd67
Closes-bug: #1542814
2016-02-11 15:21:32 +00:00
Maksim Malchuk 4157206f3e Rakefile now support Puppetfile to skip tests
This commit adds support to automatically exclude modules
defined in the fuel-library Puppetfile from rspec and
lint tests.

Change-Id: I398c7824d3cfb76002eaed962b9161252a14a529
Closes-Bug: #1540573
2016-02-03 23:56:55 +03:00
Dmitry Ilyin 3beeb1c281 Update logparse to the current modular logs
Change-Id: I90277ba5d45e3fd0ae8c96034333cf5a219acbd6
Fuel-CI: disable
2016-02-03 14:00:19 +00:00
Jenkins f04c1f2d02 Merge "Use upstream puppetlabs-rabbitmq" 2016-02-02 15:49:32 +00:00
Bogdan Dobrelya b97ffa5499 Use upstream puppetlabs-rabbitmq
We want no more downstream efforts for the module.
All patches shall be sent upstream only now.

Closes-bug: #1534560

Change-Id: I82753a625672635de2ddd340d60d7fbe344ad50a
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-02-02 11:47:38 +01:00
slava 8084c47946 Run 'setup_repositories' task on all nodes
Change-Id: I111292a6a5a1eb9038906b73e19dce90f46d60f0
Closes-Bug: #1536805
2016-01-27 17:48:52 +03:00
Igor Belikov f26a6b23b0 Switch librarian git links to github mirror
This change also updates the puppetfile validation script to allow for
github.com/fuel-infra

Change-Id: I274ec4c2f12b9effb76d59499d58ee713c78664d
Related-Bug: #1535832
Co-Authored-By: Alex Schultz <aschultz@mirantis.com>
2016-01-25 15:12:41 +00:00
Alex Schultz abd991b230 Update CI tasks and module fixtures
This change updates the fixtures files for the modules within
fuel-library to use the relative path to the upstream modules used by
fuel-library. With this change we are also adding an initial prep task
that is used by CI to pull down all the modules first and only one time
to reduce the amount of repeated calls to the upstream git repositories.

Included in this change is also an update to exclude all the upstream
modules from the spec and lint tasks as those are maintained in the
upstream modules and should not be done when testing fuel-library.

This change also adds documentation to the README.md on how to run the
tests from the root of fuel-library.

Change-Id: I9cde21b94a8367fd45cf046af48d7618076a385c
Related-Bug: #1535832
2016-01-25 15:11:37 +00:00
Maksim Malchuk 155d99443e Support 'nested_classes_or_defines' test for Puppet4
This commit enable 'nested_classes_or_defines' test in
'fuel_syntax_check'.

Change-Id: Ia038a23ed4b3b7c7bb8a96f8afbd7e421a43993c
Partial-Bug: #1533332
2016-01-13 20:38:47 +03:00
Jenkins 06323b2879 Merge "Prepare noop tests for external fixtures" 2015-12-23 09:18:32 +00:00
Bogdan Dobrelya 065a69babb Prepare noop tests for external fixtures
Backwards compatible change to prepare
the noop tests to consume external fixtures
from the .fixtures.yml file

Partial blueprint deployment-data-dryrun

Change-Id: I4ddb580d1179caa81d0320520bccbe9f6e11c5c1
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-12-22 15:46:19 +01:00
Jenkins 46dde66afd Merge "Add YAML sytax check" 2015-12-21 11:29:10 +00:00
Jenkins bcc3d042a4 Merge "Update Fuel CI script to use puppet 3.8" 2015-12-18 16:13:13 +00:00
Dmitry Ilyin 345ec873fb Add YAML sytax check
Change-Id: Ida7aa1dc6410f91a87af805467051f9b3e64d1fc
2015-12-15 17:05:58 +00:00
Alex Schultz a26619dc7a Update Fuel CI script to use puppet 3.8
This change updates the scripts used by Fuel CI to pull in puppet 3.8
rather than 3.4.

In order to support testing under Puppet 3.8, we have to setup the
puppet settings as part of our overrides setup. This is due to a change
after 3.4 where these settings are no longer setup as part of the
TestHelper inititalize call. This was done as part of PUP-11118.
Without setting up up the settings, rspec may error when we attempt
to access the Puppet scope or functions.

Change-Id: I26c20036cc9a829fc5d7d351530ac358b1a5ace8
Related-Bug: 1500414
Closes-Bug: 1513969
2015-12-11 17:21:54 -07:00
Alex Schultz e30a4e6352 Enable coverage report generation for Jenkins
This change fixes the regression introduced by
I814667283ccfc6ebd7c16d961270f688e9fb9c4c in which the rspec coverage
information was no longer being written out. Additionally this change
enables coverage report information to be generaged by the Jenkins jobs
as part of the default run via fuel_noop_tests.sh. This change will
allow us to update the jobs to capture the information with Jenkins and
report on trends.

Change-Id: I6cc729d7ff2928bdf78ee17487f2158b4ef12490
Closes-Bug: #1524967
Related-Bug: #1506557
2015-12-10 15:35:00 -07:00
Bogdan Dobrelya 06e887312b Add sphinx doc build with tox
* Add basic doc build system with sphinx and tox
* Update README.md for how-to build docs
* Update .gitignore to exclude docs builds
* Add index and move README for Noop tests framework
* TODO split and add more details for how-to noop tests
  setup/use/create

Inspired by https://github.com/openstack/openstack-manuals

Partial-bug: #1483288

Change-Id: I982e0baaff5de95c7d0c4b3f098754a80676f0d0
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-12-08 11:08:36 +01:00
Jenkins b999be47b6 Merge "Unit tests for the tweaks class" 2015-11-28 21:57:13 +00:00
Dmitry Teselkin 60d5bc4f12 Fix logger settings for RabbitMQ
Also enables unit tests for mcollective module.

Related-Bug: #1517067

Change-Id: Ic4e9ab4851fe520bccf7428481171a18dcb2cbce
2015-11-24 18:14:26 +00:00
Dmitry Ilyin 854d30ecd9 Noop tests update
* Refactor "globals yaml" feature
* Add "task facts" feature
* Add tasts for the master node tasks
* Improve "status debug" message
* Many minor fixes

Closes-bug: #1517481

Change-Id: I6cb36ac45c75a3f4371580744007a3225bc0ec8e
2015-11-23 23:07:49 +03:00
Alex Schultz add100a3a5 Unit tests for the tweaks class
This change implements tests for the tweaks class.

Change-Id: Ic07671eaf17bb622cd906670901787aaa8b397dd
Related-Bug: #1507751
2015-11-16 08:33:08 -06:00