Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenStackSDK create instance under specific project

I'm trying to create instances using openstacksdk python api everything is ok but even when i use: conn2 = conn.connect_as_project(proj.name) server = conn2.create_server(......) the server is being created under property of admin project, not the project mentioned in proj.name i even tried project id but didn't worked.

OpenStackSDK create instance under specific project

I'm trying to create instances using openstacksdk python api everything is ok but even when i use: use:

conn2 = conn.connect_as_project(proj.name)
server = conn2.create_server(......)

the server is being created under property of admin project, not the project mentioned in proj.name i even tried project id but didn't worked.