首页 > 代码库 > senlin __init__() got an unexpected keyword argument 'additional_headers'

senlin __init__() got an unexpected keyword argument 'additional_headers'

从senlin源码重新编译更新了服务,然后执行 senlin的 cli就遇到了错误:

__init__() got an unexpected keyword argument ‘additional_headers‘

谷歌了一下,找到这份开发者的聊天日志: http://eavesdrop.openstack.org/irclogs/%23senlin/%23senlin.2016-08-16.log.html

知道是client没有更新的缘故,于是我执行了:

$sudo pip install --upgrade python-senlinclient

搞定!

senlin __init__() got an unexpected keyword argument 'additional_headers'