summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2019-10-23Revert to uwsgi-plugin-python for barbican source imagesMark Goddard1-1/+1
Stein only I508bb082a319955b3e008235e158eaa07a1e8a74 was backported to stein to fix an issue with barbican images which contained the python 2 version of uwsgi-plugin-python on Ubuntu/Debian, but should have used uwsgi-plugin-python3. However, in Stein only Ubuntu/Debian binary images used python 3 - not source images. This change reverts to uwsgi-plugin-python for Ubuntu/Debian source. Change-Id: I62c1a42c29ce7273028f99edbb77f4362a2452ce Related-Bug: #1849128
2019-10-22Fix python3 compatibility for barbicanDincer Celik2-2/+2
Barbican refers to python3 but uwsgi refers to python2. This change fixes this issue. Change-Id: I508bb082a319955b3e008235e158eaa07a1e8a74 Closes-Bug: #1849128 (cherry picked from commit 823e45a6c909437a6530c9f34f9e4f5cce8ab79c)
2019-10-21Bump Openstack Exporter version to 0.6.0Keith Plant1-1/+1
There appears to be a bug in the prometheus openstack exporter versions <= 0.2.1 causing cinder data to stop being collected after about 24 hours. Bumping to latest stable version 0.6.0. Change-Id: Iccaf4c0bb79e7e33072e37aa83711b37938d6719 Signed-off-by: Keith Plant <kplantjr@gmail.com> (cherry picked from commit cd7f78e8f87b194633b60bcce89852f701a77c90)
2019-10-16Add disk dev name check functionEddie Yen1-39/+20
This patch will add new function in extend_start.sh for OSD creation. Not only support loop device but also others that disk dev layout is end with numbers. Change-Id: Iee5f8b8581d70166de6eba1bdc9e42766fe8cb48 Closes-Bug: #1847014 (cherry picked from commit 1d5f753fb13bcc3659b4abd1bb768de8550a6dc4)
2019-10-07build: enable Octavia for Ubuntu/binaryMarcin Juszkiewicz5-10/+17
Change-Id: Icc68b404d8713a9fcf0026374378d1645fe30d52
2019-10-07Merge "Install rsync in swift-base containers on Debian/Ubuntu" into ↵Zuul1-10/+16
stable/stein
2019-10-02There is no Java 8 in Debian 'buster' (part 3)Marcin Juszkiewicz3-3/+3
Good to have proper Java version. Better is when JAVA_HOME is also adjusted to point to proper directory. And to have it set proper way. Change-Id: I0f83c3498028135751b0b887665d009e5e19410f (cherry picked from commit 0383aaca7b6282e69761e4c44a7d8e509305e107)
2019-10-02Merge "Placement: Debian pkg has migration script in different path" into ↵Zuul1-1/+7
stable/stein
2019-10-02Install rsync in swift-base containers on Debian/UbuntuMark Goddard1-10/+16
This is used by the replicator services. Change-Id: Iad7ad20542a159469d95e990c20564633046b251 Closes-Bug: #1846207 (cherry picked from commit d61c54be9d281a024a448f783dbde037d5fd1cda)
2019-10-01Fluentd: td-agent repository for DebianViktor Michalek2-0/+4
Change-Id: I0f05183889971dcc014663a849d3fc1d87a19e8e (manual picked from commit 2131ef9875efd67a9dd45dc3329df8de16cacff1)
2019-10-01Placement: Debian pkg has migration script in different pathViktor Michalek1-1/+7
Change-Id: I33d45a5bdd4f45153a78c695e7a9a97f2444dd74 (cherry picked from commit 2d7a14012d2c50bc9fd61fad1e74ca99ad9a98ab)
2019-10-01Add Debian Buster Stein backports APT repositoryViktor Michalek2-1/+6
Change-Id: Ie140cf0d6308a5ee3c09f06ddfcf63be2e1cec64 (manual picked from commit c08a4b5a6352f3d1ebf640687d68d00aabc11ff6)
2019-09-29sensu-client: Pin minitest Ruby gem on CentOSRadosław Piliszek1-1/+2
Change-Id: I1afd2d50c0dc2de6d305b56bd5f9182745fee843 Closes-bug: #1845843 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> (cherry picked from commit 305312f1070e80ba849f8c4feb00ad02196b8306)
2019-09-27Fix monasca-grafana - pin rake to <13Mark Goddard1-1/+3
Rake 13.0.0 (released today) depends on Ruby 2.2, but CentOS 7 only provides Ruby 2.0. This change pins rake in the monasca-grafana image to versions earlier than 13.0.0. Change-Id: Id9a76f459aff016fbc920370c0a3ec58e0397fcb Closes-Bug: #1845647 (cherry picked from commit a0712ceef3d6c20cdd79417dcff10525c527fb3d)
2019-09-24Merge "[horizon] Install octavia dashboard on deb" into stable/steinZuul1-0/+1
2019-09-23[docker/openstack-exporter] Bump to 0.2.1 versionJorge Niedbalski1-2/+2
Bump the default version to 0.2.1 of the openstack-exporter. Change-Id: I6e893c25a9dfbbbac6bd69f2fa26e6c72a4154d7 Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
2019-09-20[horizon] Install octavia dashboard on debDincer Celik1-0/+1
Change-Id: Iec78660049085483b207f4bdcf48f572d845c600 (cherry picked from commit 77e8285e897feb4789d1b24c69bfa3be8a468f78)
2019-09-20sensu-client: install older whois gemMarcin Juszkiewicz1-1/+2
Whois 5.0.0 requires Ruby 2.4 while CentOS has only 2.0 version. Change-Id: I6ec9d58bf54db1ac69b879785f38fb492bc2dfc2 (cherry picked from commit 41408527ae88ac42de11ca2818ff405320795a8b)
2019-09-18base: fix OracleLinux buildMarcin Juszkiewicz1-1/+1
Change-Id: I7603ed700abd2d6ce3ac0f301dc433ed1ed11e64 Closes-Bug: #1844484
2019-08-22Merge "Fixes wrong local_setting.py file issue for Ubuntu binary ↵Zuul1-0/+2
deployment." into stable/stein
2019-08-21Fixes wrong local_setting.py file issue for Ubuntu binary deployment.Dincer Celik1-0/+2
This bug both affects Rocky and Stein. local_setting.py was not linked to local_settings under /etc/openstack-dashboard so Horizon runs with default settings. Change-Id: I818876619694695663c98d9edcb8c8514198e8fd Closes-Bug: #1803029 (cherry picked from commit eb7c730e057082eadab5c01ef845f65bb5cf47c4)
2019-08-20Add pciutils package to cyborg-agent and zun-computeRadosław Piliszek2-0/+14
These run lspci and have this requirement in respective bindeps. CentOS images seem to have it installed but Ubuntu not. Ensure pciutils package is always installed. zun-compute seemed to work nonetheless but generated errors about being unable to take host inventory. cyborg-agent is unknown to work at all and deb is unbuildable. Change-Id: Iebc1f2c05c1f57c2b6f98ca9772f1ae9d9a420fa Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> (cherry picked from commit c323c5be7fd4ebcc71ca4e10a5c15b9ab1f29ba6)
2019-08-20Merge "Delete default gnocchi & aodh wsgi conf in Ubuntu binary" into ↵Zuul2-0/+8
stable/stein
2019-08-20Merge "There is no Java 8 in Debian 'buster'" into stable/steinZuul3-4/+25
2019-08-20Merge "Ensures monasca-thresh data and worker dirs exist and are empty on ↵Zuul1-1/+30
start up" into stable/stein
2019-08-20Merge "There is no Java 8 in Debian 'buster' (part 2)" into stable/steinZuul2-2/+17
2019-08-20Merge "Add prometheus_client to monasca-agent image" into stable/steinZuul1-1/+2
2019-08-20Merge "Fix ovs-appctl by adding --pidfile to ovsdb command." into stable/steinZuul1-1/+1
2019-08-20Merge "Use openstack-tempest-all for rpm tempest container" into stable/steinZuul1-1/+1
2019-08-20Fix ovs-appctl by adding --pidfile to ovsdb command.Michal Nasiadka1-1/+1
Change-Id: I8927ce98d669480866d6fcddaf7b08ef3cbbc37e Closes-Bug: #1697570 (cherry picked from commit 0ec7017f7a358553158dc927285ab9f4af1a641a)
2019-08-20Merge "Add partition detection to fix osd initialization failure" into ↵Zuul1-1/+29
stable/stein
2019-08-19Use openstack-tempest-all for rpm tempest containerChandan kumar1-1/+1
openstack-tempest shipped from RDO does not have the tempest plugins, It has just tempest cli and library. https://review.opendev.org/#/c/651601/ updated the rpm package name while solving different issue and TripleO stein CI, most of the tempest tests are getting skipped as tempest plugins are not there. openstack-tempest-all is the meta package contains all the plugins, and installing that fixes the issue. Change-Id: Ifb616b082c9d82f4736e4b688cafc3a58a0c7a9f Signed-off-by: Chandan kumar <chkumar@redhat.com>
2019-08-19Unbreak CI: fluentd and TripleO dependencyRadosław Piliszek1-2/+0
fluentd - we are not deploying kubernetes, no need for plugins TripleO - CI currently broken (to reverse, FIXME in place) - dropped TripleO from gate Change-Id: I203f70176af7f2b53398ddeb5c21e6234a45e268 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> (cherry picked from commit 07b55048e63f27c1045735624c845d1af95a11fd)
2019-08-15Add prometheus_client to monasca-agent imagePierre Riteau1-1/+2
The prometheus_client package is required to use the Prometheus plugin. It makes sense to include this dependency by default since Kolla Ansible can deploy many Prometheus exporters, making it easy to scrape their metrics and store them in Monasca. The increase in size of the container image is negligible. Change-Id: I9b0a162513ed436930c4541b758fc9cb2ef97e96 (cherry picked from commit a74aa1bd21b04eceede6cf425a5e56dcacec1412)
2019-08-15Add partition detection to fix osd initialization failurewangwei1-1/+29
The changes in the following commit did not completely solve the problem of osd initialization failure: https://review.opendev.org/652612 In order to solve this problem, the partprobe command consistent with ceph-disk is added, and then a loop is added to detect the partition, which is acquired every 1s. When the partition appears, the osd initialization is continued. Change-Id: I0ca255c6358132d9e3acfa6b610b70a78756512c Closes-bug: #1824787 (cherry picked from commit 342c9f0cd0dc4b97870dc40fab6c5a7d241b40ed)
2019-08-15Ensures monasca-thresh data and worker dirs exist and are empty on start upIsaac Prior1-1/+30
This prevents the filesystem from filling up with Apache Storm temporary files which will otherwise not be cleared. Change-Id: Ib07e32f4e67e500f10986103d781dfd3874ffdd2 Partial-Bug: #1839149 (cherry picked from commit 16d4cd91d24d48e4cdf90d5c06991b52e00803ba)
2019-08-15Delete default gnocchi & aodh wsgi conf in Ubuntu binaryEddie Yen2-0/+8
Ubuntu distro package will create default wsgi conf in apache during gnocchi-api and aodh-api installation. We need to delete them since we only use the conf that pushed by kolla-ansible. Change-Id: Ib31e733eba12deebdf469c306dfba4191a1b89f5 Related-Bug: 1832306 Related-Bug: 1836520 (cherry picked from commit 5eb780d0b0d12186c57b828320c3421b98b97840)
2019-08-15There is no Java 8 in Debian 'buster' (part 2)Marcin Juszkiewicz2-2/+17
Debian 'buster' release contains Java 11 only. So opendaylight and monasca-thresh images needed adjustments. Change-Id: I78f8be44436b8c8e5f58fea40a762c17e6b510a8 (cherry picked from commit e04428f8f52e3ef14997b16bb1f3f3e3bf1bdfe5)
2019-08-15There is no Java 8 in Debian 'buster'Marcin Juszkiewicz3-4/+25
Debian 'buster' release contains Java 11 only. So kafka, logstash, storm images needed adjustments. Change-Id: I9f1e809d0ef1955b832dd384912f880088426306 (cherry picked from commit 307ae614546c4d094bae5b49477b0de88b708738)
2019-08-03TrivialFix: remove unused ganesha nfs repo fileRadosław Piliszek1-5/+0
Change-Id: Iab036be2b25867a268f4cef6f735dc64f8910fa0 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> (cherry picked from commit 92b3b5699661d3b7707d48cf2fc4801118aca1ab)
2019-08-02ceph mds cap 'allow *' in extend_startRadosław Piliszek1-1/+1
This applies the fix made in kolla-ansible (see [1]) to kolla ceph mon image directly. [1] https://review.opendev.org/670035 Change-Id: I1822a8c610db72654bbacc7148e25a837090b680 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> (cherry picked from commit b1d4ed51f41721c86a33d766fdfd80aaccf1df60)
2019-07-23Merge "nova-libvirt: in Debian qemu-kvm is x86 only" into stable/steinZuul1-1/+4
2019-07-22storm: fetch storm archive from upstreamMarcin Juszkiewicz1-1/+1
URL in Dockerfile was giving us 404 error Change-Id: I16d5f79c00473e5113aee3739defc822b516bda4 (cherry picked from commit c73815347e2e6a456c29dc1f6d93d7ed5c8f7c59)
2019-07-17nova-libvirt: in Debian qemu-kvm is x86 onlyMarcin Juszkiewicz1-1/+4
This package provides just a wrapper script /usr/bin/kvm which run qemu-system-x86 in kvm mode for backwards compatibility. Change-Id: I0cc03a1ab5a79ae49fa7d13ac549e21d3ec5295d (cherry picked from commit 408554475ba02d89206a7fa01824d7277bfc2664)
2019-07-16Bump Monasca Fluentd output pluginDoug Szumski1-1/+1
This resolves an issue where the previous version of the plugin would fail to re-send buffered logs if a post to the Monasca Log API failed. With this new version of the plugin, logs are correctly buffered and resent. Change-Id: Ic1d93a8ea5f2571edfacf50809d51a8b77959a73 (cherry picked from commit d7e6c28272a2efddec8a1747067e4fdee4ff50ba)
2019-07-04Fixes ceph-osd deploys with loop devices.Dincer Celik1-1/+6
Change-Id: I98405e3fb32cbec2d9863817a913ed71c5597e15 Closes-Bug: #1834678 (cherry picked from commit f5ac80e332c2a057ee68d95983492bc7e1156b9a)
2019-06-28Merge "Run nova api_db sync before db sync" into stable/steinZuul1-2/+2
2019-06-27Merge "Fix deployment of ceph-nfs container failing due to wrong USER" into ↵Zuul1-3/+0
stable/stein
2019-06-27Merge "Fix ownership of ironic inspector DHCP hostsdir" into stable/steinZuul1-1/+2
2019-06-27Run nova api_db sync before db syncMark Goddard1-2/+2
Backport: Stein, Rocky Since cells v2 was introduced, nova operators must run two commands to migrate the database schemas of nova's databases - nova-manage api_db sync and nova-manage db sync. It is necessary to run them in this order, since the db sync may depend on schema changes made to the api database in the api_db sync. Executing the db sync first may fail, for example with the following seen in a Queens to Rocky upgrade: nova-manage db sync ERROR: Could not access cell0. Has the nova_api database been created? Has the nova_cell0 database been created? Has "nova-manage api_db sync" been run? Has "nova-manage cell_v2 map_cell0" been run? Is [api_database]/connection set in nova.conf? Is the cell0 database connection URL correct? Error: (pymysql.err.InternalError) (1054, u"Unknown column 'cell_mappings.disabled' in 'field list'") [SQL: u'SELECT cell_mappings.created_at AS cell_mappings_created_at, cell_mappings.updated_at AS cell_mappings_updated_at, cell_mappings.id AS cell_mappings_id, cell_mappings.uuid AS cell_mappings_uuid, cell_mappings.name AS cell_mappings_name, cell_mappings.transport_url AS cell_mappings_transport_url, cell_mappings.database_connection AS cell_mappings_database_connection, cell_mappings.disabled AS cell_mappings_disabled \nFROM cell_mappings \nWHERE cell_mappings.uuid = %(uuid_1)s \n LIMIT %(param_1)s'] [parameters: {u'uuid_1': '00000000-0000-0000-0000-000000000000', u'param_1': 1}] (Background on this error at: http://sqlalche.me/e/2j85) Despite this error, the command actually exits zero, so kolla does not notice the failure. This change reorders these two commands to run the api_db sync before the db sync. Change-Id: I0514c02aaee1a413a7979c3a426e0484df839861 Closes-Bug: #1832860 (cherry picked from commit 84a07102e2db92333ce416a520151f1a1856f162)