2584 Commits

Author SHA1 Message Date
Mick Thompson
91321ac8ff Update Keystone haproxy config to balance based on source ip
Source based routing is necessary for some services where we want the
same clients land to the same servers.

For exanmple, Keystone uses one of many memcached servers - if a client
gets a token from one but then lands on another api server on the next
request, that will bind to another cache and we get failed
authentication.

Other examples are horizon/murano where we upload a package in several
steps. If we don't balance client connections to the same host we will
end up with the package downloaded to one host but unsuccessfully
unpacked/imported on another host.

This option is commonly used in the official OpenStack docs [0]

[0] https://docs.openstack.org/ha-guide/controller-ha-haproxy.html

Co-Authored-By: James McCarthy <james.m.mccarthy@oracle.com>

Change-Id: I56f1e48f6dbe457e776a474222073bbefc48c92a
2017-03-31 09:31:10 +00:00
Jenkins
b46144573d Merge "Heat: add oslo_messaging_notifications config" 2017-03-29 01:56:40 +00:00
Jenkins
317a4e9a54 Merge "Fix Telegraf role reconfigure action" 2017-03-28 15:23:21 +00:00
Bertrand Lallau
e05491bcd6 Fix Telegraf role reconfigure action
During "Optimize reconfigure action for Telegraf" previous commit, a
regression has been introduced on the "reconfigure" action.
https://review.openstack.org/#/c/424202/

The start.yml file has been deleted but reconfigure.yml still using it.

This patch fix it.

Change-Id: I8879b83ce7a1f886f6870d79f63c3f1cc706059b
Closes-Bug: #1676403
2017-03-27 17:47:35 +02:00
Jenkins
2f34d4bd03 Merge "Remove nova-network deprecated options" 2017-03-27 13:25:23 +00:00
Jenkins
3990582462 Merge "Enable timeout feature when connecting ceph in cinder" 2017-03-27 13:08:55 +00:00
Jenkins
509d1bc948 Merge "Remove signing_dir option" 2017-03-27 12:57:36 +00:00
Jeffrey Zhang
29a4b19961 Enable timeout feature when connecting ceph in cinder
cinder-volume will be hanged if rados_connect_timeout is disabled. And
no error message will be thrown. Disable timeout is not a good idea.

This patch sets the rados_connect_timeout to 5.

Change-Id: I05e7343d09d75399a7031013b4329a2cb81792fb
Closes-Bug: #1676267
2017-03-27 14:24:49 +08:00
Jenkins
8253e4af49 Merge "Designate: manage Api and Central services workers" 2017-03-24 14:56:18 +00:00
Jenkins
ef7c6e964d Merge "Delete the deprecated option from the group "DEFAULT"" 2017-03-24 13:29:30 +00:00
Jenkins
25d2eb4ab2 Merge "Add an extra network node for HA" 2017-03-23 16:20:13 +00:00
Jenkins
379424240b Merge "Fix mongodb cluster using wrong network interface" 2017-03-23 16:19:19 +00:00
Bertrand Lallau
6d831db687 Remove nova-network deprecated options
The following WARN logs always appears in nova-api.log:
- Option "firewall_driver" from group "DEFAULT" is deprecated for removal.
- Option "linuxnet_interface_driver" from group "DEFAULT" is deprecated
for removal.

These 2 options can be removed for the following reasons:
- nova-network will be deprecated
- moreover Kolla doesn't configure nova-network

Options deprecation notes is here:
https://github.com/openstack/nova/blob/master/releasenotes/notes/deprecate-more-nova-network-opts-a9f87c79f7d26438.yaml#L8
https://github.com/openstack/nova/blob/master/releasenotes/notes/deprecate-more-nova-network-opts-a9f87c79f7d26438.yaml#L37

