Hi All,

It is resolved.

Thanks and Regards,
Bharat Saini

[signature_3237751071]

From: Bharat Bhushan Saini <bharat.sa...@kloudspot.com.INVALID>
Date: Monday, 29 January 2024 at 5:10 PM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Duplicate Key Name
EXTERNAL EMAIL: Please verify the sender email address before taking any 
action, replying, clicking any link or opening any attachment.

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

[signature_1868413154]

--------------------------- 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.

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