← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1737131] Re: Superfluous re-mount attempts with the Quobyte Nova driver and multi-registry volume URLs

 

** Also affects: nova/queens
   Importance: Undecided
       Status: New

** Changed in: nova/queens
       Status: New => In Progress

** Changed in: nova/queens
   Importance: Undecided => Low

** Changed in: nova/queens
     Assignee: (unassigned) => Silvan Kaiser (2-silvan)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1737131

Title:
  Superfluous re-mount attempts with the Quobyte Nova driver and multi-
  registry volume URLs

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) queens series:
  In Progress
Status in OpenStack Compute (nova) rocky series:
  Fix Committed
Status in OpenStack Compute (nova) stein series:
  Fix Committed

Bug description:
  When using a multi-registry volume URL in the Cinder Quobyte driver
  the Nova Quobyte driver does not detect existing mounts correctly.
  Upon trying to mount the given volume the driver fails because the
  mount already exists:

  [..]
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server   File "/opt/stack/nova/nova/virt/block_device.py", line 389, in attach
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server     device_type=self['device_type'], encryption=encryption)
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1248, in attach_volume
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server     self._connect_volume(connection_info, disk_info, instance)
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1181, in _connect_volume
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server     vol_driver.connect_volume(connection_info, disk_info, instance)
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 274, in inner
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server     return f(*args, **kwargs)
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server   File "/opt/stack/nova/nova/virt/libvirt/volume/quobyte.py", line 147, in connect_volume
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server     CONF.libvirt.quobyte_client_cfg)
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server   File "/opt/stack/nova/nova/virt/libvirt/volume/quobyte.py", line 61, in mount_volume
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server     utils.execute(*command)
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server   File "/opt/stack/nova/nova/utils.py", line 229, in execute
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server     return processutils.execute(*cmd, **kwargs)
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 419, in execute
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server     cmd=sanitized_cmd)
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server ProcessExecutionError: Unexpected error while running command.
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server Command: mount.quobyte --disable-xattrs 78.46.57.153:7861,78.46.57.153:7861,78.46.57.153:7861/82000e41-c6ac-4be2-b31a-0543db93767c /mnt/quobyte-volume/531b7439e360bdea0a79870354906cab
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server Exit code: 4
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server Stdout: u'mount.quobyte failed: Unable to initialize mount point\n'
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server Stderr: u"Logging to file /opt/stack/logs/quobyte_client.log.\nfuse: mountpoint is not empty\nfuse: if you are sure this is safe, use the 'nonempty' mount option\n"
  2017-12-08 08:32:29.277 25660 ERROR oslo_messaging.rpc.server

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1737131/+subscriptions


References