Commit Graph

46 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 ab8a6958f9 Use notification_driver parameter in sahara::notify
Upstream will remove enable_notifications parameter [1],
we need to use notification_driver parameter now.

[1] https://review.openstack.org/#/c/444051/

Change-Id: I95fbb5f104b3d550a87aaaad51418c918fe70c79
2017-03-13 10:50:15 +02:00
Mykyta Karpin 8bd8733239 Switch remaining components to transport_url
Switched components:
 - ceilometer
 - aodh
 - murano
 - sahara
 - ironic

Other changes:
 - minor alignment fixes
 - minor tests fixes

Partial-Bug: #1477967

Change-Id: I35db7f08910bdfc3e52d3aa167dadc9595c65585
2017-02-16 11:20:34 +02:00
Vladimir Kuklin a529033fdc Set memcached server to local one for non-keyston services
We misconfigured local cache for services with change
https://review.openstack.org/#/q/Id1034e22d79c3ea6b25575d9bcf8e8750a02365d
Thus, it becomes extremely slow when a controller is down.

With this commit we revert things back to normal with local memcached
for all openstack services leaving keystone memcached shared for tokens
(this was thoroughly tested previously)

Change-Id: I8f6bbf77d27f3d8976985241deb8a948984862f5
Closes-bug: #1657727
2017-01-19 19:26:30 +03:00
Alexey Deryugin 007a8713ad Make components use PyMySQL as default DB driver
Change-Id: Id012cb764de3b109d95e7c4a29d1d9c94e337117
Closes-Bug: #1550192
2016-11-07 11:44:54 +00:00
Bogdan Dobrelya 1daccc4e9b Rework processorcount limits to os_workers
* reduce workers_max default limits of a 16 to the $::os_workers, which is limited by [2, 8] interval.
* reduce workers/pool size/overflow limited by F($::processorcount) to F($::os_workers)

Closes-bug: 1629238

Change-Id: I5cc4d70b902eeaa1c9cf42911606eba13dd84aa2
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-11-02 10:05:19 +00:00
Denis Egorenko f00cf9c523 Remove verbose option from OpenStack components
This option is going to be totally removed in puppet-upstream, so
we need to remove it as well. It was deprecated in Newton cycle.

Closes-Bug: #1628509

Change-Id: I39d4716e91944436d0eb017ffb02e14cfdec4e2e
2016-10-11 15:44:24 +00:00
Denis Egorenko 412d660b74 Do not create sahara templates anymore
This patch removes creation of sahara templates during Sahara
installation, as it doesn't have any end-user benefits.

Also Sahara templates relies that all Nova flavor already created,
but since I80b63ce1ebca01be61ac0f43d26a2992ecf16678 Nova flavors
will not be automatically created.

Change-Id: Ic32f8f1a9112804bfbf847855e13510e504cc6b5
Closes-bug: #1603939
2016-08-30 16:45:30 +03:00
Denis Egorenko b0a4237439 Switch sahara templates to using upstream providers
This patch switches using of our custom providers for managing
sahara templates to upstream puppet-sahara providers.

Closes-bug: #1603939

Change-Id: I444b61bbdda6af2b535a25fffd26b7d7067cb643
2016-07-18 13:53:57 +03:00
Alex Schultz df416f53d2 Use memcache for keystone_authtoken
This change updates where we calculate the memcache server information
to the globals hiera data and updates all the openstack services to
use the heira memcached_servers key for consistency. Additionally all
api services have been updated to configure the memcached servers for
the keystone_authtoken middleware configuration to improve the
responsiveness of the service.

Change-Id: Id1034e22d79c3ea6b25575d9bcf8e8750a02365d
Closes-Bug: #1597512
2016-07-06 14:26:22 -06:00
iberezovskiy 4c727a3ff4 Cleanup workarounds for kombu_compression parameters
Closes-bug: #1598106

Change-Id: I85c05ac9cdefafffc7d9dba80882a42f2812cc02
2016-07-01 13:48:29 +03:00
Alexey Deryugin 67cfb4ee3b Completely remove nova-network support
nova-network is deprcated since 7.0, so we need
to delete all nova-network related manifests.

Change-Id: I3b1016547de224bbe42b41d946be58ffec5b283f
Closes-Bug: #1590367
DocImpact
2016-06-17 13:03:13 +03:00
Aleksandr Didenko 6908722cfc Switch from RUN: to ROLE: annotation
* RUN annotation caused duplication for tasks in the old folder
* RUN should only be used if you need non-standard run configuration
* With ROLE annotation there's no need to update all the tests
  when you add new astute.yaml fixture for existing role
* Fix manifest variable in broken tests

