aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-01-31Merge "remove python-beaker from openstack-base rpm list"Zuul1-1/+0
2019-01-31build: exit if there is no Docker connectionMarcin Juszkiewicz1-1/+3
When user starts Kolla on system without Docker daemon running huge traceback is generated and then exit. Issue is because KollaWorker raises exception but no one catches it (then only call to it is in run_build() which assumes everything is ok). Change-Id: I68ea3f48c75b51dbbab3accbc531d2f73428c48f
2019-01-31Merge "remove test dependencies from openstack-base"Zuul1-4/+0
2019-01-31Merge "Allow running more commands dockerless"Zuul1-1/+4
2019-01-31Merge "Revert "Update kafka version to 2.1.0""Zuul1-2/+2
2019-01-30Allow running more commands dockerlessMartin André1-1/+4
The `--save-dependency`, `--list-images`, and `--list-dependencies` options to the kolla-build commands do not actually require docker daemon running. This commit stop kolla-build from complaining when it is called with one of the above options without docker daemon started. Change-Id: I966587236aca363316db8abbfc04763655b4b68f
2019-01-30Fix broken xtrabackup and monasca-grafana imagesMartin André4-3/+86
Percona started signing packages with a new public GPG key, without providing it via HTTPS. Ship the PERCONA-PACKAGING-KEY extracted from the percona-release package. https://jira.percona.com/browse/PT-1685 monasca-grafana broken by 'rake' missing when trying to install the 'fpm' gem. Co-Authored-By: Mark Goddard <mark@stackhpc.com> Change-Id: Ica9867448dc20864f2fd4614a295a23a4a625af4 Closes-Bug: #1813906 Closes-Bug: #1813927
2019-01-29remove python-beaker from openstack-base rpm listJon Schlueter1-1/+0
this package is a WSGI helper for caching, not in openstack requirements, and only referenced in refstack and airship. If it's used by any packages that I missed it should be implicitly installed where used/needed instead of in openstack-base and not used Change-Id: Iafd6678846e7c495cc96a6d3a7681d70a4bf8171
2019-01-29remove test dependencies from openstack-baseJon Schlueter1-4/+0
these containers should not need unittest support packages in general, tempest may need one of these but that should be installed as needed not for all container images. - testtools - introduced in - unittest2 - introduced in Ia3a9756c58f0ead3b20e435f1d1546408f4a8b36 - zake - introduced in Ie05ba975bc2f88cd9ee896aafc60171d6ca8d10b - fixtures - introduced in Ia3a9756c58f0ead3b20e435f1d1546408f4a8b36 Change-Id: Ic2325afc6ce3ee9f8a8c03ad19050809255df2f5
2019-01-29Revert "Update kafka version to 2.1.0"Doug Szumski1-2/+2
This reverts commit e9f7fc33c5f1b97e6e71cb74ce9bac04f15572c3. Change-Id: I655841e3db4caddbc5dfd2ace8bffad468265c08
2019-01-29Merge "Update kubernetes-entrypoint v0.1.1 to 0.3.0"Zuul1-1/+1
2019-01-29Merge "[prometheus] Bump openstack-exporter version."Zuul1-1/+1
2019-01-29Utilize already existing block for rabbitmq plugin installyatin1-3/+0
[1] added a new block for rabbitmq plugin installation, block rabbitmq_install_plugins already exists, it should be utilized. [1] https://review.openstack.org/#/c/628150 Change-Id: I900780aa22ba3a3fc19b88bdbb03b2a291ee7167
2019-01-28Merge "Add support rabbitmq promethues plugin"Zuul2-0/+23
2019-01-25Merge "Increase gather_facts timeout"Zuul1-0/+3
2019-01-23Guard adding contentdir RUN in base templateJon Schlueter1-1/+1
As a follow up to I402cff1ac86a2ba108f2f5378cc98db5f6ecc673 only add the echo command if there is a value in centos_contentdir Change-Id: Ie5144ee3b8bdb2535a32cfb43c43dfc1bb556ac8
2019-01-23Merge "Update kafka version to 2.1.0"Zuul1-2/+2
2019-01-21[prometheus] Bump openstack-exporter version.Jorge Niedbalski1-1/+1
This commit bumps the prometheus-openstack-exporter version to the latest release 0.0.5. Change-Id: I8cd77c4973722cd7622ffc7a1833c6ed76ffd630 Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2019-01-21Increase gather_facts timeoutAlex Schultz1-0/+3
Bifrost containers are failing to build occassionally due to udevadm timeouts. This is likely related to an ansible issue, https://github.com/ansible/ansible/issues/43884, which can be worked around by increasing the gather facts timeout value. This change updates it to 30 seconds from the default 10. Change-Id: If252e41a012a24f31cf2f1414657ac18c819228f Closes-Bug: #1812259 Depends-On: https://review.openstack.org/632078
2019-01-21Merge "Fix magnum logic for rhel"Zuul3-4/+12
2019-01-19Update kafka version to 2.1.0Thomas Bechtold1-2/+2
This is inline with the change[1] in monasca which also updates to that version. [1] https://review.openstack.org/#/c/629876/ Change-Id: I2f3038ac93271bb623528308e94f335478cbe23d
2019-01-18Merge "Use base_package_type"Zuul203-487/+487
2019-01-18Fix magnum logic for rhelAlex Schultz3-4/+12
RHEL currently doesn't support magnum, so let's throw an error if it is built on rhel. Change-Id: Idfb94fd66e5eb841fb81ec4eeeaf13b7c5a3cede
2019-01-18Make set_config.py compatible with both Py2 and Py3Damien Ciabrini1-1/+1
When asserting the validity of config files, we currently use viewkeys(), which has been removed in Python3, so a kolla container cannot set the config with Python3 only. "Traceback (most recent call last):", " File \"/usr/local/bin/kolla_set_configs\", line 406, in main", " config = load_config()", " File \"/usr/local/bin/kolla_set_configs\", line 297, in load_config", " validate_config(config)", " File \"/usr/local/bin/kolla_set_configs\", line 238, in validate_config", " if not data.viewkeys() >= required_keys:", "AttributeError: 'dict' object has no attribute 'viewkeys'" Use keys() instead, which is compatible with both Python2 and Python3, and has no visible performance disadvantage and wrap it in a set() call so that we are guranteed to compare sets. Change-Id: I5f53c8f5a390a9df3ebb60659ebdcef41e3a9cad Co-Authored-By: Michele Baldessari <michele@acksyn.org>
2019-01-18Merge "Add base_package_type"Zuul4-0/+38
2019-01-17Merge "Add distro_python3 option"Zuul4-0/+41
2019-01-17Use base_package_typeAlex Schultz203-487/+487
This change updates the docker files to use base_package_type instead of doing specific distro checks for the rhel/deb generic cases. The base_distro is still available and is used when a specific distro needs a customization but if the differences are purely rpm vs deb, then the base_package_type can be used. Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
2019-01-17Merge "[collectd] add collectd-rabbitmq-monitoring"Zuul1-0/+1
2019-01-17Merge "Ensure /run_command is readable by all users"Zuul1-1/+7
2019-01-16[collectd] add collectd-rabbitmq-monitoringMatthias Runge1-0/+1
to collectd to enable rabbitmq queue monitoring. Change-Id: Iee7d11828726c3ce4bb72ae1d27c57c5c056c302
2019-01-16Add base_package_typeAlex Schultz4-0/+38
Currently in all the Dockerfile.j2 files, we are doing base distro if conditions for package names when installing via a binary. Rather than duplicating these base_distro in [<distros>], let's provide a single value for determining the binary installation method. This change adds a base_package_type which we can use to lookup if 'rpm' or if 'deb' rather than relying on specific distro names. Change-Id: I8a0c6c8fbc32a8cfa6932fddf28a449fceda3d49
2019-01-16Add distro_python3 optionAlex Schultz4-0/+41
As we add support for python3 on RHEL based systems, we need to add a flag to key off of in the Dockerfiles to swap out the python3 package names. This change adds a distro_python3 configuration option that can be defined to force python3 or python2 package names. If this option is not provided, we set this to True for RHEL 8 based distros and false for other distros. Change-Id: I4028991bad92c0e8e21066cc4173c06ce5eba393 Related-Blueprint: python3-support
2019-01-15Merge "[prometheus] Added openstack-exporter base image."Zuul1-0/+20
2019-01-15Ensure /run_command is readable by all usersDamien Ciabrini1-1/+7
On some distro, running kolla_start via su changes the default UMASK, and consequently set_configs.py generates a /run_command that is not world-readable, and kolla cannot start the configured service. Make sure /run_command always has 'go+r' permissions. Change-Id: I6304f5937c512068ee1fb8aac5c88a2bd086e387
2019-01-13Run Zun job on kuryr's changesHongbin Lu1-1/+1
Zun depends on Kuryr so it is reasonable to trigger the Zun job on Kuryr's change. Change-Id: Iec62b1073c68011a40802529a45e5d81cfaf8a88
2019-01-11Bump CI post-run timeout to 2 hoursMark Goddard1-1/+1
We are seeing a number of POST_FAILURES in the periodic publishing jobs, with jobs timing out pushing images to Docker hub. Try bumping the post timeout to 2 hours. Change-Id: I69b5610b712560e2d617933e639e77041953e21c
2019-01-10Add python2-sqlalchemy-collectdMike Bayer1-1/+2
This allows monitoring of SQLAlchemy connection pool usage. Change-Id: I2bcaa44c184bb24e5caeeb8d204dda627de59c91
2019-01-10[prometheus] Added openstack-exporter base image.Jorge Niedbalski1-0/+20
This commit adds the base image for openstack-exporter [0]. The selected exporter is released for amd64 and arm64 architectures. [0] https://github.com/Linaro/openstack-exporter Change-Id: Ic785711421c6af9d3e7c67f01c57c660501fbcee Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2019-01-10Copy missing heat_policy.json fileKien Nguyen1-0/+4
Change-Id: Ic90821f1a9ebfcea67183bb91aebca00c046133e
2019-01-09Update the remain hacking version for lower-constraintszhulingjie1-1/+1
It should be updated in https://review.openstack.org/#/c/627148/ but missing, this ps to update it. Change-Id: Idea1cc84d2e551d160207d44751a30f6232e0cd1 Closes-Bug: #1810530
2019-01-09Fix grafana repoJeffrey Zhang4-9/+10
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-04Merge "Update hacking version"8.0.0.0b1Zuul9-28/+33
2019-01-04Add support rabbitmq promethues pluginzhubingbing2-0/+23
Change-Id: I1b2b3d6708bfcd58864e26e6c1fc618fb421e9a2
2018-12-27Update hacking versionconfi-surya9-28/+33
Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: Ia3d1166a2746a46591e4e5a04ea91e03ddc28d93
2018-12-27Merge "Ignore undefined values in customizable filter"Zuul1-0/+7
2018-12-27Merge "Update docs for building ovs-dpdk images"Zuul1-12/+8
2018-12-24Ignore undefined values in customizable filterMark Goddard1-0/+7
When using the customizable filter to modify variables, if a template overrides file is shared between multiple sets of images, it is sometimes possible that a customised variable does not exist for a set of images. A specific example: My template overrides file has this: {% set ironic_inspector_packages_append = ["python-pip"] %} Normally I build binary/centos images. kolla-build -t binary Sometimes however I build a bifrost centos/source image, because bifrost does not support binary images. kolla-build -t source bifrost The ironic inspector image does not define ironic_inspector_packages for the source build, since it does not need any. {% elif install_type == 'source' %} {% if base_distro in ['debian', 'ubuntu'] %} {% set ironic_inspector_packages = ['iptables'] %} {% endif %} {{ macros.install_packages(ironic_inspector_packages | customizable("packages")) }} The install_packages macro copes with the undefined variable, however the customizable filter does not handle the base variable being undefined if a customised example exists. This change allows the customizable filter to ignore undefined variables, even if they have been customised. Change-Id: Ibe2fc91f5b6ceee8f937dd73c235128b2db525b1 Closes-Bug: #1809491
2018-12-22Merge "Remove dependencies from kolla ansible jobs"Zuul3-30/+6
2018-12-21Update docs for building ovs-dpdk imagesGeorg Kunz1-12/+8
Correcting and clarifying the documention for how to build OVS images with DPDK support: * The additional heading was confusing and the following sentence even more so. * Fixed the image name in the build command. * Updated the OVS and DPDK version numbers to current stable versions. Change-Id: Ib12be3da4f1fc14f1fed990a8abcdf87477a4e1b
2018-12-21Merge "Use the base OS image for tripleoclient base"Zuul1-1/+1