View Issue Details

IDProjectCategoryView StatusLast Update
0001416bareos-coreGeneralpublic2024-03-20 13:57
Reporterhostedpower Assigned Tojoergs  
PrioritylowSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
PlatformLinuxOSDebianOS Version10
Product Version21.0.1 
Summary0001416: Bareos python3 contrib plugin filedaemon
DescriptionHi,


We used a version of the bareos contrib mysql plugin which seems to support Python3, however in recent builds the file seems to be regressed to be only compatible with pyton2 again.

Additional InformationIn attachment you can find the python3 compatible version which was previously found on git under "dev/joergs/master/contrib-build" branch, however since this branch was updated, the older python2 version is back in there
TagsNo tags attached.

Activities

hostedpower

hostedpower

2021-12-30 11:43

reporter  

MySQL-Python3.zip (3,594 bytes)
joergs

joergs

2022-01-11 21:32

developer   ~0004469

I just verified this. In my environment, the module is working fine with Python3.
I even added a systemtest to verify this: https://github.com/bareos/bareos/tree/dev/joergs/master/contrib-build/systemtests/tests/py3plug-fd-contrib-mysql_dump

However, I guess you have already noted that the path and the initialisation of the module have changed to the bareos_mysql_dump directory. Maybe this is not reflected in your environment?

Please be aware that we currently are in the process of finding a resonable file and directory structure for this plugins.

Without further information, I'd judge this bug entry as invalid.
hostedpower

hostedpower

2022-01-11 21:39

reporter   ~0004470

I think you could be right, I tried the v21 one : https://github.com/bareos/bareos/blob/bareos-21/contrib/fd-plugins/mysql-python/BareosFdMySQLclass.py

So master is working, but not v21 ?
joergs

joergs

2022-01-11 21:50

developer   ~0004471

Correct. v21 should be identical to v20 , and both versions only work with Python 2.
bruno-at-bareos

bruno-at-bareos

2024-03-20 13:57

manager   ~0005847

bareos 23 are working and are supported version for community

Issue History

Date Modified Username Field Change
2021-12-30 11:43 hostedpower New Issue
2021-12-30 11:43 hostedpower File Added: MySQL-Python3.zip
2022-01-04 14:42 bruno-at-bareos Assigned To => joergs
2022-01-04 14:42 bruno-at-bareos Status new => assigned
2022-01-11 21:32 joergs Status assigned => feedback
2022-01-11 21:32 joergs Note Added: 0004469
2022-01-11 21:34 joergs Priority high => low
2022-01-11 21:34 joergs Product Version 20.0.5 => 21.0.1
2022-01-11 21:34 joergs Description Updated
2022-01-11 21:39 hostedpower Note Added: 0004470
2022-01-11 21:39 hostedpower Status feedback => assigned
2022-01-11 21:50 joergs Note Added: 0004471
2024-03-20 13:57 bruno-at-bareos Status assigned => closed
2024-03-20 13:57 bruno-at-bareos Resolution open => won't fix
2024-03-20 13:57 bruno-at-bareos Note Added: 0005847