not support start postgresql 9.3

Bug #1552051 reported by yalei wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
yalei wang

Bug Description

2016-03-02 02:19:56.147 | + /home/ubuntu/devstack/lib/databases/postgresql:configure_database_postgresql:L52: is_fedora
2016-03-02 02:19:56.148 | + /home/ubuntu/devstack/functions-common:is_fedora:L418: [[ -z Ubuntu ]]
2016-03-02 02:19:56.148 | + /home/ubuntu/devstack/functions-common:is_fedora:L422: '[' Ubuntu = Fedora ']'
2016-03-02 02:19:56.148 | + /home/ubuntu/devstack/functions-common:is_fedora:L422: '[' Ubuntu = 'Red Hat' ']'
2016-03-02 02:19:56.148 | + /home/ubuntu/devstack/functions-common:is_fedora:L423: '[' Ubuntu = CentOS ']'
2016-03-02 02:19:56.148 | + /home/ubuntu/devstack/functions-common:is_fedora:L423: '[' Ubuntu = OracleLinux ']'
2016-03-02 02:19:56.148 | + /home/ubuntu/devstack/functions-common:is_fedora:L424: '[' Ubuntu = CloudLinux ']'
2016-03-02 02:19:56.149 | + /home/ubuntu/devstack/functions-common:is_fedora:L424: '[' Ubuntu = kvmibm ']'
2016-03-02 02:19:56.149 | + /home/ubuntu/devstack/lib/databases/postgresql:configure_database_postgresql:L58: is_ubuntu
2016-03-02 02:19:56.149 | + /home/ubuntu/devstack/functions-common:is_ubuntu:L444: [[ -z deb ]]
2016-03-02 02:19:56.149 | + /home/ubuntu/devstack/functions-common:is_ubuntu:L447: '[' deb = deb ']'
2016-03-02 02:19:56.149 | ++ /home/ubuntu/devstack/lib/databases/postgresql:configure_database_postgresql:L59: find /etc/postgresql -name pg_hba.conf
2016-03-02 02:19:56.149 | ++ /home/ubuntu/devstack/lib/databases/postgresql:configure_database_postgresql:L59: xargs dirname
2016-03-02 02:19:56.150 | find: `/etc/postgresql': No such file or directory
2016-03-02 02:19:56.152 | dirname: missing operand

yalei wang (yalei-wang)
Changed in devstack:
assignee: nobody → yalei wang (yalei-wang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/286960

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/286960
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=174986db21ebf3c20ba28c873e855629737a5b86
Submitter: Jenkins
Branch: master

commit 174986db21ebf3c20ba28c873e855629737a5b86
Author: Yalei Wang <email address hidden>
Date: Wed Mar 2 03:28:06 2016 +0000

    Add pg_createcluster creating process for psql version after 9.3

    postgresql 9.3 don't create /etc/postgresql and related conf file by
    default. So we need start the pg_createcluster in devstack if has not
    started after package installed.

    Change-Id: I2b348658d79b23b5f21871b33d8023499b2fb956
    Close-bug: #1552051

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/334865

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (stable/liberty)

Reviewed: https://review.openstack.org/334865
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=f8119e58135de02c8cf1195d5891ac44aeb5cd20
Submitter: Jenkins
Branch: stable/liberty

commit f8119e58135de02c8cf1195d5891ac44aeb5cd20
Author: Yalei Wang <email address hidden>
Date: Wed Mar 2 03:28:06 2016 +0000

    Add pg_createcluster creating process for psql version after 9.3

    postgresql 9.3 don't create /etc/postgresql and related conf file by
    default. So we need start the pg_createcluster in devstack if has not
    started after package installed.

    Change-Id: I2b348658d79b23b5f21871b33d8023499b2fb956
    Close-bug: #1552051
    (cherry picked from commit 174986db21ebf3c20ba28c873e855629737a5b86)

tags: added: in-stable-liberty
Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.