| Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
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
|
|
Use latest release 1.1.0 and compatible changes w.r.t pep8
Change-Id: Ia3d1166a2746a46591e4e5a04ea91e03ddc28d93
|
|
This change breaks out the Placement service from Nova ahead of it's
removal from the project later in Stein.
For the time being the original Nova Placement images are left in place
but they will be removed later in the cycle once the Placement code is
removed from the Nova project by the following change:
https://review.openstack.org/#/c/618215/
Co-Authored-By: Lee Yarwood <lyarwood@redhat.com>
Change-Id: I2bf6f5bf45b76e6900f41c21e9af30c69dc6e9c0
|
|
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
|
|
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
|
|
We'd like to use this container both interactively (for
ad-hoc commands) and also to be able to generate
Ansible (via the undercloud/all-in-one installers) for TripleO.
Partially-implements: https://blueprints.launchpad.net/tripleo/+spec/zero-footprint
Change-Id: Ia4d7fdcb9c96d76e191dcc1a46be095b37189b3e
|
|
skip the skipped_images loop when the combination is unknown,
or when the skiplist is empty.
Change-Id: Ia2dfbb1c80baeaa2eeb4720381e4da6c7b1c85af
|
|
Change-Id: Ief8f075a57f8e365499fddbca25b1af71ccfc96c
Closes-Bug: #1772552
|
|
Add a try/except check and raise excpetion if not --template-only
Reason for this is so that you can run kolla_build --template-only
on a system with a user that doesn't have permissions to access
docker or system may not have docker service running. The template
only generation is ok because it doesn't specifically need the docker
context
Change-Id: I191f3e073d14e9ba5419a8a9b043e8afaa565e2a
|
|
This reverts commit I57594742e0842c0e701b9974046d9d1704446f4b
Add ceilometer package into neutron-server-opendaylight container, then
it chould be found by pip.
Closes-Bug: #1764621
Co-Authored-By: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Change-Id: Ibaaf1de0c437ce9d25c93e68ab5a43279c4e60ee
|
|
Monasca Thresh is a Java topology for Storm which generates
alerts from metrics. It depends on Java code in the
monasca-common library. In this change we support building
the Monasca Thresh Storm topology from source. To enable us
to submit the topology to Storm we inherit from the Storm
container (rather than the Monasca base image) so that we can
use the Storm client.
Change-Id: I389af89086cdab6d243c4a4fa65fd157535a5045
Partially-Implements: blueprint monasca-containers
|
|
Add a decode=True option during call to dockerAPI in order
to build container against recent docker swarm.
Closes-Bug: #1779460
Change-Id: I48f041e7ed9dd5a5f410b4eaa081f6f013119d17
|
|
In python 3, tpl_dict.keys() returns a dict_keys object that does not
support indexing and is then indexed.
Wrap tpl_dict.keys() in a list() so it can be be indexed in python 2 and
3.
Change-Id: I17e3bbfc4eeba58e4bdd7fdd1ecdb21baa5c4461
Closes-Bug: 1778781
|
|
|
|
|
|
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
|
|
|
|
This fixes an issue with cmd2 >= 0.9.0 requiring python3.
Change-Id: I08b606980cb796a6b884e69b3e6749edbdd7cf37
Closes-Bug: #1773938
|
|
Add kolla-toolbox and sensu-base to skip list to unblock gate. Then we
can merge the proper fix and remove the images from skip list.
Change-Id: I34285fffc7a3542007161d2e10e713756710b4ca
Related-Bug: #1773938
Related-Bug: #1774123
|
|
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
|
|
|
|
Rework push_image function to use docker client push function with decode=True, to decode automatically to dict.
Change-Id: I28d38e968c3809a1074347271e49dc07dc861f11
Closes-Bug: 1771514
|
|
We do not tell that optionX or optionY is disabled so why we have to
inform that image squash is disabled?
This is an option which has to be enabled and then informing that it is
enabled has sense.
Change-Id: I14b9b02e3cb290128d9f7673df8efe61aaa08c31
|
|
This allows to know which image failed to build without having to parse
the huge job-output.txt file.
This commit creates a convenient 000_FAILED_image_name.log symlink to
the relevant log files when kolla is configured to output to a log
directory. This creates symlinks only for the parent image with error,
i.e. it skips images that failed to build because of parent error.
Change-Id: I05954e2335dc3fac469276809c91f9c87e3ecab2
|
|
Add the ability to specify a different network_mode when running the
image builds. Under the covers the default is to use bridge networking
but if that is unavailable or a user would like to specify a different
networking method they can now do so using the [DEFAULT]\network_mode
configuration.
Change-Id: I1d2398273b57ca4d52bbfacbc896ffecc58bc54b
|
|
Skiping neutron-server-opendaylight image build to run the gate
Change-Id: I57594742e0842c0e701b9974046d9d1704446f4b
|
|
There are senlin binary packages on redhat[1] and ubuntu systems[2].
[1]https://trunk.rdoproject.org/centos7-master/puppet-passed-ci/openstack-senlin-api-5.0.1-0.20180324005415.00641ad.el7.centos.noarch.rpm
[2]http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/s/senlin/senlin-api_5.0.0-0ubuntu1~cloud0_all.deb
Closes-Bug: #1759094
Change-Id: Ic9ffe563924511edf80f0eeb2df3018a1111bb35
|
|
* Adding Dockerfile to build image with ironic-neutron-agent.
* Add ``neutron-base-plugin-networking-baremetal`` in
kolla/common/config.py to enable building neutron with baremetal
plugin.
Since the ML2 mechanism driver and L2 Agent is in the same
python package, the source install will include the
ironic-neutron-agent as part of neutron-base.
Change-Id: I232dcf44c8a56c268610053cf362714d52e6cb93
|
|
fix a typo
Change-Id: I8067ac07a5bf62dded8dc2ea2c2c74c2375ad3c5
|
|
The argument of 'insecure_registry' for image push has been removed
by this commit (in docker 3.0.0):
https://github.com/docker/docker-py/commit/b180b8770a265e33099bd6da76c3e556a1028491
Actually this argument was marked as deprecated and unfunctional
before this removing.
This commit is to remove this parameter at invoking the push() function
when docker version >= 3.0.0.
Change-Id: Ifa7d304d08a4073dcb1dff751d5a443c112cd377
Closes-Bug: #1746703
|
|
Missing download of jre via openjdk package
Change-Id: Icce1a92f9707b435e1d4a4a75453e21b541b2a22
|
|
|
|
Implements: blueprint squash-layers
Change-Id: Ic9a144e50440ccb37f7781d8955815a64282e687
|
|
There is some issue on tripleo-ui side, which block the kolla gate.
Revert me when https://bugs.launchpad.net/tripleo/+bug/1744215 is
fixed.
Change-Id: I68867f0bbabad61d583761d54c35d1df15fb8698
Related-Bug: #1744215
|
|
|
|
|
|
Almanach record the utilization of OpenStack resources for each tenant.
Implements: blueprint containerized-almanach
Change-Id: Iba2e16772864a6f0169ec43d7a87d741882cd51c
|
|
Change-Id: Ib2bc276d1de030c737231a8854e593617dd86471
|
|
It returns a 4-tuple, not a 3-tuple.
Change-Id: I3a1ba7c840ced519a3c47664f42ddc1822f1d1bb
|
|
|
|
nova-mksproxy is a Nova console proxy for VMware instances
Change-Id: I446dd9eacdd0f0ee6f980133d1419d67c8dc7857
Closes-Bug: #1723997
|
|
Vitrage start api service under apache or uwsgi.
We have not created a migration to uwsgi.
This change adds apache packages needed for api
also add rdo binaries to rpm distros.
Adds missing collector image.
Change-Id: Iecb32e321b46f9b567af25fa6acafbe9a292bbca
Closes-Bug: #1681613
|
|
bifrost was removed from test_build validations
due bug: https://bugs.launchpad.net/kolla/+bug/1674483
This change add bifrost again to vote on builds
except for oraclelinux source that still failing
to build.
Change-Id: I413250f06e7ec4b2b6996667441a8be458c8824f
|
|
Change-Id: Iaf3ecdce44d2bd88fb0132966ba9c786873dbd6a
Implements: blueprint tripleo-ui-undercloud-container
|
|
Change-Id: Ide8478c248e77b9c85201981e8086f3dbf06d131
|
|
Change-Id: I21fb133b051bed2f0dab4a6459d14aa06e27eed8
|
|
When the first build attempt fail for any reason (e.g. short network
outage, proxy outage,...) then the second attempt always fail for
git source type. Git can't clone repository because destination
directory exists and is not empty.
Current fix checks destination directory and if it exists then
it is removed before cloning.
Change-Id: I949140c49a64baea579d61047e3b2f1240da2771
Closes-Bug: #1706369
|
|
|
|
- This change introduces a docker-dir config option to enable
specifying an out of tree additional docker file
root dir for use with kolla build.
- This change allows kolla's build system to be reused by non kolla
or external project to build arbitrary docker images using jinja2
templatized docker files.
Co-Authored-By: Michal (inc0) Jastrzebski <inc007@gmail.com>
Change-Id: Idbba02a8910866ef1b838e5cbac3ab230551b7e5
|