Commit Graph

45 Commits

Author SHA1 Message Date
Stephen Taylor 0bfd32673d Update Ceph images to Jammy and Reef 18.2.1
This change updates the Ceph images from Focal to Jammy. Because
the Ceph package repository has been updated so it only contains
Reef 18.2.1 packages, Ceph is also updated from 18.2.0 to 18.2.1.

Change-Id: I2ffe3df559965a402cfa2271d3aaef78a3d4a5bb
2024-01-29 11:05:30 -07:00
Stephen Taylor 4b51cb0142 Replace py-bcrypt with python3-bcrypt
The ceph-mgr bcrypt dependency that was supposed to be resolved by
https://review.opendev.org/c/openstack/openstack-helm-images/+/898136
is still an issue. Installing the python3-bcrypt package via apt
instead of installing py-bcrypt via pip3 resolves it.

Change-Id: If39c85775a0cee584d1b7005b8abfc71a0cf814e
2023-10-13 17:39:26 +00:00
Stephen Taylor 08fb53cd97 Add the py-bcrypt package to the ceph-daemon image
With the upgrade to Reef 18.2.0, there is an unmet dependency for
py-bcrypt in ceph-mgr that prevents the pg_autoscaler module (and
probably others) from working properly.

Change-Id: I4508f750235b2355ad6a50e14f451f421e136cf8
2023-10-12 13:19:49 -06:00
Stephen Taylor db71c76d12 [ceph-daemon] Upgrade pyOpenSSL to address a ceph-mgr warning
The restful ceph-mgr module keeps complaining about an unsatisfied
dependency that appears to be related to an old version of
pyOpenSSL. This change explicitly upgrades it via pip.

Change-Id: Id89c97fc4f87627f4093961f4f57cb5a868a4729
2023-05-05 21:12:18 +00:00
Vladimir Kozhukalov 0800b6a2c5 Rebuild all ceph images at once
- Set Ceph release tag as part of image tag
- Set Ceph version as build arg instead of hard
  coding it in Dockerfiles
- Rebuild all ceph images at once to make
  sure all ceph images are compatible with
  each other

Change-Id: Id9bebb3d3e1e429d8b437d81c871ded75e46918d
2023-05-05 23:27:48 +03:00
Stephen Taylor b7dcd5406c [ceph-daemon] Use pip instead of apt to install OpenSSL for Python
Some Ceph mgr modules appear with unsatisfied dependencies when
OpenSSL for Python is installed via apt. Installing openssl-python
via pip instead resolves the dependency issues.

Change-Id: Ie7423b04b3d8d7ffdc9b3c31c3f5b62cb32d3e75
2023-04-27 13:43:17 -06:00
Stephen Taylor b43f2ef375 [ceph] Update Focal-based Ceph images to Quincy 17.2.6
Update the Focal-based Ceph images to include 17.2.6 Ceph packages.

Change-Id: I4220cc952f8e4b871eb1e19201950196bce4a807
2023-04-21 08:09:13 -06:00
zhangyeda 699154703c fix ceph-daemon image missing dependencies.
This PS fix ceph mgr modules having failed dependency with
python six module in ceph-daemon image based on ubuntu_focal.

Before this fix, the module six could be found in
/usr/local/lib/python3.8/dist-packages, and this path is in python3
sys.path, but somehow, ceph mgr modules can not find
module six. Add '--ignore-installed' in pip3 install cmd can fix this.

Story: #2010697
Change-Id: I3d9b3454aa253543f29f6f3dfa6048241ae70900
2023-04-14 10:04:31 +08:00
Taylor, Stephen 3b85ef600b [ceph-daemon] Add packages to the ceph-daemon image
LVM commands and the ceph-volume command are required by the
ceph-osd osd-init container and are not present in the latest
Focal-based images. This change adds the lvm2 and ceph-volume
packages to the ceph-daemon image to make those commands available.

