3021 Commits

Author SHA1 Message Date
Bertrand Lallau
8b5b3cef4e Clean some Boolean condition checks
* "bool" filter is removed when not required
* 'not' is used instead of '== False' check

Change-Id: I85a5bb9a5ea874ac1c397cbf8de416147d2424c3
2017-07-10 15:00:28 +00:00
Jenkins
4510c525a6 Merge "Set neutron RPC workers and state report workers" 2017-07-10 13:44:18 +00:00
Jenkins
0572a394be Merge "Avoid launching "local" actions too many times" 2017-07-10 13:40:49 +00:00
Yotaro Konishi
7e2c3ec2f5 Fix an invalid variable name
According to [1], Ansible variable names should not include hyphens.
Kolla-Ansible fails with a wrong variable name 'barbican-api' when
deploying Barbican.

This patch fixes the issue that was recently introduced in [2].

[1] http://docs.ansible.com/ansible/playbooks_variables.html#id15
[2] 08ab3d8e739fc5b499a4cb565cdbcccd6e1c97a1

Change-Id: Ib962e31ad93316e56130c9fc38dabfc918de17ce
Closes-Bug: #1703287
2017-07-10 14:03:28 +09:00
Jenkins
f2a19a4811 Merge "Standardize Keystone domain variables" 2017-07-07 09:21:16 +00:00
Jenkins
8bcbf493f1 Merge "Adds NTP sync process to account for ceph time sync requirements. Removes precheck portion of NTP. Corrects for redhat Fixes typo" 2017-07-07 03:11:13 +00:00
Jenkins
088ac7270d Merge "Add lbaas support to vsphere by vmware-nsx plugin" 2017-07-06 22:46:46 +00:00
Jenkins
7c789a662c Merge "Add VMware NSXV support to neutron" 2017-07-06 22:46:39 +00:00
Jenkins
ae6de97e6c Merge "Reinstate [DEFAULT] firewall_driver option" 2017-07-06 22:44:08 +00:00
Bertrand Lallau
372e991bec Standardize Keystone domain variables
As described here:
https://github.com/openstack/keystone/blob/master/keystone/resource/core.py#L841
https://github.com/openstack/keystone/blob/master/keystone/conf/identity.py#L21

* default project domain name MUST be named 'Default'
* default project domain id MUST be named 'default'
* default project user name MUST be named 'Default'
* default project user id MUST be named 'default'

Change-Id: I610a0416647fdea31bb04889364da5395d8c8d74
2017-07-06 14:34:11 +00:00
Jenkins
c355b6feac Merge "Fixed vmware typos" 2017-07-06 13:08:58 +00:00
Jenkins
d552ecd321 Merge "Fix field data is too large" 2017-07-06 09:48:20 +00:00
Jenkins
94d04dd0bf Merge "Remove elasticsearch_protocol unused variable" 2017-07-06 08:03:48 +00:00
Jenkins
ae4d957137 Merge "Add option ha_vrrp_health_check_interval for l3" 2017-07-06 07:56:09 +00:00
Jenkins
ae7fe6bdbb Merge "Modify the configuration file of telegraf" 2017-07-06 04:11:44 +00:00
Jenkins
abe31b4e04 Merge "Fix skydive analyzer "etcd" config" 2017-07-06 03:40:18 +00:00
Jenkins
5dc7920d4a Merge "Move mDNS to network nodes" 2017-07-06 03:34:22 +00:00
Jenkins
520e020cfc Merge "Fix keystone-paste.ini custom file management" 2017-07-06 03:27:10 +00:00
Jenkins
e7e3ad1623 Merge "Add designate dashboard to horizon" 2017-07-06 03:22:15 +00:00
Jenkins
30d9549064 Merge "Use proper variable in horizon copy policy task" 2017-07-05 15:17:26 +00:00
Eduardo Gonzalez
9170cda73e Add designate dashboard to horizon
This change [0] reverted designate dashboard change because
designate was not finished, we forgot to enable again.

