nvmeof connector _get_host_uuid incompatible with btrfs snapshots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
In Progress
|
Medium
|
Eric Harney | ||
Ubuntu |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
initiator/
I'm using openstack 2023.1 installed with devstack on Ubuntu Server 2022.04.
$ findmnt / -n -o SOURCE
/dev/sda2[
Adding the "-v" flag might help?
$ findmnt / -n -o SOURCE -v
/dev/sda2
I moved the findmnt binary to findmnt.bak and made this shell script:
$ cat /usr/bin/findmnt
#!/bin/bash
/usr/bin/
And now the python backtrace below doesn't happen when I try to live migrate a VM to this server:
DEBUG oslo_concurrenc
DEBUG oslo_concurrenc
DEBUG oslo.privsep.daemon [-] privsep: reply[e2abaa37-
DEBUG oslo_concurrenc
DEBUG oslo_concurrenc
DEBUG oslo_concurrenc
DEBUG oslo.privsep.daemon [-] privsep: Exception during request[
Command: blkid /dev/sdc2[
Exit code: 2
Stdout: ''
Stderr: '' {{(pid=52748) _process_cmd /usr/local/
Traceback (most recent call last):
File "/usr/local/
ret = func(*f_args, **f_kwargs)
File "/usr/local/
return func(*args, **kwargs)
File "/usr/local/
return custom_
File "/usr/local/
return putils.
File "/usr/local/
raise ProcessExecutio
oslo_concurrenc
Command: blkid /dev/sdc2[
Exit code: 2
Stdout: ''
Stderr: ''
tags: | added: nvmeof |
Changed in os-brick: | |
importance: | Undecided → Medium |
Changed in os-brick: | |
status: | New → Triaged |
status: | Triaged → New |
Changed in os-brick: | |
assignee: | nobody → Eric Harney (eharney) |
summary: |
- _get_host_uuid incompatible with btrfs snapshots + nvmeof connector _get_host_uuid incompatible with btrfs snapshots |
I've started using the following sed command on each server for now as a simpler fix:
sudo sed -i "s|'findmnt', '/', '-n', '-o', 'SOURCE'|'findmnt', '/', '-n', '-o', 'SOURCE', '-v'|" /usr/local/ lib/python3. 10/dist- packages/ os_brick/ initiator/ connectors/ nvmeof. py
This means I don't need to replace the findmnt binary anymore.