Comment 0 for bug 1784174

Revision history for this message
alok kumar (kalok) wrote :

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