[0] https://review.openstack.org/#/c/408714/

Change-Id: Ibaf7e5a5dc8cbef619d86a0f2b240d384984e8bd
2017-07-05 16:03:38 +01:00
Bertrand Lallau
2e70a4d136 Fix keystone-paste.ini custom file management
Custom file was check on remote target instead of local.

Change-Id: I9426056e7bb284eb8b3ad539d61ecb1e1f6370e4
Closes-Bug: #1702490
2017-07-05 14:31:30 +00:00
Jeffrey Zhang
6022b61146 Use proper variable in horizon copy policy task
* fix wrong variable usage for horizon copy policy task
* notify restart keystone container when policy is changed

Change-Id: I3545205d5d3cfcf7bf893187ca6e65bbc152bf33
Closes-Bug: #1702486
2017-07-05 22:07:26 +08:00
Bertrand Lallau
a9113fc466 Avoid launching "local" actions too many times
In order to speed up deployment time some "local" actions should be run
only once using 'run_once: True'.
This will decrease deployment time in case of multihost configuration.

Change-Id: I6015d772d35c15e96c52f577013b6e41197cb41a
2017-07-05 15:55:39 +02:00
Jenkins
bfcda5716e Merge "Fix outdated barbican-api-paste.ini file" 2017-07-05 13:04:13 +00:00
Bertrand Lallau
08ab3d8e73 Fix outdated barbican-api-paste.ini file
Kolla-ansible actually bring it's own barbican-api-paste.ini file to
enable Keystone authentication, in order to fix this
https://bugs.launchpad.net/kolla/+bug/1625337

auth_token middleware is actually managed by Barbican.

Furthermore barbican-api-paste.ini brings by Kolla-ansible is outdated:
* http_proxy_to_wsgi middleware is missing

Hence this file should not be managed statically by kolla-ansible.
This patch keep custom paste file feature. Just put the file to
/etc/kolla/config/barbican/barbican-api.ini path.

Change-Id: Ia50237f7df7f89526a976575b017145c71b11ec0
Closes-bug: #1695026
2017-07-05 07:13:56 +02:00
zhubingbing
f5fba5d442 Fix field data is too large
Change-Id: Id3ceaa27687fda3b773873501208dacbfa3536ab
Closes-bug: #1699680
2017-07-05 11:07:05 +08:00
Jenkins
34ac75a2dc Merge "Neutron: nova_metadata_ip property is deprecated" 2017-07-05 01:05:08 +00:00
Jenkins
9f80f2d8d7 Merge "Fix bootstrap-servers with invalid api_interface" 2017-07-05 00:21:09 +00:00
Michel Rode
8795924eae Fixed vmware typos
Change-Id: Ia2afe54d37732ff33216738d7478ad98f6b84cc4
2017-07-04 22:59:12 +02:00
Jenkins
8f3f675b84 Merge "Enable zun ui when zun enabled" 2017-07-04 15:00:30 +00:00
Jenkins
3fc959ec48 Merge "Fix ironic authentication configuration" 2017-07-04 14:57:03 +00:00
Jenkins
0de9a47019 Merge "Remove SKIP_LOG_SETUP env variable from fluentd env" 2017-07-04 14:24:34 +00:00
Jenkins
247e2830f5 Merge "Magnum: update clients config groups" 2017-07-04 14:15:00 +00:00
Mark Goddard
f0062331f5 Fix ironic authentication configuration
As of [1], the ironic configuration for neutron, glance, swift,
inspector and service_catalog requires explicit configuration of
authentication parameters for communication with these services.

This change adds the required parameters to [neutron], [glance] and
[inspector] sections of ironic.conf. Kolla-ansible does not configure
the [swift] or [service_discovery] sections currently.

We also replace option [glance] glance_hosts with [glance]
glance_api_servers as the former is deprecated.

Since we no longer need to support generating configuration for
kolla-kubernetes[2], some related options have been cleaned.

[1]
4f9035c24f
[2]
https://blueprints.launchpad.net/kolla-ansible/+spec/clean-k8s-config

