VMware: unable to boot an instance with NFS 4.1

Bug #1451834 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Gary Kotton

Bug Description

2015-05-05 06:26:38.349 ERROR nova.compute.manager [req-856a9b7a-37f8-4885-a872-042c63b57ba7 demo demo] [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] Instance failed to spawn
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] Traceback (most recent call last):
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] File "/opt/stack/nova/nova/compute/manager.py", line 2475, in _build_resources
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] yield resources
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] File "/opt/stack/nova/nova/compute/manager.py", line 2347, in _build_and_run_instance
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] block_device_info=block_device_info)
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 512, in spawn
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] admin_password, network_info, block_device_info)
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 581, in spawn
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] extra_specs)
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 464, in _get_vm_config_info
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] allowed_ds_types)
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] File "/opt/stack/nova/nova/virt/vmwareapi/ds_util.py", line 147, in get_datastore
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] % datastore_regex.pattern)
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f] DatastoreNotFound: Datastore regex NFS did not match any datastores
2015-05-05 06:26:38.349 TRACE nova.compute.manager [instance: 790de6c2-3e54-4c99-bf1c-f548ed14081f]

The reason for this is that the new NFS type is NFS41. This support was added in ESX 6.0

Gary Kotton (garyk)
Changed in nova:
importance: Undecided → High
tags: added: kilo-backport-potential vmware
Changed in nova:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Revision history for this message
Gary Kotton (garyk) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit a586b1b28d362a2d0d009c558417fcf6ea324038
Author: Gary Kotton <email address hidden>
Date: Mon May 4 10:07:35 2015 -0700

    VMware: add support for NFS 4.1

    ESX 6.0 supports NFS 4.1. This patch enables NFS 4.1 support.

    Closes-bug: #1451834

    DocImpact: The driver will now support NFS version 4.1

    Change-Id: I31cd846e5c87dc3de46cc2ec17ce062bf0285221

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-1 → 12.0.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.