aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-10-26utils: be Python 2 compatible when squashing is enabledMarcin Juszkiewicz1-1/+1
INFO:kolla.common.utils.base:Parent lastest layer is: sha256:75835a67d1341bdc7f4cc4ed9fa1631a7d7b6998e9327272afea342d90c4ab6d ERROR:kolla.common.utils.base:Unknown error when building Traceback (most recent call last): File "/home/hrw/devel/linaro/17.12/kolla/kolla/image/build.py", line 598, in builder self.squash() File "/home/hrw/devel/linaro/17.12/kolla/kolla/image/build.py", line 619, in squash tmp_dir=self.conf.squash_tmp_dir) File "/home/hrw/devel/linaro/17.12/kolla/kolla/common/utils.py", line 72, in squash ex.stdout) AttributeError: 'CalledProcessError' object has no attribute 'stdout' stdout was added in Python 3 as alias for output Change-Id: I7a6cef2ef6201d6b34c640bd6d1c7762c8bf5611
2018-10-23ceph-base/dind: switch to btrfs-progs packageMarcin Juszkiewicz2-2/+2
Starting with 4.4.1 release btrfs-tools were renamed to btrfs-progs so *-tools package became transitional one. Next stable Debian release will not have 'btrfs-tools' package at all. Change-Id: I188eaad233c1dbdbfd1c115e02b0e1c66e307c20
2018-10-22Merge "Improve pep8 checking along with hacking"Zuul1-0/+35
2018-10-19Merge "ceph-nfs: Debian got nfs-ganesha in backports - use them"Zuul1-1/+1
2018-10-19Merge "heat-all: mark as not available for Debian"Zuul1-1/+1
2018-10-17Merge "Build and install Fluentd Monasca plugin"Zuul2-0/+21
2018-10-17Merge "Install UEFI related package for nova image"Zuul1-1/+53
2018-10-16Update the links to httpszhulingjie1-1/+1
Change-Id: I97d95dc9a9ac4b264e2b5cc2dd43d61828a0978b Closes-Bug: #1801435
2018-10-16Merge "Fix potential Monasca-thresh start failure"Zuul2-0/+20
2018-10-16Merge "Add Monasca template override file"Zuul2-0/+21
2018-10-15Update the monasca link to docszhulingjie1-1/+1
Change-Id: I7d40aeccec7277acce5c875fdd66733dc4d3947a Closes-Bug: #1800842
2018-10-31Merge "mariadb: make security_reset.expect's timeout configurable"Zuul1-1/+1
2018-10-29Merge "build: remove link to failed log before creating"Zuul1-3/+9
2018-10-26Fix naming of override templateDoug Szumski1-0/+0
Make the filename match with the documentation. TrivialFix Change-Id: Ibcb1149af87f4d999ea7bd9d98782583c7e1a7f3
2018-10-25build: remove link to failed log before creatingMarcin Juszkiewicz1-3/+9
Kolla allows to create separate logs per image. It also makes very useful symlinks to those builds which fail. But it fails to do that on next builds: ERROR:kolla.common.utils:aodh-base Failed with status: error Traceback (most recent call last): File "./tools/build.py", line 40, in <module> sys.exit(main()) File "./tools/build.py", line 30, in main statuses = build.run_build() File "/home/hrw/devel/kolla/kolla/image/build.py", line 1333, in run_build results = kolla.summary() File "/home/hrw/devel/kolla/kolla/image/build.py", line 1037, in summary "000_FAILED_%s.log" % name)) FileExistsError: [Errno 17] File exists: 'aodh-base.log' -> 'logs/debian-source-buster/000_FAILED_aodh-base.log' Change-Id: I85132bbace63c8b386f69ddb758a3b52e52c0ef0
2018-10-24mariadb: make security_reset.expect's timeout configurableDamien Ciabrini1-1/+1
Under heavy load, when the security_reset script is being run to set up root password, it might happen that the mysql server doesn't get a change to evaluate the SQL statement sent by security_reset.expect before the hardcoded 10 seconds timeout is reached. Allow the timeout to be overriden via env variable DB_MAX_TIMEOUT, which is already used as a timeout variable in extend_start.sh Change-Id: If82c6daca82a48d899605829dc99cf4a352cddcd Closes-Bug: #1775864
2018-10-15Install UEFI related package for nova imageJeffrey Zhang1-1/+53
- for x86_64 arch, install OVMF for RHEL family and ovmf for Debian family - for aarch64 arch, install AAVMF for RHEL family and qemu-efi for Debian family - there is no package support for ppc64le Closes-Bug: #1796558 Change-Id: Ie1c688e74ec2aa3b6169c0a18a856dd0c92fe443
2018-10-12neutron-base: remove bashismsChristian Berendt1-1/+1
Use [ instead of [[. This will solve the following issue: Change-Id: I1153a5146ca8b08dd1ad732b60d8d4bce8e060ab INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found INFO:kolla.common.utils.neutron-base:
2018-10-11Build and install Fluentd Monasca pluginDoug Szumski2-0/+21
This is a simple output plugin for Fluentd which can forward logs to the Monasca Log API. Partially-Implements: blueprint monasca-containers Change-Id: I599554052c3cb99ebcbcbc4d7ea1aeb57c573d2e
2018-10-11Merge "Add crane docker image"Zuul7-1/+103
2018-10-10neutron-base: unify Debian/Ubuntu partMarcin Juszkiewicz1-21/+17
Change-Id: I13d75c3fafd2f1e26da6e85cacb7b84601096d8d
2018-10-10heat-all: mark as not available for DebianMarcin Juszkiewicz1-1/+1
Change-Id: I972f94b26d34783f055cf4a559fafb2c14ea76a5
2018-10-10ceph-nfs: Debian got nfs-ganesha in backports - use themMarcin Juszkiewicz1-1/+1
Change-Id: Idf3c07384848eb54bca4595e50034bf980a7f77c
2018-10-10Merge "Document Kolla image API"Zuul2-0/+186
2018-10-09Document Kolla image APIMartin André2-0/+186
A first shot at documenting the kolla image API. Not perfect but this should at least provide a good overview for the projects that want to consume kolla images. Change-Id: I10943a050e4d21dfcdebb75084a26c12845d322b
2018-10-09Improve pep8 checking along with hackingconfi-surya1-0/+35
This change will help to check the function _() is used but not imported. And the gates will check this missing in the next time. Change-Id: Ic1dd25e99c3db9fc8782a5f0977679978e274191
2018-10-09Fixed file modes in toolbox:/usr/share/ansibleGary Perkins1-0/+5
Sometimes, when deploying with user root, the local repo has files of mode 0600. This has been found to cause "Permission denied" errors when deploying Glance. This little fix is to explicitly set a more permissive file mode on those files to allow the deployment of Glance to setup it's service and endpoints. Change-Id: I30ea6898e7bf1b6713cb41656420e8d515be224e Signed-off-by: Gary Perkins <gary@garyperkins.com>
2018-10-05Add ironic-staging-drivers to ironic-conductor for RHEL family binary and ↵Dan Williams1-2/+4
source based builds. Change-Id: I1a7533c738edeff4e696e95b9b267c23a78003e9 Closes-Bug: #1796194
2018-10-05Merge "[prometheus] Add blackbox exporter."Zuul1-0/+20
2018-10-04Merge "Use rabbitmq package from OS distro for Bifrost"Zuul1-2/+7
2018-10-04Merge "Add user 'zun' to group 'docker'"Zuul3-0/+15
2018-10-04Merge "Add /var/lib/kolla/venv/bin to Zun exec_dirs"Zuul1-1/+2
2018-10-04Merge "grafana: on aarch64 use 5.2.4 version from upstream"Zuul3-5/+19
2018-10-04Merge "fix tox python3 overrides"Zuul1-0/+6
2018-10-02[prometheus] Add blackbox exporter.Jorge Niedbalski1-0/+20
This change adds a new exporter image, the blackbox exporter from the prometheus project [0] that allows external monitoring of resources. [0] https://github.com/prometheus/blackbox_exporter Change-Id: I05ab750d2598ac02df06ee4528a3de12b216e895 Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-10-02Fix potential Monasca-thresh start failureDoug Szumski2-0/+20
Monasca-thresh inherits from the Storm container, but we want it to write logs to the Monasca logs directory. In this commit we overwrite the script which configures the Storm log directory with the Monasca script. Change-Id: Id961134e424117ebefb088021faaf37fa02757d7 Partially-Implements: blueprint monasca-containers
2018-10-02Add Monasca template override fileDoug Szumski2-0/+21
Unfortunately Monasca currently requires an old version of InfluxDB. Partially-Implements: blueprint monasca-containers Change-Id: I09af763ef97efc786994c180562861fef96dcc14
2018-10-02Use rabbitmq package from OS distro for BifrostMark Goddard1-2/+7
The recent change to upgrade RabbitMQ broke deployment of Bifrost, since it does not support the newer version of RabbitMQ. This change reverts the bifrost image to use the package provided by the OS. Change-Id: Id6c9b879727734ea2c03b2d69e1a673354f52617
2018-10-01Add user 'zun' to group 'docker'Hongbin Lu3-0/+15
Zun compute needs to access the docker socket for API call. The socket is owned by 'docker' group and the zun-compute process is owned by 'zun' user. In order to allow the access, this commit add zun user to docker group. Change-Id: Ifa7d399242dddf8d07f8b495b344752131a0f110
2018-09-30Add /var/lib/kolla/venv/bin to Zun exec_dirsHongbin Lu1-1/+2
This is necessary for rootwrap/privsep to work properly Change-Id: I128fb04a5ddeb77428697d33e2015158bc74738f
2018-09-28Merge "base: remove pinning of dh-python for ubuntu"Zuul1-5/+0
2018-09-28Remove '.. end' commentschenxing4-106/+0
Following by https://review.openstack.org/#/c/605097/ These were used by now-dead tooling. We can remove them. Change-Id: I790a18b3a40c22ec94bc6f6dba656ba4db518cfe
2018-09-27grafana: on aarch64 use 5.2.4 version from upstreamMarcin Juszkiewicz3-5/+19
Upstream started building Grafana for arm64 a while ago. So let's use it instead of someone's build. Change-Id: Ia5359cd86022f2475301407d62a5ad4e1b275c13
2018-09-27base: remove pinning of dh-python for ubuntuMarcin Juszkiewicz1-5/+0
During Xenial cycle we had to pin dh-python. With Bionic we no longer have to. Change-Id: Icf80c902ebd962a3034a1948209a357f768f533f
2018-09-27ceph: stick to luminous on Ubuntu (in proper way)Marcin Juszkiewicz2-16/+8
Previous attempt broke Debian builds. Pinning Ceph packages instead of giving version during install. Change-Id: I791e479ba265ba61ffd882da18f85cdbece67e55
2018-09-26fix tox python3 overridesDoug Hellmann1-0/+6
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I916dfe05c88d3960e0239a6b9a7e5affc6d79196 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-25Merge "Downgrade Logstash for Monasca"Zuul1-3/+27
2018-09-25Merge "Spec: Kolla-managed backup (and restore) for MariaDB"Zuul1-0/+201
2018-09-25Merge "Ingore monasca-thresh in version-check.py"Zuul1-1/+2
2018-09-25Merge "Revert the patch set "Apply Swift rolling upgrade""Zuul3-20/+0