Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1581993

Summary: RHEL-7.5-OSP10-Deployment failed while validating resource:-OS::TripleO::Services::ManilaBackendGeneric
Product: Red Hat OpenStack Reporter: shaju <shajuvk>
Component: openstack-tripleo-heat-templatesAssignee: Alex Schultz <aschultz>
Status: CLOSED NOTABUG QA Contact: Gurenko Alex <agurenko>
Severity: medium Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: aschultz, mburns, shajuvk
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-25 04:25:46 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:
Attachments:
Description Flags
sos report none

Description shaju 2018-05-23 22:36:30 UTC
Created attachment 1440882 [details]
sos report

Description of problem:
Depoyment with OSP10 failed while deploying . Resource validation failed.
OS::TripleO::Services::ManilaBackendGeneric

Attached sos report.

Logs
=====
Deploying templates in the directory /tmp/tripleoclient-TUBlPk/tripleo-heat-templates
Started Mistral Workflow. Execution ID: b5ad4c3e-e1ec-4992-9f8b-cf00d04a9345
{u'execution': {u'id': u'b5ad4c3e-e1ec-4992-9f8b-cf00d04a9345',
                u'input': {u'container': u'overcloud',
                           u'queue_name': u'a0bf1f99-7e2b-46ad-bed5-fc89812633fc',
                           u'skip_deploy_identifier': False,
                           u'timeout': 240},
                u'name': u'tripleo.deployment.v1.deploy_plan',
                u'params': {},
                u'spec': {u'input': [u'container',
                                     {u'timeout': 240},
                                     {u'skip_deploy_identifier': False},
                                     {u'queue_name': u'tripleo'}],
                          u'name': u'deploy_plan',
                          u'tasks': {u'add_validation_ssh_key': {u'name': u'add_validation_ssh_key',
                                                                 u'on-complete': u'create_swift_rings_backup_plan',
                                                                 u'type': u'direct',
                                                                 u'version': u'2.0',
                                                                 u'workflow': u'tripleo.validations.v1.add_validation_ssh_key_parameter container=<% $.container %>'},
                                     u'create_swift_rings_backup_plan': {u'input': {u'container': u'<% $.container %>',
                                                                                    u'queue_name': u'<% $.queue_name %>',
                                                                                    u'use_default_templates': True},
                                                                         u'name': u'create_swift_rings_backup_plan',
                                                                         u'on-error': u'create_swift_rings_backup_plan_set_status_failed',
                                                                         u'on-success': u'deploy',
                                                                         u'type': u'direct',
                                                                         u'version': u'2.0',
                                                                         u'workflow': u'tripleo.swift_rings_backup.v1.create_swift_rings_backup_container_plan'},
                                     u'create_swift_rings_backup_plan_set_status_failed': {u'name': u'create_swift_rings_backup_plan_set_status_failed',
                                                                                           u'on-success': u'send_message',
                                                                                           u'publish': {u'message': u'<% task(create_swift_rings_backup_plan).result %>',
                                                                                                        u'status': u'FAILED'},
                                                                                           u'type': u'direct',
                                                                                           u'version': u'2.0'},
                                     u'deploy': {u'action': u'tripleo.deployment.deploy timeout=<% $.timeout %> container=<% $.container %>',
                                                 u'input': {u'container': u'<% $.container %>',
                                                            u'skip_deploy_identifier': u'<% $.skip_deploy_identifier %>',
                                                            u'timeout': u'<% $.timeout %>'},
                                                 u'name': u'deploy',
                                                 u'on-error': u'set_deployment_failed',
                                                 u'on-success': u'send_message',
                                                 u'type': u'direct',
                                                 u'version': u'2.0'},
                                     u'send_message': {u'action': u'zaqar.queue_post',
                                                       u'input': {u'messages': {u'body': {u'payload': {u'execution': u'<% execution() %>',
                                                                                                       u'message': u"<% $.get('message', '') %>",
                                                                                                       u'status': u"<% $.get('status', 'SUCCESS') %>"},
                                                                                          u'type': u'tripleo.deployment.v1.deploy_plan'}},
                                                                  u'queue_name': u'<% $.queue_name %>'},
                                                       u'name': u'send_message',
                                                       u'retry': u'count=5 delay=1',
                                                       u'type': u'direct',
                                                       u'version': u'2.0'},
                                     u'set_deployment_failed': {u'name': u'set_deployment_failed',
                                                                u'on-success': u'send_message',
                                                                u'publish': {u'message': u'<% task(deploy).result %>',
                                                                             u'status': u'FAILED'},
                                                                u'type': u'direct',
                                                                u'version': u'2.0'}},
                          u'version': u'2.0'}},
 u'message': u"Failed to run action [action_ex_id=93703710-c53a-4456-9392-acfbed65732a, action_cls='<class 'mistral.actions.action_factory.DeployStackAction'>', attributes='{}', params='{u'skip_deploy_identifier': F
alse, u'container': u'overcloud', u'timeout': 240}']\n ERROR: Failed to validate: : resources.ControllerServiceChain: : The Resource Type (OS::TripleO::Services::ManilaBackendGeneric) could not be found.",
 u'status': u'FAILED'}


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

