Skip to content

TypeError: create() got an unexpected keyword argument 'prepend_key' #6

Description

@flyPpig

调用 conn.orchestration.create_stack(**data) 创建stack时出现如下错误:

Traceback (most recent call last):
File "stack.py", line 80, in
stack_create(conn)
File "stack.py", line 31, in stack_create
stack = conn.orchestration.create_stack(**data)
File "/usr/lib/python2.7/site-packages/openstack/orchestration/v1/_proxy.py", line 43, in create_stack
return self._create(res_type, **attrs)
File "/usr/lib/python2.7/site-packages/openstack/proxy2.py", line 200, in _create
return res.create(self._session, prepend_key=prepend_key)
TypeError: create() got an unexpected keyword argument 'prepend_key'

使用原生openstacksdk创建stack时正常,可以创建成功。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions