8332 Commits

Author SHA1 Message Date
Zuul
02fa35dc8e Merge "Use bool filter with enable_ironic_pxe_uefi" 6.0.0.0b3 2018-01-26 05:03:59 +00:00
Zuul
39d9327d29 Merge "Fixes ceph deploy gates" 2018-01-25 14:46:34 +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
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
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
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
Zuul
e9e0ce0fa1 Merge "Support policy.yaml file [part 3]" 2018-01-22 08:09:28 +00:00
Zuul
a0fddc2f35 Merge "Fix tox -e docs failed" 2018-01-22 07:36:34 +00:00
Zuul
7f4769d61c Merge "Remove the unnecessary var defined" 2018-01-22 07:31:18 +00:00
Zuul
551f04bcfa Merge "dev mode: Add support for magnum" 2018-01-22 07:29:07 +00:00
Zuul
0e2e27e956 Merge "Add the missing ceph_mon host groups for gnocchi" 2018-01-22 05:57:29 +00:00
Zuul
fdbfd96d14 Merge "Add a active-standby mode memcached in haproxy" 2018-01-22 05:11:31 +00:00
pengdake
b1f707d76f Add zun configuration about oslo.concurrency
Zun use oslo.concurrency to achieve safely running multi-thread,
multi-process applications. The lock_path is directory to use for
lock files. If external locks are used, lock path must be set.

Change-Id: I4f667d9699ec2231722bcfd7c5f84ba47fc8465c
2018-01-22 10:42:34 +08:00
Dai Dang Van
6d49dbb48a Support policy.yaml file [part 8]
- Horizon

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

Change-Id: Ib8875ca54dc9dc69abc8338413f7724d9d4ecc45
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-22 01:57:14 +00:00
Dai Dang Van
4f8eb892c7 Support policy.yaml file [part 5]
- Freezer
- Gnocchi
- Kuryr
- Murano
- Panko

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

Change-Id: I5450839cb06c515f2be445883421f8f987ca834d
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-22 01:57:05 +00:00
Dai Dang Van
6b99f21341 Support policy.yaml file [part 4]
- Barbican
- Ceilometer
- Cloudkitty
- Congress
- Designate

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

Change-Id: Iaa19f64073d8bdee948bc2de58e095ca72afc092
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-22 01:57:02 +00:00
Dai Dang Van
35b165c5f1 Support policy.yaml file [part 3]
- Heat
- Ironic
- Magum
- Manila
- Mistral

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

Change-Id: I1ab71e2758dc99dd6654d433ece79600f0c44ce8
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-22 08:50:54 +07:00
Zuul
574c68b375 Merge "Move swift service conflicted check into precheck.yml" 2018-01-21 17:57:35 +00:00
Paul Bourke
0d25e6f238 Only copy nfs_shares to cinder-volume groups
Co-Authored-by: Mick Thompson <michael.a.thompson@oracle.com>
Change-Id: I673950cb6cead9b18ee67a0971ed305ef5e3af2d
Closes-Bug: #1713010
2018-01-21 17:52:32 +00:00
caoyuan
b25e8c486b Fix tox -e docs failed
doc/source/user/quickstart.rst:194: D001 Line too long
doc/source/user/quickstart.rst:337: D001 Line too long
doc/source/user/quickstart.rst:339: D001 Line too long

Change-Id: Ibbb3588bddf3bfe9d49c2b2b6909f80c36ec2aff
2018-01-21 21:52:30 +08:00
Zuul
2cd0893d49 Merge "Implement ceph-nfs service" 2018-01-21 13:05:23 +00:00
Jeffrey Zhang
a26357efb9 Add a active-standby mode memcached in haproxy
Memcached do not support cluster. Then make it work in active-standby
mode. This will be helpful to implement high available when using memcached
as tooz backend.

Change-Id: I13722111d8b8d5b066e9a85d4c8d1679704c8caa
2018-01-21 15:02:07 +08:00
Zuul
a3fa30b7fa Merge "Add CephFS backend in Manila" 2018-01-21 03:45:56 +00:00
caowei
0bc83d06f3 Implement ceph-nfs service
Change-Id: Ia909c62158acbec9d1dd926d45c66ac36e6b4244
Depends-On: I06325d4601128a0b5a2235370fa44012427c29e3
Implements: blueprint ceph-nfs-ganesha
2018-01-19 20:48:43 +08:00
Jianghua Wang
0df6e2046e XenAPI: Support neutron configuration
When using XenAPI as the compute virt driver, we need an OVS agent
to manage the OVS running in XenServer dom0. This OVS agent uses
the HIMN(Host Internal Management Network) to communicate with
dom0's OVS. This commit includes the following changes:

* Add a new ovs agent service - neutron-openvswitch-agent-xenapi
  This new agent service will run in the compute hosts and controls
  the OVS running in XenServer dom0; the existing agent service -
  neutron-openvswitch-agent will run in the network hosts and controls
  the OVS running in network hosts.

* It retrieves XenAPI variables from the json file generated at XenAPI
  bootstrap.

* Basing on the XenAPI variables, it will customize relative ml2_conf.ini's
  configure options in a new template which will override the default options.
  e.g.
  * of_listen_address:
  XenAPI use the local himn interface's IP as of_listen_address, so
  that the ovs running dom0 can receive OpenFlow rules from the service
  of neutron-openvswitch-agent-xenapi.
  * ovsdb_connection:
  XenAPI use XenServer dom0's HIMN IP as the OVS DB connection IP, so
  that neutron-openvswitch-agent-xenapi can connect to dom0's OVS DB.
  * host:
  Use the dom0's hostname.

* At the moment, l2_population doesn't for for XenAPI. So disable it.

References:

* XenServer (and other XAPI based Xen variants):
  https://docs.openstack.org/nova/pike/admin/configuration/hypervisor-xen-api.html

* XenCenter HIMN plugin (adding HIMN network which is used by XenAPI driver to
  communicate with XenServer):
  https://github.com/citrix-openstack/xencenter-himn-plugin

* Neutron OVS agent configuration options:
  https://docs.openstack.org/neutron/latest/configuration/openvswitch-agent.html

Change-Id: Iaee0a6c84069b3e6015b00de7aea880cdd33ab09
blueprint: xenserver-support
2018-01-19 10:59:49 +00:00
Jianghua Wang
b2c7269ee7 XenAPI: Support compute node bootstrap
This is to add a bootstrap task for XenAPI to bootstrap the compute
node. One compute node is composed with a XenServer and a DomU VM
running on the XenServer. Before it's ready for deploying OpenStack
sevices on it, we need bootstrap it firstly. The package of
python-os-xenapi contains a tool and some utils which were developed
to finish all of the needed bootstrap tasks
e.g.:
1. configure himn(host internal management network)
2. configure ipatables to allow traffic
3. install xapi plugins to dom0
4. gather XenAPI facts and save them into a file
...

The task added in this commit is to invoke that tool so that the
bootstrap tasks can be completed automatically during kolla deployment.

Depends-On: Ie2d7d40f2755580aac4a10f3d302190a8bd4fe6f
Change-Id: I1500535a1c9a085bcbfec5db5fbddcf040e6892d
blueprint: xenserver-support
2018-01-19 10:59:11 +00:00