1

当我创建了一个虚拟模板并尝试从中启动虚拟服务时,我收到一个关于资源不足的错误,但我有很多。所以我以某种方式配置错误,但我不知道我哪里出错了。我希望能够在没有任何错误的情况下启动。

我使用了一些在线指南,包括使用 tosca 模板配置它的 Openstack 文档:https ://docs.openstack.org/tacker/ocata/devref/vnfd_template_description.html

即使使用给定的示例,但我仍然遇到相同的错误。

Openstack 返回:内部服务器错误代码:500 Resource CREATE failed:.... 但是当我在日志中进一步检查时,nova.scheduler.utils 给了我错误:“计算资源不足:请求的实例 NUMA 拓扑不适合给定的主机 NUMA拓扑"

我当前的模板配置:

description: Demo example with auto image creation
metadata: {template_name: sample-tosca-vnfd-image}
topology_template:
  inputs:
    availabilityzone: {description: The controller availability zone., type: string}
  node_templates:
    CP1:
      requirements:
      - virtualLink: {node: VL1}
      - virtualBinding: {node: VDU1}
      type: tosca.nodes.nfv.CP.Tacker
    VDU1:
      capabilities:
        nfv_compute:
          properties:
            disk_size: 1 GB
            mem_size: 512 MB
            mem_page_size: 2
            num_cpus: 1
      properties:
        availability_zone: {get_input: availabilityzone}
        image: Cirros_Name
      type: tosca.nodes.nfv.VDU.Tacker
    VL1:
      properties: {cidr: 10.5.0.0/16, dhcp_enabled: false, ip_version: 4, network_name: net1test,
        network_type: vlan, physical_network: physnet1, segmentation_id: 100, vendor: Tacker}
      type: tosca.nodes.nfv.VL
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0

我已将 VDU 的大小从 64 MB 更改为 2048,将 cpu 的数量从 1 更改为 3 以及一些 mem_page_sizes

为了清楚起见,我可以创建模板并使用它,但之后在创建 VS 时,它会从 Pending Create 变为:

错误:资源创建失败:ResourceInError:resources.VDU1:由于“消息:超过最大重试次数。耗尽所有可用于重试构建失败的主机,例如 02ec79d2-5f15-4d28-9b2e-01dbef29bbeb。,代码: 500"

4

0 回答 0