3157 Commits

Author SHA1 Message Date
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
Mark Goddard
e50f19522a Set TFTP file permissions to 0644
The TFTP server used by ironic and ironic inspector (in.tftpd) requires
files to be world readable in order for them to be accessible via
TFTP[1].

The permissions of these files were recently changed to 0600 along with
a number of other files[2].

This change reverts the permissions to 0644 for the ironic inspector PXE
configuration files.

[1] https://linux.die.net/man/8/in.tftpd (security section)
[2]
274291463e

Change-Id: Ibc281949ebf5bab1e1d2e450ec943728aa00943b
Closes-Bug: #1701695
2017-06-30 18:24:22 +01:00
Mark Goddard
c70285068c Add logrotate configuration for ironic inspector
Logrotate configuration is missing for ironic-inspector. Prior to [1],
ironic-inspector logs were stored in
kolla_logs/ironic/ironic-inspector.log. After [1], the logs
are stored in kolla_logs/ironic-inspector/ironic-inspector.log
but the logrotate config was not updated.

[1]
07453f3460

Change-Id: I7e78faea361cd67069c1a96aaf0a2ffffc0e8666
Closes-Bug: #1701578
2017-06-30 15:26:40 +01:00
Jenkins
3a765500ce Merge "Deploy etcd in compute nodes when kuryr" 2017-06-30 14:06:17 +00:00
Mark Goddard
82788a687c Reinstate [DEFAULT] firewall_driver option
RDO packages a distribution configuration file
/usr/share/nova/nova-dist.conf which contains the following setting:

firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver

This causes the nova-compute-ironic service to fail to start as the
nova ironic virt driver attempts and fails to create a firewall driver
using this class.

This change reinstates the explicit setting of the [DEFAULT]
firewall_driver option to the noop driver which resolves this issue.
This comes at the cost of a WARN log message due to the option being
deprecated (see
6d831db687).

Change-Id: I41bd9d0671118ff256e7ada766e8653bb4b2b376
Closes-Bug: #1701564
2017-06-30 14:43:55 +01:00
Bertrand Lallau
9db0599d1a Manila: add support of endpoint_type for clients
Add additional options called 'endpoint_type' for each of config groups
related to nova, cinder and neutron clients.

Change-Id: I24dc11502b148fbe564dc63c6f78b7dcbfe44f01
2017-06-30 11:14:43 +00:00
Jenkins
99075dab64 Merge "Enable port_security by default" 2017-06-30 09:40:36 +00:00
Jenkins
09511bc232 Merge "Use aodh alarms with tacker" 2017-06-30 09:40:29 +00:00
Jenkins
8f34fdccbd Merge "Modify glance log name" 2017-06-30 08:12:10 +00:00
Bertrand Lallau
84738f062d Cinder: modernize nova config
As describe here:
https://github.com/openstack/cinder/blob/master/cinder/compute/nova.py#L42

* remove 'nova_catalog_info' deprecated option
* add new [nova] section

Change-Id: Ib89a589c8eb8d81839bd4d07d7174b3272136934
2017-06-29 17:23:44 +02:00
Jenkins
ee11884e37 Merge "Add possibility to configure tenant network types and type drivers" 2017-06-29 13:11:04 +00:00
Bertrand Lallau
99137b8651 Neutron: nova_metadata_ip property is deprecated
As described here:
https://github.com/openstack/neutron/blob/master/neutron/conf/agent/metadata/config.py#L47
nova_metadata_host must be used.

Change-Id: Idd1c2a8beebf39a3c420cbf1f1268f9935d938bb
2017-06-29 08:18:00 +00:00
caoyuan
870836bb19 Enable zun ui when zun enabled
Depends-On: Ie0e02253bd706cad6a568e1574aa4c4bd83744e5

Change-Id: I10e64ea5a104109a7ced3712b29b3b526c55f7f1
Closes-Bug: #1677922
2017-06-29 15:39:27 +08:00
Bertrand Lallau
1463cd0b94 Fix Skydive analyser 'graph' config section
Like elasticsearch is already deployed by Kolla-ansible it can be used
to store Graph events.

Closes-Bug: #1697638

Change-Id: I1f33e044d33c21516cb3bf8c6fd5bb0745b843c1
2017-06-28 15:54:52 +00:00
Jenkins
161607f97c Merge "Remove Ubuntu Trusty 14.04 related code" 2017-06-28 15:49:41 +00:00
Jenkins
2eb85595d4 Merge "fix horizon contents path for ubuntu/binary" 2017-06-28 15:39:45 +00:00
Jenkins
1d152f7da2 Merge "Always create ResellerAdmin role for Swift" 2017-06-28 15:37:48 +00:00
Jenkins
3b86d5fda2 Merge "Remove the unnecessary jinja2 templating delimiters" 2017-06-28 14:43:25 +00:00