RHOSP13- R5.0-162: while deployment hitting ERROR: The Resource Type (OS::TripleO::Services::ContrailWebui) could not be found

Bug #1784174 reported by alok kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Invalid
Critical
alok kumar
Trunk
Invalid
Critical
alok kumar

Bug Description

contrail version: rhel-queens-5.0-162

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 25, in run
    super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 966, in take_action
    self._deploy_tripleo_heat_templates_tmpdir(stack, parsed_args)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 423, in _deploy_tripleo_heat_templates_tmpdir
    new_tht_root, tht_root)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 454, in _deploy_tripleo_heat_templates
    parsed_args.networks_file)
  File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/plan_management.py", line 140, in create_plan_from_templates
    generate_passwords=generate_passwords)
  File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/plan_management.py", line 86, in create_deployment_plan
    'Exception creating plan: {}'.format(payload['message']))
WorkflowServiceError: Exception creating plan: Error validating environment for plan non-ha: ERROR: The Resource Type (OS::TripleO::Services::ContrailWebui) could not be found.

Initially got the same error for Tsn/dpdk/sriov then I tried commenting these services in roles_data_contrail_aio.yaml, after that i hit the same error for ContrailWebui.

  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 966, in take_action
    self._deploy_tripleo_heat_templates_tmpdir(stack, parsed_args)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 423, in _deploy_tripleo_heat_templates_tmpdir
    new_tht_root, tht_root)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 454, in _deploy_tripleo_heat_templates
    parsed_args.networks_file)
  File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/plan_management.py", line 140, in create_plan_from_templates
    generate_passwords=generate_passwords)
  File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/plan_management.py", line 86, in create_deployment_plan
    'Exception creating plan: {}'.format(payload['message']))
WorkflowServiceError: Exception creating plan: Error validating environment for plan non-ha: ERROR: The Resource Type (OS::TripleO::Services::ContrailTsn) could not be found.

This is with latest code taken for repo contrail-tripleo-heat-templates from github.
deploy command used with below options:

openstack overcloud deploy --stack non-ha --templates ~/tripleo-heat-templates -e ~/overcloud_images.yaml -e ~/tripleo-heat-templates/environments/network-isolation.yaml -e ~/tripleo-heat-templates/environments/contrail/contrail-plugins.yaml -e ~/tripleo-heat-templates/environments/contrail/contrail-services.yaml -e ~/tripleo-heat-templates/environments/contrail/contrail-net.yaml --roles-file ~/tripleo-heat-templates/roles_data_contrail_aio.yaml --debug

setup details:
hypervisor: 10.204.217.133
undercloud IP: 192.168.122.179

deploy logs are at /home/stack/
(undercloud) [stack@queensa ~]$ ls -l deploy*
-rw-rw-r--. 1 stack stack 191759 Jul 28 15:40 deploy.log
-rw-rw-r--. 1 stack stack 191749 Jul 28 14:53 deploy_TSN_error.log

alok kumar (kalok)
description: updated
Revision history for this message
alexey-mr (alexey-morlang) wrote :

I tried the build 5.0-162 but there is no such issue on my setup.
Do you still have this issue?
Is it possible to get access to your setup?
Have not you try to deploy w/o '--stack non-ha' ? I dont use this parameter at all..

Jeba Paulaiyan (jebap)
tags: added: contrail-cloud
Revision history for this message
alok kumar (kalok) wrote :

The issue is not seen further when tried without '--stack non-ha'.
As of now, can't say if the mentioned option was causing the problem or it was something else.
closing the bug for now, will check it out once sanity/regression is done.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.