Commit Graph

60 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
Sergii Rizvan 442f6a0ed7 Corrected default limits filter in nova API
The old syntax that used % symbols, caused some errors upon a restart
of the nova-api. Replacing the % and parentheses with the double quotes
allows the API to start without errors.

Change-Id: I96c00590390c6caf0a17a43e68ede111684b3110
Closes-Bug: #1683496
2017-05-29 13:19:19 +00:00
Alex Schultz b9d23caf89 Update deprecated allocation ratios
The nova allocation ratio settings have been moved from the scheduler to
the main nova class. They are being removed from the scheduler class and
need to be passed to nova differently.

Change-Id: I753c795ef62a505b7b2499b3805acb43d1f79b4d
Closes-Bug: #1673893
2017-03-17 16:25:56 -06:00
Vladimir Kuklin b3787ca38a Bootstrap default cells_v2 setup
Cells v2 setup is mandatory for Ocata. We need to bootstrap them on the
controller nodes and run discover_hosts each deployment.

Change-Id: Id392febd0ffb527f9e8305d347805e9f4f776a7f
Closes-bug: #1670462
2017-03-07 01:32:31 +03:00
Vladimir Kuklin 1bbe3869f7 Add nova placement API configuration
Nova placement API is recommended in Newton and is mandatory in Ocata.
Scheduling will not work without it. We configure services according to:

https://docs.openstack.org/developer/nova/placement.html

Change-Id: Ic014ac162f50324c0341cc3013cd093d7125d53e
Closes-bug: #1670354
2017-03-06 23:29:40 +03:00
Mykyta Karpin 4d111c2190 Set metadata_workers for nova
Earlier metadata_workers option was set to processorcount
fact by default, but with upstream patch [1]
it will be switched to os_workers fact,
so in order to keep the same amount of
nova metadata workers we need to set it directly
in openstack_controller task.

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

Change-Id: I95bc3d7b5f4c71fc9829b0a58d246ac4ea2fe903
Closes-Bug: #1667626
2017-03-01 08:18:25 +00:00
Igor Gajsin 8bdc2aca9c remove vmware
VMware not supported since Fuel 10. So this commit removes
vmware-related manifests.

Implements: blueprint remove-vmware
Change-Id: If5f0c837fe843f9cfd30648fe6e115267467982b
2017-02-15 10:47:33 +00: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
Mykyta Karpin 3d7f2ab803 Switch main components to transport_url
Messaging rabbit-* parameters are deprecated in upstream, so
this patch switches all main components to usage of transport_url

Change-Id: I042f68ac1aeb14234898711a25eaebe0836cbb90
Partial-Bug: #1477967
2016-12-30 09:52:20 +00:00
Dmitry Nikishov cfca05c588 Refactoring of the override_resources type for the IaC feature
This commit changes override_resources type allowing to
- specify any puppet resource
- pass any number of resources

It also introduces the logic to decide whether override_resources
should create a new resource, if it hasn't been found in the catalog.

The resource overrides as well as additional settings are taken from
Hiera.

This logic essentially allows to create any Puppet resource via
passing the right hash to the Hiera. It replaces/extends the old
'Advanced configuration' feature.

Change-Id: I81099ac41c3e2abdaf6fde3a19161709b7ba4b8c
Blueprint: puppet-resource-override
2016-11-21 12:09:04 +00:00
Mykyta Karpin f1022e3222 Use local memcached for keystonemiddleware in nova
In order to increase nova performance after failover,
we need to point nova to local memcached instance for keystone tokens

Change-Id: Ibd9ce480201685e4ff92e87490f5beff49272e87
Closes-Bug: #1621541
2016-11-11 16:40:46 +02:00
Jenkins fdb38df92a Merge "Adapt fuel-library to removal of old authtoken parameters" 2016-11-11 13:45:11 +00:00
Mykyta Karpin 5a6fea2a76 Adapt fuel-library to removal of old authtoken parameters
These patches https://review.openstack.org/#/q/topic:old_authtoken
are removing old puppet authtoken parameters and now we need to use
parameters from keystone::authtoken class in each affected module

