1867 Commits

Author SHA1 Message Date
Paul Bourke
8c1ddaaa19 Fix neutron-vpnaas for redhat derived bases
The current redhat derived bases that Kolla ships use libreswan instead
of openswan (even running 'yum install openswan' on these bases results
in libreswan being installed).

This means we need to use this device_driver in vpnaas_agent.ini. Also
/lib/modules is required from the host for the ipsec driver.

Change-Id: I94480cda06718ab4aa10250520fa58956151e33a
Closes-Bug: #1644518
2016-11-24 11:18:54 +00:00
Jenkins
6662a5aa05 Merge "Pull swift-object-expirer image" 2016-11-23 06:49:18 +00:00
Jenkins
da1cfc6af0 Merge "Fix congress broken" 2016-11-23 02:06:36 +00:00
Eduardo Gonzalez
13e98d8e1a Pull swift-object-expirer image
Add pull task for object-expirer image.

Change-Id: Icc3cb3111e3b78545678e011f7321ba623ec85c2
Closes-Bug: #1643741
2016-11-22 17:41:00 +00:00
Jenkins
06c001e405 Merge "fix ci gate" 2016-11-22 11:43:36 +00:00
Jenkins
d862bedca7 Merge "updating-deprecated-ansible-modules" 2016-11-22 11:08:01 +00:00
Jenkins
72f8d10bd0 Merge "Fix ceilometer not sending logs to heka" 2016-11-22 11:05:47 +00:00
zhubingbing
4ef58c1e02 Fix congress broken
Change-Id: I25c426646ed7de88e3468c6f6923fe6dc72ab028
Closes-Bug: #1634641
2016-11-22 09:10:51 +00:00
Javier Castillo Alcíbar
31eac33ddb Fix ceilometer not sending logs to heka
ceilometer is not sending logs to heka because no heka-ceilometer.toml is created.
Updated templates files.

Change-Id: I69f3d93377c6c51d22f37ed120800f7489f5a8a0
Closes-Bug: #1642665
2016-11-22 09:08:38 +01:00
Jenkins
8991403878 Merge "Fix network configuration for cloudkitty" 2016-11-22 07:58:37 +00:00
Jenkins
7abbecda30 Merge "Fix fact gathering when using --limit" 2016-11-22 07:55:53 +00:00
gardlt
529f202d00 updating-deprecated-ansible-modules
* update ceph tasks
* update mariadb tasks
Closes-Bug: #1643633

Change-Id: Ib81789574843edba6e33394a7f66a2e8077075eb
2016-11-21 21:52:26 -06:00
liyingjun
d35be61bce Fix network configuration for cloudkitty
network_* and should be replaced with network.* [1]

[1]: https://github.com/openstack/cloudkitty/blob/master/etc/cloudkitty/cloudkitty.conf.sample#L126

Closes-bug: #1641940
Change-Id: I2a151898a58bae6a31f2e133aa3a6ee1b3cc7b09
2016-11-21 21:07:50 +08:00
Jeffrey Zhang
db5954e0b3 fix ci gate
* Build kolla image by using kolla project's code
* bump openstack_release to 4.0.0
* Remove tox deploy related env, it is useless now.

Depends-On: I132ee005bce993cbadf411697817c2e95548dc81
Change-Id: Id899eb39d476b95130fbeb43adf4fd49ef32be32
2016-11-21 19:26:44 +08:00
Jenkins
62c1b4f89c Merge "typo error of keyring spelling" 2016-11-20 14:55:12 +00:00
Narasimha SV
2f0b57229c typo error of keyring spelling
In destination path gnocchi keyring file, keyring spelling is
written as keryring.

Change-Id: I8e0ad26dec9a61206692b0f3f2de7b318ded172d
Closes-Bug: #1642621
2016-11-18 04:12:48 -05:00
bjorn lofdahl
281a8547b1 Fix neutron.conf.j2 metadata_workers spelling error
Change-Id: I8dbb25d643ab8da2b049f70d28bdd0839b9f2605
Closes-Bug: #1641591
(cherry picked from commit 2f0d4ccee32df4999e0b50a327a9df2c2ac55971)
2016-11-18 11:18:08 +08:00
Paul Bourke
43517f48f5 Make service_checks easier to run independently of kolla-ansible
Set a default for CONFIG_DIR in service_checks to more easily allow
consumers not using the kolla-ansible tool to run the prechecks.