Change-Id: Ifc239af5f3e44a508fedc9dea08cb06160c4f7f3
Closes-Bug: #1701713
2017-07-04 14:52:33 +01:00
Bertrand Lallau
919968a156 Remove elasticsearch_protocol unused variable
'elasticsearch_protocol' is define in group_vars but unused,
it must be removed.

Change-Id: I15cabb9a2d73dd60d06ec2a4fcececa76e14a1db
2017-07-04 14:55:19 +02:00
Bertrand Lallau
4c04d067f9 Fix skydive analyzer "etcd" config
When an external Etcd server is used, config is generated like following:

etcd:
  client_timeout: 100
  embeded: no
  servers:
    - http://10.200.200.10:2379

"embeded" config has wrong spelling, the good one is "embedded".
Hence default config is used (yes), and external Etcd server is not used.

Closes-Bug: #1697614
Change-Id: I59ac990b0b865c926b53f829bdfea186fc1e10b1
2017-07-04 14:40:30 +02:00
Bertrand Lallau
1f42a50a08 Remove SKIP_LOG_SETUP env variable from fluentd env
SKIP_LOG_SETUP variable was used by Heka stuff.
Heka has been removed from Kolla and Kolla-ansible.

Change-Id: I4448b26ace899eb888d34a12a85b019597e25435
2017-07-04 12:36:44 +00:00
Bertrand Lallau
d2f72599e4 Set neutron RPC workers and state report workers
rpc_workers and rpc_state_report_workers are set to 1 by default in
Neutron:
https://github.com/openstack/neutron/blob/master/neutron/conf/service.py#L30

By design neutron-server is a central RPC service for all agents (L2
agents, L3 agents, Metadata agents, LB agents, VPN agents, ...).
For a production ready cloud, these variables must be set to a greater
value than 1.

Change-Id: Ib39be32748c3ee8077941fd1659db12c9d80055c
Closes-Bug: #1671734
2017-07-04 12:36:06 +00:00
Bertrand Lallau
fdc75cdd8c Magnum: update clients config groups
* add additional options called 'endpoint_type' for each of config groups
related to openstack clients used by Magnum.
* add Glance, Neutron and Nova config groups.

Change-Id: Ie74979e05c4f5763674ba2fc5b9f07bd51ad9454
2017-07-04 11:09:05 +00:00
Jenkins
f568358c63 Merge "Add logrotate configuration for ironic inspector" 2017-07-04 10:50:57 +00:00
Jenkins
cc57dc500d Merge "Set TFTP file permissions to 0644" 2017-07-04 10:50:27 +00:00
Jenkins
19c1bc7f88 Merge "Remove symlink in reconfigure tasks" 2017-07-04 03:11:37 +00:00
Jenkins
a31c1a31b8 Merge "Update deprecated 'play_hosts' with 'ansible_play_batch'" 2017-07-03 15:26:56 +00:00
Eduardo Gonzalez
8d5526c070 Remove symlink in reconfigure tasks
Some roles have a symlink to deploy.yml file
for reconfigure. This is causing some issues.
"included task files must contain a list of tasks"

Change-Id: Ie7ade52900a61bc1c5b867fa7a8f75fc541a6426
Closes-Bug: #1694251
2017-07-03 09:34:21 +00:00
Jenkins
d760b7fd50 Merge "all.yml should be in alphabetical order" 2017-07-03 06:42:44 +00:00
Jenkins
bb5ccf3d29 Merge "Cinder: modernize nova config" 2017-07-02 09:26:30 +00:00
Jenkins
f468a172a1 Merge "Fix Skydive analyser 'graph' config section" 2017-07-02 09:24:55 +00:00
Jenkins
fe862ea68c Merge "Manila: add support of endpoint_type for clients" 2017-07-02 09:23:34 +00:00
Jenkins
f2f3104e9f Merge "Fix the database user name for all roles" 2017-07-01 00:41:49 +00:00