Re: Cloudstack with Managed Databases?

2024-02-25 Thread Jayanth Reddy
Hello, One of the ways I think of is to make use of the cloud-init's functionalities to install and configure your DBMS. However you may have less view of the DBMS later which might not exactly fit into "managed". I've seen people have their own CMP and handling all the integration there. Thank

Cloudstack with Managed Databases?

2024-02-25 Thread Hunter Yap
Hi Guys, We are exploring offering Managed Databases as a service on our Cloudstack Public Cloud. Has anyone done this before? What method did you use and what was the experience like? Regards, Hunter

Re: Failed to decrypt DB password from db.properties

2024-02-25 Thread steve savio
Tested manually as suggested. It seems to be working as expected. ~$ java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar com.cloud.utils.crypt.EncryptionCLI -p mgmtkey -i dbkey ~$ 0kyPpEDMCrGYCmxK/tteR5hcIb8vO24Str7n5LxYLuP+ ~$ java -classpath /usr/share/cloudstack-common/lib

Re: Failed to decrypt DB password from db.properties

2024-02-25 Thread Wei ZHOU
Can you test the decryption manually? Refer to https://cwiki.apache.org/confluence/plugins/servlet/mobile?contentId=235837182#NewdatabaseencryptioncipherAeadBase64Encryptor-6.1Usage -Wei On Sunday, February 25, 2024, steve savio wrote: > /etc/cloudstack/management/key contains the secret key so

Re: Failed to decrypt DB password from db.properties

2024-02-25 Thread steve savio
/etc/cloudstack/management/key contains the secret key so I'm not comfortable sharing the contents. But below are the contents of /etc/cloudstack/management/db.properties with the encrypted secret and password values redacted. cluster.node.IP=127.0.1.1 cluster.servlet.port=9090 region.id=1 # Clo

Re: Failed to decrypt DB password from db.properties

2024-02-25 Thread Wei ZHOU
Can you share the content of files "key" and "db.properties" in /etc/cloudstack/management ? -Wei On Sun, Feb 25, 2024 at 8:12 PM steve savio wrote: > Hello, > > I'm looking to try out CloudStack and have been following the guide on > getting a single node setup going at > > https://docs.clouds

Re: CKS Storage Provisioner Info

2024-02-25 Thread Wei ZHOU
+1 Or use the api key of "admin" user. -Wei On Sun, Feb 25, 2024 at 7:57 PM Jayanth Reddy wrote: > Hello Bharat, > With your login as "admin" user, you should be able to generate keys for > any user. Please do the below > > 1. Go to "Accounts" > 2. Select the account named "admin" > 3. Scroll

Failed to decrypt DB password from db.properties

2024-02-25 Thread steve savio
Hello, I'm looking to try out CloudStack and have been following the guide on getting a single node setup going at https://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html . But I've run into an issue while trying to set up the system VM template - the https://docs.c

Re: CKS Storage Provisioner Info

2024-02-25 Thread Jayanth Reddy
Hello Bharat, With your login as "admin" user, you should be able to generate keys for any user. Please do the below 1. Go to "Accounts" 2. Select the account named "admin" 3. Scroll down and click "users" 4. Select the "admin-kubeadmin" user 5. Then select the button for generation of keys. Ple

Re: CKS Storage Provisioner Info

2024-02-25 Thread Bharat Bhushan Saini
Hi Jayanth, Have to check with the github issue no. you shared. But just fyi, the cluster is made in root domain with admin account. The regeneration of API from UI is not there with admin account and can’t able to login in admin-kubeadmin account with random UUID (fetched from database). Also

Re: CKS Storage Provisioner Info

2024-02-25 Thread Jayanth Reddy
Hello Bharath, Sorry, I missed that. Have you tried https://github.com/apache/cloudstack/issues/8695#issuecomment-1961277784 already? The UI should also have a button on the top-right as "Generate new API / Secret Keys". Regenerating API keys might break some functionalities of existing k8s cluster

Re: CKS Storage Provisioner Info

2024-02-25 Thread Bharat Bhushan Saini
Hi Jayanth, The issue was already raised on the github https://github.com/apache/cloudstack/issues/8695 I don’t have the API and Keys to create the secret manually by which I can configure CSI driver for storage provisioner for persistent storage with CKS. The wasn’t generated by cloudstack and

Re: CKS Storage Provisioner Info

2024-02-25 Thread Jayanth Reddy
Hello Bharat, It's strange that the cloudstack-secret wasn't created. Please consider raising an issue on Github. May I know what you're going to do with the password of the admin-kubeadmin user? https://github.com/apalia/cloudstack-csi-driver?tab=readme-ov-file#configuration should accept the API

Re: CKS Storage Provisioner Info

2024-02-25 Thread Bharat Bhushan Saini
Hi Wei, I got that it is used to access API’s and I want that as I need to install CSI driver for the CKS storage provisioner and didn’t get the API’s as the cloudstack-secret was not spawn when I start a cluster. I checked in mysql database for UUID and put as a password but not able to login

Re: CKS Storage Provisioner Info

2024-02-25 Thread Wei ZHOU
It is just used to access cloudstack API via api key and secret key. Its password is a random UUID. -Wei On Sun, Feb 25, 2024 at 3:29 PM Bharat Bhushan Saini wrote: > Hi All, > > > > Somebody Please share the default credentials for the admin-kubeadmin user. > > > > Thanks and Regards, > > Bh

Re: CKS Storage Provisioner Info

2024-02-25 Thread Bharat Bhushan Saini
Hi All, Somebody Please share the default credentials for the admin-kubeadmin user. Thanks and Regards, Bharat Saini [signature_2022216497] From: Bharat Bhushan Saini Date: Friday, 23 February 2024 at 3:14 PM To: users@cloudstack.apache.org Subject: Re: CKS Storage Provisioner Info EXTERNAL E