Translated message

A translation of this page exists in English.

Cinder ボリュームで LVM を使用するとデータがホストに公開される

Solution In Progress - Updated -

Issue

環境内のコンピュートまたはコントローラーで次の問題が発生する可能性があります。

  • LVM はゲストからボリュームグループを認識しているようです。
  • LVM は重複したボリュームグループ名があると報告します。
  • マルチパスデバイスがまだ使用されているため、ボリュームの割り当て解除が失敗します。

    2021-07-12 12:34:56.789 8 ERROR oslo_messaging.rpc.server [...] Exception during message handling: ProcessExecutionError: Unexpected error while running command.
    Command: multipath -f <wwn>
    Exit code: 1
    Stdout: u'Jul 12 12:34:56 | <wwn>1: map in use\nJul 12 12:34:56 | failed to remove multipath map <wwn>\n'
    Stderr: u''
    
  • LVM の問題が原因でゲストがブートに失敗します。

  • ゲストマシン上の LVM は、実際に存在するディスクが見つからないため、不完全な状態になります。
  • LVM がビルドされたデバイスで Cinder アクションが失敗します。
  • Cinder スナップショットが正しく削除されません。

    Nov 22 16:22:52 overcloud-volume01 cinder-volume[28404]: Stdout: u"Unexpected error while running command.\nCommand: sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvremove --config activation { retry_deactivation = 1} devices { ignore_suspended_devices = 1} -f cinder-volumes/_snapshot-<UUID>\nExit code: 5\nStdout: u''\nStderr: u'File descriptor 7 (/dev/urandom) leaked on lvremove invocation. Parent PID 39750: /usr/bin/python2\\n  Logical volume cinder-volumes/_snapshot-<UUID> is used by another device.\\n'"
    

Environment

  • Red Hat Openstack Platform
  • インスタンスにアタッチされたボリューム上に設定された LVM
  • 非 LVM cinder バックエンド

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content