360 Commits

Author SHA1 Message Date
Jeffrey Zhang
ae88344025 Fix grafana repo
Grafana repository is moved from packagecloud to
packages.grafana.com[0]. Based on new grafana install guide[1], update
the grafana.repo

[0] https://grafana.com/blog/2019/01/05/moving-to-packages.grafana.com/
[1] http://docs.grafana.org/installation/rpm/#install-via-yum-repository

Closes-Bug: #1810867
Change-Id: Ib065fdc561b72fc013b952b3df41ee83b083194e
2019-01-09 13:31:15 +08:00
Zuul
e215e51fc1 Merge "Use infra mirrors for ODL and percona repos" 2018-12-19 13:48:02 +00:00
Zuul
3cdfb985d0 Merge "base/debian: add Percona repo key" 2018-12-18 12:31:39 +00:00
Eduardo Gonzalez
0c4238da7c Use infra mirrors for ODL and percona repos
Change-Id: I212a53b235f2785d93d474660c87a8521f3cc8b2
2018-12-18 09:13:52 +00:00
Eduardo Gonzalez
65296e27e6 Fix Oraclelinux build, disable collectd in gate
Oraclelinux repositories has been upgraded and
previous file removed, this change update repos
to new URLs.


Disable collectd in gate as is currently broken and
blocks mergingin voting jobs.

Change-Id: I402cff1ac86a2ba108f2f5378cc98db5f6ecc673
2018-12-05 08:46:29 +00:00
Zuul
d0ef376666 Merge "base: tell gnupg to not use TTY when we import APT keys" 2018-12-01 12:57:07 +00:00
Zuul
cd7cfb4872 Merge "Use dumb-init with --single-child" 2018-11-27 07:25:15 +00:00
Marcin Juszkiewicz
0984836aaa base/debian: add Percona repo key
Change-Id: I8a70690d081e2ce1284cae60179ce0598a28a393
2018-11-21 11:04:06 +01:00
Marcin Juszkiewicz
464844eeb8 base: tell gnupg to not use TTY when we import APT keys
Debian builds fail with gnupg error:

INFO:kolla.common.utils.base:Executing: /tmp/apt-key-gpghome.utZMwIQ8EO/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 418A7F2FB0E1E6E7EABF6FE8C2E73424D59097AB
INFO:kolla.common.utils.base:gpg: cannot open '/dev/tty': No such device or address

This change stops GnuPG from using tty.

Change-Id: I4a9f2fb2c9fdd21430ce3a9bd02999ae21e1847a
2018-11-21 11:00:59 +01:00
Rabi Mishra
b06d8387f5 Use dumb-init with --single-child
We would probably like to forward signals only to the direct child
which in turn takes care its children and not to all worker child
processes.

Change-Id: Id91ebb8b0ecc43946845de386350af0536dd661f
Related-Bug: #1799642
2018-11-20 14:48:12 +05:30
Marcin Juszkiewicz
0cdfa0c8ca base debian/ubuntu: drop not needed APT keys
Ubuntu: we dropped external MySQL repo months ago.

Debian: we dropped most of external repos when we moved to 'stretch'.

Also replaced Elasticsearch repo key with full id.

Change-Id: I679bd814b143d128f334c76d5ec7cc2dbe06543d
2018-11-08 11:26:35 +01:00
Nick Jones
25de6deb4b
Introduce Percona XtraBackup image
blueprint database-backup-recovery

Implements an image suitable for taking MariaDB backups via Percona's
XtraBackup tool.

Install XtraBackup from Percona's repos, ensuring that packages from
this source aren't used for any other purpose.

Include a script which invokes XtraBackup with the appropriate
options for either a full or incremental backup.

Change-Id: Ifebe2045e5815c573c0a2ae05951c428c3f06a92
2018-11-06 11:29:45 +00:00
Jeffrey Zhang
919bb29d0c Disable init lastlog and faillog database for created user
These two files are useless in container, and disable them will save
about 18MB size for image. More info please check[1].

[1] https://github.com/sagemathinc/cocalc/issues/2287#issue-249824529

Change-Id: I1bba59260043782fd7c9306b194d144d027a29e0
2018-10-28 22:54:49 +08:00
Zuul
649094f9d2 Merge "Add crane docker image" 2018-10-11 09:18:42 +00:00
Zuul
bff8f95b95 Merge "grafana: on aarch64 use 5.2.4 version from upstream" 2018-10-04 12:41:19 +00:00
Marcin Juszkiewicz
1367a1f35d grafana: on aarch64 use 5.2.4 version from upstream
Upstream started building Grafana for arm64 a while ago. So let's use it
instead of someone's build.

Change-Id: Ia5359cd86022f2475301407d62a5ad4e1b275c13
2018-09-27 18:45:31 +02:00
Marcin Juszkiewicz
57c0b23b5e base: remove pinning of dh-python for ubuntu
During Xenial cycle we had to pin dh-python. With Bionic we no longer
have to.

