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

Daniel P. Berrange berrange at redhat.com
Wed Feb 11 17:27:19 UTC 2015


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/

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



More information about the OpenStack-dev mailing list