3167 Commits

Author SHA1 Message Date
caoyuan
b1c15af95d Remove the unnecessary register.yml from upgrade.yml for Nova
upgrade action no need to create endpoint, project, user, and role.
so the register.yml is unnecessary for upgrade.yml. this patch to
remove it.

Change-Id: I7e8d2c03cc596a551cd3e4b9b5214098d666f7ca
Closes-Bug: #1737071
Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net>
2017-12-08 07:09:10 +00:00
Zuul
822a3994fd Merge "Update swift templates for rsync_module" 2017-12-07 10:41:28 +00:00
Zuul
47d83d6bd5 Merge "Add missing hostnames to fluentd log messages" 2017-12-07 09:23:00 +00:00
Zuul
a1cd4a7ee9 Merge "XenAPI: support XenAPI in nova configuration" 2017-12-07 09:09:27 +00:00
Zuul
f6944aaaad Merge "Removed -e Docker flag in ovsdpdk task" 2017-12-05 12:57:10 +00:00
Zuul
960320cc78 Merge "Fix deploy ceph failed when contoller hava no cluster_interface" 2017-12-05 07:48:22 +00:00
Jianghua Wang
0c8a033a03 XenAPI: support XenAPI in nova configuration
When using XenAPI as the virt driver, we need some XenAPI
specific configure options. This commit is to ensure nova's
configuration can be generated correctly for XenAPI. It
includes the folowing changes:
* Add XenAPI as one of the valid options for nova_compute_virt_type;
* Configure some options when XenAPI is chosen as the virt type.

This commit does NOT include the host and [vnc] configurations which
will be covered by a following commit.

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
* nova configuration options:
  https://docs.openstack.org/nova/pike/configuration/config.html

Change-Id: Id34d247ab78976627f8e70685f27470b254cd418
blueprint: xenserver-support
2017-12-05 07:36:07 +00:00
Benjamin Diaz
6bf24be524 Removed -e Docker flag in ovsdpdk task
Replaced the use of the -e flag in ovs-dpdk handler

Change-Id: I3455fc284b455283774b427ca1fec7acfa8c5b91
Closes-Bug: #1734944
2017-12-04 11:06:43 -03:00
Zuul
5f58b609b2 Merge "Fix launch instance failed in trove" 2017-12-04 13:40:44 +00:00
caoyuan
2109e64029 Fix deploy ceph failed when contoller hava no cluster_interface
when ceph-mon and ceph-osd run on difference hosts
such as ceph-mon run on controller node, ceph-osd
run on storage node, and controller node have no
cluster_interface, when it happens, kolla-ansible
will failed.

Closes-Bug: #1735775 

Change-Id: I8d6bc66d41c544ab9e7e1b126127e25c70a22933
2017-12-01 15:17:36 +00:00
Jeffrey Zhang
0b931c9347 Fix launch instance failed in trove
- remove useless *_url, which can be auto discovery
- use internalURL instead of publicURL which make it works when
  using self-signed SSL certification.
- configure network_driver to Neutron
- add network_label_regex to match all network name

Change-Id: I5654dbf391db7076c82aede5c2a4f8b7530b8381
Closes-Bug: #1734039
2017-12-01 15:59:32 +08:00
Zuul
56e5d56acf Merge "Add horizon domain dropdown" 2017-12-01 07:15:29 +00:00
Zuul
c31c1ab49e Merge "Use openstack_service_workers variable for gnocchi metricd workers" 2017-11-30 04:10:42 +00:00
Zuul
7576dcc44c Merge "Update swift for replication issues" 2017-11-29 11:13:41 +00:00
Jeffrey Zhang
d832139a09 Use openstack_service_workers variable for gnocchi metricd workers
Change-Id: Ibfa777065291c2e9c2ae00db5288afc8db91e055
Closes-Bug: #1735095
2017-11-29 16:17:19 +08:00
Zuul
9b48099441 Merge "Add support for hybrid messaging backends" 2017-11-28 19:06:49 +00:00
Zuul
a26b23e264 Merge "Add ovs flows to skydive" 2017-11-28 14:47:58 +00:00
Zuul
8ad8342bc1 Merge "Telegraf should only output to influxdb when influxdb is enabled" 2017-11-28 14:47:57 +00:00
Pierre Hanselmann
27253723e3 Add horizon domain dropdown
Added ``horizon_keystone_domain_choices`` hash. It can be used to set the
available domains to choose from on the horizon login page. This feature
was introduced in pike release.