Change-Id: Icf80c902ebd962a3034a1948209a357f768f533f
2018-09-27 17:50:13 +02:00
Marcin Juszkiewicz
7826ba2984 ceph: stick to luminous on Ubuntu (in proper way)
Previous attempt broke Debian builds.

Pinning Ceph packages instead of giving version during install.

Change-Id: I791e479ba265ba61ffd882da18f85cdbece67e55
2018-09-27 18:05:22 +09:00
Zuul
32e02a2fb8 Merge "Move to the latest rabbitmq" 2018-09-21 16:15:48 +00:00
Dan Prince
4f9ee9f132 Add crane docker image
Crane is a lightweight 'pull only' container registry
implementation.

TripleO is aiming to replace our use of docker-distribution
with crane for the Undercloud.

Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: I59d9521f99243401d7703a3dedc26b5baed2d595
2018-09-21 13:54:29 +02:00
Marcin Juszkiewicz
a063bee28d base: use bionic version of UCA on non-x86
Change-Id: Ia1ace8b5d981a28c6722fc4ddd074f1daa02ad9b
2018-09-13 10:23:07 +01:00
Paul Bourke
31c958db52 Move to the latest rabbitmq
This allows us to use the new simpler style conf format, as well as drop
the dependency on the deprecated clusterer plugin.

Depends-On: I921459f3e40b9e0d4af9497384e49aabf0abe79b
Change-Id: I75e00312b36e1678b90a42cf58d24652323eff27
2018-09-11 17:19:33 +01:00
Martin André
27bab79096 Download binaries more securely
Obtain binaries from encrypted source when we're unable to check for
their signatures. This should provide better security than downloading
the files over HTTP but does not replace signature verification or file
integrity check.

Related-Bug: #1791674
Change-Id: I7d6eed9ab14ceb130ea4f5f03d893ddaaa0a7acd
2018-09-10 19:19:16 +02:00
Zuul
6302e0b7b2 Merge "Use bionic repo rather than xenial for Sensu in Ubuntu distro" 2018-08-21 11:12:37 +00:00
Jeffrey Zhang
381be8ad72 Use bionic repo rather than xenial for Sensu in Ubuntu distro
Change-Id: I78efa793ee72235a6cf16c5a65ef102db7e35c9a
2018-08-16 09:46:27 +08:00
Jeffrey Zhang
5fff35c90d Bump to UAC rocky release for ubuntu aarch64 and ppc64le
Change-Id: If80ffba72f4b5e74f1fea52900098c687090d9db
2018-08-16 09:42:06 +08:00
Zuul
8d44e3b5a4 Merge "base: do not set $contentdir for CentOS" 2018-08-14 12:05:36 +00:00
Marcin Juszkiewicz
c7b2bbf550 base/centos: stop treating AArch64 in special way
All repositories we depend on got synced to mirrors. So we no longer
need to fetch ceph-luminous or opstools from buildlogs.centos.org
server.

Change-Id: Ie7b54d20f98d26d3e086bbbfcda289c2677a008a
2018-08-10 14:16:46 +02:00
Marcin Juszkiewicz
a922b332bc base: do not set $contentdir for CentOS
We no longer have to set $contentdir for CentOS as it is set in centos:7
images now.

This code was required when Docker hub had 7.4 images while 7.5 packages
were already in repositories.

Change-Id: I69d1b87ffb3af1dea2f8cf93a2264df93356e9ed
2018-08-10 11:36:45 +02:00
Zuul
cd1f1f1ff3 Merge "centos: clean altarch repositories situation a bit" 2018-08-07 13:17:05 +00:00
Jon Schlueter
b50aec6821 add additional Remove yum cache
as a followup to https://review.openstack.org/#/c/505143/
"Remove yum cache"

Change-Id: Ifaaead6f6efe35808ebf79ea0d4474fbb60c8994
2018-07-26 20:06:22 +00:00
Zuul
09d6183700 Merge "Upgrade UAC to Rocky for ubuntu" 2018-07-13 16:46:59 +00:00
Jeffrey Zhang
727845d65f Upgrade UAC to Rocky for ubuntu
Change-Id: I9aa30b055f03f1187b58faa32c0e1704756490a3
2018-07-12 14:11:40 +08:00
Doug Szumski
72f85b4226 Add support for building Logstash
Add support for building Logstash 5.x for both Centos
and Debian based x86 distros.

Partially-Implements: blueprint monasca-containers
Change-Id: I4e2422d1cd2ae4c1f4aa63e8e543e725a1dc840c
2018-07-11 13:56:47 +00:00
Marcin Juszkiewicz
eb321e4827 centos: clean altarch repositories situation a bit
CentOS team synced virt/kvm-common repository for alternate archs. We
can just install 'centos-release-qemu-ev' package like it is done on
x86-64.

