2737 Commits

Author SHA1 Message Date
James McCarthy
274291463e Change default permissions in jinja templates.
Many of the templates use 600, remove unnecessary permission
on these templates to bring them in line with the others.

Change-Id: I30fe1b3822b9c7bb6ab98729fc519dc1d603db27
2017-05-26 12:29:02 +01:00
shaofeng_cheng
7d23bd3712 Fix etc/hosts format with baremetal role
While is not an issue, just an style format,
etc/hosts generated by baremetal role have
some tabs where it shouldn't.

Change-Id: I90d82ea78b3dac7e8ec3f8cc546b67cc61c41536
Closes-Bug: #1692913
2017-05-25 10:43:28 +08:00
Jenkins
95f76faa43 Merge "Fix haproxy restart while genconfig" 2017-05-24 20:58:48 +00:00
Jenkins
57f0a3c4a7 Merge "Optimize reconfigure action for rabbitmq" 2017-05-23 11:24:04 +00:00
Jenkins
f1b7366e78 Merge "Add copy ceph keyring files conditions in cinder" 2017-05-23 11:23:15 +00:00
Jenkins
ae0addb387 Merge "Fix secure_proxy_ssl_header option in nova" 2017-05-23 11:16:41 +00:00
Jenkins
1246266fad Merge "Fix wrong variable used in trove role" 2017-05-23 11:15:31 +00:00
Jenkins
94a9c9173a Merge "Advertise public heat endpoint for wait conditions" 2017-05-23 11:09:28 +00:00
Jenkins
2286330829 Merge "Add VMware DataStore support to glance" 2017-05-23 10:57:03 +00:00
Bertrand Lallau
afdd11b9a2 Generalize api_interface_address variable usage
Useful api_interface_address variable has been define here:
https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L57
In order to simplify codebase we must use it as much as possible.

Change-Id: I18fec19bf69e05a22a4142a9cd1165eccd022455
2017-05-23 08:35:15 +00:00
Jeffrey Zhang
e5ee448ea8 Mount cinder volume for cinder-volume and cinder-backup all the time
cinder-volume will convert the disk locally when boot image from volume
with create new volume. whereas the container only have 10G space in
default, cinder-volume will complain that no space if image is large.

This patch mount cinder volume for cinder-volume and cinder-backup all
the time.

Change-Id: I8c68ea49374dc67839699b81e345cfc390a01fe3
Close-Bug: #1692485
2017-05-22 18:21:02 +08:00
shaofeng_cheng
c6d2070511 Add VMware DataStore support to glance
Add configure the VMware Storage Backend in glance-api.
Because of the following document was not updated:
https://docs.openstack.org/developer/glance/configuring.html#configuring-the-vmware-storage-backend

So,see code:
https://github.com/openstack/glance_store/blob/master/glance_store/_drivers/vmware_datastore.py
https://github.com/openstack/glance_store/blob/master/glance_store/backend.py

Partially-implements: blueprint kolla-ansible-support-vsphere

Change-Id: Icb73ec501aabd938eb23257518ce0650a329bef3
2017-05-22 16:55:14 +08:00
Paul Bourke
2d9a028cb0 Kibana post_config checks only need to run locally
Recently added post_config for Kibana does some uri queries, these can
be problematic if run across every node.

Change-Id: I71d2611ae034ff2a85babb8d01419729f406a136
2017-05-19 09:39:18 +00:00
pangliye
2a8cb0b781 Modify the configuration file of telegraf
Influxdb is  standalone deployed by kolla-ansible,
The cluster mode is  charged now.
Previously configured, each telegraf monitors all influxdb.
If the telegraf is more, It is a disaster to influxdb.
So, telegraf should monitor influxdb deployed on the same server.

Change-Id: I9f4003a55de2a7be53c644b1d2f89d00cdf9478a
2017-05-18 07:37:16 +00:00
shaofeng_cheng
f6ed0d9f7c Fix invalid literal for int in swift_proxy_server
If enable swift and ceilometer.

Swift_proxy_server container start error

ValueError: invalid literal for int() with base 10: '5672driver = messagingv2'

Change-Id: Iff9135bfeece158de1c7159a51286cfe4da25ac4
Closes-Bug: #1691633
2017-05-18 12:02:43 +08:00
Jenkins
b264647a2e Merge "Fix create and associate error of resellerAdmin" 2017-05-17 10:35:02 +00:00
shaofeng_cheng
9e158b7887 Fix create and associate error of resellerAdmin
Fix the following error:
openstack_swift_auth is undefined
unsupported parameter for module: project
unsupported parameter for module: role

