httplib throw "TypeError: an integer is required" when run quantum on fedora 16
hi,
When I run "nova boot "command with quantum on fedora 16, httplib throw ""TypeError: an integer is required" .
But there is no problem on ubuntu 12.10, does someone meet this problem, Thanks for the help.
Bellow is some info:
2012-04-23 09:42:36 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/bak/openstack
2012-04-23 09:42:36 TRACE nova.rpc.amqp rval = node_func(
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/bak/openstack
2012-04-23 09:42:36 TRACE nova.rpc.amqp is_tenant_net = self.q_
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/bak/openstack
2012-04-23 09:42:36 TRACE nova.rpc.amqp self.client.
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/bak/openstack
2012-04-23 09:42:36 TRACE nova.rpc.amqp ret = self.func(instance, *args, **kwargs)
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/bak/openstack
2012-04-23 09:42:36 TRACE nova.rpc.amqp return self.do_
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/bak/openstack
2012-04-23 09:42:36 TRACE nova.rpc.amqp c.request(method, action, body, headers)
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib64/
2012-04-23 09:42:36 TRACE nova.rpc.amqp self._send_
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib64/
2012-04-23 09:42:36 TRACE nova.rpc.amqp self.endheaders
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib64/
2012-04-23 09:42:36 TRACE nova.rpc.amqp self._send_
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib64/
2012-04-23 09:42:36 TRACE nova.rpc.amqp self.send(msg)
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib64/
2012-04-23 09:42:36 TRACE nova.rpc.amqp self.connect()
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib64/
2012-04-23 09:42:36 TRACE nova.rpc.amqp self.timeout, self.source_
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib/
2012-04-23 09:42:36 TRACE nova.rpc.amqp sock.connect(sa)
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib/
2012-04-23 09:42:36 TRACE nova.rpc.amqp while not socket_connect(fd, address):
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib/
2012-04-23 09:42:36 TRACE nova.rpc.amqp err = descriptor.
2012-04-23 09:42:36 TRACE nova.rpc.amqp File "/usr/lib64/
2012-04-23 09:42:36 TRACE nova.rpc.amqp return getattr(
2012-04-23 09:42:36 TRACE nova.rpc.amqp TypeError: an integer is required
2012-04-23 09:42:36 TRACE nova.rpc.amqp
[root@hua glance]# nova-manage service list
2012-04-23 09:44:26 DEBUG nova.utils [req-0aa57e81-
Binary Host Zone Status State Updated_At
nova-compute hua.cn.ibm.com nova enabled :-) 2012-04-23 01:44:24
nova-scheduler hua.cn.ibm.com nova enabled :-) 2012-04-23 01:44:24
nova-cert hua.cn.ibm.com nova enabled :-) 2012-04-23 01:44:24
nova-volume hua.cn.ibm.com nova enabled :-) 2012-04-23 01:44:24
nova-network hua.cn.ibm.com nova enabled :-) 2012-04-23 01:44:24
[root@hua glance]# ./bin/glance -f index
ID Name Disk Format Container Format Size
-------
5213ac41-
cec1e65c-
be936686-
[root@hua glance]# quantum list_nets default
Virtual Networks for Tenant default
Network ID: 47deee15-
[root@hua glance]# nova boot --image 5213ac41-
ERROR: TypeError: an integer is required (HTTP 400)
[root@hua glance]# nova --debug boot --image 5213ac41-
connect: (localhost, 35357)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: localhost:
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json
header: Vary: X-Auth-Token
header: Content-Length: 1965
header: Date: Mon, 23 Apr 2012 01:43:47 GMT
connect: (localhost, 8774)
send: u'GET /v1.1/986a58e77
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Compute-
header: Content-Type: application/json
header: Content-Length: 347
header: Date: Mon, 23 Apr 2012 01:43:47 GMT
send: u'GET /v1.1/986a58e77
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Compute-
header: Content-Type: application/json
header: Content-Length: 779
header: Date: Mon, 23 Apr 2012 01:43:47 GMT
send: u'POST /v1.1/986a58e77
reply: 'HTTP/1.1 400 Bad Request\r\n'
header: Content-Length: 77
header: Content-Type: application/json; charset=UTF-8
header: X-Compute-
header: Date: Mon, 23 Apr 2012 01:43:48 GMT
DEBUG (shell:423) TypeError: an integer is required (HTTP 400)
Traceback (most recent call last):
File "/bak/openstack
OpenStackCo
File "/bak/openstack
args.
File "/bak/openstack
server = cs.servers.
File "/bak/openstack
**boot_kwargs)
File "/bak/openstack
return_
File "/bak/openstack
resp, body = self.api.
File "/bak/openstack
return self._cs_
File "/bak/openstack
**kwargs)
File "/bak/openstack
raise exceptions.
BadRequest: TypeError: an integer is required (HTTP
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- dan wendlandt
- Solved:
- Last query:
- Last reply: