8307 Commits

Author SHA1 Message Date
Michal (inc0) Jastrzebski
8bd6dd9be5 Fix kolla gates
multinode gate change introduced bug that breaks kolla deploy gates.
This is fix.

Change-Id: Ibc5fe3adb3555e177d3a6a64250cbc9bf50430d1
2018-01-03 15:06:34 -08:00
Zuul
9f9353cb66 Merge "We install 'ca certs' not 'ubuntu ca certs'" 2018-01-03 18:33:02 +00:00
Zuul
8408bb6e07 Merge "init-runonce: use UEFI on aarch64" 2018-01-03 18:33:01 +00:00
Zuul
83ba36c5fd Merge "nova: set libvirt/cpu_mode on aarch64 to working value" 2018-01-03 16:53:42 +00:00
Zuul
cb67758e3b Merge "init-runonce: use Cirros 0.4.0 images (aarch64 support got added)" 2018-01-03 16:49:41 +00:00
Marcin Juszkiewicz
dff7896d02 nova: set libvirt/cpu_mode on aarch64 to working value
Instance failed to spawn: libvirtError: unsupported configuration: CPU
mode 'host-model' for aarch64 kvm domain on aarch64 host is not
supported by hypervisor.

Change-Id: Iad530457aef24ee8f561a8f7d2c6c6150c55bc42
2018-01-03 14:22:23 +00:00
Zuul
5f0a709dfd Merge "Enable multinode scenarios in zuulv3" 2018-01-03 12:28:34 +00:00
Marcin Juszkiewicz
f00fa0a2a7 We install 'ca certs' not 'ubuntu ca certs'
Change-Id: Ie6e1d30d2fcbdd7c138c05585f24931e8495fc28
2018-01-03 12:44:42 +01:00
caoyuan
d8f6c76f6b fix the tempest failure for external ceph
show_multiple_locations is missing for external ceph, and it will
cause tempest run failed.
it means the conditon for show_multiple_locations is
glance_backend_ceph but not enable_ceph, this patch it fix it.

Change-Id: I3c95c3b0a7e34639b376bdfd0205f3930b06e2cd
Closes-Bug: #1741022
Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net>
2018-01-03 19:05:38 +08:00
Marcin Juszkiewicz
750d6ff65f init-runonce: use UEFI on aarch64
Nova does not yet defaults to UEFI ;(

Change-Id: I9f26d373f73d15fa571545b3c867beb07da88f48
2018-01-03 12:02:27 +01:00
Marcin Juszkiewicz
54351ebae2 init-runonce: use Cirros 0.4.0 images (aarch64 support got added)
Change-Id: Ia4fbe1f2895593d1f6099f174736e8267b87e8d6
2018-01-03 12:02:22 +01:00
Zuul
c325aadda8 Merge "Prevent cinder conf from copy nfs_shares to unrelated nodes" 2018-01-03 10:47:20 +00:00
Zuul
1c98469d57 Merge "mariadb: enable galera clustering by default" 2018-01-03 08:49:01 +00:00
Zuul
1a1e5cc520 Merge "Remove show_image_direct_url for external ceph" 2018-01-02 14:21:16 +00:00
Zuul
84bbc17a86 Merge "Bump ODL release version" 2018-01-02 09:27:08 +00:00
Duong Ha-Quang
cc2e3743bf Prevent cinder conf from copy nfs_shares to unrelated nodes
Prevent cinder conf from copy nfs_shares to all nodes instead of
just cinder-volume.

Change-Id: I4f94b6c0ca8b628c1babee7fff0b66fb5a8df257
Closes-Bug: #1713010
2018-01-02 14:53:34 +07:00
Mark Goddard
2f25d43566 Create volumes for Bifrost's persistent data
Using Docker volumes for persistent data in the bifrost container is
necessary for upgrading the bifrost services.

This change adds the following volumes:

* bifrost_httpboot
* bifrost_ironic
* bifrost_mariadb
* bifrost_rabbitmq
* bifrost_tftpboot

Ironic creates hardlinks between the TFTP master image store and the
HTTP root path when iPXE is enabled. With different Docker volumes
used for these locations we run into
https://bugs.launchpad.net/ironic/+bug/1507894 during deployment. If
we use a directory under /httpboot to store the master images this
issue is avoided.

Change-Id: I8653268d3598e7a59d2eb45c8750d45b6fc9e35f
Partially-implements: blueprint bifrost-upgrade
2017-12-30 12:45:43 +00:00
Mark Goddard
bf8eb4809a Mount kolla_logs volume in bifrost_deploy
Using a kolla_logs volume ensures that logs are persistent beyond the
lifespan of the bifrost_deploy container. This is necessary to support
upgrading the bifrost services. It also opens the possibility of log
forwarding, although we do not currently deploy a fluentd container on
the bifrost host.

Change-Id: If3118cd75ccc87b0d003d5f382695aeaa43ed0f8
Partially-implements: blueprint bifrost-upgrade
2017-12-30 12:31:38 +00:00
Mark Goddard
5f2429b51a Ensure inspector uses internal ironic interface
Kolla-ansible typically configures services to access the internal API
endpoint of other services, rather than the default public endpoint.

This change ensures that this is the case for ironic inspector.

Change-Id: I998f12435fc1bd306444f9a68bd7f99f5b78f6f8
Closes-Bug: #1740591
2017-12-30 11:51:21 +00:00
Mark Goddard
68b2d48fd5 Add ironic inspector to fluentd log collection
Previously ironic inspector logs were not being collected, as they are
stored in /var/log/kolla/ironic-inspector/ rather than
/var/log/kolla/ironic/. This change modifies the fluentd input
configuration to use the correct directory.

Also adds the ironic-inspector service to the fluentd programname
rewrite rule.

Change-Id: Ie5d67f395e4c32fef992e674f2d53dbd6a17f238
2017-12-29 19:45:45 +00:00
Zuul
89d5a24ad1 Merge "Allow empty compute group when ironic is in use" 2017-12-29 08:20:19 +00:00
Zuul
a5ea0c4b14 Merge "Remove duplicate configuration options on trove templates" 2017-12-29 08:20:18 +00:00
Zuul
a0e50a455e Merge "dev mode: Add support for kuryr" 2017-12-29 08:16:04 +00:00
Zuul
18e8a64e9b Merge "gitignore: Update path to vagrant environment dir" 2017-12-29 08:16:03 +00:00
Zuul
4f00d910fe Merge "It has to tell user how to set the internet ip" 2017-12-29 08:14:25 +00:00
Zuul
ab774b6608 Merge "Add missing check.yml in redis role" 2017-12-29 08:14:24 +00:00
Zuul
c97858fe33 Merge "Updated from global requirements" 2017-12-29 08:14:24 +00:00
ZhongShengping
4f835ed3bc Update READEME
The patch[1] has been merged. We can add vitrage deployment content in
README.

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

Change-Id: Idd031bce2195a2910eed6395cb821a339904d355
2017-12-29 10:07:34 +08:00
Marcin Juszkiewicz
7377846f8a mariadb: enable galera clustering by default
Kolla assumes mariadb 10.0 where galera stuff was always enabled. And
this works for CentOS and Ubuntu as they use 10.0 on x86-64.

Debian uses mariadb 10.1 by default (and CentOS on !x86-64 and
Ubuntu/aarch64) where galera stuff is disabled by default.

Closes-Bug: 1740060
Co-Authored-By: Xinliang Liu <xinliang.liu@linaro.org>
Change-Id: I8374ac2219ad7880970cd789727d01af7cac1077
2017-12-28 23:45:45 +00:00
caoyuan
b08dd6d9d4 Remove show_image_direct_url for external ceph
Currently glance v2 doesn't allow to specify custom
locations for image by default, remove it for external ceph too.

Related to https://review.openstack.org/#/c/518864/
Related to https://review.openstack.org/#/c/279630/2

Change-Id: I24fbf22bd158a38db4b98d74a951dfc01193fbc6
2017-12-28 15:37:43 +08:00
Zuul
d891ac396b Merge "Remove show_image_direct_url for ceph plugin" 2017-12-28 07:34:08 +00:00
Zuul
e3af18f90a Merge "Add vitrage ansible role" 2017-12-28 04:57:45 +00:00
Zuul
0e9b4413f4 Merge "Fix dhcp_agent configuration for vmware DVS" 2017-12-28 04:57:44 +00:00
Michal (inc0) Jastrzebski
478e2cf9c9 Enable multinode scenarios in zuulv3
Another step to migrate to new CI

Change-Id: Id9bf9b4b1114f5be66f6c028a0db16d869efeceb
Depends-On: Iaacdca31b27b7033ec08499bcea7061b9d3ec279
2017-12-27 09:21:35 -08:00
caoyuan
a3a0e920e6 Fix the cinder backup action failed when use external ceph
when cinder use external ceph, and edit the cinder-backup.conf follow
the external-ceph-guide.rst, cinder will backup failed because the
backup_ceph_user is not cinder-backup, the patch to fix it.

Change-Id: Ie7213c1280b2b8fc0a4648d09d9ba132427952aa
Closes-Bug: #1740222
2017-12-27 15:19:48 +08:00
zhubingbing
3dee904215 Remove show_image_direct_url for ceph plugin
To fix it we change the default param to True.
'show_image_direct_url' will be overridden.
Currently glance v2 doesn't allow to specify custom
locations for image by default, it returns 403.


Closes-Bug: #1740223

Related to https://review.openstack.org/#/c/279630/2

Change-Id: Ib4dd54c69830ab8f3f9812877b026f81c23c224a
2017-12-27 07:06:13 +00:00
Zuul
c0af83331a Merge "Let OVS to connect to the individual IPs of each ODL node" 2017-12-25 19:30:08 +00:00
Eduardo Gonzalez
7da18e1a6e Bump ODL release version
ODL 6 bumped version to 6.2.
Without setting version, karaf is not able to install some
required features.

http://cbs.centos.org/repos/nfv7-opendaylight-6-release/x86_64/os/Packages/

Change-Id: I12101accff2f76dee9b145d2d6dcab7d8a15719b
Closes-Bug: #1740043
2017-12-25 20:25:53 +01:00
Jeffrey Zhang
e027d0862f Deploy ceph mgr during upgrade
Now we have upgraded to ceph Luminous, need start ceph mgr during
upgrade from Pike( which is ceph Jewel ).

Implements: blueprint ceph-luminous
Change-Id: I16ac0fc5d963b5725f9a19ecd396290fea7c0399
2017-12-21 18:00:39 +08:00
Zuul
aa224bfd66 Merge "mariadb/galera: handle Debian as well" 2017-12-21 08:26:21 +00:00
Jeffrey Zhang
e733a4b8bb Fix wrong ceph mgr keyring name during creating
ceph mgr should use the each node name rather than the first node
inventory_hostname

Change-Id: Ib4530ee95b4201a941b836a3fbcbe27d2d03b06f
2017-12-21 14:20:12 +08:00
Marcin Juszkiewicz
2b0a5cedbd mariadb/galera: handle Debian as well
Change-Id: I235e16e98dab38f20213cc48672c6e862a04d95f
2017-12-20 16:52:59 +00:00
Pierre Blanc
953433ce7b Remove duplicate configuration options on trove templates
The option neutron_endpoint_type is duplicate on these files:
 - trove/templates/trove.conf.j2
 - trove/templates/trove-taskmanager.conf.j2

We just have to remove one occurrence.

Change-Id: If5c91cf7b491966b1deac42c694af5995df9b11e
2017-12-20 10:33:39 -05:00
Zuul
6c24e5c92f Merge "Add the missing ceph-mgr for site.yml" 2017-12-20 15:10:26 +00:00
caoyuan
74ddf10c46 Add the gnocchi_backend_storage configuration for external ceph docs
when use external ceph, kolla need set ceph to "no",this way by default, the
gnocchi_backend_storage will be file, refer to [0]. we should set
it to ceph, this patch to explain in docs.

[0] https://github.com/openstack/kolla-ansible/blob/master/etc/kolla/globals.yml#L302

Change-Id: If35082531e9de4524299fe4fc7e97bec5a6c2c79
2017-12-20 23:08:57 +08:00
Zuul
0227f17f34 Merge "nova: add an option for no console" 2017-12-19 19:36:19 +00:00
Michal Rostecki
e4c7b50320 dev mode: Add support for kuryr
Provide support for kolla dev mode in Kuryr. When
'kolla_dev_mode' or 'kuryr_dev_mode' variables are
enabled, source code of Kuryr project is cloned
and bindmounted.

Partially implements: blueprint mount-sources

Change-Id: I74c1ea70b4220a0e91f19403971303ca55652371
2017-12-19 13:26:55 +01:00
Michal Rostecki
21372339e7 gitignore: Update path to vagrant environment dir
TrivialFix

Change-Id: I8da660eca6fc2c43ba38fa4fb3b453aa959401e0
2017-12-19 13:26:55 +01:00
Eduardo Gonzalez
c46ce38804 change kuryr default driver option name
kuryr changed driver option to default_driver

Ref: https://review.openstack.org/#/c/508778/

this change updates the template to apply the change.

Change-Id: I38669564a769bbe7b55386db5208a3341b15da9e
2017-12-19 11:52:43 +00:00
Mark Goddard
d8a744e436 Allow empty compute group when ironic is in use
If ironic is in use it is valid to have no (virtualised) compute nodes.

Change-Id: I100540fbfd81be5642c1d4ed135fcd500924a47e
Closes-Bug: #1701317
2017-12-19 10:47:33 +00:00