Change-Id: Ia1690386a17ba6ee697df59c861d4c9001a172c8
2023-01-30 08:00:57 -07:00
Stephen Taylor 3fa2d51130 Update Focal-based Ceph images to Quincy
Update the Focal Dockerfiles for all Ceph images from the Pacific
16.2.10 release to Quincy 17.2.5.

Change-Id: I82e25df4ce410b9d238703c6814e492ee619bc8d
2023-01-17 13:22:52 -07:00
Stephen Taylor e0da2c7370 Update Ceph images to Focal
Add Dockerfiles for Ubuntu Focal for all of the Ceph images and
modify build scripts to use those Dockerfiles.

Also update ceph-utility to Pacific from Nautilus.

Change-Id: I47a53fb7419153cc50c6d1538eb56cdb735bc925
2022-12-12 20:59:54 +00:00
Yuvraj Singh (ys542d) d3a7316566 Adding pip3 crytography dependency for ceph-config-helper and ceph-daemon
Change-Id: I819fc5a4da688bd068256f817f451eb5d062e464
2022-12-02 11:48:33 -08:00
Gage Hugo f5c29777c5 Update ceph version to 16.2.10
Currently the ceph image build jobs are failing due to version
16.2.9 not existing in the remote repo. A check there looks like
they've updated the pacific version to 16.2.10, so this change
bumps the version up to the latest.

Change-Id: I56ec9bc170413129f4fded4cae42edcfb6d851a8
2022-07-29 10:45:33 -05:00
Stephen Taylor ae785b7398 Update Ceph version to Pacific 16.2.9
Change-Id: I1945346cc8204e2853299e98fb71c8e5fd68efce
2022-06-02 10:21:02 -06:00
Andrii Ostapenko c30e92f201
Fix gates
Fixes get-pip url
Updates go to 1.17.6 for mini-mirror

Change-Id: Ieaf35d935381416b0acd93113ed26cf981e7461b
Signed-off-by: Andrii Ostapenko <aostapenko@microsoft.com>
2022-02-02 10:13:13 -07:00
Andrii Ostapenko ec3e7bde89
Change ceph version to 15.2.15 available in repo
Change-Id: I28d42b85a31b4fe9bea09a3ac137c11071227453
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-10-31 10:56:13 -06:00
Andrii Ostapenko 966adc41ef Cleanup xenial based images when latter alternative is available
Also remove redundant PYTHON3 build argument since it's a default one.

Depends-On: https://review.opendev.org/813709
Change-Id: Id31f5feb5ba7837ef698b9c9bd826a8fb4b7a572
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-10-13 17:59:58 +00:00
Andrii Ostapenko ecf5f71df2
Switch to ceph package version available in repository
Change-Id: I499ea14fe5be58ba24ebdcc5654a75723b671aa7
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-09-02 08:57:55 -06:00
Andrii Ostapenko fcb1e9a2af
Update ceph version to 15.2.14-1bionic
Change-Id: I532b08d8946535aa6875f88ba624543f2dc340b8
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-08-18 09:13:56 -06:00
Andrii Ostapenko b5c3d4323b Update octopus ceph version to 15.2.13 available in repos
Change-Id: I33c19d14c0a9ad51c4142cf734d15576aa4cd24a
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-08-03 14:50:25 +00:00
Daniel Pawlik f4cc60b8b1 Change get-pip url
The path for get-pip.py script in version 3.5 has been changed
with this commit [1].

[1] 2360f025eb

Change-Id: I0bfa37808d222ded724e05697e39ab8a6a6e9641
2021-03-08 15:02:49 +01:00
Andrii Ostapenko 218d0f86e7
Use proper pip bootstraping url for xenial
Change-Id: I06109f32ed1a1591ac05ea12ffc7e209bf64ebbf
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-01-29 17:28:49 -06:00
Chinasubbareddy Mallavarapu 0020381f7f [CEPH] Update ceph repos
This is to update ceph apt repos from upstream to mirantis based.

