aboutsummaryrefslogtreecommitdiffstats
path: root/patches/fuel-library/arm64-bug-fixes/0001-nova-config-Disable-usb-tablet-for-aarch64.patch
blob: eb611bfc77d56dbf31e56aa137b499e444ec8ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Stanislaw Kardach <stanislaw.kardach@cavium.com>
Date: Tue, 15 Mar 2016 11:33:52 +0100
Subject: [PATCH] nova config: Disable usb tablet for aarch64

[ Alexandru Avadanii ]
Rebased for Newton: reworked use_usb_tablet using pointer_model.

JIRA: ARMBAND-194

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
---
 deployment/puppet/openstack_tasks/manifests/roles/compute.pp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/deployment/puppet/openstack_tasks/manifests/roles/compute.pp b/deployment/puppet/openstack_tasks/manifests/roles/compute.pp
index 5b247b0..0a1a1c7 100644
--- a/deployment/puppet/openstack_tasks/manifests/roles/compute.pp
+++ b/deployment/puppet/openstack_tasks/manifests/roles/compute.pp
@@ -391,6 +391,10 @@ class openstack_tasks::roles::compute {
     'libvirt/live_migration_flag':  value => 'VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST';
     'libvirt/block_migration_flag': value => 'VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_NON_SHARED_INC';
     'DEFAULT/connection_type':      value => 'libvirt';
+    'DEFAULT/pointer_model':        value => $::architecture ? {
+        /(arm64|aarch64)/ => ps2mouse,
+        default           => usbtablet,
+    };
   }

   # TODO (iberezovskiy): rework this option management once it's available in puppet-nova module
p p-Indicator">{} description: Mapping of service endpoint -> protocol. Typically set via parameter_defaults in the resource registry. type: json GnocchiIndexerBackend: default: 'mysql' description: The short name of the Gnocchi indexer backend to use. type: string GnocchiPassword: description: The password for the gnocchi service and db account. type: string hidden: true GnocchiRbdPoolName: default: metrics type: string CephClientUserName: default: openstack type: string KeystoneRegion: type: string default: 'regionOne' description: Keystone region for endpoint RedisPassword: description: The password for the redis service account. type: string hidden: true Debug: type: string default: '' description: Set to True to enable debugging on all services. outputs: aux_parameters: description: Additional parameters referenced outside the base file value: gnocchi_indexer_backend: {get_param: GnocchiIndexerBackend} role_data: description: Shared role data for the Heat services. value: service_name: gnocchi_base config_settings: #Gnocchi engine gnocchi_redis_password: {get_param: RedisPassword} gnocchi::debug: {get_param: Debug} gnocchi::db::database_connection: list_join: - '' - - {get_param: [EndpointMap, MysqlInternal, protocol]} - '://gnocchi:' - {get_param: GnocchiPassword} - '@' - {get_param: [EndpointMap, MysqlInternal, host]} - '/gnocchi' - '?read_default_file=/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo' gnocchi::db::sync::extra_opts: '--skip-storage' gnocchi::storage::swift::swift_user: 'service:gnocchi' gnocchi::storage::swift::swift_auth_version: 2 gnocchi::storage::swift::swift_key: {get_param: GnocchiPassword} gnocchi::storage::ceph::ceph_pool: {get_param: GnocchiRbdPoolName} gnocchi::storage::ceph::ceph_username: {get_param: CephClientUserName} gnocchi::storage::ceph::ceph_keyring: list_join: - '.' - - '/etc/ceph/ceph' - 'client' - {get_param: CephClientUserName} - 'keyring' #Gnocchi statsd gnocchi::statsd::resource_id: '0a8b55df-f90f-491c-8cb9-7cdecec6fc26' gnocchi::statsd::user_id: '27c0d3f8-e7ee-42f0-8317-72237d1c5ae3' gnocchi::statsd::project_id: '6c38cd8d-099a-4cb2-aecf-17be688e8616' gnocchi::statsd::flush_delay: 10 gnocchi::statsd::archive_policy_name: 'low'