Bug 1503214
Summary: | OSP11 -> OSP12 upgrade: unable to migrate instance with cinder volume attached when cinder uses an NFS backend | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> | ||||
Component: | openstack-tripleo-heat-templates | Assignee: | Ollie Walsh <owalsh> | ||||
Status: | CLOSED ERRATA | QA Contact: | Marius Cornea <mcornea> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 12.0 (Pike) | CC: | abishop, berrange, cschwede, dasmith, dbecker, eglynn, gszasz, jschluet, kchamart, lyarwood, maandre, mbooth, mburns, mcornea, morazi, ohochman, owalsh, rhel-osp-director-maint, sbauza, scohen, sferdjao, sgordon, srevivo, vromanso | ||||
Target Milestone: | rc | Keywords: | Triaged | ||||
Target Release: | 12.0 (Pike) | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | puppet-tripleo-7.4.3-5.el7ost openstack-tripleo-heat-templates-7.0.3-6.el7ost | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-12-13 22:15:46 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Attachments: |
|
Description
Marius Cornea
2017-10-17 15:19:20 UTC
Created attachment 1339780 [details]
compute sosreport
I can provide a reproducing environment, please let me know when someone can look into this issue. Thanks! You need to set nas_secure_file_operations=False and nas_secure_file_permissions=False in the backend's section of cinder.conf, and then this should work. (In reply to Eric Harney from comment #5) > You need to set nas_secure_file_operations=False and > nas_secure_file_permissions=False in the backend's section of cinder.conf, > and then this should work. If I understand correctly these should be set as defaults in OSP11 by the patches attached to bug 1440700 which is verified. Is this a regression introduced by OSP12? I suspect the problem is same as bug #1491597. I tried to look at the setup but it looks like it's been redployed. Marius, can you try this without Glance using NFS for its backend? I'd like someone form DFG:Compute to take a look at this. There may be a storage issue, but I need help connecting the dots. I signed onto Marius's system in comment #8 and here's what I found. - The nas_secure settings are correct (set False). - The "Live Migration failure: Cannot access storage file '<blah>' ...: No such file or directory" error is seen on the compute node that's still running OSP-11 (happens to be compute-r01-01). - As noted in the BZ description, the specified volume _is_ present, so the "No such file or directory" error seems confusing. - Then I looked on compute-r00-00, which is now running OSP-12. In the nova_compute container, there are no entries at all in /var/lib/nova/mnt. But there's an entry in the container's nova-compute.log: /var/log/containers/nova/nova-compute.log:2017-10-25 18:44:21.714 1 WARNING nova.virt.libvirt.volume.mount [req-204643d9-8df7-42ab-a786-e5d0c2148ac1 f73300d9077b4fde91f601b5465ed9d0 c3ff2f236e3649409fb67f9fb87ecd2b - - -] Request to remove attachment (volume-<blah>) from /var/lib/nova/mnt/93dfa45819ccd57c0cb9b93cd07c9128, but we don't think it's in use. - I don't see any NFS mounts on the OSP-12 compute node, or logs indicating it tried to mount something and failed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3462 |