devstack fails with designate-manage error

Bug #1460314 reported by Rohit Jaiswal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Invalid
Undecided
Unassigned

Bug Description

When launching devstack with designate, this is the stack trace - (all other services have already come up)

2015-05-30 00:53:16.873 | + [[ -r /home/jaiswaro/devstack/extras.d/70-designate.sh ]]
2015-05-30 00:53:16.954 | + source /home/jaiswaro/devstack/extras.d/70-designate.sh stack extra
2015-05-30 00:53:16.969 | ++ is_service_enabled designate
2015-05-30 00:53:16.998 | ++ return 0
2015-05-30 00:53:16.998 | ++ [[ stack == \s\o\u\r\c\e ]]
2015-05-30 00:53:16.998 | ++ [[ stack == \s\t\a\c\k ]]
2015-05-30 00:53:16.999 | ++ [[ extra == \i\n\s\t\a\l\l ]]
2015-05-30 00:53:16.999 | ++ [[ stack == \s\t\a\c\k ]]
2015-05-30 00:53:16.999 | ++ [[ extra == \p\o\s\t\-\c\o\n\f\i\g ]]
2015-05-30 00:53:16.999 | ++ [[ stack == \s\t\a\c\k ]]
2015-05-30 00:53:16.999 | ++ [[ extra == \e\x\t\r\a ]]
2015-05-30 00:53:17.000 | ++ echo_summary 'Initializing Designate'
2015-05-30 00:53:17.000 | ++ [[ -t 3 ]]
2015-05-30 00:53:17.000 | ++ [[ True != \T\r\u\e ]]
2015-05-30 00:53:17.000 | ++ echo -e Initializing Designate
2015-05-30 00:53:17.001 | ++ init_designate
2015-05-30 00:53:17.001 | ++ sudo mkdir -p /var/cache/designate
2015-05-30 00:53:17.481 | ++ sudo chown jaiswaro /var/cache/designate
2015-05-30 00:53:17.541 | ++ rm -f '/var/cache/designate/*'
2015-05-30 00:53:17.581 | +++ readlink -f /usr/bin/python
2015-05-30 00:53:17.584 | ++ sudo setcap cap_net_bind_service=+ep /usr/bin/python2.7
2015-05-30 00:53:17.634 | ++ recreate_database designate utf8
2015-05-30 00:53:17.634 | ++ local db=designate
2015-05-30 00:53:17.635 | ++ local charset=utf8
2015-05-30 00:53:17.635 | ++ recreate_database_mysql designate utf8
2015-05-30 00:53:17.635 | ++ local db=designate
2015-05-30 00:53:17.635 | ++ local charset=utf8
2015-05-30 00:53:17.636 | ++ mysql -uroot -ppassword -h127.0.0.1 -e 'DROP DATABASE IF EXISTS designate;'
2015-05-30 00:53:18.006 | ++ mysql -uroot -ppassword -h127.0.0.1 -e 'CREATE DATABASE designate CHARACTER SET utf8;'
2015-05-30 00:53:18.031 | ++ designate-manage database sync
2015-05-30 00:53:22.331 | usage: designate [-h] [--config-dir DIR] [--config-file PATH] [--debug]
2015-05-30 00:53:22.332 | [--log-config-append PATH] [--log-date-format DATE_FORMAT]
2015-05-30 00:53:22.332 | [--log-dir LOG_DIR] [--log-file PATH] [--log-format FORMAT]
2015-05-30 00:53:22.332 | [--nouse-syslog] [--nouse-syslog-rfc-format] [--noverbose]
2015-05-30 00:53:22.332 | [--syslog-log-facility SYSLOG_LOG_FACILITY] [--use-syslog]
2015-05-30 00:53:22.332 | [--use-syslog-rfc-format] [--verbose] [--version] [--nodebug]
2015-05-30 00:53:22.332 | {} ...
2015-05-30 00:53:22.333 | designate: error: argument category: invalid choice: 'database' (choose from )
2015-05-30 00:53:22.388 | + exit_trap
2015-05-30 00:53:22.388 | + local r=2
2015-05-30 00:53:22.388 | ++ jobs -p
2015-05-30 00:53:22.389 | + jobs=
2015-05-30 00:53:22.392 | + [[ -n '' ]]
2015-05-30 00:53:22.393 | + kill_spinner
2015-05-30 00:53:22.393 | + '[' '!' -z '' ']'
2015-05-30 00:53:22.393 | + [[ 2 -ne 0 ]]
2015-05-30 00:53:22.393 | + echo 'Error on exit'
2015-05-30 00:53:22.394 | Error on exit
2015-05-30 00:53:22.394 | + [[ -z /opt/stack/logs ]]
2015-05-30 00:53:22.394 | + /home/jaiswaro/devstack/tools/worlddump.py -d /opt/stack/logs
2015-05-30 00:53:23.094 | + exit 2

Revision history for this message
Kiall Mac Innes (kiall) wrote :

Out of band we discivered this appears to be a local issue with having an older oslo.config etc installed.. Please close if this turns out to be the case, or move back to New if that's not the issue.

Changed in designate:
status: New → Incomplete
Revision history for this message
Rohit Jaiswal (rohit-jaiswal-3) wrote :

This works on a fresh install of devstack

Changed in designate:
status: Incomplete → 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.