Change-Id: Ia7d2bc45e518848a04ce78e7833e1cf9a0ef21ce
2017-11-28 13:28:36 +01:00
Zuul
105c94c1a1 Merge "Remove use_neutron from sahara config" 2017-11-27 05:05:54 +00:00
Zuul
8818d10ec0 Merge "Configure glance ceph during upgrade and genconfig" 2017-11-27 05:04:37 +00:00
Zuul
6374339c69 Merge "Add a precheck to ensure Cinder backend enabled" 2017-11-27 05:00:33 +00:00
Zuul
ad963c0d37 Merge "Do not check api_interface for deployment group" 2017-11-27 04:53:26 +00:00
James McCarthy
3245201af1 Update swift for replication issues
There are corresponding image changes to go with these ansible
changes - changes in rsyncd template, and add
environment settings for RSYNC_CONNECT_PROG (i.e. nc)

nc allows for rsync replication to easily target {{ swift_rsync_port }}

update the lock file and chroot settings in template - see bug
for more details.

Change-Id: Ic81b7de8fad8aec9416e4e27e8ffda6d03be293c
Closes-Bug: #1733851
2017-11-24 14:49:38 +00:00
Zuul
f12a18504b Merge "Standardise log field naming" 2017-11-24 08:37:07 +00:00
Zuul
0d9fd76b17 Merge "Non-lvm iscsi backends should run iscsid on compute and storage nodes" 2017-11-24 08:18:21 +00:00
Zuul
3aa21d78c5 Merge "Add dvr_no_external l3 dvr agent mode" 2017-11-24 02:49:03 +00:00
caowei
7ce5c46894 Remove use_neutron from sahara config
Nova network has been fully removed from the OpenStack codebase.
As such, all instances of switches on use_neutron should be removed,
as the functionality will never be meaningful.

Change-Id: I6af9af897b5a4416082307e01dca951c9b7026ad
Depends-On: Ib9d87dd339d637b69fb27315d92228cbc523c8eb
2017-11-24 10:07:26 +08:00
Vladislav Belogrudov
8d429fc1e1 Non-lvm iscsi backends should run iscsid on compute and storage nodes
Cinder backends that utilize iSCSI protocol require iscsid on
compute and storage nodes to handle volumes and their backups.

Change-Id: I1c735d2abace4b46879be99731ead47d578335ea
Closes-Bug: #1725258
2017-11-23 10:37:13 +00:00
Zhijiang Hu
1618962adf Do not check api_interface for deployment group
Close-Bug: 1732846

Change-Id: I6489599453ae56a60281ecbae9ce85aa59b1162a
2017-11-23 03:08:35 -05:00
Andrew Smith
fd1d3af0df Add support for hybrid messaging backends
This commit separates the messaging rpc and notify transports in order
to support separate and different oslo.messaging backends

This patch:
* add rpc and notify variables
* update service role conf templates
* add example to globals.yaml
* add release note

Implements: blueprint hybrid-messaging
Change-Id: I34691c2895c8563f1f322f0850ecff98d11b5185
2017-11-22 14:09:40 -05:00
Zuul
2752709507 Merge "HyperV should not disable tunneling" 2017-11-22 16:24:41 +00:00
Paul Bourke
a80f47da36 Add a precheck to ensure Cinder backend enabled
Make sure at least one Cinder backend is enabled if enable_cinder=True

Change-Id: Ie40f4832f7860fcbc7074b61df9f49fcaed2471b
2017-11-22 10:30:05 +00:00
yong sheng gong
ff89ff4215 Add dvr_no_external l3 dvr agent mode
This patch introduces inner-compute and external-compute nodes
group to distinguish compute nodes which do not have external
reachability from compute nodes which can reach outside.

Co-Authored-By: jinke <jin.ke@99cloud.net>
Co-Authored-By: yong sheng gong <gong.yongsheng@99cloud.net>

Change-Id: I45b945f7885e8243b017cf8607cbd7f9827cb6e9
Closes-bug: #1722026
2017-11-21 22:26:19 -05:00
Mark Goddard
2dbfe74fe4 Configure glance ceph during upgrade and genconfig
Previously the glance ceph backend was only being configured during
the deploy and reconfigure commands. This change ensures that it is
configured during the upgrade and genconfig commands as well.

