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:
Traceback (most recent call last): python2. 7/site- packages/ osc_lib/ shell.py" , line 134, in run Shell, self).run(argv) python2. 7/site- packages/ cliff/app. py", line 279, in run subcommand( remainder) python2. 7/site- packages/ osc_lib/ shell.py" , line 169, in run_subcommand Shell, self).run_ subcommand( argv) python2. 7/site- packages/ cliff/app. py", line 400, in run_subcommand parsed_ args) python2. 7/site- packages/ tripleoclient/ command. py", line 25, in run parsed_ args) python2. 7/site- packages/ osc_lib/ command/ command. py", line 41, in run parsed_ args) python2. 7/site- packages/ cliff/command. py", line 184, in run action( parsed_ args) or 0 python2. 7/site- packages/ tripleoclient/ v1/overcloud_ deploy. py", line 966, in take_action _deploy_ tripleo_ heat_templates_ tmpdir( stack, parsed_args) python2. 7/site- packages/ tripleoclient/ v1/overcloud_ deploy. py", line 423, in _deploy_ tripleo_ heat_templates_ tmpdir python2. 7/site- packages/ tripleoclient/ v1/overcloud_ deploy. py", line 454, in _deploy_ tripleo_ heat_templates args.networks_ file) python2. 7/site- packages/ tripleoclient/ workflows/ plan_management .py", line 140, in create_ plan_from_ templates passwords= generate_ passwords) python2. 7/site- packages/ tripleoclient/ workflows/ plan_management .py", line 86, in create_ deployment_ plan payload[ 'message' ])) Error: Exception creating plan: Error validating environment for plan non-ha: ERROR: The Resource Type (OS::TripleO: :Services: :ContrailWebui) could not be found.
File "/usr/lib/
ret_val = super(OpenStack
File "/usr/lib/
result = self.run_
File "/usr/lib/
ret_value = super(OpenStack
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
self.
File "/usr/lib/
new_tht_root, tht_root)
File "/usr/lib/
parsed_
File "/usr/lib/
generate_
File "/usr/lib/
'Exception creating plan: {}'.format(
WorkflowService
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 _deploy_ tripleo_ heat_templates_ tmpdir( stack, parsed_args) python2. 7/site- packages/ tripleoclient/ v1/overcloud_ deploy. py", line 423, in _deploy_ tripleo_ heat_templates_ tmpdir python2. 7/site- packages/ tripleoclient/ v1/overcloud_ deploy. py", line 454, in _deploy_ tripleo_ heat_templates args.networks_ file) python2. 7/site- packages/ tripleoclient/ workflows/ plan_management .py", line 140, in create_ plan_from_ templates passwords= generate_ passwords) python2. 7/site- packages/ tripleoclient/ workflows/ plan_management .py", line 86, in create_ deployment_ plan payload[ 'message' ])) Error: Exception creating plan: Error validating environment for plan non-ha: ERROR: The Resource Type (OS::TripleO: :Services: :ContrailTsn) could not be found.
self.
File "/usr/lib/
new_tht_root, tht_root)
File "/usr/lib/
parsed_
File "/usr/lib/
generate_
File "/usr/lib/
'Exception creating plan: {}'.format(
WorkflowService
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/ TSN_error. log
(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_