← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1544799] Re: FWaaS: Pick/install the right sql database to store user and data in each backend

 

Reviewed:  https://review.openstack.org/279339
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=c00019fe37ede3aa0eea42ef72406e30aa018635
Submitter: Jenkins
Branch:    master

commit c00019fe37ede3aa0eea42ef72406e30aa018635
Author: madhusudhan-kandadai <madhusudhan.openstack@xxxxxxxxx>
Date:   Thu Feb 11 16:38:54 2016 -0800

    Select the right DB to store user and data in each backend
    
    postgresql-client is not used anywhere in the environment. Hence
    gate will throw an error if using psql without installing
    postgresql-client. Modify the script to have proper installation
    and remove irrelevant info
    
    Depends-on: I18804a45b2d2ccf5f75ea20256de998c760a053b
    Change-Id: Iac0a15f404237e47f1ad4717c7b02801752586f6
    Closes-Bug: #1544799


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1544799

Title:
  FWaaS: Pick/install the right sql database to store user and data in
  each backend

Status in neutron:
  Fix Released

Bug description:
  This is odd when looking at https://github.com/openstack/neutron-
  fwaas/blob/master/neutron_fwaas/tests/contrib/gate_hook.sh.

  https://jenkins05.openstack.org/job/gate-neutron-fwaas-dsvm-
  api/2/consoleFull

  2016-02-11 23:04:01.253 | ++ /opt/stack/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh:main:L35:   mktemp -d
  2016-02-11 23:04:01.254 | + /opt/stack/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh:main:L35:   tmp_dir=/tmp/tmp.Hlllt3DxyO
  2016-02-11 23:04:01.254 | + /opt/stack/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh:main:L37:   cat
  2016-02-11 23:04:01.256 | + /opt/stack/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh:main:L45:   /usr/bin/mysql -u root
  2016-02-11 23:04:01.268 | + /opt/stack/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh:main:L47:   cat
  2016-02-11 23:04:01.270 | + /opt/stack/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh:main:L52:   setfacl -m g:postgres:rwx /tmp/tmp.Hlllt3DxyO
  2016-02-11 23:04:01.274 | + /opt/stack/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh:main:L53:   sudo -u postgres /usr/bin/psql --file=/tmp/tmp.Hlllt3DxyO/postgresql.sql
  2016-02-11 23:04:01.364 | Error: You must install at least one postgresql-client-<version> package.

  Either install postgresql client to access the psql database OR
  prefer mysql to store relevant user and data in each backend.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1544799/+subscriptions


References