Bug 1552759
Summary: | Deployment fails with HCI enabled and SchedulerHints | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Rafal Szmigiel <rszmigie> | |
Component: | openstack-tripleo-common | Assignee: | Alan Bishop <abishop> | |
Status: | CLOSED ERRATA | QA Contact: | Alexander Chuzhoy <sasha> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 12.0 (Pike) | CC: | abishop, aschultz, emacchi, gfidente, jamsmith, jpalanis, mburns, owalsh, rszmigie, skramaja, slinaber, yrabl | |
Target Milestone: | z3 | Keywords: | Triaged, ZStream | |
Target Release: | 12.0 (Pike) | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | openstack-tripleo-common-7.6.9-5.el7ost | Doc Type: | Bug Fix | |
Doc Text: |
The Derived Parameters workflow now supports the use of SchedulerHints parameters to identify overcloud nodes.
Previously, the workflow could not use use SchedulerHints to identify overcloud nodes associated with the corresponding TripleO overcloud role. This caused the overcloud deployment to fail. SchedulerHints support prevents these failures.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1575623 (view as bug list) | Environment: | ||
Last Closed: | 2018-08-20 12:59:02 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1575623 | |||
Bug Blocks: |
Description
Rafal Szmigiel
2018-03-07 16:44:13 UTC
Can you please provide a sosreport from the undercloud? Thanks. Hey Alex, It will take a while because I have to revert the environment to the previous state. In the meantime not 100% sure but I think I found it. (undercloud) [stack@director ~]$ mistral workflow-get-definition tripleo.derive_params.v1._derive_parameters_per_role | grep -B4 TODO # Getting introspection data workflow, which will take care of # 1) profile and flavor based mapping # 2) Nova placement api based mapping # Currently we have implemented profile and flavor based mapping # TODO-Nova placement api based mapping is pending, we will enchance it later. (undercloud) [stack@director ~]$ mistral workflow-get-definition tripleo.derive_params.v1._get_role_info | grep -A8 -E 'check_features:$' check_features: on-success: build_feature_dict publish: # TODO: Need to update this logic for ODL integration. # The role supports the DPDK feature if the NeutronDatapathType parameter is present. dpdk: <% $.role_services.any($.get('parameters', []).contains('NeutronDatapathType')) %> # The role supports the HCI feature if it includes both NovaCompute and CephOSD services. hci: <% $.role_services.any($.get('type', '').endsWith('::NovaCompute')) and $.role_services.any($.get('type', '').endsWith('::CephOSD')) %> Uploaded to dropbox.redhat.com (sosreport-director.lab.rhpoc.net-20180307180957.tar.xz). Thanks in advance, Rafal This deployment is using the derive parameters workflow by using the "-p" option in the deploy command. In order to use this feature, the nodes and flavors should be tagged with matching profile. And Overcloud<RoleName>Flavor parameters should provide the matching flavor name to use. In this error, there are not flavor mentioned in the parameters, which defaults to 'baremetal' and it is failing. Ensure the correct flavor name is provided. Hey Saravanan, This deployment uses SchedulerHints therefore no flavors other than baremetal should be used. Please check https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html/advanced_overcloud_customization/sect-controlling_node_placement#sect-Assign_Specific_Node_IDs for more details. RafaĆ (In reply to Rafal Szmigiel from comment #5) > Hey Saravanan, > > This deployment uses SchedulerHints therefore no flavors other than > baremetal should be used. Please check > https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/ > html/advanced_overcloud_customization/sect-controlling_node_placement#sect- > Assign_Specific_Node_IDs for more details. Derive parameters workflow supports only the role tagging and does NOT support SchedulerHints yet. Though it was earlier planned to support, but work has not started yet. Two options from here - Either you could use derive parameters with role-tagging OR use scheduler hints by providing the parameters manually without -p option. I have added Alan Bishop and Jagan who were working on the current version of derived parameters. Thanks for the clarification and looping Alan and Jagan. Best Regards, Rafal Just to clarify Saravanan's comment, the Derived Parameters workflow relies on role tagging, but this is not incompatible with SchedulerHints. It's OK to continue to specify SchedulerHints, but you also need the nodes for which you want parameters derived (i.e. HCI) to be tagged with a role/profile. This is necessary for the Derived Parameters workflow to identify the nodes so that it can determine their hardware characteristics. This should provide a workaround until we can fix the workflow so that it can use just the SchedulerHints. Patch merged upstream, and I've begun upstream backports to stable/queens and stable/pike. Verified, deployed successfully with scheduler hints Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2331 |