3658 Commits

Author SHA1 Message Date
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
709acaaef4 Merge "Disable glance file backend with external Ceph" 2017-11-27 04:58:06 +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
Zhijiang Hu
28b50c22ce Let OVS to connect to the individual IPs of each ODL node
Close-Bug: 1734047

For ODL clustering, one should explicitly points switches to each
of the ODL instances. The openflowplugin logic will figure out
which controller should be the master, and which should be the
slave.

Kolla currently sets the manager to one of the specific ODL over
ptcp and another one through the VIP. The VIP is probably
forwarding the traffic to that same ODL so from ODL's perspective
it's getting two duplicated connection requests from the same OVS
which will cause re-connection problem.

This PS does:
1) Let OVS to connect to the individual IPs of each ODL node in
a ODL cluster instead of only connect to the representative over
VIP. Devstack is doing the same thing[1]. Further more, there is no
need for HAProxy to be frontend for ODL southbound.

2) Delete the unusd ptcp connection option.

[1] https://review.openstack.org/#/c/249484/

Change-Id: Ib57e6fbb5ce64a48be0506904d3c8397ed6f70d9
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-23 06:18:42 -05: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
Kevin TIBI
c2d150d6be Change listen for mdns
The service listening port of MDNS can be override by dns_interface.
If so, the pool conf use the wrong IP for join mdns service.

Change-Id: I8a3678955ecf5f769da7090fe5dad68e027c102b
2017-11-21 15:04:24 +00: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
Sean Mooney
7eb24fa377 automate ovs datapath configuration
- This change automates generation of
  the datapath_type paramater in the ml2_conf.ini
- If enable_ovs_dpdk is no the datapath type
  will be system else it will be netdev which maintains
  the current default behaviour when dpdk is not enabled.

Change-Id: Iedbf39c621f3c0237f9b9934492b12c600f2c4d3
partial-implementes: bp/ovs-dpdk
2017-11-10 16:19:05 +00:00
Zuul
d87a837f36 Merge "Fix name of nova-hyperv play in site.yml" 2017-11-09 12:15:58 +00:00
Zuul
4c4884f6dd Merge "Add missing NOTE marker to site.yml" 2017-11-09 12:15:56 +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
Zuul
15c1a200c2 Merge "Murano application should contact rabbitmq by external FQDN" 2017-11-09 10:24:53 +00:00
caoyuan
febd0b2071 Optimise the "openstack_auth" for freezer
Now that the "openstack_auth" in defined in all.yml,
the freezer should better use it.

Change-Id: Ibe799ce6bb1656994b1e9b6642d1011d9dcf30a7
2017-11-09 09:24:29 +00:00
Zuul
47ffaf8d73 Merge "Fix the incorrect container_facts" 2017-11-09 09:23:39 +00:00
Zuul
03a99e8168 Merge "Dont use local connection for kibana post config" 2017-11-08 19:51:28 +00:00
Pierre Hanselmann
f0c7e7fef5 Enable vwmware dns-integration
dns-integration extension should be enable when
vmware is used.

Change-Id: I31943146e139108a913b9b5e9a0b0283b8ae4830
2017-11-08 15:23:14 +01:00
Paul Bourke
c0f2224e61 Dont use local connection for kibana post config
We should not assume the VIP is accessible from the deploy node.

Change-Id: I39640f98b4adddb9cb8dfdd09d9fb7ecba15a820
Closes-Bug: #1730651
2017-11-08 13:52:23 +00:00
Zuul
da05f72437 Merge "Fix iscsi and tgt containers deployment case" 2017-11-08 07:18:49 +00:00
Zuul
f3462fa74a Merge "Revert "Remove show_multiple_locations in glance-api"" 2017-11-08 07:12:30 +00:00
Doug Szumski
245cd42694 Add configurable rabbitmq monitoring user
As an operator I want to be able to monitor the status
of RabbitMQ by collecting metrics such as queue length,
message rates (globally and per channel), and information
about resource usage on the host, such as memory use,
open file descriptors and the state of the cluster. Whilst
it is possible to gather all of this information using
the OpenStack RabbitMQ user configured by Kolla Ansible,
this user has write access to the OpenStack vhost. This
feature adds a monitoring user which has access to all of
the information described above, but does not have write
access. An example of a service which may use the
monitoring user is the RabbitMQ plugin for the Monasca
Agent. As not all users will configure monitoring, by
default the monitoring user is disabled. To create it,
the user should override the rabbitmq_monitoring_user
variable.

Implements: blueprint add-monitoring-user-for-rabbit
Change-Id: Ie895ddc59dda1c38faab6305163d9bed6710ff9d
2017-11-07 09:52:10 +00:00
Bertrand Lallau
d36f24362d Fix iscsi and tgt containers deployment case
In the following config:
enable_cinder=False
enable_cinder_backend_iscsi=True

Iscsi and tgt containers are deployed but should not.
This patch fix it.

Change-Id: I1d66627b9979b5dc570bbc3e1e865311dd7e7bb0
Closes-Bug: #1715618
2017-11-03 15:01:37 +00:00
Christian Berendt
6d710f595c Collect chrony metrics with telegraf
Change-Id: I4cf1716c94e4fd808b66169348b07fa42e5b242e
Depends-on: I8fbef57b99122b8a093150f6ca1efdd33e032917
2017-11-02 20:47:45 +01:00
Vladislav Belogrudov
71d72ed081 Murano application should contact rabbitmq by external FQDN
In case of external router internal VIP and external VIP are the
same. External router manages port/address redirection from
public network to OpenStack API. The address of the router is
set via 'kolla_external_fqdn'. Currently Murano configuration
that is handed over to Murano application instance uses
'kolla_external_vip_address'. This leads to the instance trying
to connect to internal API network. Correct address should be
'kolla_external_fqdn' which will work in both cases - either with
double VIP setup or with single VIP + external router.

Change-Id: I78c38ae0af1cecd2be2b1c6cc86bcfc51b847082
Closes-Bug: #1729611
2017-11-02 17:01:29 +03:00
Vladislav Belogrudov
33513db407 Allow object versioning by default
Object versioning is necessary to pass DefCore test suite,
i.e. allows Kolla version of OpenStack to be certified
as "OpenStack Powered Platform".

Change-Id: Id5003f7fe2aebdeffe1cf7ce1b6177a6bca8f5b6
Co-Authored-By: Alexander Reunov <alexander.reunov@oracle.com>
Closes-Bug: #1729583
2017-11-02 14:48:14 +03:00
chenxing
994c80c702 Fix the incorrect container_facts
backport: pike

Closes-Bug: #1729564
Change-Id: If6db5fad1f23e0afaadcad97b4f37a13e34de9fa
2017-11-02 18:52:08 +08:00