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
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
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
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
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
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
* 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>
* 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
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
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
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
Patch Id093d32c24d856c3ef1064108c99ed74bf32bb49 missed changes for
controller node and for main nova_config in compute role.
Change-Id: I4ba02885961cd044d1cd1d9891469c580db4097a
Closes-bug: #1604034
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
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
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
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
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
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
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
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
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
* 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
Current reconnection time is 5.0 which is pretty long.
This patch switches kombu_reconnect_delay to its default
value - 1.0 which is the same for all services.
Change-Id: Id7bac2d1988b9f91ea19edc0fe8a4bdc9958d458
Closes-bug: #1560097
* 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
This will allow to pass compute.instance.update events from Nova to Ceilometer
nova_hash does not contain key 'notification_driver' so we switched
to 'ceilometer' hash. Option notify_on_state_change was previously not
specified at all but is needed.
Closes-bug: #1566498
Signed-off-by: Andrew Woodward <awoodward@mirantis.com>
Change-Id: I81d9591c582221a6c6535b7aa65cf17c95f13fd9
- 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
Ic7d791d1430c45fdfaa4e85e24b6f2a8804447f8 changed the service tweak
declaration for the vnc console service but missed the noop check in the
noop tests. This change updates the noop tests for the change. The noop
test was missed because they were accidently dropped from CI when the
openstack tasks were refactored.
Change-Id: I2535308df2376e22eca5b800f837c33559bab27a
Closes-Bug: #1564063
Related-Bug: #1530912
Nova report interval and service downtime are picked from
the top scope data path
Disable non working cases for huge pages and cpu pinning
Partual-bug: #1563266
Partial-bug: #1563215
Closes-bug: #1563256
Change-Id: I3af7bbe5a541c35bb02b7428e1e7bd51a21e7c07
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>