Change-Id: Id60e3f06e90e708d9054b905bbfd28ff5450fa49
Closes-Bug: #1691388
2017-05-17 18:05:08 +08:00
Jenkins
f37e1cf52e Merge "Add heat_stack_owner role to admin project" 2017-05-17 09:52:07 +00:00
shaofeng_cheng
a1606f875e Add heat_stack_owner role to admin project
The Orchestration service automatically assigns the heat_stack_user
role to users that it creates during stack deployment.
To avoid conflicts, do not add this role to users with the heat_stack_owner role.

Closes-Bug: #1690975

Change-Id: I7a4cb7f4a13de7be4fc9ce9c24057ece6a0ced5c
2017-05-17 17:16:17 +08:00
caoyuan
46a54e6178 Optimize the reconfiguration for 'common' container
Change-Id: I57e3b310c65aabeea9f298db78762e9d535e8703
Partially-implements: blueprint better-reconfigure
2017-05-17 08:37:12 +00:00
Eduardo Gonzalez
ce3c8fd7ae Add external_vip_interface precheck
At this moment prechecks pass even external_vip_interface
is not present or active.
This change adds such precheck into haproxy role.

Change-Id: I7a5ac4aca7002ff8376710ab536b975c88edebc6
Closes-Bug: #1668489
2017-05-16 12:54:26 +02:00
Eduardo Gonzalez
e9bde0dcb9 Use auth vars for admin user
In someplace in the code admin user, project and domain name
are hardcoded.

This change use the correct variable defined at:
https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L278

Change-Id: I3a4c78d81733bf7a2f3c67d259ec5c5f5bb38d3f
2017-05-16 08:54:37 +00:00
Jenkins
b595f236d0 Merge "Fix permission on chrony.conf" 2017-05-16 08:02:45 +00:00
Jenkins
dc5e05d8a2 Merge "Remove verbose log in memcached container" 2017-05-16 05:04:57 +00:00
Jenkins
f1404230be Merge "Fix designate prechecks" 2017-05-16 05:03:27 +00:00
shaofeng_cheng
afe207212d Fix vpnaas in service_plugins
If enable vpnaas,service_plugins value is 'neutron_vpnaas.services
.vpn.plugin.VPNDriverPlugin'.
It throw warning for 'stevedore.named [-]Could not load
neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin'

Closes-Bug: #1690693

Change-Id: Ia00f733da2dcbdd50e3d62dfe98c8f44cc4a1d26
2017-05-16 09:24:35 +08:00
Jenkins
81b7ef7b36 Merge "Fix lbaasv2 in service_plugins" 2017-05-15 12:18:24 +00:00
Jenkins
94f3eb8c8c Merge "Move the "notify_on_state_change" into group “notifications"" 2017-05-15 01:37:25 +00:00
shaofeng_cheng
df3bef048d Fix lbaasv2 in service_plugins
If enable lbaas,service_plugins value is 'neutron_lbaas.services
.loadbalancer.plugin:LoadBalancerPluginv2'.
It throw warning for 'stevedore.named [-]Could not load neutron_lbaas
.services.loadbalancer.plugin.LoadBalancerPluginv2'

Closes-Bug: #1690694

Change-Id: I38d61405710ca88fbdb3cfd72a534986cf933195
2017-05-15 09:30:11 +08:00
caoyuan
f80959df39 Move the "notify_on_state_change" into group “notifications"
Option "notify_on_state_change" from group "DEFAULT" is deprecated. Use
option "notify_on_state_change" from group “notifications".

refer to
https://docs.openstack.org/ocata/config-reference/compute/config-options.html

Change-Id: I18e80ccd5981b81bfd597b94717ed77b13c05222
Closes-Bug: #1690494
2017-05-13 12:27:02 +08:00
Pavel Glushchak
7aeb8a2af5 Fixed libvirt package removal
On RedHat libvirt is just a metapackage and it does
nothing with libvirt daemon itself if we remove it.
On Ubuntu the correct package name with libvirt daemon
is libvirt-bin.

