Deployment doesn't work with custom role

Latest response

Hi,

I want to deploy an environment with a custom role for sr-iov based on the NFV configuration guide https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html-single/network_functions_virtualization_configuration_guide/

I did the following

  1. added the following new role in roles-data.yaml

- name: Computesriov
CountDefault: 1
HostnameFormatDefault: 'compute-sriov-%index%'
disable_upgrade_deployment: True
ServicesDefault:
- OS::TripleO::Services::CACerts
- OS::TripleO::Services::CephClient
- OS::TripleO::Services::CephExternal
- OS::TripleO::Services::Timezone
- OS::TripleO::Services::Ntp
- OS::TripleO::Services::Snmp
- OS::TripleO::Services::Sshd
- OS::TripleO::Services::NovaCompute
- OS::TripleO::Services::NovaLibvirt
- OS::TripleO::Services::Kernel
- OS::TripleO::Services::ComputeNeutronCorePlugin
- OS::TripleO::Services::ComputeNeutronOvsAgent
- OS::TripleO::Services::ComputeCeilometerAgent
- OS::TripleO::Services::ComputeNeutronL3Agent
- OS::TripleO::Services::ComputeNeutronMetadataAgent
- OS::TripleO::Services::TripleoPackages
- OS::TripleO::Services::TripleoFirewall
- OS::TripleO::Services::NeutronSriovAgent
- OS::TripleO::Services::OpenDaylightOvs
- OS::TripleO::Services::SensuClient
- OS::TripleO::Services::FluentdClient
- OS::TripleO::Services::AuditD
- OS::TripleO::Services::Collectd

  1. added flavor as following
    openstack flavor create --id auto --ram 6144 --disk 40 --vcpus 4 sriov
    openstack flavor set --property "cpu_arch"="x86_64" --property "capabilities:boot_option"="local" --property "capabilities:profile"="computesriov" sriov

  2. update node as following
    openstack baremetal node set --property capabilities='profile:computesriov,boot_option:local' 655f40ea-fd14-4b25-9138-8da740d9e983

  3. added compute-sriov.yaml

  4. added following lines in network-environment.yaml
    OS::TripleO::Computesriov::Net::SoftwareConfig: /home/stack/templates_sriov/nic-configs/compute-sriov.yaml
    OvercloudComputesriovFlavor: sriov
    ComputesriovCount: 1

The deployment failed

[stack@edge-director ~(admin@admin)]$openstack stack list --nested | grep FAIL
| c149be95-b16d-4bde-b315-d447b775ce7e | overcloud-AllNodesDeploySteps-yo6fmromq63w-ComputesriovDeployment_Step4-hmtw733s3s3c | CREATE_FAILED | 2017-07-18T12:08:08Z | None | e4552a74-701b-4a9f-b919-60d6a969800b |
| e4552a74-701b-4a9f-b919-60d6a969800b | overcloud-AllNodesDeploySteps-yo6fmromq63w | CREATE_FAILED | 2017-07-18T11:58:47Z | None | 97093b28-2f41-430b-918d-b64cdbc5c827 |
| 97093b28-2f41-430b-918d-b64cdbc5c827 | overcloud | CREATE_FAILED | 2017-07-18T11:45:08Z | None | None |
[stack@edge-director ~(admin@admin)]$

[stack@edge-director ~(admin@admin)]$openstack stack show overcloud-AllNodesDeploySteps-yo6fmromq63w-ComputesriovDeployment_Step4-hmtw733s3s3c
+-----------------------+------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------+
| id | c149be95-b16d-4bde-b315-d447b775ce7e |
| stack_name | overcloud-AllNodesDeploySteps-yo6fmromq63w- |
| | ComputesriovDeployment_Step4-hmtw733s3s3c |
| description | No description |
| creation_time | 2017-07-18T12:08:08Z |
| updated_time | None |
| stack_status | CREATE_FAILED |
| stack_status_reason | Resource CREATE failed: Operation cancelled |
| parameters | OS::project_id: e137e23e003641a68baf4e5876bfb566 |
| | OS::stack_id: c149be95-b16d-4bde-b315-d447b775ce7e |
| | OS::stack_name: overcloud-AllNodesDeploySteps-yo6fmromq63w- |
| | ComputesriovDeployment_Step4-hmtw733s3s3c |
| | |
| outputs | [] |
| | |
| links | - href: |
| | https://192.168.60.21:13004/v1/e137e23e003641a68baf4e5876bfb566/stacks |
| | /overcloud-AllNodesDeploySteps-yo6fmromq63w- |
| | ComputesriovDeployment_Step4-hmtw733s3s3c/c149be95-b16d- |
| | 4bde-b315-d447b775ce7e |
| | rel: self |
| | |
| parent | e4552a74-701b-4a9f-b919-60d6a969800b |
| disable_rollback | True |
| deletion_time | None |
| stack_user_project_id | a38a41ced22d4cd88aae37b2c9d27188 |
| capabilities | [] |
| notification_topics | [] |
| stack_owner | admin |
| timeout_mins | 9000 |
| tags | None |
+-----------------------+------------------------------------------------------------------------------+
[stack@edge-director ~(admin@admin)]$

Did I forget to configure anything???

Regards,
Samuel

Responses