Closes-Bug: #1640083
Partial-Bug: #1390099

Change-Id: Ife3ed88237ce735b2a068415b1e57fca93498dcd
2016-11-09 11:48:14 +02: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
Jenkins 501be8fc1e Merge "Remove workaround for allow_resize_to_same_host option" 2016-10-31 16:19:05 +00:00
Mykyta Karpin 839a7a6093 Remove workaround for allow_resize_to_same_host option
Change-Id: I9ce44749d9b79ebec9162b0f370584ccf4d1c1c2
Closes-Bug: #1625970
2016-10-27 12:56:11 +03:00
Ukov Dmitry fd7b99399b Introducing override for all resources in catalog
* override_resources type extended with additional parameter that allows
  to control whether create new resource if it is not in catalog
* override_resources is wrapped with create_resources
* user can put any resource definition in hiera to override its configuration

Change-Id: Ic1f7d856666eb84ced3cef986d8765edf707b481
Blueprint: puppet-resource-override
DocImpact
2016-10-17 13:25:17 +03:00
Mykyta Karpin a782624fdd Adapt allow_resize_to_same_host usage for nova::api
Adapt fuel-library for upstream patch
https://review.openstack.org/#/c/373648
which manages allow_resize_to_same_host usage from nova::api class.

Change-Id: Ie65bfd74b283e20649333dc22f3569b92c45f011
Related-Bug: #1625970
2016-10-05 15:15:48 +00:00
Maksim Malchuk b415c05b03 Add retries for neutron-db-sync task
Exec 'neutron-db-sync' fails without any chance to retry via
additional puppet runs if it was completed successfully on the first
run. Adding retries reduces the likelihood that deployment fails.

Change-Id: I27522de30fc29ef7516e3c9baf36516723ced4a5
Related-bug: #1620268
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
2016-09-29 13:47:28 +03:00
iberezovskiy 131080c305 Explicitly configure os_region_name for nova
For the multiple region support, in nova.conf
we need to add parameter "os_region_name" to
specify the region_name for controller's region,
otherwise, nova can not find the right cinder
service to call and volume attach fails.

Change-Id: I7a1497368085380f4a55a66b6f770d3f24cdf7e9
Closes-bug: #1621984
2016-09-16 09:48:16 +00:00
Maksim Malchuk a1b1289d2c Tweak 'nova-db-sync' and 'nova-db-sync-api' execs
This change adds retries to not fail on 'nova-manage' execution

Closes-Bug: #1619740
Change-Id: I33637b17a18f8809f0a5f3778c57d5066fd56b8d
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
2016-09-08 01:21:29 +03:00
Dmitry Ilyin 39cd163c44 Puppet4 support: multiple modules
* Fixes for the openstack tasks and openstack
  modules.
* Fixes for fuel tasks.
* Fixes for openstack modules
* Noop tests fixes.

Puppet4 support: common spec

Remove dynamic nova-compute service lookup because the performance
impact of it was too high. Now this value is being statically
chosen by the OS family name.

Puppet4 support: cobbler

* Fix duplicate declarations of systemd services
* upstream dns servers should be an array

Puppet4 support: rsyslog

Fix duplicate rsyslog service
between haproxy and logging tasks
Add tests to ensure that service is present

Puppet4 support: ntp

Fix ntp service duplicate declaration

Puppet4 support: horizon

Fix forgotten include of nova::params

Puppet4 support: apache

Fix broken containment and ordering

Puppet4 support: mysql

Remove duplicate declaration of the access file

Puppet4 support: keystone

user_admin_role should be array

Puppet4 support: openstack controller

Add forgotten include of nova::params

Puppet4 support: server_config

* Check for both undef and empty string value for mtu
* tunel_id_ranges should be array

Puppet4 support: rabbitmq

Add forgotten vhost name variable

Puppet4 support: tools

Rewrite badly writtent spec file variables.

