{"id":24180,"library":"osc-placement","title":"OpenStackClient Placement plugin","description":"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.","status":"active","version":"4.8.0","language":"python","source_language":"en","source_url":"https://opendev.org/openstack/osc-placement","tags":["openstack","placement","openstackclient","plugin"],"install":[{"cmd":"pip install osc-placement","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"osc-placement is a plugin for openstackclient; requires openstack command to be installed and configured.","package":"python-openstackclient","optional":false},{"reason":"Used for authentication against OpenStack services.","package":"keystoneauth1","optional":true}],"imports":[{"note":"There is no direct API; the module is auto-discovered by openstackclient as a plugin.","wrong":"from osc_placement import plugin","symbol":"osc_placement","correct":"import osc_placement"}],"quickstart":{"code":"openstack resource provider list","lang":"bash","description":"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."},"warnings":[{"fix":"Use openstack CLI commands or the openstacksdk Python library for programmatic access.","message":"osc-placement is a plugin and does not provide a Python API; it only extends the openstack CLI. Do not attempt to import its internals.","severity":"gotcha","affected_versions":"all"},{"fix":"Check the OpenStack Placement documentation for the required microversion for your installation and use the --os-placement-api-version flag if needed.","message":"The placement API microversion may need to be specified for certain commands; default behavior might change between OpenStack releases.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Migrate from commands like 'openstack allocation candidate list' to 'openstack resource provider inventory list' or similar.","message":"Some older placement CLI subcommands were removed in favor of unified resource provider commands.","severity":"deprecated","affected_versions":">=4.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install osc-placement' and ensure it's in the same Python environment as python-openstackclient.","cause":"osc-placement is not installed or not registered properly.","error":"openstack: 'placement' is not an openstack command. See 'openstack --help'."},{"fix":"Install or upgrade python-openstackclient: 'pip install --upgrade python-openstackclient'.","cause":"Missing or outdated openstackclient installation.","error":"placement command not found"},{"fix":"Verify the resource provider exists with 'openstack resource provider list' and check your role assignments.","cause":"The resource provider does not exist or the user lacks permissions.","error":"Not found: Resource provider with name or uuid ..."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}