Symptoms

Task on provisioning or recreation of VE in OACI fails with the following error message in vps.aps.log

[ApplicationUnknownError] [APS] {
"error": "APS::Controller::Validation::ValidationError",
"message": "Value of property 'platform.os.name' ('') does not match regular expression 'redhat|centos|debian|ubuntu|cloudlinux|.+'.",
"code": 1008

According to vps.aps.log that occurred on validation phase due to values included in PUT call like below:

INFO  JerseyClientLoggingFilter [deferred-2] - 477 * [PACI->APSC] Client out-bound request
477 > PUT https://127.0.0.1:6308/aps/2/application/environments/d8273832-93aa-49ef-b838-6b57dc2d41c4
...
  "platform" : {
    "arch" : "x86",
    "os" : {
      "name" : "",
      "type" : "Linux",
      "version" : "6"
    }
  },

Cause

Missing field edition in IM DB and APS representation of OS templates. The field is filled during OS-template creation/import:

Currently the field is not mandatory and if it is empty, it causes this issue.

Resolution

Please set field edition during OS-template creation/import. In case if you already have affected OS-template, contact Cloudblue Support to apply internal workaround.

Corresponding feature request: PFR-2396 "Make OS template parameters mandatory in UI"

Internal content

Link on internal Article