Change-Id: I12f80a02b9d27f2bdbb8926eb648ea4f6e6dd945
2017-03-22 18:01:02 +01:00
Jenkins
e2d60f5264 Merge "Fix can't find /usr/lib/libCryptoki2_64.so in barbican" 2017-03-22 14:11:11 +00:00
zhubingbing
6d0e31f232
Fix can't find /usr/lib/libCryptoki2_64.so in barbican
Link https://docs.openstack.org/project-install-guide/key-manager/newton/barbican-backend.html#simple-crypto-plugin

Change-Id: I351738c2a98090c56ac69e477fbe5ddec4cc5b26
Closes-Bug: #1672001
2017-03-22 20:43:14 +08:00
Jenkins
cf9404a303 Merge "Use service_name variable when defined in neutron role" 2017-03-22 11:23:08 +00:00
Paul Bourke
b8c03263cc Add an extra network node for HA
Given keepalived runs on the network node, we should have a minimum of
two by default for high availability.

Change-Id: Ifbd68e456dc93319df8e85017fd9f4db09f05929
2017-03-22 10:39:44 +00:00
Bertrand Lallau
916a69c9fa Heat: add oslo_messaging_notifications config
Heat can send RPC notifications to Ceilometer as define here:
https://github.com/openstack/ceilometer/blob/master/ceilometer/pipeline/data/event_definitions.yaml#L139

oslo_messaging_notifications section MUST be managed in heat.conf file.

Closes-Bug: #1674935
Change-Id: I314e34a7a7b6caab72b916331f5f20c29afde438
2017-03-22 11:03:22 +01:00
Jenkins
2cdaefe243 Merge "Fix error during Grafana container restart" 2017-03-22 08:55:27 +00:00
Jenkins
871c8679c4 Merge "Activate binary-logs in MariaDB/MySQL" 2017-03-22 08:53:22 +00:00
Jenkins
23f32c00e6 Merge "Sahara: add oslo_messaging_notifications config" 2017-03-22 07:08:11 +00:00
Jenkins
aae03a432e Merge "Apply correct permissions to kolla_logs/ceilometer" 2017-03-22 07:04:07 +00:00
Jenkins
2f520e809c Merge "Update Searchlight resource_plugin configuration" 2017-03-22 07:04:01 +00:00
Jenkins
9f56ce7571 Merge "Fix the Nova SSH port prechecks missing" 2017-03-22 07:03:05 +00:00
Jenkins
80788f4234 Merge "Add an Ansible group for bifrost" 2017-03-22 05:16:30 +00:00
Bertrand Lallau
cbe374ce30 Use service_name variable when defined in neutron role
service_name variable is defined in tasks but not used everywhere.

Change-Id: I67a95f49d277cf004338a9c184e7be70608714b7
2017-03-21 21:35:02 +00:00
Jenkins
b240656848 Merge "Fix Telegraf startup config files issue" 2017-03-21 16:24:09 +00:00
Jenkins
e4f0128133 Merge "Fix wrong api interface reference in haproxy.cfg for nova serial" 2017-03-21 16:17:19 +00:00
Jenkins
78c8d83a9a Merge "Remove heka_socket vol and unwedge some containers" 2017-03-21 16:15:15 +00:00
Jenkins
9495dae128 Merge "Freezer: remove oslo_messaging_notifications config" 2017-03-21 15:55:35 +00:00
Jenkins
c73e4cba64 Merge "Solum: remove oslo_messaging_notifications config" 2017-03-21 15:55:28 +00:00
Jenkins
4991cf3dd7 Merge "Fix logrotate issue on Octavia and Watcher service" 2017-03-21 15:19:48 +00:00
Jenkins
f8ece9a63b Merge "Update Fluentd config to log in Kibana dashboard" 2017-03-21 15:13:09 +00:00
Jeffrey Zhang
f7c54a5dd2 Fix wrong api interface reference in haproxy.cfg for nova serial
Change-Id: Ie81e3a2528ea04106ecf8c9f5e4491b1d98d2f7a
Closes-Bug: #1674645
2017-03-21 20:35:52 +08:00
Bertrand Lallau
dfdf3efb3f Fix error during Grafana container restart
grafana_ini file used in test condition doesn't exists,
use grafana_conf file instead.

