I had this problem, changed from Mariadb to Mysql and it worked

Atte,

Ricardo Pertuz


On 29 Jan 2024 at 6:41 AM -0500, Bharat Bhushan Saini 
<bharat.sa...@kloudspot.com.INVALID>, wrote:
> Hi Team,
>
> I just deploy a fresh setup of cloudstack and encountered with below error,
> 2024-01-29 11:29:41,947 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) 
> ALTER TABLE `cloud`.`hypervisor_capabilities` ADD CONSTRAINT `uc_hypervisor` 
> UNIQUE (`hypervisor_type`, `hypervisor_version`)
> 2024-01-29 11:29:41,960 ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:) 
> Error executing: ALTER TABLE `cloud`.`hypervisor_capabilities` ADD CONSTRAINT 
> `uc_hypervisor` UNIQUE (`hypervisor_type`, `hypervisor_version`)
> 2024-01-29 11:29:41,961 ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:) 
> java.sql.SQLSyntaxErrorException: Duplicate key name 'uc_hypervisor'
> 2024-01-29 11:29:41,962 ERROR [c.c.u.DatabaseUpgradeChecker] (main:null) 
> (logid:) Unable to execute upgrade script
> java.sql.SQLSyntaxErrorException: Duplicate key name 'uc_hypervisor'
>
> Someone has the resolved for this?
>
> Thanks and Regards,
> Bharat Saini
>
> <>
> --------------------------- Disclaimer: ------------------------------
> This message and its contents are intended solely for the designated 
> addressee and are proprietary to Kloudspot. The information in this email is 
> meant exclusively for Kloudspot business use. Any use by individuals other 
> than the addressee constitutes misuse and an infringement of Kloudspot's 
> proprietary rights. If you are not the intended recipient, please return this 
> email to the sender. Kloudspot cannot guarantee the security or error-free 
> transmission of e-mail communications. Information could be intercepted, 
> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. 
> Therefore, Kloudspot shall not be liable for any issues arising from the 
> transmission of this email.

Reply via email to