Skip to content

Commit

Permalink
fix: sqlalchemy>2 has breaking changes
Browse files Browse the repository at this point in the history
e.g. `AttributeError: 'Engine' object has no attribute 'execute'`
  • Loading branch information
LukeRepko committed Aug 6, 2024
1 parent 817e7ea commit 5f8312b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Containerfiles/GnocchiRXT-Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
RUN pip install \
"gnocchi[postgresql,ceph,keystone] @ git+https://github.com/gnocchixyz/gnocchi.git@${GNOCCHI_VERSION}" \
"pymemcache" \
"pymysql"
"pymysql" \
"sqlalchemy>=1.4.24,<2"
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN adduser gnocchi --disabled-password
RUN sed -i 's@^ErrorLog.*@ErrorLog /dev/stderr@' /etc/apache2/apache2.conf
3 changes: 1 addition & 2 deletions base-helm-configs/gnocchi/gnocchi-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ dependencies:
db_sync:
jobs:
- gnocchi-storage-init
- gnocchi-db-init
- gnocchi-db-init-indexer
services:
- endpoint: internal
Expand Down Expand Up @@ -656,7 +655,7 @@ manifests:
job_clean: true
job_db_drop: false
job_db_init_indexer: true
job_db_init: true
job_db_init: false
job_image_repo_sync: true
secret_db_indexer: true
job_db_sync: true
Expand Down

0 comments on commit 5f8312b

Please sign in to comment.