devstack/tools
Michael Johnson f834f9adaf Fix NotImplementedError in dbcounter on SQLA 2.x
This patch fixes a NotImplementedError raised in the dbcounter plugin when using SQLAlchemy 2.x. The plugin signature has changed and now requires an "update_url" method as part of the plugin[1].
This patch also updates the do_incr() explicit SQL string to use a TextClause and the new requirement for named bound parameters[2].

Closes-Bug: #2009521

[1] https://docs.sqlalchemy.org/en/20/changelog/migration_14.html#changes-to-createengineplugin
[2] https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#execute-method-more-strict-execution-options-are-more-prominent

Change-Id: Ie5484597057a3306757cc46b657446ad61ac2098
2023-03-06 20:09:10 +00:00
..
dbcounter Fix NotImplementedError in dbcounter on SQLA 2.x 2023-03-06 20:09:10 +00:00
build_venv.sh Mostly docs cleanups 2015-03-28 14:35:12 -05:00
create_userrc.sh Revert "Drop keystone dedicated ports" 2020-07-06 14:01:08 -05:00
create-stack-user.sh Fix doc and user create script to set homedir permissions 2022-05-25 06:34:30 +00:00
debug_function.sh Add debug helper script 2021-01-12 17:41:19 -08:00
discover_hosts.sh Don't assume nova-manage is present 2017-01-26 16:21:54 +01:00
dstat.sh Handle pcp-dstat transition 2019-03-29 11:20:19 -07:00
file_tracker.sh Add new service "file_tracker" 2022-11-07 08:21:34 +00:00
fixup_stuff.sh Drop openEuler support 2022-05-19 14:06:11 +02:00
generate-devstack-plugins-list.py Use python3 as default python command 2020-02-17 17:03:47 +00:00
generate-devstack-plugins-list.sh Fix propose-updates job 2020-08-02 13:13:00 +02:00
get-stats.py Avoid including bad service names in perf.json 2022-06-23 09:25:22 -07:00
image_list.sh Remove references to XenAPI driver 2021-03-05 15:10:19 +00:00
info.sh Fix typo in tools/info.sh comment 2016-08-22 17:00:50 +00:00
install_pip.sh [doc] Update Ubuntu to 22.04 2022-11-28 11:19:45 +01:00
install_prereqs.sh Use python3 as default python command 2020-02-17 17:03:47 +00:00
make_cert.sh Fix displaying usage for make_cert.sh 2021-08-06 12:55:39 +02:00
memory_tracker.sh Switch to python3 for memory_peak service 2020-01-30 12:35:34 +00:00
mlock_report.py Handle disappearing pids in mlock_report.py 2021-04-28 16:31:17 +00:00
outfilter.py Use python3 as default python command 2020-02-17 17:03:47 +00:00
ping_neutron.sh Neutron: use "OSC show -f value -c id" instead of "OSC list + grep" 2016-11-18 12:18:09 +01:00
update_clouds_yaml.py Fix use of yaml.load() 2021-10-16 17:33:12 +02:00
upload_image.sh Use openstack CLI instead of keystone 2015-04-13 10:09:13 -04:00
verify-ipv6-only-deployments.sh Add support for IPv6 tunnel endpoints 2022-06-07 02:28:51 +00:00
worlddump.py Drop broute from ebtables_dump 2021-06-09 09:37:34 +02:00