8353 Commits

Author SHA1 Message Date
caoyuan
40b635b9c5 Optimize reconfiguration for mongodb
Change-Id: If3828170c00a9c5327b94d9253be93aefa147db9
Partially-implements: blueprint better-reconfigure
2018-01-30 13:34:11 +08:00
Zuul
a9e5836cde Merge "Support policy.yaml file [part 7]" 2018-01-29 08:09:21 +00:00
Zuul
ba8f376431 Merge "Add cpu_mode in vagrant/bootstrap.sh" 2018-01-29 05:25:22 +00:00
Dai Dang Van
de54518b34 Support policy.yaml file [part 7]
- Vitrage
- Watcher
- Zun

This will copy only yaml or json policy file if they exist.

Change-Id: I913b3b067237cc4694894cc00bcc363127dd3806
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-29 02:51:40 +00:00
Zuul
49360f0c35 Merge "Add a precheck to ensure nscd is not running" 2018-01-28 07:30:00 +00:00
Zuul
118381973f Merge "Add container state check in kolla_docker" 2018-01-27 13:35:23 +00:00
Zuul
1b57246821 Merge "Support policy.yaml file [Final]" 2018-01-27 07:55:18 +00:00
Zuul
08eb5fd6bf Merge "Make ceph-nfs configurable" 2018-01-27 07:53:17 +00:00
Zuul
09dbb61133 Merge "Fix haproxy with memcached enabled" 2018-01-26 10:22:44 +00:00
Zuul
83ec76cbaf Merge "Support policy.yaml file [part 6]" 2018-01-26 09:06:33 +00:00
Zuul
91f7d1af87 Merge "XenAPI: fix two neutron configures" 2018-01-26 08:58:48 +00:00
Zuul
63d1ed29fb Merge "XenAPI: support provider networks" 2018-01-26 08:58:46 +00:00
Eduardo Gonzalez
448a10df6c Add container state check in kolla_docker
Missing container status check in recreate_or_restart_container,
this causes if the container is not running (kolla-ansible stop),
to not be started with deploy/reconfigure/upgrade if any other param
changes.

Change-Id: I5cff5f367e963ba8b1807ec46469da817e40e468
Closes-Bug: #1714015
2018-01-26 07:30:11 +00:00
Zuul
02fa35dc8e Merge "Use bool filter with enable_ironic_pxe_uefi" 6.0.0.0b3 2018-01-26 05:03:59 +00:00
Dai Dang Van
3d9fd47e96 Support policy.yaml file [Final]
- Ceilometer
- Gnocchi
- Rally

This will copy only yaml or json policy file if they exist.

Change-Id: I59f3376ab9fb6fb83577465a6c9096764b9f19c0
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-26 04:37:53 +00:00
Dai Dang Van
e846d48780 Support policy.yaml file [part 6]
- Sahara
- Searchlight
- Senlin
- Tacker

This will copy only yaml or json policy file if they exist.

Change-Id: I97c8bf300f14ae6d7c55c5f8962c5781cee2c40a
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-26 04:37:48 +00:00
Zuul
39d9327d29 Merge "Fixes ceph deploy gates" 2018-01-25 14:46:34 +00:00
Jianghua Wang
c8245edf91 XenAPI: fix two neutron configures
This commit contains two fixes:
1. ``of_listen_address``: We use the xenapi's facts directly, so
that we can avoid depending on facts gathered by setup for hosts;
This is useful when deploy on the role of neutron only (--tag neutron);
2. ``local_ip``: Get the proper IP for tunnel. It should be chosen
from dom0's IP which is in the same network where tunnel interface
is connected.

blueprint: xenserver-support

