Director Stage deployment fails in OpenVZ CentOS 7

Im having the same issue this morning.

Icinga2 updated to 2.11, Director is completely broken and refuses to deploy any changes.

Moreover, i updated director module and some dependencies, but that did not resolve the issue!

2.11 uses a staged config sync, whereas changes received from parent endpoint nodes are first put into a staging directory with running the validation. If that does not succeed, the service does not reload nor copy the config into production.

To analyse further, I suggest to stop the daemon on the agent, purge away /var/lib/icinga2/api/zones/* and /var/lib/icinga2/api/zones-stage/* and start Icinga again.

https://icinga.com/docs/icinga2/latest/doc/16-upgrading-icinga-2/#config-sync

Cheers,
Michael

Unfortunately it does not resolve the issue.

    • API request failed: Stage creation failed. (RestApiResponse.php:108)
      when trying to deploy after rundeck 2.11 update

Icinga director tells you exactly whats going wrong. Please post the deploy output here

there is no output, no deploy log, it dosent get there.

Icinga2 Director > Config Deployment > Render Config > Deploy 1 pending changes > * * API request failed: Stage creation failed. (RestApiResponse.php:108)

icinga2.log should help you further. The deployed stage failed.

no clear error either:

[2019-09-19 13:08:04 -0400] information/ApiListener: New client connection from [REDACTEDIP1]:47734 (no client certificate)
[2019-09-19 13:08:04 -0400] information/HttpServerConnection: Request: GET /v1/ (from [REDACTEDIP1]:47734), user: root, agent: ).
[2019-09-19 13:08:04 -0400] information/HttpServerConnection: Request: GET /v1/config/packages (from [REDACTEDIP1]:47734), user: root, agent: ).
[2019-09-19 13:08:04 -0400] information/HttpServerConnection: Request: GET /v1/config/packages (from [REDACTEDIP1]:47734), user: root, agent: ).
[2019-09-19 13:08:04 -0400] information/HttpServerConnection: Request: POST /v1/config/stages/director (from [REDACTEDIP1]:47734), user: root, agent: ).
[2019-09-19 13:08:04 -0400] information/HttpServerConnection: HTTP client disconnected (from [REDACTEDIP1]:47734)

Try to fetch the stage status.log manually from /v1/config/stages via Rest Api. That‘s described in the Api docs.

I’m gone for today, have a nice evening.

1 Like

Dont see any fatal error here either.

{“error”:404.0,“status”:“Path not found.”}[root@mon zones]# curl -k -s -u root:icinga 'https://localhost:5665/v1/con-245a6e5d7bb7/startup.log’e-2ec0-42d2-b103-
[2019-09-19 12:31:25 -0400] information/cli: Icinga application loader (version: r2.10.5-1)
[2019-09-19 12:31:25 -0400] information/cli: Loading configuration file(s).
[2019-09-19 12:31:25 -0400] information/ConfigItem: Committing config item(s).
[2019-09-19 12:31:25 -0400] warning/ApiListener: Attribute ‘key_path’ for object ‘api’ of type ‘ApiListener’ is deprecated and should not be used.
[2019-09-19 12:31:25 -0400] warning/ApiListener: Attribute ‘ca_path’ for object ‘api’ of type ‘ApiListener’ is deprecated and should not be used.
[2019-09-19 12:31:25 -0400] warning/ApiListener: Attribute ‘cert_path’ for object ‘api’ of type ‘ApiListener’ is deprecated and should not be used.
[2019-09-19 12:31:25 -0400] warning/ApiListener: Please read the upgrading documentation for v2.8: https://icinga.com/docs/icinga2/latest/doc/16-upgrading-icinga-2/
[2019-09-19 12:31:25 -0400] information/ApiListener: My API identity: REDACTED
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘CPU Load’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/service_apply.conf: 21:1-21:24) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘SSH Check’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/service_apply.conf: 30:1-30:25) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘CPU Load’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 484:1-484:24) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘CPU Usage’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 492:1-492:25) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘SSH Check’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 500:1-500:25) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘Memory Usage’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 509:1-509:28) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘Service-CSF’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 517:1-517:27) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘Service-BIND’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 525:1-525:28) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘RDP Check’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 875:1-875:25) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘CPU Load - Windows’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 883:1-883:34) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘Disk Space - Windows’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 893:1-893:36) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘Swap Space - Windows’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 902:1-902:36) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘Memory Usage Windows’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 911:1-911:36) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] warning/ApplyRule: Apply rule ‘Windows Update Check’ (in /var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global/servicesets.conf: 920:1-920:36) for type ‘Service’ does not match anywhere!
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 ScheduledDowntime.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1197 Services.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 InfluxdbWriter.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 IcingaApplication.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1069 Hosts.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 FileLogger.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 2 NotificationCommands.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 770 Notifications.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 NotificationComponent.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 12 HostGroups.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 ApiListener.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 Downtime.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 3 Comments.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 CheckerComponent.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 97 Zones.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 ExternalCommandListener.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 96 Endpoints.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 2 ApiUsers.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 2 Users.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 236 CheckCommands.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 2 UserGroups.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 6 ServiceGroups.
[2019-09-19 12:31:26 -0400] information/ConfigItem: Instantiated 4 TimePeriods.
[2019-09-19 12:31:26 -0400] information/ScriptGlobal: Dumping variables to file ‘/var/cache/icinga2/icinga2.vars’
[2019-09-19 12:31:26 -0400] information/cli: Finished validating the configuration file(s).

Which Director version is used here? I am using 1.6.2 stable in my tests.

Master branch which was updated yesterday.

Maybe a bug in Git master, please collect these details and create a new Director issue. I know that @tgelf is preparing a feature for better deployments for 1.7 :slight_smile:

I cannot recall any change related to Config deployment, but who knows :smiley:

Stage creation failed is an error message Director get’s from Icinga. So what happens here is that the Director deployed a configuration package via config/stages/<packagename> - and Icinga says “Sorry, no way”. In your log this is POST /v1/config/stages/director - this one fails.

@dnsmichi: would the debug log show what’s going on here?

1 Like

I tried to reproduce this. First of all: Deployments with the Director master work fine with Icinga 2.11 on Debian Stretch. So doesn’t seem to be a generic issue.

To figure out whether we could get more details I tried to simulate such an error by forcible changing some permissions in /var/lib/icinga2/api and skipping other requests in the Director source code to reach exactly the place in code where your request is failing.

That way I was able to get your error. Director shows you all information it gets, Stage creation failed., that’s it. I dumped the full request just to be sure. Icinga masks the original Exception and gives a generic error, Debug-log shows the full (large) request body, but no information related to the real problem. In my (crafted) example I’d expect Icinga to tell me that it was unable to write to disk, but it remains silent.

@dnsmichi: your turn :wink:

@simonEzCoins: timestamps in your startup log do not match your requests in the Icinga log, guess this log is from a former deployment.

Cheers,
Thomas

1 Like

Ah yes, thanks a lot, too tired today. After releasing yesterday, Bernd invited us for Dinner and I was home very late.

That being found out, one can likely simulate it with manual curl requests on the shell.
https://icinga.com/docs/icinga2/latest/doc/12-icinga2-api/#create-a-stage-upload-configuration

Let’s get things going from the beginning, some more system insights please.

  • icinga2 --version (full output please)
  • with the debug log enabled, please perform such a failing deployment. gzip the logs and attach them here please.
  • SELinux enabled? getenforce 0
  • A permission listing from the core’s directory parts with ls -lahR /var/lib/icinga2/api/packages

With all the above, obfuscate details where needed.

Have a nice weekend, I’m now finally gone til Monday.

Cheers,
Michael

[root@mon ~]# icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: 2.11.0-1)

Copyright © 2012-2019 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl2.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
Platform: CentOS Linux
Platform version: 7 (Core)
Kernel: Linux
Kernel version: 2.6.32-042stab138.1
Architecture: x86_64

Build information:
Compiler: GNU 4.8.5
Build host: runner-LTrJQZ9N-project-322-concurrent-0

Application information:

General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2

Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var

Internal paths:
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid

Selinux is disabled:

[root@mon ~]# getenforce 0
Disabled

permissions:

[root@mon ~]# ls -lahR /var/lib/icinga2/api/packages
/var/lib/icinga2/api/packages:
total 24K
drwx------ 4 icinga icinga 4.0K Dec 6 2016 .
drwxr-x— 6 icinga icinga 4.0K Sep 19 12:32 

drwx------ 3 icinga icinga 4.0K Dec 5 2016 _api
drwx------ 3 icinga icinga 12K Sep 19 12:32 director

/var/lib/icinga2/api/packages/_api:
total 24K
drwx------ 3 icinga icinga 4.0K Dec 5 2016 .
drwx------ 4 icinga icinga 4.0K Dec 6 2016 

-rw-r–r-- 1 icinga icinga 440 Dec 5 2016 active.conf
-rw-r–r-- 1 icinga icinga 23 Dec 5 2016 active-stage
-rw-r–r-- 1 icinga icinga 25 Dec 5 2016 include.conf
drwx------ 4 icinga icinga 4.0K Dec 5 2016 REDACTEDSERVERNAME-1480990921-1

/var/lib/icinga2/api/packages/_api/REDACTEDSERVERNAME-1480990921-1:
total 20K
drwx------ 4 icinga icinga 4.0K Dec 5 2016 .
drwx------ 3 icinga icinga 4.0K Dec 5 2016 

drwx------ 4 icinga icinga 4.0K Dec 17 2016 conf.d
-rw-r–r-- 1 icinga icinga 147 Dec 5 2016 include.conf
drwx------ 2 icinga icinga 4.0K Dec 5 2016 zones.d

/var/lib/icinga2/api/packages/_api/REDACTEDSERVERNAME-1480990921-1/conf.d:
total 16K
drwx------ 4 icinga icinga 4.0K Dec 17 2016 .
drwx------ 4 icinga icinga 4.0K Dec 5 2016 

drwx------ 2 icinga icinga 4.0K Sep 19 17:38 comments
drwx------ 2 icinga icinga 4.0K Sep 20 03:00 downtimes

/var/lib/icinga2/api/packages/_api/REDACTEDSERVERNAME-1480990921-1/conf.d/comments:
total 16K
drwx------ 2 icinga icinga 4.0K Sep 19 17:38 .
drwx------ 4 icinga icinga 4.0K Dec 17 2016 

-rw-r–r-- 1 icinga icinga 407 Sep 17 20:15 odedi300REDACTEDDOMAINNAME!SSH Check!fda9e5d1-a436-4e32-a026-72174e176cb1.conf
-rw-r–r-- 1 icinga icinga 1.4K Sep 18 03:58 rosemontREDACTEDDOMAINNAME!Last Backup Date!7ca59ef4-fab7-438d-a856-2b06da23d007.conf

/var/lib/icinga2/api/packages/_api/REDACTEDSERVERNAME-1480990921-1/conf.d/downtimes:
total 8.0K
drwx------ 2 icinga icinga 4.0K Sep 20 03:00 .
drwx------ 4 icinga icinga 4.0K Dec 17 2016 


/var/lib/icinga2/api/packages/_api/REDACTEDSERVERNAME-1480990921-1/zones.d:
total 8.0K
drwx------ 2 icinga icinga 4.0K Dec 5 2016 .
drwx------ 4 icinga icinga 4.0K Dec 5 2016 


/var/lib/icinga2/api/packages/director:
total 32K
drwx------ 3 icinga icinga 12K Sep 19 12:32 .
drwx------ 4 icinga icinga 4.0K Dec 6 2016 

drwx------ 4 icinga icinga 4.0K Sep 19 12:31 6565b75e-2ec0-42d2-b103-245a6e5d7bb7
-rw-r–r-- 1 icinga icinga 469 Sep 19 12:31 active.conf
-rw-r–r-- 1 icinga icinga 36 Sep 19 12:31 active-stage
-rw-r–r-- 1 icinga icinga 25 Sep 19 12:31 include.conf

/var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7:
total 40K
drwx------ 4 icinga icinga 4.0K Sep 19 12:31 .
drwx------ 3 icinga icinga 12K Sep 19 12:32 

drwx------ 2 icinga icinga 4.0K Sep 19 12:31 conf.d
-rw-r–r-- 1 icinga icinga 168 Sep 19 12:31 include.conf
-rw-r–r-- 1 icinga icinga 6.6K Sep 19 12:31 startup.log
-rw-r–r-- 1 icinga icinga 1 Sep 19 12:31 status
drwx------ 4 icinga icinga 4.0K Sep 19 12:31 zones.d

/var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/conf.d:
total 8.0K
drwx------ 2 icinga icinga 4.0K Sep 19 12:31 .
drwx------ 4 icinga icinga 4.0K Sep 19 12:31 


/var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d:
total 16K
drwx------ 4 icinga icinga 4.0K Sep 19 12:31 .
drwx------ 4 icinga icinga 4.0K Sep 19 12:31 

drwxr-x— 2 icinga icinga 4.0K Sep 19 12:31 director-global
drwxr-x— 2 icinga icinga 4.0K Sep 19 12:31 REDACTEDSERVERNAME

/var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/director-global:
total 96K
drwxr-x— 2 icinga icinga 4.0K Sep 19 12:31 .
drwx------ 4 icinga icinga 4.0K Sep 19 12:31 

-rw-r–r-- 1 icinga icinga 1.5K Sep 19 12:31 001-director-basics.conf
-rw-r–r-- 1 icinga icinga 19K Sep 19 12:31 commands.conf
-rw-r–r-- 1 icinga icinga 1.4K Sep 19 12:31 hostgroups.conf
-rw-r–r-- 1 icinga icinga 2.7K Sep 19 12:31 host_templates.conf
-rw-r–r-- 1 icinga icinga 822 Sep 19 12:31 service_apply.conf
-rw-r–r-- 1 icinga icinga 146 Sep 19 12:31 servicegroups.conf
-rw-r–r-- 1 icinga icinga 25K Sep 19 12:31 servicesets.conf
-rw-r–r-- 1 icinga icinga 9.7K Sep 19 12:31 service_templates.conf
-rw-r–r-- 1 icinga icinga 323 Sep 19 12:31 timeperiods.conf
-rw-r–r-- 1 icinga icinga 745 Sep 19 12:31 user_templates.conf

/var/lib/icinga2/api/packages/director/6565b75e-2ec0-42d2-b103-245a6e5d7bb7/zones.d/REDACTEDSERVERNAME:
total 208K
drwxr-x— 2 icinga icinga 4.0K Sep 19 12:31 .
drwx------ 4 icinga icinga 4.0K Sep 19 12:31 

-rw-r–r-- 1 icinga icinga 8.5K Sep 19 12:31 agent_endpoints.conf
-rw-r–r-- 1 icinga icinga 9.9K Sep 19 12:31 agent_zones.conf
-rw-r–r-- 1 icinga icinga 155K Sep 19 12:31 hosts.conf
-rw-r–r-- 1 icinga icinga 1.4K Sep 19 12:31 notification_apply.conf
-rw-r–r-- 1 icinga icinga 392 Sep 19 12:31 notification_templates.conf
-rw-r–r-- 1 icinga icinga 2.0K Sep 19 12:31 services.conf
-rw-r–r-- 1 icinga icinga 129 Sep 19 12:31 usergroups.conf
-rw-r–r-- 1 icinga icinga 343 Sep 19 12:31 users.conf

Debug log attached, password sent in Private messagedebug.log.zip (107.8 KB)

Problem seems to be with Icinga2 Directly and probably not director.

Creating the config package works:

[root@mon icinga2]# curl -k -s -u root:REDACTEDPASSWORD -H ‘Accept: application/json’ -X POST https://localhost:5665/v1/config/packages/example-cmdb
{“results”:[{“code”:200.0,“package”:“example-cmdb”,“status”:“Created package.”}]}

Uploading config not working:

[root@mon icinga2]# curl -k -s -u root:root:REDACTEDPASSWORD -H ‘Accept: application/json’ -X POST \

-d ‘{ “files”: { “conf.d/test.conf”: “object Host "cmdb-host" { chec_command = "dummy" }” }, “pretty”: true }’
‘https://localhost:5665/v1/config/stages/example-cmdb’
{
“error”: 500.0,
“status”: “Stage creation failed.”

Hmmm, I had a peek into the debug logs but the request looks valid. We don’t log additional things though in this case, so I cannot really figure out why you would receive a 500 “stage creation failed” error.

The examples from the docs work for me as well.

$ curl -k -s -u root:icinga -H 'Accept: application/json' -X POST https://localhost:5665/v1/config/packages/example-cmdb
{"results":[{"code":200.0,"package":"example-cmdb","status":"Created package."}]}

$ curl -k -s -u root:icinga -H 'Accept: application/json' -X POST https://localhost:5665/v1/config/stages/example-cmdb -d '{ "files": { "conf.d/test.conf": "object Host \"cmdb-host\" { chec_command = \"dummy\" }" }, "pretty": true }'
{
    "results": [
        {
            "code": 200.0,
            "package": "example-cmdb",
            "stage": "d1cd4f03-8ecc-4d4e-842e-e45fd2ad6f25",
            "status": "Created stage. Reload triggered."
        }
    ]
}
[2019-09-23 17:45:40 +0200] information/HttpServerConnection: Request: POST /v1/config/stages/example-cmdb (from [::1]:63338), user: root, agent: curl/7.54.0).
[2019-09-23 17:45:40 +0200] information/ConfigPackageUtility: Updating configuration file: /usr/local/icinga/icinga2/var/lib/icinga2/api/packages/example-cmdb/d1cd4f03-8ecc-4d4e-842e-e45fd2ad6f25/conf.d/test.conf
[2019-09-23 17:45:40 +0200] information/HttpServerConnection: HTTP client disconnected (from [::1]:63338)
[2019-09-23 17:45:41 +0200] critical/ConfigPackageUtility: Config validation failed for package 'example-cmdb' and stage 'd1cd4f03-8ecc-4d4e-842e-e45fd2ad6f25'.

Still wondering about the exception here. Please add "verbose": true to your POST request body and add the output here.

Cheers,
Michael

It dosent seem to print any additional data even with verbosity

[root@mon ~]# curl -k -s -u root:REDACTEDPW -H ‘Accept: application/json’ -X POST -d ‘{ “files”: { “conf.d/test.conf”: “object Host “cmdb-host” { chec_command = “dummy” }” }, “verboseErrors”: true }’ ‘https://localhost:5665/v1/config/stages/example-cmdb’

{“error”:500.0,“status”:“Stage creation failed.”}[root@mon ~]#