Update oslo messaging get_transport
oslo_messaging.get_transport is currently deprecated. This change moves the health prove to use get_notification_transport instead. Change-Id: Iea7c914b41dec70b36ebe93fa8ce91e00894f50e
This commit is contained in:
parent
0eea6646c6
commit
b09f5c0bf0
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Nova
|
||||
name: nova
|
||||
version: 0.2.30
|
||||
version: 0.2.31
|
||||
home: https://docs.openstack.org/nova/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
||||
sources:
|
||||
|
@ -200,7 +200,7 @@ def test_rpc_liveness():
|
||||
log.logging.basicConfig(level=log.{{ .Values.health_probe.logging.level }})
|
||||
|
||||
try:
|
||||
transport = oslo_messaging.get_transport(cfg.CONF)
|
||||
transport = oslo_messaging.get_notification_transport(cfg.CONF)
|
||||
except Exception as ex:
|
||||
message = getattr(ex, "message", str(ex))
|
||||
sys.stderr.write("Message bus driver load error: %s" % message)
|
||||
|
@ -51,4 +51,5 @@ nova:
|
||||
- 0.2.28 Move ssl_minimum_version to console section
|
||||
- 0.2.29 Remove ssh-config
|
||||
- 0.2.30 Improve health probe logging
|
||||
- 0.2.31 Update oslo messaging get_transport
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user