migration tests fail

Bug #1566826 reported by Valeriy Ponomaryov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Critical
Valeriy Ponomaryov

Bug Description

Share migration tests

manila_tempest_tests.tests.api.admin.test_migration.MigrationNFSTest.test_migration_completion_empty_v2_15[gate]
manila_tempest_tests.tests.api.admin.test_migration.MigrationNFSTest.test_migration_empty_v2_5[gate]

fail in CI:

paste: http://paste.openstack.org/show/493147/

logs: http://logs.openstack.org/76/301576/2/check/gate-manila-tempest-dsvm-mysql-generic/7143c13/logs/testr_results.html.gz
http://logs.openstack.org/76/301576/2/check/gate-manila-tempest-dsvm-mysql-generic/7143c13/logs/screen-m-dat.txt.gz#_2016-04-06_12_06_29_331

raw:

Traceback (most recent call last):
   File "/opt/stack/new/manila/manila/data/manager.py", line 193, in _copy_share_data
     migration_info_src['mount'], mount_path, share_instance_id)
   File "/opt/stack/new/manila/manila/data/helper.py", line 207, in mount_share_instance
     utils.execute(*(mount_command.split()), run_as_root=True)
   File "/opt/stack/new/manila/manila/utils.py", line 65, in execute
     return processutils.execute(*cmd, **kwargs)
   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 371, in execute
     cmd=sanitized_cmd)
 ProcessExecutionError: Unexpected error while running command.
 Command: sudo manila-rootwrap /etc/manila/rootwrap.conf mount -vt nfs 10.254.0.3:/shares/share-4178c8e5-0308-4975-94a1-dbe66279a833 /tmp/4178c8e5-0308-4975-94a1-dbe66279a833
 Exit code: 32
 Stdout: u"mount.nfs: timeout set for Wed Apr 6 12:08:28 2016\nmount.nfs: trying text-based options 'vers=4,addr=10.254.0.3,clientaddr=10.254.0.4'\n"
 Stderr: u'mount.nfs: mount(2): Permission denied\nmount.nfs: access denied by server while mounting 10.254.0.3:/shares/share-4178c8e5-0308-4975-94a1-dbe66279a833\n'

tags: added: ci migration tempest
description: updated
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Blocker for CI

Changed in manila:
importance: Undecided → Critical
milestone: none → newton-1
Changed in manila:
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.openstack.org/302614

Changed in manila:
status: In Progress → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/302614
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=692bd3ea03f91e6e745f6f457739aca73b8f6765
Submitter: Jenkins
Branch: master

commit 692bd3ea03f91e6e745f6f457739aca73b8f6765
Author: Valeriy Ponomaryov <email address hidden>
Date: Thu Apr 7 12:13:46 2016 +0300

    Fix creation of Neutron network in Devstack

    Manila Devstack plugin creates admin network for Generic driver
    using env var "TENANT_ID". And after its removal in Devstack
    Manila fails to create Neutron network and fails on migration
    tests that use results of this network creation.

    Make Manila get ID of required project calling 'openstack client'
    to avoid such error.

    Change-Id: I43b18b2d2f2e69a150cd3e29ac84426550a6e40d
    Closes-Bug: #1566826

Changed in manila:
status: Confirmed → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/manila 3.0.0.0b1

This issue was fixed in the openstack/manila 3.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.