Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

ion_145132 avatar image
ion_145132 asked starlord commented

How do I retrieve the LCM config profile that includes default values?

Trying to retrieve the profile using LCM api http://LCM_HOST:8888/api/v2/lcm/config_profiles/ but it only returns a limited JSON (does not include default values)

Any trick how I get the full JSON with all default values?

This page did not help https://docs.datastax.com/en/opscenter/6.8/api/docs/lcm_config_profile.html#method-get-config-profile-object

lifecycle manager
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered starlord commented

The LCM config profile will only contain items that LCM used to generate configuration files on the nodes. It won't contain items that are not specified as part of the LCM configuration.

For example, if will only contain the cassandra.yaml properties that you configured with LCM.

If you need further assistance, please log a ticket with DataStax Support so one of our engineers can assist you directly. Cheers!

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

if it's just the formatting, you can try the following, but sounds like what Erick said applies here.

curl 127.0.0.1:8888/api/v2/lcm/config_profiles | json_pp --json_opt=canonical,pretty
0 Likes 0 ·