You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/08/20 15:51:43 UTC

[GitHub] [cloudstack] alitheg opened a new issue #4277: Use database name other than "cloud"

alitheg opened a new issue #4277:
URL: https://github.com/apache/cloudstack/issues/4277


   
   ##### ISSUE TYPE
    * Improvement Request
   
   ##### COMPONENT NAME
   ~~~
   Installation scripts
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   4.14.0
   ~~~
   
   ##### CONFIGURATION
   N/A
   
   ##### OS / ENVIRONMENT
   N/A
   
   
   ##### SUMMARY
   I'd love to have control over the name of the DB, as I'm using a database hosted in another cloud provider and I'm unable to allow a newly-created user access to the "mysql" database.
   
   It's possible to bypass the creation SQL and run it manually to get this far, but the other scripts fail.
   
   ##### STEPS TO REPRODUCE
   ~~~
   db.properties supports a db.cloud.name property, ostensibly to change the name of the database (instead of "cloud"). However, all the setup SQL scripts, and the cloud-install-sys-tmplt scripts, have the database name hard-coded instead of pulling from configuration. 
   ~~~
   
   ##### EXPECTED RESULTS
   ~~~
   Scripts successfully connect and interact with my database.
   ~~~
   
   ##### ACTUAL RESULTS
   ~~~
   Access denied for user xxxxxx to database `cloud`
   ~~~
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] alitheg commented on issue #4277: Use database name other than "cloud"

Posted by GitBox <gi...@apache.org>.
alitheg commented on issue #4277:
URL: https://github.com/apache/cloudstack/issues/4277#issuecomment-769742357


   That's fine - I was only testing the waters of cloudstack and haven't the time to dig into it further. Closing the issue.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] alitheg closed issue #4277: Use database name other than "cloud"

Posted by GitBox <gi...@apache.org>.
alitheg closed issue #4277:
URL: https://github.com/apache/cloudstack/issues/4277


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4277: Use database name other than "cloud"

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4277:
URL: https://github.com/apache/cloudstack/issues/4277#issuecomment-678759214


   Yes, this is a known issue. We don't support db name customisation, most tools and upgrade paths assume cloud DB. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] alitheg commented on issue #4277: Use database name other than "cloud"

Posted by GitBox <gi...@apache.org>.
alitheg commented on issue #4277:
URL: https://github.com/apache/cloudstack/issues/4277#issuecomment-677749704


   In fact, the whole system fails when the database isn't called "cloud". Serves me right for raising an issue before I'd finished.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #4277: Use database name other than "cloud"

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4277:
URL: https://github.com/apache/cloudstack/issues/4277#issuecomment-769740279


   @alitheg if you are planning to do more investigation we can keep this issue open, otherwise we'd close it. care to comment?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org