VMware ESXI cannot power on VM, create new VM, or revert snapshots after Native Fpolicy was enabled in System Manager
Applies to
- VMware ESXI
- NFSv3
- Native Fpolicy
Issue
- VMware ESXI tries to power on VM, but gets error
Task Power On virtual machine
Target MASTER-Template.726
Status An error occurred while opening configuration file "/vmfs/volumes/1234-5678/MASTER-Template.726/MASTER-Template.726.vmx": Insufficient permission to access the file.
- This happens if the datastore is mounted with NFSv3
- If the datastore is mounted with NFSv4, the error does not happen
- Currently running VMs are fine
- But powered off VMs cannot power on
- Reverting VM snapshots may also fail with similar permissions issues
- Packet trace says
Status: NFS3ERR_ACCES (13)
for[V3 Procedure: CREATE (8)]
sectrace -trace-allow yes
says access is allowed
Node Index Filter Details Reason
--------------- ----- -------------------------- ------------------------------
node01 4 Security Style: UNIX Access is allowed because the
permissions user has UNIX root privileges
while reading the file.
Access is granted for: "Read"
Protocol: nfs
Volume: vol01
Share: -
Path: /MASTER-Template
.726/MASTER-Template
.726.vmx
Win-User: -
UNIX-User: 0
Session-ID: -
snetapp03-a1 4 Security Style: UNIX Access is allowed because the
permissions user has UNIX root privileges
while creating the file.
Access is granted for: "Write"
Protocol: nfs
Volume: vol01
Share: -
Path: /MASTER-Template
.726/MASTER-Template
.726.vmx.lck
Win-User: -
UNIX-User: 0
Session-ID: -