← Back to team overview

credativ team mailing list archive

[Bug 1265463] [NEW] Can not upgrade database with password only with ident authentication

 

Public bug reported:

When trying to upgrade a server configuration where the postgress
database is secured by a password (not approached through ident/peer
authentication) an exception occurs:

openeyedev@laptop01:~/var/oe_repo/checkouts/openupgrade-server-7.0/openupgrade-server-7.0/scripts$ ./migrate.py -C ~/var/projects/oe_dapper/project.cfg -D oe_dapper_dev -R "7.0"
No handlers could be found for logger "bzr"
getting lp:openerp-web/7.0
getting lp:openupgrade-addons/7.0
getting lp:openupgrade-server/7.0
copying database oe_dapper_dev to oe_dapper_dev_migrated...
Traceback (most recent call last):
  File "./migrate.py", line 188, in <module>
    conn=psycopg2.connect(database=db_name, user=db_user)
  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
    connection_factory=connection_factory, async=async)
psycopg2.OperationalError: FATAL:  Peer authentication failed for user "oe_dapper_dev"

** Affects: openupgrade-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
OpenUpgrade Committers, which is subscribed to OpenUpgrade Addons.
https://bugs.launchpad.net/bugs/1265463

Title:
  Can not upgrade database with password only with ident authentication

Status in OpenUpgrade Addons:
  New

Bug description:
  When trying to upgrade a server configuration where the postgress
  database is secured by a password (not approached through ident/peer
  authentication) an exception occurs:

  openeyedev@laptop01:~/var/oe_repo/checkouts/openupgrade-server-7.0/openupgrade-server-7.0/scripts$ ./migrate.py -C ~/var/projects/oe_dapper/project.cfg -D oe_dapper_dev -R "7.0"
  No handlers could be found for logger "bzr"
  getting lp:openerp-web/7.0
  getting lp:openupgrade-addons/7.0
  getting lp:openupgrade-server/7.0
  copying database oe_dapper_dev to oe_dapper_dev_migrated...
  Traceback (most recent call last):
    File "./migrate.py", line 188, in <module>
      conn=psycopg2.connect(database=db_name, user=db_user)
    File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
      connection_factory=connection_factory, async=async)
  psycopg2.OperationalError: FATAL:  Peer authentication failed for user "oe_dapper_dev"

To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-addons/+bug/1265463/+subscriptions


Follow ups

References