Change-Id: I61bbd6499323e3fddd6293a0df6baec34dbddf23
2018-01-25 11:10:04 +00:00
Zuul
a00e80c205 Merge "Only copy nfs_shares to cinder-volume groups" 2018-01-25 10:37:27 +00:00
Zuul
4771f5c22d Merge "Disable jinja2 trim_blocks feature" 2018-01-25 10:27:40 +00:00
Jianghua Wang
71a6611a84 XenAPI: support provider networks
When enabled provider networks; the neutron-openvswith-agent-xenapi
should use proper bridge_mappings which should have dom0's bridges
where the VMs' vifs actually connected to for the interfaces defined
in the configure option of *neutron_external_interface*.

Depends-On: I9a6bebe19ed488bb2173d5dc2daa14e236411243
Change-Id: I44f59c69d25b8400e1b936fcdf8f21b5c4168f1f
2018-01-25 10:27:35 +00:00
Xinliang Liu
f52cebb577 Make ceph-nfs configurable
Ceph-nfs image is not available for Debian build. Because there is
no Debian package under official ceph-nfs' repo:
http://download.ceph.com/nfs-ganesha/deb-V2.5-stable/luminous/dists/

Change-Id: I35d84296318a849616e72fb6a2064b8ab62fdaf7
2018-01-25 17:17:37 +08:00
Zuul
b9504e94c5 Merge "Fix retry mechanism" 2018-01-25 08:03:51 +00:00
Zuul
9e0b89f642 Merge "Add details about SRIOV enablement to the networking guide" 2018-01-25 04:52:10 +00:00
Zuul
6f2ca6340f Merge "Add support for Neutron SRIOV agent container" 2018-01-25 04:52:09 +00:00
Zuul
b66ebff65e Merge "Fix the ssl issue for placement api when enabled ssl" 2018-01-25 03:24:01 +00:00
Zuul
e9fca7b072 Merge "Support policy.yaml file [part 5]" 2018-01-24 17:28:15 +00:00
Christopher Nipper
e0b28aa1c6 Add details about SRIOV enablement to the networking guide
Neutron and Nova methods are included.

Addressed comments

Change-Id: Ic3d30bc76a298185fe978a470c64e805dd19a162
2018-01-24 17:12:47 +00:00
Christopher Nipper
6bb27ac06f Add support for Neutron SRIOV agent container
Agent is required for Neutron SRIOV post Mitaka
Closes-Bug: #1655921

Addressed comments
Added release notes

Change-Id: Ib8181c4da65fccd0c5f8487217060e5682977665
Signed-off-by: Christopher Nipper <christopher.r.nipper@intel.com>
2018-01-24 17:12:36 +00:00
Doug Szumski
dafe39dfb6 Fix retry mechanism
If the wrong status code is returned, ansible sets failed: true.
This means that a retry is never attempted.

Use .get('status') to work around the possibility that a status
may not be returned in some corner cases. For example:

