OpenStack/mysql deployment error âdatabase relation's interfaceâ¦is awaiting ⦠database_password, database_hostâ

Clash 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"
mysql juju openstack
add a comment |Â
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"
mysql juju openstack
add a comment |Â
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"
mysql juju openstack
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
mysql juju openstack
asked Feb 3 at 20:18
Gary Cote
11
11
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password