The placement API service was introduced in the 14.0.0 Newton release within the nova repository and extracted to the placement repository in the 19.0.0 Stein release. This is a REST API stack and data model used to track resource provider inventories and usages, along with different classes of resources. For example, a resource provider can be a compute node, a shared storage pool, or an IP allocation pool. The placement service tracks the inventory and usage of each provider. For example, an instance created on a compute node may be a consumer of resources such as RAM and CPU from a compute node resource provider, disk from an external shared storage pool resource provider and IP addresses from an external IP pool resource provider. The types of resources consumed are tracked as classes. The service provides a set of standard resource classes (for example DISK_GB, MEMORY_MB, and VCPU) and provides the ability to define custom resource classes as needed. Each resource provider may also have a set of traits which describe qualitative aspects of the resource provider. Traits describe an aspect of a resource provider that cannot itself be consumed but a workload may wish to specify. For example, available disk may be solid state drives (SSD).
时间: 2024-04-22 16:26:39 浏览: 20
placement API服务在14.0.0版本的Newton发布中首次引入到nova存储库中,并在19.0.0版本的Stein发布中提取到placement存储库中。这是一个用于跟踪资源提供者库存、使用情况和不同资源类别的REST API堆栈和数据模型。例如,一个资源提供者可以是计算节点、共享存储池或IP地址分配池。placement服务跟踪每个提供者的库存和使用情况。例如,创建在计算节点上的实例可能会消耗来自计算节点资源提供者的RAM和CPU资源、来自外部共享存储池资源提供者的磁盘资源,以及来自外部IP地址池资源提供者的IP地址资源。
消耗的资源类型被跟踪为类别。该服务提供一组标准的资源类别(例如DISK_GB、MEMORY_MB和VCPU),并提供根据需要定义自定义资源类别的能力。
每个资源提供者还可以拥有一组描述资源提供者质量特征的特征。特征描述了一个资源提供者的某个方面,它本身不能被消耗,但工作负载可能希望指定。例如,可用磁盘可以是固态驱动器(SSD)。
相关问题
The placement API service provides a well-documented, JSON-based HTTP API and data model. It is designed to be easy to use from whatever HTTP client is suitable. There is a plugin to the openstackclient command line tool called osc-placement which is useful for occasional inspection and manipulation of the resources in the placement service.
placement API服务提供了一个经过良好文档化的基于JSON的HTTP API和数据模型。它被设计成可以轻松地从适当的HTTP客户端使用。还有一个插件可以集成到openstackclient命令行工具中,名为osc-placement,它对于偶尔检查和操作placement服务中的资源非常有用。
Job for openstack-nova-scheduler.service failed because the control process exited with error code.
这个错误通常表示openstack-nova-scheduler服务无法启动。您可以尝试以下步骤来解决此问题:
1. 检查nova-scheduler服务是否已安装并正确配置。
2. 检查nova-scheduler服务的日志文件,通常位于/var/log/nova/nova-scheduler.log,以查看更多详细信息。
3. 检查nova-scheduler服务的配置文件,通常位于/etc/nova/nova.conf,确保所有配置都正确。
4. 检查OpenStack Placement组件是否已正确安装并配置。
5. 检查rabbitmq是否正在运行,并确保端口没有被防火墙阻止。
6. 尝试重启nova-scheduler服务,以便重新启动服务并清除任何可能导致服务失败的问题。
相关推荐
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)