Related-Bug: 1586480
Change-Id: Ia9b474a7076365c0fcad2b55c65e8305477a4647
2016-08-30 10:09:04 -05:00
Jenkins 72cc15909f Merge "Make RabbitMQ Heartbeat related parameters configurable from hiera" 2016-08-25 20:41:56 +00:00
iberezovskiy ef0d5be240 Fix default value for nova auth_version
Don't set auth_version to false if nova_hash['auth_version']
isn't set. It leads to breakage of nova-api service work.

Change-Id: I096d97dcf33f80cc5e288ac511b55964ea48b638
Closes-bug: #1614625
2016-08-19 12:21:00 +03:00
Oleksiy Molchanov 6fb4e9f761 Change value for Ironic scheduler_host_manager
Change-Id: I4f25f74d186be97e363e37264d49d7d8ecf34beb
Closes-Bug: 1611689
2016-08-11 17:45:24 +03:00
Alexey Deryugin 64b99da4df Make RabbitMQ Heartbeat related parameters configurable from hiera
Now we use default values of haertbeat related parameters, and
we need to have an ability to override them using Hiera.

Change-Id: I6d5d26657883aff0f1ff8d3faa1176ff6a8eb220
Closes-Bug: #1576320
Closes-Bug: #1573592
2016-07-28 06:15:30 +00:00
Jenkins c020c378b8 Merge "Update m1.micro flavor creation" 2016-07-21 11:08:42 +00:00
Alex Schultz c1eb505c6f Update m1.micro flavor creation
This change reworks how we are managing the m1.micro flavor that is used
by OSTF. As part of this change we are moving the creation out of the
general controller configuration and putting it into the task where we
also manage the image installation used by OSTF. As part of this move,
we are also refactoring the haproxy wait configuration for the nova
backends to their own class with tests so it can be more easily reused.

Change-Id: Ieb0ec8dce76fbcf0979dbca8e50447fe77f0ce90
Closes-Bug: #1602355
2016-07-13 09:29:03 -06:00
Alex Schultz 3a263d6b32 Fix keystone_authtoken middleware for nova
This change removes the signing_dir from the nova configuration as it is
for PKI tokens which are no longer supported. Additionally, the
keystone_authtoken/memcached_servers should be configured only for the
api services.

Change-Id: I35b91b4fe65d79a5cd4ed81a584d67a97a1e21d5
Related-Bug: #1600276
2016-07-11 11:22:58 -06: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
Jenkins c9b6e5485a Merge "Make nova-consoleauth use memcache as cache backend" 2016-06-22 10:10:23 +00:00
Alexey Deryugin fc333aab26 Make nova-consoleauth use memcache as cache backend
Now Mirantis OpenStack uses python dictionary's to store
nova-consoleauth tokens and it fails to connect to VNC on
page reload if we use HA cluster, so we need to use
memcache as cache backend.

Change-Id: I7da25b331f5665ec1b82544f476aebefdfa6113d
Closes-Bug: #1576218
2016-06-14 20:03:17 +03:00
iberezovskiy e8c74ecbee Fix workaround in puppet for open-iscsi package
open-iscsi package should be installed always with
cinder packages and it was decided to add it as cinder
dependency. This is already fixed in Debian.
Remove this if totally when UCA packages are updated.

Change-Id: I54fa7a55cb490b38e5f98ef5caa76965948c2f37
Related-bug: #1588799
2016-06-07 16:25:31 +03:00
Bartosz Kupidura 787d8ffb93 Set same values from ironic-compute and openstack-controller
To ensure that manifests are idempotent we need to pass same
variables from different manifests.

This change will fix issue with ironic-compute task
and openstack-controller task.

Change-Id: Ib486d9d9b8b3fc9b951b75b4b4fc37c484250e6a
Closes-Bug: #1585197
2016-06-01 11:58:19 +00:00
Jenkins 52412b1e9a Merge "Add ironic config section for nova-api" 2016-05-27 10:13:26 +00:00
Andrey Shestakov f66a487b13 Add ironic config section for nova-api
nova-api requires credentials for interact with Ironic API