Change-Id: I60b25ad6d1b8a257efb4eaebd130f301f628fe4c
2021-01-13 18:24:19 +00:00
Chinasubbareddy Mallavarapu b379c3a272 [CEPH] Build Octopus based ceph images
This is to uplift ceph release from Nautilus to Octopus.

Change-Id: I36f54077be65741c0677d77cbbf4795db919703f
2021-01-06 15:06:38 +00:00
Andrii Ostapenko 76b5445862
Roll back to 4.2.9 Ceph
4.2.10 not available in mirrors we use.

Change-Id: I891e0a86df14c25ba39e51dea9e893e539b38673
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-12-22 13:58:42 -06:00
Frank Ritchie 56591e6316 Minimize ceph-daemon image size
These changes are to minimize the ceph-daemon image size as is
recommended by industry standard best practices. The main changes
are the removal of various debugging tools such as:

valgrind
hexedit
sysstat
dstat
iperf

as well as compilers and debuggers

gcc
gcc-7
cpp-7
gdb

Etcdctl and forego are also removed.

Change-Id: I9502c5f297b1bfcdaafb82ae438f3ba6382c2c64
2020-09-28 14:24:00 -04:00
dt241s@att.com 97e5340b45 Upgrade etcd to 3.4.3
Change-Id: If509794b2e8cc504d4af5de473541c35de83eb85
2020-09-03 17:23:07 +00:00
Andrii Ostapenko 43c4c13b2a Disable build of openSUSE base images and uplift ceph packages
Related code will be removed in subsequent commit later if not maintained.

Ceph updated to 14.2.10-1.0~bionic as previous one is not available in
repos.

Putting these two together to address gates issue.

Change-Id: I525df976f9810e61d4fc49cf772736aa21dba510
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-07-22 02:22:04 +00:00
Dmitrii Kabanov 2f289eaf55 Update Ceph images to Ceph 14.2.9
The PS updates Ceph Docker images to Ceph 14.2.9.

Change-Id: Ia70c1704d3cc23fe4bb31a2ab416d5a3bd1e8b20
2020-05-19 13:42:12 -07:00
Chinasubbareddy Mallavarapu fa59a1644a Build Ceph images with Ceph Nautilus 14.2.8 packages
The Ceph package repo has been updated to include Nautilus 14.2.8
packages so this ps will generate new docker images for all ceph
components.

Change-Id: I037dbebfaaba897f9e6249d81b3530d5ed2538e9
2020-04-16 17:13:32 +00:00
Chinasubbareddy Mallavarapu 3567e5f903 Build Ceph images with Ceph Nautilus 14.2.7 packages
The Ceph package repo has been updated to include Nautilus 14.2.7
packages so this ps will generate new docker images for all ceph
components.

This ps also updates  provisioners to latest tags available in quay.io

Change-Id: Idabc31390048c4f5e94af1a67afe0cfb4c2f7ee7
2020-02-17 16:11:25 -06:00
Stephen Taylor 3d67eeb5d7 Update Ceph images to Nautilus 14.2.5 packages
The Ceph package repo has been updated to include Nautilus 14.2.5
packages. This change adds comments to the Dockerfiles for all of
the Ceph images to specify the Ceph version and prompt a rebuild
of the images that will include the updated packages.

Change-Id: Ief2f29172cfa77898c438ff6bfd585b83fa55325
2019-12-16 17:23:54 +00:00
Chinasubbareddy Mallavarapu bb33da1bfe Fix IMAGE variable scope issue
This is to fix the variable IMAGE scope since its giving errros
when we use makefile.
also adds missing packages to deploy ceph-osd.

Change-Id: I544c5f79c87e57f78699289bb3de3494b0eb674f
2019-12-05 12:54:22 -06:00
Stephen Taylor 8f2ea8aee1 Set the default build to Bionic for Ceph images
This change modifies the Ceph image build scripts to build Bionic
images by default.

