[train] Ensure get_requests_for_local_unit doesn't fail on incomplete relation

This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation.  Fix in charmhelpers is in [1].

[1] https://github.com/juju/charm-helpers/pull/832
Closes-Bug: #2028683

Change-Id: I807086e6ceaabf0805b2a35c5a2902652bbdc698
This commit is contained in:
Alex Kavanagh 2023-08-18 15:04:43 +01:00 committed by Felipe Reyes
parent 44bac4f3b3
commit c779620af9
6 changed files with 12 additions and 2 deletions

1
bindep.txt Normal file
View File

@ -0,0 +1 @@
libpq-dev [platform:dpkg]

View File

@ -2,4 +2,4 @@
# when dependencies of the charm change,
# but nothing in the charm needs to.
# simply change the uuid to something new
53bf780c-1178-11ec-bc16-bb24856e98b0
657a105a-3dbf-11ee-aa53-9fae6c70c681

View File

@ -261,6 +261,12 @@
"package": "urllib3",
"vcs": null,
"version": "1.26.7"
},
{
"type": "python_module",
"package": "Cython",
"vcs": null,
"version": "0.29.36"
}
]
}

View File

@ -78,6 +78,7 @@ applications:
openstack-origin: *openstack-origin
to:
- '6'
channel: train/edge
swift-storage:
charm: ch:swift-storage
num_units: 1

View File

@ -78,6 +78,7 @@ applications:
openstack-origin: *openstack-origin
to:
- '6'
channel: train/edge
swift-storage:
charm: ch:swift-storage
num_units: 1

View File

@ -87,7 +87,8 @@ commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
deps = flake8==3.9.2
charm-tools==2.8.3
PyYAML==6.0.1
charm-tools==2.8.6
commands = flake8 {posargs} src unit_tests
[testenv:func-target]