View Issue Details

IDProjectCategoryView StatusLast Update
0001416bareos-core[All Projects] Generalpublic2022-01-11 21:50
ReporterhostedpowerAssigned Tojoergs 
PrioritylowSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
PlatformLinuxOSDebianOS Version10
Product Version21.0.1 
Fixed in Version 
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.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

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.

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 View Revisions
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