Change-Id: Ie45a0b83fc4460d5dfce82efca061272db974ead
2018-07-10 10:12:35 +00:00
Kevin Tibi
229a048ed5 Update elasticsearch and kibana version to 5.x
Change-Id: I8ed60eab2c15ae966960bcbeadb7aa25fece83a5
Implements: bp-elasticsearch-upgrade
2018-07-09 17:57:41 +01:00
Xinliang Liu
40a0250733 Fix debian-security mirror acccess error
Security.debian.org accessing will actually access CDN mirror.
Some mirror should use "security.debian.org/debian-security"
like "mirror.xtom.com.hk", or it will cause apt-get update error[1].

[1]
E: Failed to fetch http://security.debian.org/dists/stretch/updates/main/binary-arm64/Packages 404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

Change-Id: Idd8b80c5f3c1e4aebd752e1ca6fb643e25eb1837
2018-06-28 11:15:05 +08:00
Marcin Juszkiewicz
de381efc20 dind: get image buildable for Debian
With use of Docker-CE from upstream.

Change-Id: If1a6fe3f1654a2c06c3c3882dc56cdfc6945a17e
2018-06-15 13:54:45 +02:00
Zuul
9bd9ae8cb6 Merge "Install sensu from centos-opstools" 2018-06-06 13:27:45 +00:00
Marcin Juszkiewicz
0f43dfc592 centos: use DELOREAN repo directly on all architectures
CentOS 7.5 added 'contentdir' variable to yum package manager. We handle
it already in Kolla.

RDO team started using it in DELOREAN repo file so we can use it
directly on all architectures.

Change-Id: I59fa4d3fdbd0d0e2ed52c2725684c0033451e232
2018-06-05 15:34:44 +02:00
Zuul
578d3a8338 Merge "do not set contentdir to 'centos' on 'rhel'" 2018-06-04 12:13:56 +00:00
Zuul
5caa5e30de Merge "Bump Ubuntu base image to 18.04" 2018-06-04 10:39:19 +00:00
Thierry Vignaud
9723832192 do not set contentdir to 'centos' on 'rhel'
commit ec5daaaa634351d24706e605c2c6726be402d35b wrongly did this for
rhel too

Change-Id: I202ea5341f8db315b90367cbdef5c7b26567738b
2018-06-04 10:27:13 +02:00
Martin André
76a965ad80 Install sensu from centos-opstools
This should help improve stability overall, in exchange for slightly
older package version.

Cap all the sensu plugins to their known major version that works with
the ruby interpreter shipped with the current version of
rhel/centos/oraclelinux -- currently ruby 2.0. All sensu plugins use
semantic versioning so we're assured they don't introduce breaking
changes in the capped major version.

Change-Id: Ic5ca679c40da3e466433b0e04f762d2bbffbf156
Closes-Bug: #1774123
2018-05-31 18:35:36 +02:00
Jeffrey Zhang
14374e715d Bump Ubuntu base image to 18.04
Ubuntu 18.04 has been released. We need upgrade to it this cycle.

Changes made in this patch

- Bump ubuntu repo from xenial to bionic. Some repos do not have bionic
  packages, so still using xenial repos.
- Drop mariadb, percona and nfs-ganesha repo, because these packages are
  already provided by Ubuntu official repo.
- Since qdrouterd does not have bionic repo and xenial packages does not
  work on Ubuntu bionic, just add it into ignore image list.
- Use python-rtslib-fb and targetcli-fb rather than python-rtslib
  and targetcli
- use xen-utils package name rather than with package version one.
- Seems unsigned repo won't work on Ubuntu bionic, stop using infra
  mirrored unsigned repo in gate building job.

Needed-By: https://review.openstack.org/568728
Implement blueprint: ubuntu-bionic
Change-Id: I4e3b0ca669cfbf6316bf591f2d8428fa1a0d6182
2018-05-26 00:24:30 +08:00
Marcin Juszkiewicz
0dde127897 base: import Linaro ERP 18.06 repo key
Change-Id: I7d85c3bfd21f6f2bed631a7817507595d4bbe521
2018-05-25 10:29:44 +01:00
Marcin Juszkiewicz
b7ad82bdff base: drop not needed APT key
Change-Id: I94dba206614ee353cdbb6cf1d44716d4c94e55ab
2018-05-17 11:10:38 +02:00
Zuul
0c25f7c7ec Merge "elasticsearch: enable for Debian" 2018-05-15 17:26:10 +00:00
Marcin Juszkiewicz
35040899e4 elasticsearch: enable for Debian
Change-Id: Ife92f910ccf76fdef48f81e09e0abde0d09b9a1a
2018-05-15 11:03:39 +00:00
Marcin Juszkiewicz
bdcbcf8bf7 base/debian: use Linaro ERP 18.06 repository
At Linaro we are working on new release (based on Debian/stretch).

All packages used by Kolla got moved to release repo.

Change-Id: Id9aab125b2e5c7e66b4befadb435c697d8b2e553
2018-05-14 11:39:14 +01:00