i have reinstalled my hosts with 7.0.1 in a vCenter 7.0.1 and i noticed that it is not possible to configure the hosts "Swap File Location" when the host is in a cluster which has configured that the Swap File Location is on a Datastore specified by the host.
The only way to specify a location on the host is to move the host temporarily out of the cluster.
Looks like "bug" to me.
It is not a bug as the Host Configurations are inherited from the Cluster. First you need to select the Cluster configure the "Datastore specified in the host" option:
After you change this you can modify the Swap File Location in each host inside the cluster:
I misunderstood then what you were describing. when you said you cannot configure. Do you have the option enabled or you see it greyed out? Which user are you using to do this changes? Do it have the required permissions?
I'm email@example.com and the option to configure is greyed out. When i move the host one folder up to the Datacenter i configure this and then move the host back to the cluster. The setting is preserved and active....
I would love to replicate that but I have vSAN configured and I cannot remove the hosts from the cluster. But this seems is a bug for sure, I am also using vCenter 7.0.1 and ESXi 7.0.1 in a Nested environment but I upgraded it.
Let's wait, maybe somebody can reproduce your issue.