Some of the related host/group selection logic has been cleaned up,
as it was a little tautolgous.

Change-Id: Ibfc2bfaaf2e24fb3a0697925e7723794046787fa
Closes-Bug: #1728060
2017-11-21 11:49:47 +00:00
James McCarthy
4cac847f6c Update swift templates for rsync_module
With the current templates, the rsync_module is left as the default value,
which has not {meta} included. Setting sync_module has no effect.

References:
https://github.com/openstack/swift/blob/master/etc/container-server.conf-sample
https://github.com/openstack/swift/blob/master/swift/obj/replicator.py#89

Change these templates to set rsync_module instead.

Change-Id: I14773a09013b90dd2dd68110173eab1d3ccec3de
2017-11-20 18:17:03 +00:00
Doug Szumski
fc9f84ea8c Add missing hostnames to fluentd log messages
- Sets the hostname on rabbitmq and mariadb log messages
  according to the local host.
- Sets the hostname on syslog log messages by extracting it
  from the syslog message. In many cases this will be the
  same as the local host, but it may also be a remote host.

Closes-Bug: #1726596
Change-Id: If7c53916d5a355b3aac33d6a62d89d02474e8b53
2017-11-20 14:36:23 +00:00
Zuul
1175238420 Merge "Extract log level from syslog" 2017-11-17 19:36:11 +00:00
Zuul
9c4871d00a Merge "Implement Keystone zero-downtime upgrade" 2017-11-17 17:23:50 +00:00
Zuul
23582ec5d7 Merge "Fix the deprecated syntax in 01-rewrite.conf" 2017-11-17 07:23:42 +00:00
chenxing
419a2fc9fd Fix the deprecated syntax in 01-rewrite.conf
The current syntax of Ubuntu fluentd rewrite rules are not supported
anymore, reference to this commit[1].
According to the build of this patch[2], The Centos has no such isuue.
Only Ubuntu needs to be upgrade to use the <rule> section.

* Centos use 01-rewrite-0.12.conf.j2
* Ubuntu use 01-rewrite-0.14.conf.j2

backport: pike

[1] 248ed8e97d
[2] https://review.openstack.org/#/c/517907

Depends-on: I47985113fe732569d640a262ca832c6edc8c2bb6
Change-Id: I0b131c2f65652cf3c61b33d8162097b047603923
Closes-Bug: #1730664
2017-11-16 07:59:32 +00:00
Duong Ha-Quang
f7870e1d2f Implement Keystone zero-downtime upgrade
1- Expand and migrate database in first keystone node
  2- Upgrade all nodes sequentially along with updation of each node's
     configuration file with latest release version
  3- Last keystone node, contract database

With this patch, there is small downtime when all containers are
restarted. It will be fixed in other patch.

[1] http://docs.openstack.org/developer/keystone/upgrading.html#upgrading-without-downtime

Co-Authored-By: Surya Prakash Singh <surya.singh@nectechnologies.in>
Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com>
Co-Authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>

Partially-Implements: blueprint ks-rolling-upgrade-role

Change-Id: I2159af567c40848840ff5e483e7d1f6de760b435
2017-11-16 11:13:50 +07:00
Zuul
bf0e8a8d52 Merge "Fix ansible running issue on Debian" 2017-11-15 11:44:35 +00:00
Zuul
243a7a3967 Merge "Clean update endpoints task in keystone upgrade" 2017-11-15 05:11:56 +00:00
Zuul
0c915c908f Merge "Revert "Omit outward_rabbitmq from check for upgrade"" 2017-11-15 05:11:53 +00:00
Eduardo Gonzalez
953861bde1 Clean update endpoints task in keystone upgrade
Endpoints are updated in pike upgrade,  queens and later
dont need such action.

Change-Id: I13723bafc4bf09c24d9bcd2ec7b4e002ae83aec0
2017-11-12 22:38:45 +00:00
Zuul
51f2a267dc Merge "Collect chrony metrics with telegraf" 2017-11-12 04:49:10 +00:00
Zuul
4f708b2783 Merge "Enable vwmware dns-integration" 2017-11-12 04:43:57 +00:00
Zuul
11502dd477 Merge "Remove trailing whitespaces" 2017-11-09 11:14:58 +00:00
Zuul
18d851ed38 Merge "Optimise the "openstack_auth" for freezer" 2017-11-09 10:36:51 +00:00