Change-Id: I14e1e00a5f53fb529d5dcbb8b0fc511ff11f0ef8
2019-11-21 17:27:27 +00:00
Stephen Taylor 2e010805c0 Revert the Xenial-tagged images to Xenial
This change builds Xenial images for the Xenial-tagged Ceph
containers to overwrite the Bionic images that incorrectly
overwrote the Xenial images two days ago when
https://review.opendev.org/693577 was merged.

A separate patch set will be created to generate Bionic images
with the correct tags.

Change-Id: I06568e2a6d86e8af5af8ca1b836267eb8f1ede7e
2019-11-15 21:22:09 +00:00
Stephen Taylor c1f3c5d9fd Update Ceph Docker images to Ubuntu 18.04 and Ceph 14.2.4
This change updates the openstackhelm Ceph Docker images (hosted
at https://hub.docker.com/r/openstackhelm) to Ubuntu 18.04 and
Ceph 14.2.4. The mirror that hosts the Ceph Nautilus packages only
provides packages for Ubuntu Bionic, so the operating system must
also be upgraded in order to upgrade Ceph.

Change-Id: Ice908002aa7ea5cd0d4e2231a7dab57f4e22cd54
2019-11-11 16:40:19 +00:00
Tin Lam 8d8c3e7158 Change image to use python 3
This patch set updates the Dockerfile to use python3 and pip3 instead
for all ubuntu images.

Change-Id: I20a6f1a28b2adadd66d42907bbec977c28f5a044
Signed-off-by: Tin Lam <tlam@omegaprime.dev>
2019-10-28 21:11:55 +00:00
Steve Wilkerson 17a093839a Update Kubernetes to 1.16.2
This updates the version of Kubernetes to 1.16.2 for images that
require a corresponding client version to function correctly

Change-Id: I38de55f94ecf286ecf178d940a6723e2d8c5934b
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-10-17 16:21:44 -05:00
Itxaka 24a9f62bee
ceph: bump kubernetes version for ceph images
Make sure we are in sync with the kube version used on openstack-helm-infra

Change-Id: Ibeae5d8389bb1f90d9871273c016d476d2ddd50c
task: 30390
2019-05-16 15:15:46 +02:00
Krishna Venkata d0a13a6a5d This PS installs apt-transport-https ca-certificates packages
before adding ceph repo. Without this Jenkins is having
issues building images

Issue:
The method driver /usr/lib/apt/methods/https could not be found

Change-Id: I95061b62045cd8980b10e2d5f4991005b66c5b4c
2019-04-25 10:27:46 -05:00
Dmitrii Kabanov 091b278cff [Ceph] Update Ceph repository and key
Updated links to Mirantis' Ceph repository and key

Change-Id: I2b5f6b707234869589938df3317bc88c38c7243d
2019-04-08 16:40:28 -07:00
Matthew Heler bfa78bf03f [CEPH] Update the Ceph repo and key to be arguements
Change-Id: Iee93e5a4d542b69bf6ebfbc82920b132a2af7778
2019-03-04 20:05:24 +00:00
Matthew Heler 45e907799b [CEPH] Add perccli utility to ceph-daemon image
Add Dell's perccli utility to the ceph-daemon docker image

Change-Id: I0ae167b2fadd6ef19f220f35dd4ea1ca5f728e02
2019-02-08 05:41:16 -06:00
Sreejith Punnapuzha 76f88b2022 Makefile and Docker file for ceph containers.
Change-Id: Iaafb6663ecb960a7f76708d4dafcd07b00587a60
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-01-16 13:11:03 -06:00
Matthew Heler dc75232290 Add Ceph Daemon image with Mimic support
- Add a new dockerfile to create a Ceph docker image

Change-Id: Id5bdb959ac57cca75ece62457cb233a5b99e5bd0
2019-01-06 14:41:38 -06:00