nova-manage reports "Command Failed"

Bug #745231 reported by Marcelo Martins
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Vish Ishaya

Bug Description

Any nova-manage, such as the simple "nova-manage db version", returns a "Command failed, please check log for more info" even though the command seems to execute just fine. I have found no tracebacks in the nova-manage.log file.

Example(s):

openstack-3:/var/log/nova$ nova-manage db version
13
Command failed, please check log for more info

------------

openstack-3:/var/log/nova# nova-manage user list
mmartins
Command failed, please check log for more info

openstack-3:/var/log/nova# ls -al
total 12
drwxr-xr-x 2 nova root 4096 2011-03-29 20:07 .
drwxr-xr-x 14 root root 4096 2011-03-29 18:49 ..
-rw-r--r-- 1 nova nogroup 0 2011-03-29 20:22 nova-api.log
-rw-r--r-- 1 nova nogroup 0 2011-03-29 20:22 nova-compute.log
-rw-r--r-- 1 nova nogroup 228 2011-03-29 20:22 nova-manage.log
-rw-r--r-- 1 nova nogroup 0 2011-03-29 20:22 nova-network.log
-rw-r--r-- 1 root root 0 2011-03-29 20:22 nova-objectstore.log
-rw-r--r-- 1 nova nogroup 0 2011-03-29 20:22 nova-scheduler.log
-rw-r--r-- 1 nova nogroup 0 2011-03-29 20:22 nova-volume.log

openstack-3:/var/log/nova# cat nova-manage.log
2011-03-29 20:22:06,689 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/pymodules/python2.6/nova/db/sqlalchemy/api.pyc'> from (pid=23967) __get_backend /usr/lib/pymodules/python2.6/nova/utils.py:427

-----------

openstack-3:/var/log/nova$ nova-manage user admin mmartins
export EC2_ACCESS_KEY=7d17d304-ff65-4683-b2f4-22239cb84e78
export EC2_SECRET_KEY=903ecc72-056f-4770-a072-0c36289a960c
Command failed, please check log for more info

mysql> select * from users;
+---------------------+------------+------------+---------+----------+------+--------------------------------------+--------------------------------------+----------+
| created_at | updated_at | deleted_at | deleted | id | name | access_key | secret_key | is_admin |
+---------------------+------------+------------+---------+----------+------+--------------------------------------+--------------------------------------+----------+
| 2011-03-29 20:15:15 | NULL | NULL | 0 | mmartins | NULL | 7d17d304-ff65-4683-b2f4-22239cb84e78 | 903ecc72-056f-4770-a072-0c36289a960c | 1 |
+---------------------+------------+------------+---------+----------+------+--------------------------------------+--------------------------------------+----------+
1 row in set (0.00 sec)

Related branches

Changed in nova:
assignee: nobody → Vish Ishaya (vishvananda)
importance: Undecided → Medium
status: New → In Progress
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → 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.