Change-Id: I7a1c98bdb51590d8d80cee387de35d5581cf1da2
Partial-bug: #1535339
2016-04-07 15:46:46 +02:00
Aleksandr Didenko aaa49dc120 Update noop tests to work with 9.0 fixtures
- Update yaml-to-rspec assignments to match with a new set of
  fixtures
- Fix errors in rspec tests to make the work properly with up to
  date fixtures

Integration tests are disabled because this patch affects noop
rspec tests only.

Fuel-CI: disable

Partial-bug: #1535339
Change-Id: I02a289d2d206a1f4ac3c829503bbae582717cae1
2016-04-05 09:54:16 +02:00
Denis Egorenko 7b4e741804 Add sahara-dashboard package
In Mitaka Sahara Dashboard was moved from Horizon and now it is
separated plugin for openstack dashboard

Change-Id: I9b9275c186db9af2fa8c7467e4f7208c5369e9e0
Closes-bug: #1558021
2016-04-02 08:02:55 +00:00
Bogdan Dobrelya e99656cf07 Map noop fixtures for integration tests
Use custom mappings (#RUN notation) of noop fixtures
for noop integration tests.
Iteration 2: recover mappings as it before the regression
and map all for the tasks w/o mappings.

Closes-bug: #1561890

Change-Id: I6ca3363ea4b2fae1ec73d61122caef6764ba79d1
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-03-25 17:57:57 +01:00
iberezovskiy a47d71b1fe Add ability to set kombu_compression for OpenStack components
Add posibility to set kombu_compression in OpenStack config files.
This option is disabled by default but its value can be overridden
from hiera. Also some checks were added to prevent from duplication
errors which can come from puppet-openstack patches similar to
https://review.openstack.org/#/c/292309/

Closes-bug: #1546554

Change-Id: I1a835f97c23073d3a450dd58decee2876bee53c9
2016-03-24 13:39:22 -06:00
Alexander Noskov d0712eaeec Refactor osnailyfacter/modular/sahara
Refactor osnailyfacter/modular/sahara to be compatible with Puppet Master

Blueprint: fuel-refactor-osnailyfacter-for-puppet-master-compatibility

Change-Id: I9bd3ace37838a1c34cbdc4313f40c6d1a9ffd7a6
2016-03-21 16:55:45 -06:00
Matthew Mosesohn 052c982417 Clean up globals hash keys and all hash lookups
hiera deep hash lookup fails if one yaml contains 'key_hash'
and the other is just 'key'. This is fixed by writing keys
without the suffix '_hash'.

Added _hash to some variables where it was inconsistent
among top level modules.

Change-Id: I48ec5711a507115d8b7cc167ae881cac4637622f
Closes-Bug: #1542307
2016-03-04 15:06:27 +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
Oleksiy Molchanov e3ef9588c6 Provide idempotency to sahara task
* Package-name is no longer needed, because api service is
provided by it's own package.
* Added noop

Change-Id: I6ff151bf06285c6355b38e4b15915e769c547813
Related-Blueprint: granular-task-idempotency
2016-02-10 15:11:44 +02:00
Vladimir Kuklin cbcb81d343 Refactor code of LB backends waiting pieces
This commit introduces a couple of classes and a function
to allow a user to specify for which load balancing checkers
to wait.

Change-Id: I9548ae440111fb0c2356ccb897318d30a8e264ff
Related-bug: #1533279
2016-02-01 14:43:58 +03:00
Alex Schultz 739a5a611c Update connection string generation
This change leverages the os_database_connection function from
openstacklib to generate the connection strings for our services. As
part of this change, we are moving the database connection string
generation to the osnailyfacter modular tasks and updating the
openstack classes to consume a connection string rather than the
seperate host, user, password, database name and database type.

Additionally as part of this change, we are updating the mysql
connection strings to only include read_time=60 if debian based packages
are used. This is due to the fact that python-pymysql, which is used by
Ubuntu packages, does not support the read_timeout option as part of the
connection string.

Change-Id: I45c51a05ba7cf9648b0202cc3c2216d185bd7eda
Closes-Bug: #1526938
Related-Blueprint: deploy-with-uca-packages
2016-01-20 08:12:57 -07:00
vsaienko 3f97fc1dfa Fix hardcoded protocols for identity_uri endpoints
Fix hardcoded protocols for:
  ceph-osd,
  radosgw,
  ironic-compute,
  neutron metadata,
  sahara

Related blueprint: selective-ssl
Change-Id: I61df0040de7cf911bd85aba30b4807cec0975161
Closes-Bug: #1533819
2016-01-14 19:30:58 +00:00
Aleksandr Didenko ba7ed96778 Add support for external load-balancers
Add new hiera configuration key 'external_lb'. If it's set to
true then we should not configure Haproxy LB on controllers and
also we should switch 'haproxy_backend_status' to 'http' provider.

We calculate 'external_lb' during 'globals.pp' task - if we have
no VIPs with 'haproxy' namespace, then it's set to 'true'.

It does not change the default deployment scheme.

Also fixing minor issue with default provider for
'haproxy_backend_status' type.

Closes-bug: #1522749
Change-Id: I5539d04d577465bd410494a6c0b7caff18857878
2016-01-04 11:48:07 +01:00
Aleksandr Didenko c26c4c5e8c Remove 'node_role' Hiera key from noop tests
Since I8b51651adc2634544f510de8838ebaabcd1e7d43 we no longer have
'node_role' key in Hiera. So we should fix all rspec tests that
are using this key.

Change-Id: I1e22e9c94f834563df5b6d7192b690aed7db6dd6
Closes-bug: #1529888
2015-12-29 16:52:27 +01:00
Denis Egorenko a607d9ad7a Run db sync only on primary controller
We should run db sync only on primary controllers. Currently
upstream modules have posibility to specify should we run
db sync or don't.

Change-Id: If061c0f1b2706ec4fd88966b8620e5586d98b0b8
Closes-bug: #1330875
2015-12-11 09:52:39 +00:00
Denis Egorenko 303eb16199 Fix internal Neutron network name for Sahara templates
Default name for internal Neutron network was changed to 'admin_internal_net',
hence we need also update default for Sahara templates.

Change-Id: I4bcd8156494859a57e207ccedb0e9e562f8e5974
Closes-bug: #1520574
2015-12-03 17:00:02 +03:00
iberezovskiy 9bb09a21bb Enable oslo.messaging debug for OpenStack components
We should have oslo.messaging debug enabled
when OpenStack log debug is set to true.
Make default_log_levels configurable through globals.yaml.

NOTE: sahara::logging class can't be used because of
https://github.com/openstack/puppet-sahara/blob/master/manifests/init.pp#L371
It leads to duplicate declaration of this class. That's why
default_log_levels parameter for sahara::logging is configured
through globals.yaml. After new puppet modules sync with upstream
we will get the same problem for another openstack components.
It will be fixed in the way as it's done for sahara now.

Closes-bug: #1509090

Change-Id: Ia8665eaf526158760a5420e7813c7367cc457c0c
2015-11-25 12:56:12 +00:00
Denis Egorenko 6abfa10145 Set up db parameters for Sahara
Specify db parameters for Sahara to avoid occasional errors during
cluster spawning.

Change-Id: Ib62dea8654878af2645f08508918bb877f8e6e15
Closes-bug: #1497365
2015-10-12 17:01:05 +03:00
Denis Egorenko 9f2721626a Adapt Sahara for Liberty
Move Sahara to librarian and adapt for Liberty

Change-Id: I56760ffbec7a6bfd321823c533269ef5c8c12397
2015-10-06 11:46:43 +00:00
Dmitry Ilyin 63eb7faf69 Fix noops tests for the new network variables
* Refactor old noop tests to support flexible network data
* Repair puppet function helper
* Script to remove old external modules before updating them
* network_config_prepared function to check if network
  scheme is already loaded

Change-Id: Ie2e7e2a8a7fbfa32a4172e018acba6e955973425
Closes-Bug: 1486048
Fuel-CI: disable
2015-09-14 21:11:10 +00:00
Denis Egorenko 8966ed1bf7 Register SSL cert in Java keystore to access to swift via SSL
We need to specify location of ca certificate file, because of
authentication error, during working Sahara with SwiftFS.

Change-Id: I69aca6ed07db2352f43efeee8108c2db9e22f24d
Related-bug: #1487912
2015-08-26 20:13:58 +03:00
Stanislav Makar c709454598 Get rid of old variables
* Get rid of old variables in all tasks except globals task:
   internal_int
   public_int
   internal_address
   internal_netmask
   public_address
   public_netmask
   storage_address
   storage_netmask
* Add comments to globals task about depreciation

Change-Id: I6b0a5d20fe7cd5b718e99d21e3c3ef67a5c71e3d
Closes-bug: #1484199
2015-08-19 12:35:42 +00:00
Jenkins 3505165804 Merge "Fix upstart logs management" 2015-08-17 10:28:17 +00:00
Denis Egorenko c1539b0cdb Use direct infrastructure_engine for Sahara
Switch Sahara to direct provisioning according to mail thread in mos-dev
with topic '[sahara] Sahara continues to use Direct provisioning engine in MOS 7.0'

Change-Id: I740466d183d457d75c204b28f2bef3a75ddf8c98
Related-bug: #1483833
Related-bug: #1483841
Related-bug: #1475274
Related-bug: #1439675
2015-08-13 14:29:10 +03:00
Sergey Kolekonov 8637d96478 Fix upstart logs management
- disable use_stderr option for all components because upstart adds to logs
  all output from stderr output of its jobs
- add upstart logs to common fuel logrotate configuration file
- add noop tests

Change-Id: Ifefec5e4c8e3438229018edc7c1aaa53a3a779bd
Upstream patches: https://review.openstack.org/#/q/topic:bug/1482564,n,z
Closes-bug: #1469176
2015-08-12 12:56:36 +00:00
Denis Egorenko e89f11040a Add dependency on both keystone backends for Sahara
During creating Sahara templates both Keystone backends may be
unnavailable and we need add dependency on both backends.
Additional commit for Idf07556d229d7c656106ac749053bd474e5d5a47

Change-Id: I20d96feadc5efebddf758ff9370c8ec4941eb9e7
Closes-bug: #1479782
2015-08-07 09:28:29 +00:00
Denis Egorenko 8b83c05a99 Add dependency on keystone backend for Sahara
During creating Sahara templates Keystone backend may be
unnavailable and it raises errors.

Change-Id: Idf07556d229d7c656106ac749053bd474e5d5a47
Closes-bug: #1479782
2015-08-04 16:06:46 +03:00
Denis Egorenko 40cac9f560 Disable sahara-api workers
Disable sahara-api workers due to incorrect work in Kilo

Change-Id: I2d381f531186004c404d7fe1b11cd2899278c730
Closes-bug: #1479770
2015-07-31 19:33:12 +03:00
Denis Egorenko c5359479c8 Add if check to Sahara/Murano modules
- add 'if' check to Sahara module;
- add 'if' check to Murano module;

Partial blueprint: detach-components-from-controllers

Change-Id: If92cad6e9841441a1a6f2443fdcd86fcbe0ae7f0
2015-07-30 12:41:11 +03:00
Denis Egorenko 215b1be5da Fix using of public address with SSL for Sahara
Sahara public endpoint should use public ssl hostname instead ip
address. Also auth_uri should use admin url.

Closes-bug: #1479261

Change-Id: I2ac6c29650ca5433fe23b004afa39c7642a122fa
2015-07-29 08:29:17 +00:00
Denis Egorenko 52fde17ce4 Update Sahara templates to Kilo version
Current Sahara templates are deprecated and need to update them.

Change-Id: I3c372732609abfbe988ce61373dd5cbecb84280f
Closes-bug: #1476324
2015-07-23 19:13:33 +03:00
Denis Egorenko 334fb0894a Adapt synced sahara module
- add patch I542a8b6ed3aaf18e4b352f821939fc5f262aa5eb;
- add patch Id3aa75229e8626c71d6cb8398af3c2c22f37b592;
- add new noop tests;
- adapt Sahara modular manifest;

Closes-bug: #1425513
Related-bug: #1425514
Partial implements: blueprint separate-sahara-package
Partial implements: blueprint upgrade-openstack-puppet-modules

Change-Id: I9b3f4b25db5fc3c3dfc727faa5d2c493bc748966
2015-07-22 09:52:41 +04:00
Dmitry Ilyin 4c39102720 Improve Noop tests
* Many fixes and improvements

Related blueprint: deployment-dryrun

Change-Id: I7cdb4ea455866480a773b803f4dddd66f0fd56d1
Fuel-CI: disable
2015-04-21 17:08:22 +03:00
Aleksandr Didenko dc8edb6e66 Modular noop tests
We can run noop tests via 'rake spec'. This will allow us to:

  - Make sure that catalog compiles and there are no dependency
    cycles in the graph.
  - Use RSpec tests to check that needed puppet resources present
    in the catalog for specific astute.yaml configuration.

In order to test just execute these commands:
  export WORKSPACE=/tmp/fuel_noop_tests
  mkdir -p $WORKSPACE
  ./utils/jenkins/fuel_noop_tests.sh

It iterates over astsute.yaml files and runs rspec tests for puppet
tasks configured in the astute.yaml for the node.

In order to run specific test and/or specific astute.yaml, you can
set appropriate env variables. For example:
  export NOOP_TEST="keystone/*"
  export NOOP_YAMLS="tests/noop/astute.yaml/novanet_flat.primary-controller.yaml"
  ./utils/jenkins/fuel_noop_tests.sh

If you also want to store puppet logs in case of errors, please set
PUPPET_LOGS_DIR env variable:
  export PUPPET_LOGS_DIR=/tmp/puppet_error_logs

If you want to store all the delcarated File and Package resources,
please set NOOP_SAVE_RESOURCES_DIR env variable:
  export NOOP_SAVE_RESOURCES_DIR=/tmp/puppet_resources

Related-bug: #1402738
Implement blueprint deployment-dryrun

Fuel CI temporarily disabled since this change does not affect
MOS deplyoment process, only CI itself.

Fuel-CI: disable

Change-Id: I38b23832d1e8701440aacb300256f513c466c762
2015-04-09 11:56:33 +03:00