← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1540239] Re: libvirtError "Failed to open file '/dev/mapper/mpathzy': No such file or directory" when creating a intance with Rally

 

Kilo is already EOL.
If this bug can be reproduced in Liberty or later, reopen this report or create new one.


** Changed in: nova
       Status: Confirmed => Invalid

-- 
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/1540239

Title:
  libvirtError "Failed to open file '/dev/mapper/mpathzy': No such file
  or directory" when creating  a intance with Rally

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  The nova version is Kilo.
  When use rally to test intancs booting from volume and deleting, and times is 12 and  concurrency is 5.
  A intance name intance1 is terminating and now another intance name instance2 is booting from mage(create a new volume).
  If intances1 disconnects volume between  intance2 connects volume  and  writes xml to disk, and supposing there is no intance at the compute node,
  Nova will disconnect from iscsi portal if no other multipath devices at the compute node, it also disconects intances1's iscsi session, then there is no session  or multipath device at the compute node. An error occurred while trying to launch intances1 with xml: "libvirtError: Failed to open file '/dev/mapper/mpathzy': No such file or directory"
   
   steps:
  1. Preparing the openstack compute node where is no intances or volumes 
  2. Install Rally.
  3. Modify the test case: boot from image(create a new volume) and specify the compute nodes. Testing times is 12 and  concurrency is 5.
  (rally)[root@control07 my_senarios]# cat boot-from-volume-and-delete.json 
  {
      "NovaServersVolumeArgs.boot_server_from_volume_and_delete": [
          {
              "args": {
                  "flavor": {
                      "name": "m1.tiny"
                  },
                  "image": {
                      "id": "e77a600c-8f93-4b8d-bd7a-5fe160ecec08"
                  },
                  "volume_args": {
                      "volume_type": "fujitpp"
                  },
                  "nics":[{"net-id": "8738a337-9445-49f5-8157-6ec005f355db"}],
                  "volume_size": 10,
                  "availability_zone": "nova:compute04"
              },
              "runner": {
                  "type": "constant",
                  "times": 12,
                  "concurrency": 5
              },
              "context": {
                  "users": {
                      "tenants": 3,
                      "users_per_tenant": 3
                  }
              }
          }
      ]
  }
  4. Run the rally.

  Expected result:
  Rally run successfully

  Actual result:
  There are several intances lanched failed with error such as "libvirtError: Failed to open file '/dev/mapper/mpathzy': No such file or directory"

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


References