Here is a tip to deploy both the old mysql barclamp and database barclamp at 
the same time for testing.  Try at own risk...

Leave both barclamps in the ISO build, as is currently the case.

Change the following file:

  <crowbar_base>/barclamps/mysql/crowbar_framework/app/models/mysql_service.rb

In that file, after this line:
    nm["db_maker_password"] = om["db_maker_password"] || random_password

Add these lines:
   role.default_attributes["database"] = {} if 
role.default_attributes["database"].nil?
  role.default_attributes["database"]["db_maker_password"] = 
nm["db_maker_password"]


Doing this, I have deployed the mysql barclamp and keystone barclamp on node A, 
with keystone referring to the mysql proposal.

THEN, I deployed the database barclamp on node B, selecting mysql backend.  
This applied successfully, and the database has come up.

>From this point, I imagine that the glance barclamp pull request can be tested 
>against the new database barclamp, and subsequently, the cinder barclamp as 
>well.

I am working on testing the keystone barclamp now.


_______________________________________________
Crowbar mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to