[openstack-dev] [devstack] Compute-node-only installation fails

Alexander Schmidt alexs at linux.vnet.ibm.com
Thu Feb 12 08:40:40 UTC 2015


On Wed, 11 Feb 2015 17:27:19 +0000
"Daniel P. Berrange" <berrange at redhat.com> wrote:

> On Wed, Feb 11, 2015 at 08:32:31AM -0800, Clark Boylan wrote:
> > On Wed, Feb 11, 2015, at 08:18 AM, Alexander Schmidt wrote:
> > > Hi Daniel,
> > > 
> > > with your recent change[1] to error handling in stack.sh, compute
> > > node only installations via devstack fail because there is
> > > no database selected. A database should not be required on
> > > compute nodes.
> > > 
> > > Was this done intentionally? lib/database explicitly says:
> > > 
> > > # If ``DATABASE_TYPE`` is unset here no database was selected
> > > # This is not an error as multi-node installs will do this on the
> > > compute nodes
> > > 
> > > [1] https://review.openstack.org/#/c/149288/
> > > 
> > > Regards,
> > > Alex
> > 
> > We have been setting DATABASE_TYPE [0] so did not notice. Seems
> > like a reasonable work around for now and does not install a
> > database server (the enabled services list seems to do that). If
> > the intended behavior is to not need to set DATABASE_TYPE we should
> > probably revert the devstack change then update devstack-gate's
> > compute node localrc generation to remove DATABASE_TYPE so that
> > breakage of the behavior has a chance of being caught early.
> 
> I posted a revert review for my change
> 
>    https://review.openstack.org/#/c/154966/
> 

Thanks, working fine again now.

Regards, Alex

> Regards,
> Daniel




More information about the OpenStack-dev mailing list