TASK [grafana : Wait for grafana application ready]
***************** fatal: [some_remote_node]: FAILED! =>
{"failed": true, "msg": "The conditional check 'result.status
== 200' failed. The error was: error while evaluating
conditional (result.status == 200): 'dict object' has no
attribute 'status'"}

Change-Id: I14207d1a9e994fa25c1c061025fff5b64a71d690
Closes-Bug: #1742501
2018-01-24 16:01:17 +00:00
Zuul
3318cbd19b Merge "Support policy.yaml file [part 8]" 2018-01-24 14:07:54 +00:00
Jeffrey Zhang
def1adb6b4 Fix the ssl issue for placement api when enabled ssl
Change-Id: I43db3048f92207da5ec3a2b9ed52b4c4083c3881
Closes-Bug: #1745128
2018-01-24 18:28:59 +08:00
Zuul
ece4e96e7e Merge "Support policy.yaml file [part 4]" 2018-01-24 09:18:14 +00:00
Eduardo Gonzalez
e0d37de9d0 Fixes ceph deploy gates
- Ceph images are not being built when using depends-on a kolla build
  job.
- Sync inventory files with current ones which causes ceph to fail due
  missing groups.
- Small corrections in ceph config.yml syntax.
- fix preparse the disk only once
- enable ceph nfs only when enable_ceph_nfs is true

Co-Authored-By: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Change-Id: Id0c7963bf59e2af4944834dcd16589a638e78ba5
2018-01-24 15:10:01 +08:00
caoyuan
a209e443df Add cpu_mode in vagrant/bootstrap.sh
With libvirt 2.0, when using qemu cpu mode is not properly
evaluated and need to be set to cpu_mode = none.

Add this option when kvm is not supported, otherwise user
will still facing errors when launching instances over qemu.

Change-Id: I7aa6df356085263d25c6afcc812f035d3ded942b
2018-01-24 10:28:52 +08:00
Zuul
3a19e43af8 Merge "Implement external MariaDB and pre-configured Databases support" 2018-01-24 02:25:08 +00:00
Jeffrey Zhang
35b91cf7b7 Disable jinja2 trim_blocks feature
otherwise, if the jinja2 blocks at the end of the line, it will remove
the last newline character and join two lines into one.

Change-Id: Ie710342fb034e477ff854eba3915dd845bddd257
2018-01-24 10:20:14 +08:00
Zuul
c086b2c4ec Merge "Use a random keepalived router id in CI environment" 2018-01-23 14:43:53 +00:00
Alexandru Bogdan Pica
8e3b79440c Implement external MariaDB and pre-configured Databases support
This change allows the following use cases:

1. Using an already-configured MariaDB / MySQL server / Cluster
2. Using already-created DB users, without requiring root DB access.

Update: added external mariadb precheck

Change-Id: I78b0d178306d7c5293b0bf53e445f19f18b4b824
Implements: blueprint external-mariadb-support.
Closes-Bug: #1603121
2018-01-23 13:07:40 +00:00
Jeffrey Zhang
bf4a3c9f6c Use a random keepalived router id in CI environment
Use the same router will result in conflict in the CI environment.

Change-Id: Id1ba69ebbf67b4cead855adbe440343c05ea3d1e
Closes-Bug: #1744913
2018-01-23 12:58:26 +00:00
Eduardo Gonzalez
e44ff538b7 Fix haproxy with memcached enabled
Haproxy keeps restarting due memcached servers
are writen in a single line. adds a empty line
in the for so each server is in its line

Change-Id: I763a23de7f70e9ebe543b935b175e675ec774f9a
2018-01-23 12:08:44 +01:00
gaofei
b51294dc3d Replace Chinese punctuation with English punctuation
Change-Id: Icc4a984e8defe4d068e7f4a78cd5483a0cb9c7b7
2018-01-23 16:31:43 +08:00
Zuul
3b6bf187b4 Merge "Fixed misspelling in Kolla-ansible" 2018-01-23 08:27:52 +00:00
Zuul
e452005ae2 Merge "Fix broken link" 2018-01-23 08:08:35 +00:00
Pengfei Zhang
88e5a440a5 Fixed misspelling in Kolla-ansible
Fixed misspelling in both comments and code function names 

Change-Id: Iaed5f246a9b02fd64433671fd0c0ee41b40bd222
2018-01-23 07:38:45 +00:00
Zuul
f96f70f48e Merge "Add zun configuration about oslo.concurrency" 2018-01-23 07:19:12 +00:00
gaofei
3b828fc923 Fix broken link
Merge commit from[1][2]
[1]https://review.openstack.org/#/c/536657/
[2]https://review.openstack.org/#/c/536657/
Change-Id: I79bd4ca2457222abcc6a58cd3b44be21a11b5a87
2018-01-23 06:03:46 +00:00
Zuul
7a8e41e78a Merge "Fix the storage group missing for external ceph" 2018-01-22 09:43:14 +00:00
Zuul
1c8d94b8c5 Merge "XenAPI: Support neutron configuration" 2018-01-22 08:26:00 +00:00
Zuul
01708a0d48 Merge "XenAPI: Support compute node bootstrap" 2018-01-22 08:25:58 +00:00