[API] db_manager init doesn't work

Bug #1654638 reported by Lin Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Valence
Fix Released
Critical
Lin Yang

Bug Description

$ db_manager init

Traceback (most recent call last):
  File "/usr/local/bin/db_manager", line 10, in <module>
    sys.exit(main())
TypeError: main() takes exactly 1 argument (0 given)
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound method Client.__del__ of <etcd.client.Client object at 0x7f7f753d9f10>> ignored

Lin Yang (lin-a-yang)
Changed in openstack-valence:
assignee: nobody → Lin Yang (lin-a-yang)
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to valence (master)

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

Changed in openstack-valence:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to valence (master)

Reviewed: https://review.openstack.org/417556
Committed: https://git.openstack.org/cgit/openstack/valence/commit/?id=6e49e5a1fbd6c95abedfb3e5e4f6b215b2f0c205
Submitter: Jenkins
Branch: master

commit 6e49e5a1fbd6c95abedfb3e5e4f6b215b2f0c205
Author: Lin Yang <email address hidden>
Date: Fri Jan 6 15:55:50 2017 -0800

    Fix execute db_manager init failed

    Previously, `db_manager init` command failed because pbr generated
    script will not pass sys.argv as argument to main function. So fix
    it.

    And improve etcd_db.init_etcd_db to make it check whether each
    directory already exists in etcd at first. If it exist and it's not
    directory, delete and re-create it.

    Change-Id: I7d9980e0a1b38d988fe8144d0cbd618ac12f5498
    Closes-Bug: #1654638

Changed in openstack-valence:
status: In Progress → Fix Released
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.