[stack@undercloud ~]$ rpm -qa | grep triple
openstack-tripleo-0.0.8-0.3.4de13b3git.el7ost.noarch
python-tripleoclient-5.4.6-1.el7ost.noarch
contrail-tripleo-puppet-4.1.1.0-128.el7.noarch
openstack-tripleo-ui-1.2.1-1.el7ost.noarch
openstack-tripleo-common-5.4.7-3.el7ost.noarch
puppet-tripleo-5.6.8-6.el7ost.noarch
openstack-tripleo-validations-5.1.4-1.el7ost.noarch
openstack-tripleo-puppet-elements-5.3.3-2.el7ost.noarch
openstack-tripleo-image-elements-5.3.3-1.el7ost.noarch
contrail-tripleo-heat-templates-4.1.1.0-128.el7.noarch
openstack-tripleo-heat-templates-5.3.10-1.el7ost.noarch
[stack@undercloud ~]$ 

[stack@undercloud ~]$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.5 (Maipo)
[stack@undercloud ~]$ 

[stack@undercloud ~]$ sudo yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
repo id                                                                                      repo name                                                                                                           status
contrail                                                                                     contrail rep                                                                                                           101
rhel-7-server-extras-rpms/x86_64                                                             Red Hat Enterprise Linux 7 Server - Extras (RPMs)                                                                      838
rhel-7-server-nfv-rpms/x86_64                                                                Red Hat Enterprise Linux for Real Time for NFV (RHEL 7 Server) (RPMs)                                                  307
rhel-7-server-openstack-10-devtools-rpms/x86_64                                              Red Hat OpenStack Platform 10 Developer Tools for RHEL 7 (RPMs)                                                         10
rhel-7-server-openstack-10-rpms/x86_64                                                       Red Hat OpenStack Platform 10 for RHEL 7 (RPMs)                                                                      2,024
rhel-7-server-rh-common-rpms/x86_64                                                          Red Hat Enterprise Linux 7 Server - RH Common (RPMs)                                                                   232
rhel-7-server-rpms/x86_64                                                                    Red Hat Enterprise Linux 7 Server (RPMs)                                                                            20,454
rhel-ha-for-rhel-7-server-rpms/x86_64                                                        Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs)                                                  482
repolist: 24,448
[stack@undercloud ~]$ 
0 stack@undercloud:~

Comment 1 shaju 2018-05-23 22:54:37 UTC
After removing below line it worked:

 - OS::TripleO::Services::ManilaBackendGeneric

Comment 2 Alex Schultz 2018-05-24 15:29:45 UTC
The sosreport provided seems to be missing a bunch of data. Also please provide the templates used in the deployment as well as the deploy command.  The bug indicates that OSP10 is being used, but OS::TripleO::Services::ManilaBackendGeneric was not included until OSP11. Are you using OSP11 roles or role data to deploy OSP10?

Comment 3 shaju 2018-05-25 04:25:25 UTC
Thanks Alex, Looks like it is Juniper issue. we are using OS::TripleO::Services::ManilaBackendGeneric in our heat-templates.

Thanks for your help