When adding a VM folder, Template folder, Disk path folder in OpsMan --> Bosh Director tile --> vCenter Config if the name contains a dot (e.g test.test), it will fail to save the page and return error "is invalid".
Foundation core (former OpsMan).
The error is showing due to stricter validation on the folder name. It is specified as regex in file vsphere_iaas_configuration.rb
FOLDER_REGEX = /\A([\w\s-]{1,80}\/)*[\w\s-]{1,80}\/?\z/
validates :bosh_vm_folder, presence: true, format: FOLDER_REGEX
validates :bosh_template_folder, presence: true, format: FOLDER_REGEX
While vCenter allows you to name a folder test.test, the BOSH Director’s configuration parser flags this as invalid.
The BOSH Director (which Ops Manager configures) uses specific validation patterns to ensure compatibility across different cloud providers. BOSH uses these names to construct inventory paths. A dot in the folder name can cause the CPI to misinterpret the full inventory path.