Repository navigation
Replies: 3 comments
|
Hi @arpanbht , The first thing I'd check here is whether the database already contains the A couple of things stood out in your command history. You ran I'd suggest checking a few things before making any database changes. 1. Confirm which database server you're running: mysql --versionAlso run this inside MySQL: SELECT VERSION(), @@version_comment;Are you using Oracle MySQL 8.0 or MariaDB? This distinction is worth checking. I've seen a similar CloudStack error reported previously where switching from MariaDB to MySQL resolved it. 2. Check whether the index already exists: SHOW INDEX FROM cloud.hypervisor_capabilities;You can also check the complete table definition: SHOW CREATE TABLE cloud.hypervisor_capabilities\GLook for 3. A few more details would help:
I'd also check whether the CloudStack APT repository is pointing specifically to the 4.23 repository rather than mixing packages from different releases. I wouldn't drop the existing index or recreate the database just yet. First, let's understand why the upgrade script is trying to create an index that MySQL says is already present. I've also been working with Apache CloudStack deployments and testing management server configurations in cloud environments, so I'm interested in understanding what combination of database and package versions is causing this. If you can share the outputs above, we can narrow it down without risking unnecessary database changes. Regards, |
|
cloudstack-setup-databases was run more than once. Drop database completely, restaret the process |
|
line 13 and line 24 do that failure (line 24) line 13 you did not define explicit options (some defaults apply) and line 24 was not needed and is what broke DB Then repeat 13 OR 24...... keep us looped |
Uh oh!
There was an error while loading. Please reload this page.
During management server 4.23 installation I followed these steps to install the whole thing as I have followed these to install cloudstack-management 4.22 mentioned below:
Here is the Java version which is required for cloudstack-management 4.23 mentioned in the docs
Following these steps I have encountered this error when I run
cloudstack-setup-managementGive me any kind of suggestions or solutions to resolve this issue.
All reactions