2753 Commits

Author SHA1 Message Date
zhuzeyu
b73f06684f Modify the permission of directory
Considering the safety, 644 is enough
other user is not necessary to having write permission.
adding 'su' in where needs writing permissions is a good practice
this operation is safer.

Change-Id: I45d0c6e5ef7338f93db21cf4ef58b4a4fd831210
2017-03-30 16:43:42 +08:00
jimmygc
867c3bda39 Remove useless variable glance_backend_file
When glance_backend_ceph is not enabled, glance uses file as
backend store by default. Since glance_backend_file is useless
and not overriding glance backend when glance_backend_ceph is
enabled. I think it is good to remove it.

Change-Id: I94cbd8661e43ab296478470ed57d0effc5622ee5
2017-03-30 16:16:47 +08:00
root
2364bee3cc Add zun ansible role
Change-Id: I13cf03d6a97fb94dd7cb309e99a417ad101dc21a
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Partially-implements: bp add-zun-ansible-role
2017-03-30 04:15:17 -04:00
shaofeng_cheng
83fae8c8f9 Fix secure_proxy_ssl_header option
Option "secure_proxy_ssl_header" from group "DEFAULT" is deprecated
in Keystone.

see
https://docs.openstack.org/ocata/config-reference/identity/samples/keystone.conf.html

Change-Id: I390969fce5b592c0267399969abc54e5caffbfc8
Closes-Bug: #1675982
2017-03-30 15:49:51 +08:00
shaofeng_cheng
9ded0dbacd Fix cinder config group in nova.conf
If disable cinder in openstack environment.
Cinder of configuration items do not need to configure in nova.conf

Change-Id: Ie346dfe45f8c2d3fd383095d0c64f8e9421100ff
2017-03-30 09:24:54 +08:00
ZhongShengping
66ac7aa459 Remove min_l3_agents_per_router option
min_l3_agents_per_router parameter has been removed in neutron[0].
So we can remove it.

[0] https://github.com/openstack/neutron/blob/master/releasenotes/notes/remove-min-l3-agents-per-router-27aef7d91dec0348.yaml

Change-Id: Ia3f3686e2cc27e4bd0707add50ebc552117d6b03
Closes-Bug: #1677101
2017-03-30 08:44:48 +08:00
Bertrand Lallau
8e2b341cfd Set to Unix format trove-conductor.conf file
Replace all DOS carriage returns (^M) with Unix line feeds.

Change-Id: I0cb757e2aa9c08d87d5da64cc416b3d468219df6
2017-03-29 21:38:24 +02:00
Bertrand Lallau
b6ab5bf7e9 Trove fix backup restore with Swift
'v1' is missing in DEFAULT/swift_url property for trove.conf and
trove-taskmanager.conf file.

Closes-Bug: #1677362
Change-Id: I7f625b1ac665a26c4207c3cbb9b0238da82993d8
2017-03-29 21:32:25 +02:00
Jenkins
04ebda9e44 Merge "Revert "Fixes problem with kolla-kubernetes 3.0.2 images"" 2017-03-29 15:06:37 +00:00
Jeffrey Zhang
2947a95c29 Fix ceph log location
There are to parameter for ceph-mon/ceph-osd/radosgw, "-f" and "-d".

    -d run in foreground, log to stderr.
    -f run in foreground, log to usual location.

When log tin stderr, docker engine will collect the logs. It is useless
and we should write the log into file only. Then stop writing log to
stderr.

ceph-mon log location is controlled by "mon cluster log file".

Change-Id: I7883a4316420bc2bf4c772cb7248b663359f54b7
Closes-Bug: #1677237
2017-03-29 21:33:31 +08: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
Bertrand Lallau
74dfe047b8 Remove Ubuntu 14.04 related code
Last Openstack version supported on Ubuntu 14.04 is Mitaka.
Hence Ubuntu 14.04 related code can be safely remove from Ansible tasks
since Kolla Newton release.

Change-Id: I7202c1f6d21a2e6f3536c0420a7cc889aff0f5ed
2017-03-24 13:22:12 +01:00
jimmygc
538a9ebf2d Fix glance Upload large image haproxy timeout
Change-Id: I1a4d5ae561a944a138512d7573fe16b5197050af
Closes-Bug: #1675637
2017-03-24 14:30:12 +08: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
Graeme Seaton
7f3cab65f0 Set fluentd output to elasticsearch to use elasticsearch_address
Haproxy binds the elasticsearch service to kolla_internal_vip_address but
the output templates for fluentd (td-agent) point to a non-existent
kolla_external_vip_address.

Output should also be able to be sent to an external elasticsearch
instance (as per the documentation regarding overriding
elasticsearch_address)

Change these settings so that fluentd outputs to either
the default elasticsearch_address (i.e. kolla_internal_vip_address) or to
the external elasticsearch instance.

Closes-Bug: #1673990
Change-Id: I081533ae8ea9aad186e9c44e1dee069729931453
2017-03-20 19:31:41 +00:00
Jenkins
ac2e9425b6 Merge "Enable heat-api proxy header parsing" 2017-03-20 16:38:34 +00:00