kann Cname eintrag nich anlegen
beim anlegen eines CNAME Eintrages kommt folgende Fehlermeldung
{
"ta": [
{
"idx": "87b6a7f2-56b0-47ef-9c17-15b1f4428335_check_fqdn",
"name": "dns.fqdn.list",
"old": {
"value_list": [
"vm-dc3.ipek.kit.edu"
]
}
},
{
"idx": "87b6a7f2-56b0-47ef-9c17-15b1f4428335_rec_type_def",
"name": "dnscfg.record_type.list",
"old": {
"name": "CNAME"
},
"when": {
"returns_no_data": [
"87b6a7f2-56b0-47ef-9c17-15b1f4428335_check_fqdn"
]
}
},
{
"idx": "87b6a7f2-56b0-47ef-9c17-15b1f4428335_fqdn_type",
"name": "dnscfg.fqdn_type.list",
"inner_join_ref": {
"87b6a7f2-56b0-47ef-9c17-15b1f4428335_rec_type_def": "api_fkey_dnscfg_record_type_dflt_fqdn_type"
},
"when": {
"returns_no_data": [
"87b6a7f2-56b0-47ef-9c17-15b1f4428335_check_fqdn"
]
}
},
{
"idx": "87b6a7f2-56b0-47ef-9c17-15b1f4428335_crt_fqdn",
"name": "dns.fqdn.create",
"new": {
"value": "vm-dc3.ipek.kit.edu",
"description": ""
},
"new_ref_params": [
{
"idx": "87b6a7f2-56b0-47ef-9c17-15b1f4428335_fqdn_type",
"params": {
"type": "name"
}
}
],
"when": {
"returns_no_data": [
"87b6a7f2-56b0-47ef-9c17-15b1f4428335_check_fqdn"
]
}
},
{
"idx": "87b6a7f2-56b0-47ef-9c17-15b1f4428335_upd_fqdn",
"name": "dns.fqdn.update",
"new": {
"description": ""
},
"old": {
"value": "vm-dc3.ipek.kit.edu"
},
"when": {
"and": [
{
"and": [
true,
false
]
},
{
"returns_data": [
"87b6a7f2-56b0-47ef-9c17-15b1f4428335_check_fqdn"
]
}
]
}
},
{
"name": "dns.record.create",
"new": {
"fqdn": "vm-dc3.ipek.kit.edu",
"type": "CNAME",
"data": "ipekwiki2.ipek.kit.edu",
"target_is_singleton": true,
"target_is_reverse_unique": false
},
"idx": "87b6a7f2-56b0-47ef-9c17-15b1f4428335"
}
],
"result": {
"exception": {
"error": {
"code": 1,
"description": "[cntl] angeforderter Datensatz nicht vorhanden oder benutzte Referenzdaten ungültig",
"details": "Der für diesen Vorgang bzw. diese Transaktion angeforderte Datensatz ist nicht vorhanden oder die Parametervorauswahl ist ungültig."
},
"error_type": {
"code": -20001,
"name": "invalid_param",
"description": "Parameter ungültig"
},
"constraint": {
"name": null,
"description": null
},
"stacked_diag_params": {
"sqlstate": "P0002",
"message": "no_data_found",
"detail": "",
"hint": "",
"context": "PL/pgSQL function eh.set_err(eh.stacked_diag_params_rec_type,name,name,eh.userparams_kv_rec_type[],eh.typecode_rec_type) line 22 at RAISE\\nSQL statement \"SELECT eh.set_err(sd_rec, fpkg, fname, up_kv_rec_list, et_rec)\"\\nPL/pgSQL function dns_wapi_4_0.ta_stmt_handler(jsonb,wapi_4_0.exec_ta_stmt_rec_type) line 198 at PERFORM\\nSQL statement \"select\\n eh_ret_stmt_pos, eh_ret_stmt_idx,\\n (attrs.dict #> array[int_dwh_tab_arg_name, dwh_gpk_col_name])::bigint,\\n attrs.dict - attrs.fattrs,\\n nextval('obj_dict_pos_seq')\\n from dns_wapi_4_0.ta_stmt_handler(in_ta_osr_jsonb => stmt_osr_jsonb, in_stmt_rec => rp_tah_stmt_rec) as attrs(dict, fattrs)\"\\nPL/pgSQL function wapi_4_0.exec_ta_handler(bigint,jsonb,boolean,boolean,boolean,boolean,text,text) line 823 at RETURN QUERY\\nSQL statement \"select tah.out_stmt_pos, tah.out_stmt_idx, tah.out_obj_dict from wapi_4_0.exec_ta_handler(\\n in_ta_id => ta_id,\\n in_ta_osr_jsonb => ta_osr_jsonb,\\n in_keep_tmp_ta => in_keep_tmp_ta,\\n in_report_stmt_pos => in_report_stmt_pos,\\n in_is_dry_mode => in_is_dry_mode,\\n in_ignore_maint_state => in_ignore_maint_state,\\n in_su_login_name => in_su_login_name,\\n in_language_tag => in_language_tag\\n ) AS tah\"\\nPL/pgSQL function wapi_4_0.ta_handler(text,text,text,boolean,boolean,boolean,boolean,text,text) line 33 at RETURN QUERY",
"dml_src_table": null,
"schema": "",
"table": "",
"column": "",
"datatype": "",
"constraint": ""
},
"others": {},
"traceback": [
{
"function": "dns_wapi_4_0.get_v_dbrt_rec",
"param": {
"dnscfg.record_type.name": [
{
"state": null,
"value": "CNAME"
}
],
"dnscfg.record_inttype.fqdn_type": [
{
"state": null,
"value": "domain"
}
],
"dnscfg.record_inttype.target_fqdn_type": [
{
"state": null,
"value": "domain"
}
],
"dnscfg.record_inttype.target_is_singleton": [
{
"state": null,
"value": true
}
],
"dnscfg.record_inttype.target_is_reverse_unique": [
{
"state": null,
"value": false
}
]
}
},
{
"function": "wapi_4_0.exec_ta_handler",
"param": {
"wapi.transaction_stmt.pos": [
{
"state": null,
"value": 5
}
],
"wapi.transaction_stmt.idx": [
{
"state": null,
"value": "87b6a7f2-56b0-47ef-9c17-15b1f4428335"
}
]
}
}
],
"hint": null
}
}
}
Edited by xe4704