Change-Id: I78bc5dd6f37e6a60ecc6a86d43e56b05803a4fd5
Closes-Bug: #1629893
2016-11-16 12:24:18 +00:00
Paul Bourke
cf81958f66 Fix fact gathering when using --limit
If an operator wants to deploy a single node (e.g. add an additional
compute), they may want to use the --limit feature of Ansible to avoid
waiting for every play across every node.

The problem with this is that --limit will gather facts for that node
only, causing template errors such as the infamous ('dict object' has no
attribute u'ansible_eth0'").

Ansible has catered to this problem to an extent with it's
"delegate_facts" mechanism. The only problem is that in the default 'all
nodes' case, we end up with a storm of SSHs as each node SSHs to every
other. I'm solving this with a separate task to only use this mechanism
when a subset of nodes has been specified (see ansible_play_batch).

Useful links on this subject:
- https://medium.com/@george.shuklin/perfecting-forced-fact-gathering-in-ansible-1611f9c8d0d5#.tr5zs3e7x
- http://docs.ansible.com/ansible/playbooks_delegation.html#delegated-facts

Change-Id: Ibb691eae15cacd9e5129ae9280fd296f5ba95940
Closes-Bug: 1642004
2016-11-16 11:32:33 +00:00
Mauricio Lima
7bb88390d8 Fix copying nfs_shares configuration
Using the `when` conditional on a `with_` loop gets evaluated on each
loop iteration and will not skip a task entirely. Use the `skip`
attribute to ignore errors in this scenario but only `skip` when
`enable_cinder_backend_nfs` is not enabled. If it is enabled the
`nfs_shares` file should be required and this task should fail if it
does not exist.

Co-authored-by: Andrew Widdersheim <amwiddersheim@gmail.com>
Change-Id: I6b997dd943efe7b16beb63899c1488fa5353d996
Closes-Bug: #1641183
2016-11-11 14:33:26 -05:00
Jenkins
7178e13d78 Merge "Allow cinder-volume to be configured to use NFS" 2016-11-11 16:58:30 +00:00
Jenkins
d389d7aacf Merge "Exclude port from ceilometer_database_mysql_address" 2016-11-11 13:07:15 +00:00
Jenkins
73e232944c Merge "Add kolla_logs volume to kibana container" 2016-11-11 13:07:08 +00:00
Jenkins
b94588a520 Merge "corrects invalid logrotate option maxsize" 2016-11-11 13:07:00 +00:00
Jenkins
08b8fa34ee Merge "Use horizon_logging_debug variable" 2016-11-11 13:06:30 +00:00
Jenkins
24e1d13293 Merge "Move manila-share service to network node" 2016-11-11 13:06:22 +00:00
Jenkins
dbb0ade6d1 Merge "Use uuid as keystone default token provider" 2016-11-11 08:01:04 +00:00
Jenkins
88fc252bc0 Merge "Fix neutron lbaas dashboard" 2016-11-11 06:20:33 +00:00
Jenkins
8ca934139e Merge "Corrects typo "mondodb_port" in ceilometer" 2016-11-11 04:49:35 +00:00
Jeffrey Zhang
fc54163319 Use uuid as keystone default token provider
Keystone uses fernet as default provider in its code now. This patch
adds provider=token in keystone.conf file explicitly.

TrivialFix

Change-Id: Id7142ff4f00ee99579ad420573eafefea0f4dcb7
2016-11-11 12:42:47 +08:00
Jenkins
3ec8e33a17 Merge "Uses tunnel_interface as ovs tunnel instead of api_interface" 2016-11-10 19:46:01 +00:00
Farid Da Encarnacao
db99a79c02 Corrects typo "mondodb_port" in ceilometer
Closes-Bug: 1640872

Change-Id: I3bd979af5626d016ec79696ab157e376476f5d28
2016-11-10 18:45:52 +00:00
Mauricio Lima
c16a130510 Use horizon_logging_debug variable
TrivialFix

Change-Id: Ic474306223b9c6f5fa730ef765ca60c59d76f24b
2016-11-10 11:29:40 -03:00
Jeffrey Zhang
5cf88ed4ab Using openstack_logging_debug variable in horizon
TrivialFix

Change-Id: Id73897a44d20ddf024657e09716f9f4ee68621d2
2016-11-10 15:58:40 +08:00
Jenkins
0081e3868f Merge "Corrects typo "requried" in kolla_docker.py" 2016-11-10 06:21:51 +00:00
Jeffrey Zhang
c89cbff6a2 Fix neutron lbaas dashboard
Load neutron lbaas dynamic when neutron lbaas is enabled.

Change-Id: I47913824fea87b721f254633c16d1dc6903b4f5d
Closes-Bug: #1639325
2016-11-10 13:16:37 +08:00
Jenkins
520cf42647 Merge "Update manila-data service inventory" 2016-11-09 20:14:57 +00:00
maniram477
6275f7090b Corrects typo "requried" in kolla_docker.py
The parameter "required=True" is mistyped as "requried=True"
in ansible/library/kolla_docker.py and tests/test_kolla_docker.py

Closes bug: 1640423

Change-Id: I64c333275b9eb3eff5b1c0fa5d550f478e68020d
2016-11-09 15:18:22 +05:30
Christian Berendt
7904c4a4ec Add kolla_logs volume to kibana container
Change-Id: Ie3a04fa6c0f7406fcbc9033a38d9941509d9dc90
Closes-bug: #1640303
2016-11-08 22:14:31 +01:00
Sean Mooney
c4107ed723 corrects invalid logrotate option maxsize
- logrotate does not have a maxsize option.
  while logrotate supports a minsize option its
  couterpart is size.
- This chage replaces the use of maxsize with size
  in cron-logrotate-global.conf.j2

Change-Id: I381c52e8a866b74b5f2c3b38a2c87f74c48c05e1
Closes-Bug: #1640196
2016-11-08 15:08:22 +00:00
Jenkins
b177f04fcc Merge "disable firewall in bootstrap-server" 2016-11-08 11:57:33 +00:00
Jenkins
356ada59e8 Merge "fix magnum [keystone_authtoken] configuration" 2016-11-08 11:56:04 +00:00
Jenkins
847d2e4792 Merge "Check api_interface instead of network_interface" 2016-11-08 09:33:24 +00:00
Jenkins
f83916239a Merge "Deploy Telegraf on all nodes" 2016-11-08 05:41:13 +00:00
xionglingfeng
17e6e629f5 Allow cinder-volume to be configured to use NFS
Allow cinder-volume, nova-compute and nova-libvirtd to be configured to
use NFS. In order to mount and work with NFS shares, several containers
needed the NFS packages installed during build time.

One somewhat significant change is the addition of an explicit bind
volume for nova-compute that has shared mounts enabled.

According to docker-run(1), the shared mount propagation flag can only
be specified for bind mounted Docker volumes and not named volumes.

In an NFS setup, cinder-volume mounts the NFS shares so that it can
create and manage the Cinder volumes. When a new instance is created
with a Cinder volume or a Cinder volume is attached to an existing
instance, nova-compute mounts the Cinder volume from the NFS share for
nova-libvirtd. In order for nova-libvirtd to then see those Cinder
volumes the shared mounts flag must be enabled for the Docker volume.

Remove the rpcbind container as it is only necessary for operators who
are using NFSv3 or lower. There is no known need for this currently
however, this container can be added in the future should an operator
require it.

Co-authored-by: Ryan Hallisey <rhallise@redhat.com>
Co-authored-by: Andrew Widdersheim <amwiddersheim@gmail.com>
Change-Id: Iad77c05bce8876bdcc69b7ec22edd50e3bf48b9f
Closes-Bug: #1530515
Partially implements: blueprint  nfs-support-in-cinder
2016-11-07 12:57:54 -05:00
Mauricio Lima
a2707ecf00 Move manila-share service to network node
After a research regarding manila-share node,
is required that for the generic driver the
manila-share service should be run on the network node.

As the generic driver is our default driver, so this change is needed.

Closes-Bug: #1639028
Change-Id: I4b73fec4f96e3e2f9c442c8716941bede5dfbc8e
2016-11-07 10:25:17 -03:00
Vladislav Belogrudov
a2bfe399a8 Exclude port from ceilometer_database_mysql_address
Users can specify database address and port for mysql backend
of Ceilometer. Currently ceilometer_database_mysql_address
incorrectly includes port. This is unnecessary, also Ceilometer
bootstrapping (mysql_user, mysql_db Ansible modules) wants to use
these variables separately.

Change-Id: I88f5359517fcf4f119ec6abfdf16a15a4e33b6fd
Closes-Bug: #1639786
2016-11-07 16:17:11 +03:00
Zhijiang Hu
803aaa6597 Uses tunnel_interface as ovs tunnel instead of api_interface
Closes-Bug: #1638242
Change-Id: Ib5192d1379457cd4292fc71dcbd62f78a02a1c07
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2016-11-06 22:06:42 -05:00
Jenkins
8b830f5e1a Merge "Mariadb performance tuning" 2016-11-06 21:26:07 +00:00
Jenkins
04ba40cd63 Merge "Adjust object-replicator heading within object.conf.j2 template." 2016-11-06 20:40:25 +00:00