OpenStackClient plugin for the Placement service, used to manage resource providers, inventories, allocations, and traits in OpenStack. Current version 4.8.0 requires Python >=3.9. Released on a rolling cycle aligned with OpenStack releases.
pip install osc-placementVerified import paths — ran on the pinned version, not inferred.
After installing osc-placement and configuring OpenStack credentials (OS_AUTH_URL, OS_USERNAME, OS_PASSWORD, OS_PROJECT_NAME), run the openstack client with placement commands.
Use openstack CLI commands or the openstacksdk Python library for programmatic access.
Check the OpenStack Placement documentation for the required microversion for your installation and use the --os-placement-api-version flag if needed.
Migrate from commands like 'openstack allocation candidate list' to 'openstack resource provider inventory list' or similar.
Run 'pip install osc-placement' and ensure it's in the same Python environment as python-openstackclient.
Install or upgrade python-openstackclient: 'pip install --upgrade python-openstackclient'.
Verify the resource provider exists with 'openstack resource provider list' and check your role assignments.