httplib throw "TypeError: an integer is required" when run quantum on fedora and redhat
Bug #993149 reported by
Hua Zhang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Hua Zhang |
Bug Description
httplib throws exception "TypeError: an integer is required" from following method of file $nova/nova/
c.request(method, action, body, headers)
the reason is that following nova code pass a host value to httplib that is not int, it leads to httplib lose the socket connection, then throws above exception.
more details can refer https:/
Changed in nova: | |
assignee: | nobody → Hua Zhang (zhhuabj) |
Changed in nova: | |
milestone: | none → folsom-1 |
importance: | Undecided → Low |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-1 → 2012.2 |
To post a comment you must log in.
fixing it is very easy, can just edit file $nova/network/ quantum/ quantum_ connection. py,
self.client = quantum_ client. Client( FLAGS.quantum_ connection_ host, connection_ port, quantum_ connection_ port),
format= "json",
logger= LOG)
- FLAGS.quantum_
+ int(FLAGS.