Project

General

Profile

Actions

Bug #58378

closed

tox errors

Added by Redouane Kachach Elhichou over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Observed some issues when running tox:

mypy: commands0> mypy --config-file=../../mypy.ini -m alerts -m balancer -m cephadm -m crash -m dashboard -m devicehealth -m diskprediction_local -m hello -m influx -m iostat -m localpool -m mds_autoscaler -m mgr_module -m mgr_util -m mirroring -m nfs -m orchestrator -m pg_autoscaler -m progress -m prometheus -m rbd_support -m rook -m snap_schedule -m selftest -m stats -m status -m telegraf -m telemetry -m test_orchestrator -m volumes -m zabbix -m rgw
mgr_util.py: note: In function "verify_cacrt_content":
mgr_util.py:578: error: Argument 2 to "load_certificate" has incompatible type "str"; expected "bytes"
mgr_util.py:581: error: Item "None" of "Optional[bytes]" has no attribute "decode"
mgr_util.py: note: In function "get_cert_issuer_info":
mgr_util.py:611: error: Argument 2 to "load_certificate" has incompatible type "str"; expected "bytes"
mgr_util.py: note: In function "verify_tls":
mgr_util.py:634: error: Argument 2 to "load_certificate" has incompatible type "str"; expected "bytes"

Actions #1

Updated by Redouane Kachach Elhichou over 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 49635
Actions #2

Updated by Adam King over 1 year ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF