BryanMLima commented on PR #6812: URL: https://github.com/apache/cloudstack/pull/6812#issuecomment-1727549824
Finally, I found the problem, global configurations were encrypted twice, therefore, the Marvin tests were not passing. Everything should be working now. I tested the database migration as well, with some custom configurations, and it executed normally. ``` sudo cloudstack-migrate-databases -m password -d password -n password -f Started database migration at Tue Sep 19 18:38:35 UTC 2023 Parsing db.properties file DB Secret key provided matched the key in db.properties No changes with Management Secret Key, DB Secret Key and DB encryptor version. Skipping migrating db.properties Begin Data migration Initialised Encryptors WARN [c.c.u.c.EncryptionSecretKeyChecker] (main:null) (logid:) Encryption already enabled, is check() called twice? INFO [c.c.u.d.T.Transaction] (main:null) (logid:) Is Data Base High Availiability enabled? Ans : false Begin migrate config values End migrate config values Begin migrate host details End migrate host details Beginning migration of account_details encrypted values End migration of account details values Beginning migration of domain_details encrypted values End migration of domain details values Begin migrate cluster details End migrate cluster details Begin migrate image store details End migrate image store details Begin migrate storage pool details End migrate storage pool details Begin migrate storage pool details for ScaleIO End migrate storage pool details for ScaleIO Begin migrate user vm details End migrate user vm details Begin migrate user vm deploy_as_is details End migrate user vm deploy_as_is details Begin migrate image store url if protocol is cifs End migrate image store url if protocol is cifs Begin migrate storage pool path if pool type is SMB End migrate storage pool path if pool type is SMB Skipped table ucs_manager as there is no data in the table Skipped table vpn_users as there is no data in the table Skipped table sslcerts as there is no data in the table Begin migrate table vm_instance field vnc_password Done migrating database field vm_instance.vnc_password Begin migrate table keystore field key Done migrating database field keystore.key Skipped table external_stratosphere_ssp_credentials as there is no data in the table Skipped table passphrase as there is no data in the table Begin migrate table storage_pool field user_info Done migrating database field storage_pool.user_info Skipped table remote_access_vpn as there is no data in the table Begin migrate table user field secret_key Done migrating database field user.secret_key Skipped table s2s_customer_gateway as there is no data in the table Skipped table oobm as there is no data in the table End Data migration Successfully updated secret key(s) Finished database migration at Tue Sep 19 18:38:44 UTC 2023 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
