Sub-process /usr/bin/dpkg returned an error code

Bug #1294874 reported by Joe Gordon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Triaged
Medium
Unassigned

Bug Description

This has been seen sporadically in the gate.

2014-03-19 19:26:48.169 | Package postgresql-9.1 is not configured yet.
2014-03-19 19:26:48.170 | dpkg: error processing postgresql (--configure):
2014-03-19 19:26:48.172 | dependency problems - leaving unconfigured
2014-03-19 19:26:48.174 | Errors were encountered while processing:
2014-03-19 19:26:48.175 | postgresql-9.1
2014-03-19 19:26:48.177 | postgresql
2014-03-19 19:26:48.179 | E: Sub-process /usr/bin/dpkg returned an error code (1)

http://logs.openstack.org/46/59146/12/gate/gate-tempest-dsvm-neutron-pg/1dc9541/logs/devstacklog.txt.gz#_2014-03-19_19_26_48_179

query:
message:"Sub-process \/usr\/bin\/dpkg returned an error code" AND filename:"logs/devstacklog.txt"

Tags: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to elastic-recheck (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/81649

Revision history for this message
Clark Boylan (cboylan) wrote :

I have a hunch with no current way to prove it that this is actually a bug in the Debian/Ubuntu postgres 9.1 package. We corrected the bulk of our dpkg errors which were related to running system updates during a devstack run. And now postgres seems to be the only package that hits this problem. So I think this is a package bug.

Revision history for this message
Joe Gordon (jogo) wrote :

2014-03-19 19:26:48.146 | Creating new cluster (configuration: /etc/postgresql/9.1/main, data: /var/lib/postgresql/9.1/main)...
2014-03-19 19:26:48.148 | Moving configuration file /var/lib/postgresql/9.1/main/postgresql.conf to /etc/postgresql/9.1/main...
2014-03-19 19:26:48.149 | Moving configuration file /var/lib/postgresql/9.1/main/pg_hba.conf to /etc/postgresql/9.1/main...
2014-03-19 19:26:48.151 | Moving configuration file /var/lib/postgresql/9.1/main/pg_ident.conf to /etc/postgresql/9.1/main...
2014-03-19 19:26:48.152 | Configuring postgresql.conf to use port 5432...
2014-03-19 19:26:48.154 | update-alternatives: using /usr/share/postgresql/9.1/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode.
2014-03-19 19:26:48.156 | * Starting PostgreSQL 9.1 database server
2014-03-19 19:26:48.157 | * The PostgreSQL server failed to start. Please check the log output.
2014-03-19 19:26:48.159 | ...fail!
2014-03-19 19:26:48.161 | invoke-rc.d: initscript postgresql, action "start" failed.
2014-03-19 19:26:48.162 | dpkg: error processing postgresql-9.1 (--configure):
2014-03-19 19:26:48.164 | subprocess installed post-installation script returned error exit status 1
2014-03-19 19:26:48.165 | dpkg: dependency problems prevent configuration of postgresql:
2014-03-19 19:26:48.167 | postgresql depends on postgresql-9.1; however:
2014-03-19 19:26:48.169 | Package postgresql-9.1 is not configured yet.
2014-03-19 19:26:48.170 | dpkg: error processing postgresql (--configure):
2014-03-19 19:26:48.172 | dependency problems - leaving unconfigured
2014-03-19 19:26:48.174 | Errors were encountered while processing:
2014-03-19 19:26:48.175 | postgresql-9.1
2014-03-19 19:26:48.177 | postgresql
2014-03-19 19:26:48.179 | E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to elastic-recheck (master)

Reviewed: https://review.openstack.org/81649
Committed: https://git.openstack.org/cgit/openstack-infra/elastic-recheck/commit/?id=51d28408b24f3af2afc3c148584e4fe6ad851e51
Submitter: Jenkins
Branch: master

commit 51d28408b24f3af2afc3c148584e4fe6ad851e51
Author: Joe Gordon <email address hidden>
Date: Wed Mar 19 15:10:05 2014 -0700

    Add fingerprint for bug 1294874

    Change-Id: I70d4e025ec7b2fb05d93c0a1c83b44a949359781
    Related-Bug: #1294874

Jeremy Stanley (fungi)
tags: added: gate-failure
Changed in openstack-ci:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Martin Pitt (pitti) wrote :

> The PostgreSQL server failed to start. Please check the log output.

Please attach /var/log/postgresql/9.1-main.log. Thanks!

Changed in postgresql (Ubuntu):
status: New → Incomplete
penalvch (penalvch)
no longer affects: postgresql (Ubuntu)
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.