dashboard was allowing to create a filesystem with / in its name but the
cli throws out error in doing so. And the created volume in dashboard
just gets ended up as a stale volume
Fixes: https://tracker.ceph.com/issues/62628
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
d8208693d5b9a94fd24dbffcdb45fe67d4164b3b)
i18n>This field is required!</span>
<span *ngIf="form.showError('name', formDir, 'pattern')"
class="invalid-feedback"
- i18n>Volume name can only contain letters, numbers, '.', '-', '_' or '/'.</span>
+ i18n>File System name can only contain letters, numbers, '.', '-' or '_'</span>
</div>
</div>
});
this.form = this.formBuilder.group({
name: new FormControl('', {
- validators: [Validators.pattern(/^[.A-Za-z0-9_/-]+$/), Validators.required]
+ validators: [Validators.pattern(/^[.A-Za-z0-9_-]+$/), Validators.required]
}),
placement: ['hosts'],
hosts: [[]],