Bug 1721282
| Summary: | [osp14] Error validating plan with custom service ERROR: The Resource Type (OS::TripleO::Services::Dummy) could not be found. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alex Schultz <aschultz> |
| Component: | openstack-tripleo-common | Assignee: | Adriano Petrich <apetrich> |
| Status: | CLOSED EOL | QA Contact: | Alexander Chuzhoy <sasha> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 14.0 (Rocky) | CC: | achernet, amcleod, amodi, bartosz, dbecker, ebarrera, jappleii, jmelvin, jslagle, madgupta, mburns, morazi, pmannidi, pmorey, ramishra, slinaber |
| Target Milestone: | --- | Keywords: | TestOnly, Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-common-9.5.0-7.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1677230 | Environment: | |
| Last Closed: | 2020-08-26 20:59:41 UTC | Type: | --- |
| 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: | 1677230 | ||
| Bug Blocks: | |||
|
Description
Alex Schultz
2019-06-17 20:20:54 UTC
It's still failing. It's less verbose with that patch but still it can't find the resource.
(undercloud) [cloud-user@undercloud ~]$ openstack overcloud deploy --templates -e /usr/share/openstack-tripleo-heat-templates/environments/enable-swap.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/disable-telemetry.yaml -e /home/cloud-user/local_images.yaml -e /home/cloud-user/params.yaml -r roles_data.yaml
Removing the current plan files
Uploading new plan files
Temporary Swift GET/PUT URL parameters have successfully been updated.
Error validating environment for plan overcloud: ERROR: The Resource Type (OS::TripleO::Services::MyService) could not be found.
None
{u'status': u'FAILED', u'message': u'Error validating environment for plan overcloud: ERROR: The Resource Type (OS::TripleO::Services::MyService) could not be found.\nNone', u'result': u'Failure caused by error in tasks: notify_zaqar\n\n notify_zaqar [task_ex_id=6a07799d-40d9-412b-836b-de509e36a817] -> Workflow failed due to message status\n [wf_ex_id=46ad2627-8d55-4160-bbef-ea60b636468c, idx=0]: Workflow failed due to message status\n', u'swift_container': u'overcloud_ceph_ansible_fetch_dir'}
Exception updating plan: {u'status': u'FAILED', u'message': u'Error validating environment for plan overcloud: ERROR: The Resource Type (OS::TripleO::Services::MyService) could not be found.\nNone', u'result': u'Failure caused by error in tasks: notify_zaqar\n\n notify_zaqar [task_ex_id=6a07799d-40d9-412b-836b-de509e36a817] -> Workflow failed due to message status\n [wf_ex_id=46ad2627-8d55-4160-bbef-ea60b636468c, idx=0]: Workflow failed due to message status\n', u'swift_container': u'overcloud_ceph_ansible_fetch_dir'}
(undercloud) [cloud-user@undercloud ~]$ cat params.yaml
resource_registry:
OS::TripleO::Services::MyService: OS::Heat::None
parameter_defaults:
SELinuxMode: permissive
NovaComputeLibvirtType: qemu
DnsServers: ['1.1.1.1', '1.0.0.1']
ControllerCount: 1
ComputeCount: 1
Also fails when i set the service to a service file too, so doesn't seem related to that.
I think it's the update_parameters task definition of tripleo.parameters.update call in the plan_management.yaml. It's lacking the validate input param. I'll try and track that down. I think it fails in the next task[1] now. I've updated the patch upstream if you want to test. We would need it to be fixed in master too. [1] https://github.com/openstack/tripleo-common/blob/master/workbooks/plan_management.yaml#L307 According to our records, this should be resolved by openstack-tripleo-common-9.5.0-8.el7ost. This build is available now. |