Comment 1 for bug 803056

Revision history for this message
Chris Blumentritt (cblument) wrote : Re: 'Fault' object has no attribute 'status_int'

dpkg -l | grep nova
ii nova-api 2011.3~bzr1218-0rs1-build200 OpenStack Compute - API frontend
ii nova-common 2011.3~bzr1218-0rs1-build200 OpenStack Compute - common files
ii nova-doc 2011.3~bzr1218-0rs1-build200 OpenStack Compute - documetation
ii nova-network 2011.3~bzr1218-0rs1-build200 OpenStack Compute - Network manager
ii nova-scheduler 2011.3~bzr1218-0rs1-build200 OpenStack Compute - virtual machine scheduler
ii python-nova 2011.3~bzr1218-0rs1-build200 OpenStack Compute Python libraries

root@d64-controller:~# nova flavor-list
+----+-----------+-----------+------+----------+-------+------------+----------+
| ID | Name | Memory_MB | Swap | Local_GB | VCPUs | RXTX_Quota | RXTX_Cap |
+----+-----------+-----------+------+----------+-------+------------+----------+
| 1 | m1.tiny | 512 | | 0 | | | |
| 2 | m1.small | 2048 | | 20 | | | |
| 3 | m1.medium | 4096 | | 40 | | | |
| 4 | m1.large | 8192 | | 80 | | | |
| 5 | m1.xlarge | 16384 | | 160 | | | |
+----+-----------+-----------+------+----------+-------+------------+----------+
root@d64-controller:~# nova image-list
+----+----------------+--------+
| ID | Name | Status |
+----+----------------+--------+
| 1 | squeeze-110613 | ACTIVE |
+----+----------------+--------+
root@d64-controller:~# glance details 1
Found 1 public images...
================================================================================
URI: http://0.0.0.0/images/1
Id: 1
Public: Yes
Name: squeeze-110613
Status: active
Size: 295350242
Location: file:///var/lib/glance/images/1
Disk format: vhd
Container format: ovf
================================================================================
root@d64-controller:~# vi /etc/glance/glance-api.conf
root@d64-controller:~# vi /etc/glance/glance-registry.conf
root@d64-controller:~# nova boot --flavor 1 --image 1 test_image
Cannot find requested image 1: 'NoneType' object does not support item assignment (HTTP 400)

From nova-api.log
2011-06-28 16:04:11,723 DEBUG nova.api.openstack.wsgi [-] http://10.0.1.221:8774/v1.0/servers returned a fault: 'Fault' object has no attribute 'status_int' from (pid=8004) __call__ /usr/lib/pymodules/python2.6/nova/api/openstack/wsgi.py:389