ironicclient got AttributeError after a long time run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
New
|
Undecided
|
Zhenzan Zhou |
Bug Description
An ironicclient session was created to poll data from ironic service. After a long time run, the token was expired, it's expected to get HTTPUnauthorized exception, but it raised AttributeError.
WARNING ironicclient.
[-] Datasource driver raised exception
Traceback (most recent call last):
File "/usr/local/
self.
File "/usr/local/
detail=True, limit=0)
File "/usr/local/
limit=limit)
File "/usr/local/
resp, body = self.api.
File "/usr/local/
resp, body_iter = self._http_
File "/usr/local/
error_
File "/usr/local/
return exceptions.
File "/usr/local/
kwargs[
AttributeError: HTTPResponse instance has no attribute 'text'
Changed in ironic: | |
assignee: | nobody → Zhenzan Zhou (zhenzan-zhou) |