Change-Id: Id5dca94aed98b0d6cf6c4f841e7380f8b8154416
Closes-Bug: #1673932
2017-03-21 09:28:18 +01:00
Jenkins
7fc5ca29b2 Merge "Register Cinder v3 endpoint in keystone" 2017-03-21 07:53:50 +00:00
Bertrand Lallau
8e3cce34a2 Fix Telegraf startup config files issue
Telegraf allow plugin configuration in /etc/telegraf/telegraf.d
directory. These files comes from telegraf/templates/config/*.conf,
but this directory is optional.

Closes-Bug: #1673691

Change-Id: Idc695c86c5f6b6b0bd514728f2025321cd200907
2017-03-20 22:47:31 +01:00
Jenkins
ac2e9425b6 Merge "Enable heat-api proxy header parsing" 2017-03-20 16:38:34 +00:00
Jenkins
a6da4d98a4 Merge "Use kolla_internal_vip_address for glance_api servers" 2017-03-20 13:06:46 +00:00
Jenkins
9ce2a9b5f4 Merge "Add neutron-bgp-dragent playbooks and sensible defaults." 2017-03-20 10:47:01 +00:00
caoyuan
23c85b4937 Delete the deprecated option from the group "DEFAULT"
more infomation, see http://paste.openstack.org/show/603369/

Change-Id: If803071bfa88b8e5275b3291c05dc3a9f6e08222
Closes-Bug: #1674215
2017-03-20 05:25:10 +00:00
Jenkins
469eb14886 Merge "Remove the deprecated option for cinder.conf" 2017-03-19 17:17:25 +00:00
Jenkins
483f1c36fe Merge "Mount /lib/modules folder in ironic-conductor container" 2017-03-19 14:30:42 +00:00
ZhongShengping
9fd26ad5b8 Remove signing_dir option
PKI token support has been deprecated in the Ocata release and will be
removed in the Pike release, so we can remove releated parameters.

Change-Id: If8f4cf3db3f315742554be363ae4ab8e70b789ce
Closes-Bug: #1653049
2017-03-19 20:18:03 +08:00
caoyuan
312c3fe56f Fix the Nova SSH port prechecks missing
Change-Id: Ide78ed1de89a9904db48f08fcff3c247ee650317
2017-03-19 16:55:58 +08:00
Bertrand Lallau
dff062b3a6 Activate binary-logs in MariaDB/MySQL
The binary log contains a record of all changes to the databases, both
data and structure. It consists of a set of binary log files and an
index.
Activate it in MariaDB will fix Telegraf error on Mysql/MariaDB inputs
retrieval.

Change-Id: I040ed75ffbf1afded87ba0f8f63a3e384707d1fb
Closes-Bug: #1673969
2017-03-19 09:38:24 +01:00
Bertrand Lallau
4ca1444fad Update Searchlight resource_plugin configuration
Activate resource_plugin only if related Openstack services are enabled.

Change-Id: Iff37c8738513661d2defe7fb7614b526864b1cc2
2017-03-18 00:10:27 +01:00
Jeffrey Zhang
9866f8b4b7 Register Cinder v3 endpoint in keystone
Change-Id: I2658259d88a8df1c0d716ed6f360f9514fb957b5
Closes-Bug: #1673703
2017-03-17 18:40:12 +08:00
Jenkins
9e804f4286 Merge "Multi-regions Support" 2017-03-16 17:42:07 +00:00
Thomas O'Neill
94dec80705 Add neutron-bgp-dragent playbooks and sensible defaults.
Depends-On: If7f5c80eb10a1c418785d9c659ae18bfecfcfe33
Change-Id: I9c54f01193b4e12338e71cd1f0a4635dcbfa43fe
Implements: blueprint neutron-bgp-dragent
2017-03-16 10:03:17 +00:00