Github user serg38 commented on the pull request:
https://github.com/apache/cloudstack/pull/1466#issuecomment-216876560
Thanks @koushik-das. Looks like before 5.6 Mysql auto restricted length of
InnoDB indexes to 255 characters without giving trouble if index length is not
specified. For public_key index in ssh_keypairs table first 64 bytes is enough
to make good index. @nvazquez let's change this index creation to
ALTER TABLE `cloud`.`ssh_keypairs` ADD INDEX `i_public_key`
(`public_key`(64) ASC);
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---