OpenStack/mysql deployment error “database relation's interface…is awaiting … database_password, database_host”

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I've deployed an openstack system using juju. Several of the units are saying "Incomplete relations: database." The debug logs for the cinder service, for example, say:



unit-cinder-0: 19:55:41 INFO unit.cinder/0.juju-log database relation's interface, shared-db, is related awaiting the following data from the relationship: database_password, database_host.


What does this mean, exactly? It sounds like the cinder charm needs to know the hostname and password for the database. But I thought it would learn that through its relation to mysql. Am I supposed to configure the database_host and database_password parameters somewhere? If so, where? They're not part of the charm's config.



Here's a small snippet of juju status, showing the unit status and relations. You can see that mysql is up and running, and a relation exists between cinder and mysql.



cinder/0* waiting idle 7 30.111.1.208 8776/tcp Incomplete relations: database
hacluster/5 active idle 30.111.1.208 Unit is ready and clustered
mysql/1* active idle 0/lxd/3 30.111.1.202 3306/tcp Ready
hacluster/1 active idle 30.111.1.202 Unit is ready and clustered

hacluster:ha cinder:ha hacluster subordinate
keystone:identity-service cinder:identity-service keystone regular
mysql:shared-db cinder:shared-db mysql-shared regular
rabbitmq-server:amqp cinder:amqp rabbitmq regular


For more detail, I've uploaded the output of "juju status" and "juju show-machines"










share|improve this question

























    up vote
    0
    down vote

    favorite












    I've deployed an openstack system using juju. Several of the units are saying "Incomplete relations: database." The debug logs for the cinder service, for example, say:



    unit-cinder-0: 19:55:41 INFO unit.cinder/0.juju-log database relation's interface, shared-db, is related awaiting the following data from the relationship: database_password, database_host.


    What does this mean, exactly? It sounds like the cinder charm needs to know the hostname and password for the database. But I thought it would learn that through its relation to mysql. Am I supposed to configure the database_host and database_password parameters somewhere? If so, where? They're not part of the charm's config.



    Here's a small snippet of juju status, showing the unit status and relations. You can see that mysql is up and running, and a relation exists between cinder and mysql.



    cinder/0* waiting idle 7 30.111.1.208 8776/tcp Incomplete relations: database
    hacluster/5 active idle 30.111.1.208 Unit is ready and clustered
    mysql/1* active idle 0/lxd/3 30.111.1.202 3306/tcp Ready
    hacluster/1 active idle 30.111.1.202 Unit is ready and clustered

    hacluster:ha cinder:ha hacluster subordinate
    keystone:identity-service cinder:identity-service keystone regular
    mysql:shared-db cinder:shared-db mysql-shared regular
    rabbitmq-server:amqp cinder:amqp rabbitmq regular


    For more detail, I've uploaded the output of "juju status" and "juju show-machines"










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I've deployed an openstack system using juju. Several of the units are saying "Incomplete relations: database." The debug logs for the cinder service, for example, say:



      unit-cinder-0: 19:55:41 INFO unit.cinder/0.juju-log database relation's interface, shared-db, is related awaiting the following data from the relationship: database_password, database_host.


      What does this mean, exactly? It sounds like the cinder charm needs to know the hostname and password for the database. But I thought it would learn that through its relation to mysql. Am I supposed to configure the database_host and database_password parameters somewhere? If so, where? They're not part of the charm's config.



      Here's a small snippet of juju status, showing the unit status and relations. You can see that mysql is up and running, and a relation exists between cinder and mysql.



      cinder/0* waiting idle 7 30.111.1.208 8776/tcp Incomplete relations: database
      hacluster/5 active idle 30.111.1.208 Unit is ready and clustered
      mysql/1* active idle 0/lxd/3 30.111.1.202 3306/tcp Ready
      hacluster/1 active idle 30.111.1.202 Unit is ready and clustered

      hacluster:ha cinder:ha hacluster subordinate
      keystone:identity-service cinder:identity-service keystone regular
      mysql:shared-db cinder:shared-db mysql-shared regular
      rabbitmq-server:amqp cinder:amqp rabbitmq regular


      For more detail, I've uploaded the output of "juju status" and "juju show-machines"










      share|improve this question













      I've deployed an openstack system using juju. Several of the units are saying "Incomplete relations: database." The debug logs for the cinder service, for example, say:



      unit-cinder-0: 19:55:41 INFO unit.cinder/0.juju-log database relation's interface, shared-db, is related awaiting the following data from the relationship: database_password, database_host.


      What does this mean, exactly? It sounds like the cinder charm needs to know the hostname and password for the database. But I thought it would learn that through its relation to mysql. Am I supposed to configure the database_host and database_password parameters somewhere? If so, where? They're not part of the charm's config.



      Here's a small snippet of juju status, showing the unit status and relations. You can see that mysql is up and running, and a relation exists between cinder and mysql.



      cinder/0* waiting idle 7 30.111.1.208 8776/tcp Incomplete relations: database
      hacluster/5 active idle 30.111.1.208 Unit is ready and clustered
      mysql/1* active idle 0/lxd/3 30.111.1.202 3306/tcp Ready
      hacluster/1 active idle 30.111.1.202 Unit is ready and clustered

      hacluster:ha cinder:ha hacluster subordinate
      keystone:identity-service cinder:identity-service keystone regular
      mysql:shared-db cinder:shared-db mysql-shared regular
      rabbitmq-server:amqp cinder:amqp rabbitmq regular


      For more detail, I've uploaded the output of "juju status" and "juju show-machines"







      mysql juju openstack






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 3 at 20:18









      Gary Cote

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002756%2fopenstack-mysql-deployment-error-database-relations-interface-is-awaiting%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002756%2fopenstack-mysql-deployment-error-database-relations-interface-is-awaiting%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error

          How do I move numbers in filenames, in a batch renaming operation?