Hyper-V driver should log a clear error message during migrations for remote node permissions errors

Bug #1367786 reported by Alessandro Pilotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Adelina Tuvenie
Juno
Fix Released
Low
Adelina Tuvenie

Bug Description

When failing to access a remote SMB UNC path, Python raises the following exception:

    WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: '\\\\'

This is definitely misleading when troubleshooting the issue, which occurs during resize / cold migrations.

The Nova driver should report a clear error message, making sure the user understands the full context.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Adelina Tuvenie (atuvenie)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/120721
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=42560abdf172bae2df5d3297003324f8c46b8037
Submitter: Jenkins
Branch: master

commit 42560abdf172bae2df5d3297003324f8c46b8037
Author: Adelina Tuvenie <email address hidden>
Date: Thu Sep 11 11:39:21 2014 +0300

    Fixes Hyper-V should log a clear error message

    When failing to access a remote SMB UNC path, Python raises
       WindowsError: [Error 123] The filename, directory name, or volume
    label syntax is incorrect: '\\\\'
    This issue happens during resize/cold migration.

    This fix ensures that the Nova driver will report a clear error
    message.

    Change-Id: I735987f3c3f8c16759f6fbbb235a0156df832855
    Closes-Bug: #1367786

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/152866

Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/juno)

Reviewed: https://review.openstack.org/152866
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fd3626272e6e3670fb6268fbc4bc95f6f219b5b4
Submitter: Jenkins
Branch: stable/juno

commit fd3626272e6e3670fb6268fbc4bc95f6f219b5b4
Author: Adelina Tuvenie <email address hidden>
Date: Thu Sep 11 11:39:21 2014 +0300

    Fixes Hyper-V should log a clear error message

    When failing to access a remote SMB UNC path, Python raises
       WindowsError: [Error 123] The filename, directory name, or volume
    label syntax is incorrect: '\\\\'
    This issue happens during resize/cold migration.

    This fix ensures that the Nova driver will report a clear error
    message.

    Change-Id: I735987f3c3f8c16759f6fbbb235a0156df832855
    Closes-Bug: #1367786
    (cherry pick from commit 42560abdf172bae2df5d3297003324f8c46b8037)

tags: added: in-stable-juno
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-2 → 2015.1.0
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.