Change-Id: I665f177d1aa928fa55955a127873c3cef7934420
Closes-bug: #1570819
2016-05-24 05:23:09 +00:00
Mykyta Karpin a2cac3feb0 Enable SSL request handling from HTTPProxyToWSGI middleware
Change-Id: If3441b7b3dafd1c427860afdbb3b60480f257f99
Depends-On: I22deb886706fe71115a04fb52a7051be4783a5c4
Related-Bug: #1576740
2016-05-23 14:39:39 +00:00
iberezovskiy b6e69d7363 Enable RabbitMQ heartbeats by default
Use defaults for heartbeat_timeout_threshold and
heartbeat_rate parameters for all openstack services
except Neutron: heartbeats don't properly work for it.

Change-Id: I72b2d76f56516e69532549bf6c2c6c468ff47089
Closes-bug: #1584004
2016-05-20 19:19:17 +00:00
Dmitry Ilyin 9ece4dd9d6 Remove install_utilities nova parameter
nova::untilities is being removed in the upstream

Change-Id: Ib06dab58af5fe372dd42ef3e46082efb2dd3818c
Closes-Bug: 1583548
2016-05-20 07:11:34 +03:00
Bogdan Dobrelya ba8ba8eeed Consume upstream rabbitmq-server v3.6.1 OCF RA
* The package contains the OCF script now,
  remove it from Fuel's fuel-ha-utils.
* Rework the custom fuel rabbitmq-server OCF wrapper
  installation from the package, make it
  to invoke the upstream OCF RA from
  /usr/lib/ocf/resource.d/rabbitmq/rabbitmq-server-ha
* Address some of TODO/FIXME as well.

Related blueprint upstream-rabbit-ocf

Change-Id: Iaa401685eb5e8dc514809eec426b9e550de609ac
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-05-18 12:28:50 +02:00
Jenkins cfc69e6592 Merge "Explicitly set queue settings (nova)" 2016-05-06 23:02:29 +00:00
Sergey Kolekonov 7394062ec8 Limit number of metadata workers
metadata_workers option from Nova is not used, so currently a number of
metadata workers on all nodes is equal to number of CPUs.
This patch limits a number of workers using following schemes:
- for controllers: min(max($::processorcount, 2), $workers_max)
- for computes (DVR): min($::processorcount / 8 + 1, $workers_max))

Change-Id: Ifac069347be758ac2c12b890a3b4751db1a12e21
Closes-bug: #1575724
2016-05-01 08:24:23 +00:00
dmburmistrov 29134c2971 Explicitly set queue settings (nova)
Upstream puppet modules switched to
puppet-oslo usage, but they also changed
defaults. This caused unwanted changes
in behavior. Related bug is mentioned
below. This patch "restores" previous
values of message queue parameters.

Change-Id: I5cf9f697911eeef5093306dbcf66647cebcbf91d
Related-bug: #1573592
2016-04-28 19:41:39 +03:00
Jenkins 788b1620b1 Merge "Use NUMATopologyFilter for HugePages deployment" 2016-04-21 07:35:04 +00:00
Jenkins f1adf3c93e Merge "Remove deprecated parameters for nova" 2016-04-19 14:15:22 +00:00
Alexey Deryugin ae2a34d1c8 Remove deprecated parameters for nova
Change-Id: Iff4b803076929c8253fcdd5b39c3fc440be5ed96
Closes-Bug: #1562935
2016-04-18 18:38:52 +00:00
Sergey Kolekonov dd9378a7ee Use NUMATopologyFilter for HugePages deployment
Nova scheduler has an ability to detect compute nodes with appropriate huge
pages sizes and schedule instances on them without host aggregates

Change-Id: If093b5a704b745feb9a2164bfc988d1172b8f1c5
Closes-bug: #1569775
2016-04-16 12:54:15 +03:00
Michael Polenchuk 2e1ed9749d Smooth out glance api servers getter
* get glance api servers list from one entry point for http(s)
* set the following descending priority for getter:
  - hiera glance_api_servers raw list
  - get_ssl_property() return
  - hiera glance_endpoint ip address
  - $management_vip

Change-Id: I80c45d1c6cdabfd8aa239ae61d8c4add5e9e8cbe
Closes-Bug: #1568088
Closes-bug: #1569443
2016-04-14 12:42:33 +00:00