Skip to content

engine/schema: remove Encrypt annotation from passphrase#7300

Closed
weizhouapache wants to merge 1 commit intoapache:mainfrom
weizhouapache:4.18-remove-passphrase-annotation
Closed

engine/schema: remove Encrypt annotation from passphrase#7300
weizhouapache wants to merge 1 commit intoapache:mainfrom
weizhouapache:4.18-remove-passphrase-annotation

Conversation

@weizhouapache
Copy link
Copy Markdown
Member

@weizhouapache weizhouapache commented Mar 1, 2023

Description

This PR is a workaround of #7299

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

database migration succeed

# cloudstack-migrate-databases -m password -d password -e password -f
Started database migration at Wed Mar 01 16:52:40 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
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 sslcerts as there is no data in the table 
Skipped table vpn_users as there is no data in the table 
Skipped table account_details as there is no data in the table 
Skipped table domain_details as there is no data in the table 
Skipped table virtual_supervisor_module as there is no data in the table 
Skipped table s2s_customer_gateway as there is no data in the table 
Skipped table ucs_manager as there is no data in the table 
Begin migrate table vm_instance field vnc_password 
Done migrating database field vm_instance.vnc_password 
Skipped table external_stratosphere_ssp_credentials as there is no data in the table 
Skipped table vmware_data_center as there is no data in the table 
Skipped table keystore as there is no data in the table 
Skipped table remote_access_vpn as there is no data in the table 
Begin migrate table storage_pool field user_info 
Done migrating database field storage_pool.user_info 
Begin migrate table user field secret_key 
Done migrating database field user.secret_key 
Skipped table oobm as there is no data in the table 
End Data migration
Successfully updated secret key(s)
Finished database migration at Wed Mar 01 16:52:48 UTC 2023

@weizhouapache weizhouapache force-pushed the 4.18-remove-passphrase-annotation branch from 515b9a2 to 072f2b9 Compare March 1, 2023 16:46
@weizhouapache
Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@weizhouapache weizhouapache changed the title engine/schema: remove @Encrypt annotation from passphrase engine/schema: remove Encrypt annotation from passphrase Mar 1, 2023
@weizhouapache
Copy link
Copy Markdown
Member Author

closing in favor of #7302

@weizhouapache weizhouapache deleted the 4.18-remove-passphrase-annotation branch July 24, 2023 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants