question

rajib76 avatar image
rajib76 asked rajib76 commented

Does OpsCenter require root access to install DSE using LCM?

We are getting the below error while installing DSE in the other nodes from OPSCENTER. Do we need root access for doing this? Our understanding was that we do not need root access.

Sorry, user s-xxxxxx is not allowed to execute './meld --callback-protocol=http --callback-port=8888 --callback-path=/api/v2/lcm/internal/nodes/9ded8e9c-59d6-4d44-8330-6df0fb44ba83 --token=e5f221d3-c1fd-4b8d-93db-2a88c6887ec8 --job-id=57d19b8f-9a82-43bd-b33a-e6847aa82b0c' as root on g-xxxx-2x-xxxxx-001.dev.azeus.xxxxx.com.
" stderr="" (async-thread-macro-6)
 2022-02-03 07:01:38,129Z [opscenterd] ERROR: Install job 57d19b8f-9a82-43bd-b33a-e6847aa82b0c failed! (async-thread-macro-7)
opscenterlifecycle manager
10 |1000

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 rajib76 commented

Yes, the SSH user you've configured in LCM needs to have sudo privileges on the servers.

Depending on the operating system, DSE will either be installed as a YUM or Debian package and both require root access to create directories and a local cassandra user just like installating the packages manually.

For details, see Adding SSH Credentials in OpsCenter Lifecycle Manager.

A friendly note that if you have any follow up questions, I'd like request that you log a ticket with DataStax Support since my ability to provide support in this forum is limited. Cheers!

1 comment Share
10 |1000

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

rajib76 avatar image rajib76 commented ·
Thanks a lot Erick, we are also getting someone from support. But I wanted to know this quickly so that we can engage our linux folks. We are in a POC right now
0 Likes 0 ·