Closes-Bug: #1690356
Change-Id: Ief8dfd8c038b10878621aefcc8f559aa20dc498b
Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
2017-05-12 14:23:56 +03:00
Eduardo Gonzalez
ba78082e0c Fix cinder-api ubuntu binary deploy
This changes moves cinder-api to make use of apache to
launch its processes.
Ubuntu binary removed support in Ocata for cinder-api
system services [1]. At this moment cinder in Ocata branch
is not working at all due this issue.

This changes aims to fix cinder in master only for ubuntu
binary with the purpose of make a clean backport to stable/ocata
without do any other change on the backport process.
A follow up change will migrate other OS/install_type to make use
of Apache but only changing master branch.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-January/111069.html

Change-Id: I9885d6acadbac1da46844f583e7cd37785505ae0
Closes-Bug: #1676751
2017-05-12 12:00:21 +01:00
Jeffrey Zhang
ec635f8830 Remove verbose log in memcached container
Closes-Bug: #1690302
Change-Id: Ice9e6ece862c4102883c6a5f3bbfe2d291077c8d
2017-05-12 14:16:15 +08:00
Jenkins
e93ca5c0b6 Merge "Fix Telegraf container restarting issue" 2017-05-11 16:24:20 +00:00
Jenkins
6db0c9292b Merge "Remove /etc/fstab Swift references during cleanup-host" 2017-05-11 07:59:04 +00:00
ShunliZhou
24ed428f06 Remove symlink from fluentd global conf
As the logrotate will create new filename with timestamp, fluentd
with symlink will staled when restart fluentd and can not set
permission on the old file.

Remove symlink from the global conf.

Change-Id: I404868d5b5077b9f2135e37605421bc84717f9d3
Closes-Bug: #1685170
2017-05-11 09:38:22 +08:00
Jenkins
d3db4d4cfe Merge "Fix log rotation issue on services" 2017-05-10 10:55:28 +00:00
Jenkins
08f50d5e64 Merge "Configure Kibana default index pattern" 2017-05-10 10:54:11 +00:00
Jenkins
2474ccd0aa Merge "Fix ceilometer meters for swift service" 2017-05-10 10:49:05 +00:00
Jenkins
a8257a19ee Merge "Fix neutron-openvswitch-agent crash on multinode" 2017-05-10 09:13:50 +00:00
caoyuan
583f0b6f2e Remove the unnecessary delimiters
when statements should not include jinja2 templating delimiters such as
{{ }} or {% %}. Found: {{ ceph_enable_cache | bool }}
Closes-Bug: #1689550

Change-Id: I2ca039b80260cd753026f8fb077c7d25e46c8b13
2017-05-09 20:57:23 +08:00
Jenkins
25e23c3850 Merge "Modify the permission of directory" 2017-05-09 10:07:49 +00:00
Jenkins
3b945400bc Merge "Fix panko source and dest file path in ceilometer config" 2017-05-09 03:53:32 +00:00
Jenkins
8f0dc05660 Merge "Add local directive for chrony" 2017-05-09 03:53:25 +00:00
jeckxie
4bb722b440 Remove /etc/fstab Swift references during cleanup-host
During cleanup-host, we need remove swift references from fstab.

Change-Id: I18e9a84b0664eb834cf397bcf6d2406abcab47a7
Closes-Bug: #1689285
2017-05-08 19:24:23 +08:00
jimmygc
0fca39dd03 Fix wrong variable used in trove role
There is no swift_api_port.
swift_proxy_server_port should be the correct one.

Closes-Bug: #1689260
Change-Id: I63e0edb76603374b479eabf0199c4024ad3e2dbd
2017-05-08 17:25:04 +08:00
Jenkins
b077f6e7bb Merge "Add timeout parameter for precheck tasks" 2017-05-07 15:04:24 +00:00
Jenkins
3ba11be4a3 Merge "Fix glance Upload large image haproxy timeout" 2017-05-07 02:02:14 +00:00
Jeffrey Zhang
7b05bb7322 Add local directive for chrony
The local keyword is used to allow chronyd to appear synchronised to
real time (from the viewpoint of clients polling it), even if it has no
current synchronisation source.

Change-Id: I27d945abb87a37d2fdf972a58c51e2f0994e3de8
Closes-Bug: #1688682
2017-05-06 10:06:17 +08:00
Jeffrey Zhang
e05b3ac0e1 Fix panko source and dest file path in ceilometer config
* Use absolute path for panko.conf.j2
* Fix the destination path.

Change-Id: I3abc0bf000be8af3a0cde1f43901245e027bb469
Closes-Bug: #1688681
2017-05-06 09:48:36 +08:00