Skip to content

New 23.0.3 NVRAM changes to VMware plugin break on Ubuntu 20.04 LTS #1760

@TotalGriffLock

Description

@TotalGriffLock

Bareos component version

bareos-fd --version 23.0.3~pre63.bb6c03acf
bareos-dir --version 23.0.3~pre63.bb6c03acf
bareos-sd --version 23.0.3~pre63.bb6c03acf
bconsole --version 23.0.3~pre63.bb6c03acf

Steps to reproduce

  1. Have Ubuntu 20.04 LTS installed with the OS supplied release of urllib3
  2. Update to BareOS 23.0.3
  3. Try to back up a VM from VCenter

Expected results

Backup succeeds, as it did prior to the upgrade to 23.0.3

Actual results

JobId 31832: Fatal error: bareosfd: Traceback (most recent call last):
File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 59, in handle_plugin_event
return bareos_fd_plugin_object.handle_plugin_event(event)
File "/usr/lib/bareos/plugins/bareos-fd-vmware.py", line 1057, in handle_plugin_event
return self.start_backup_job()
File "/usr/lib/bareos/plugins/bareos-fd-vmware.py", line 497, in start_backup_job
return self.vadp.prepare_vm_backup()
File "/usr/lib/bareos/plugins/bareos-fd-vmware.py", line 1492, in prepare_vm_backup
if self.get_vm_nvram():
File "/usr/lib/bareos/plugins/bareos-fd-vmware.py", line 3226, in get_vm_nvram
self.vm_nvram_content = self.retrieve_file_content_from_datastore(
File "/usr/lib/bareos/plugins/bareos-fd-vmware.py", line 3310, in retrieve_file_content_from_datastore
retries = urllib3.util.Retry(
TypeError: __init__() got an unexpected keyword argument 'allowed_methods'

Environment

- OS: `NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
`
- component:
python3-urllib3/focal-updates,focal-security,now 1.25.8-2ubuntu0.3 all [installed]

Relevant log output

No response

Relevant traces output

No response

Anything else?

I resolved this issue in my instance by doing a do-release-upgrade. Other users may find the info contained within this issue useful. The version of urllib3 available via apt in Ubuntu 20.04 LTS is from 2020.

Metadata

Metadata

Assignees

Labels

bugThis addresses a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions