[Starlingx-discuss] cinder-volumes and nova-local on same disk throws an error?

Marcel Schaible marcel at schaible-consulting.de
Mon Feb 25 15:41:03 UTC 2019


Hi,

when I try to setup our duplex config with the cinder-volumes and nova-local on the same nvm drive
I'll get the following error:

[root at controller-0 ~(keystone_admin)]# system host-pv-add controller-0 nova-local  d79a7560-d92a-4544-9788-1caab390cc66
Cannot use this partition. A partition (/dev/disk/by-path/pci-0000:0b:00.0-nvme-1-part1) on this disk is already in use by cinder-volumes.

[root at controller-0 ~(keystone_admin)]# system host-pv-list controller-0
+--------------------------------------+----------------+--------------------------------------+--------------------------+-------------------------------------------------+--------------------+-----------+----------------+--------------------------------------+
| uuid                                 | lvm_pv_name    | disk_or_part_uuid                    | disk_or_part_device_node | disk_or_part_device_path                        | pv_state           | pv_type   | lvm_vg_name    | ihost_uuid                           |
+--------------------------------------+----------------+--------------------------------------+--------------------------+-------------------------------------------------+--------------------+-----------+----------------+--------------------------------------+
| ccbf1fe5-1d30-44f4-be82-897a7524c63d | /dev/nvme1n1p1 | 815a4ba4-7f76-4f98-b795-a61ccf64bc94 | /dev/nvme1n1p1           | /dev/disk/by-path/pci-0000:0b:00.0-nvme-1-part1 | adding (on unlock) | partition | cinder-volumes | 3e24324b-1c90-419a-b4bc-1c2de0b45048 |
| feb603ce-f95f-44fc-bbef-1170a56f45e2 | /dev/nvme0n1p4 | 70cbe49b-eefb-40fb-a799-232463fe5ddf | /dev/nvme0n1p4           | /dev/disk/by-path/pci-0000:0a:00.0-nvme-1-part4 | provisioned        | partition | cgts-vg        | 3e24324b-1c90-419a-b4bc-1c2de0b45048 |
+--------------------------------------+----------------+--------------------------------------+--------------------------+-------------------------------------------------+--------------------+-----------+----------------+--------------------------------------+



Is this intendend or is there something other wrong with my config?


Thanx

Marcel



More information about the Starlingx-discuss mailing list