Bug 1445419
| Summary: | Deployment with neutron-ml2-cisco-nexus-ucsm fails, resources.AllNodesExtraConfig: "" is not a map | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Sid Ahmed Sadouni <sisadoun> | ||||
| Component: | rhosp-director | Assignee: | Angus Thomas <athomas> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Amit Ugol <augol> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 10.0 (Newton) | CC: | aschultz, atelang, dbecker, mburns, morazi, ohochman, rhel-osp-director-maint, sadasu, sclewis, shardy, sisadoun | ||||
| Target Milestone: | --- | Keywords: | Triaged, ZStream | ||||
| Target Release: | 10.0 (Newton) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-09-21 14:37:51 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
Sid Ahmed Sadouni
2017-04-25 15:57:56 UTC
After some discussion & debugging on IRC, it seems this may be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1415103 I think the error is because of this mistake in overcloud.j2.yaml: https://review.openstack.org/#/c/424079/3/overcloud.j2.yaml If re-testing with that fix manually applied solves the problem, I think this can be closed as a duplicate Hi I applied this modification overcloud.j2.yaml : https://review.openstack.org/#/c/424079/3/overcloud.j2.yaml And we don't have the same error, but another one : Unknown Property ObjectStorage log form heat-engine : 2017-04-26 13:11:51.479 2706 DEBUG heat.engine.stack [req-404bfa60-7a28-4f62-a25b-fa1a9703e2ca 32bbdec68b754dce80665f3f63a5d9b5 246f2a00a92649b0bb059f1e6fd65122 - - -] Property error: resources.AllNodesExtraConfig.properties: Unknown Property ObjectStorage validate /usr/lib/python2.7/site-packages/heat/engine/stack.py:831 We have a deployment without other roles than controller and compute node FYI. > Unknown Property ObjectStorage
I suspect this may be an issue with the manual application of the patch, please can you paste or attach the full modified overcloud.j2.yaml, thanks!
Created attachment 1274270 [details]
overcloud.j2.yaml
The patch I referenced has not been correctly applied:
properties:
{% for role in roles %}
{{role.name}}: {get_attr: [{{role.name}}, attributes, nova_server_resource]}
{% endfor %}
Should be
properties:
servers:
{% for role in roles %}
{{role.name}}: {get_attr: [{{role.name}}, attributes, nova_server_resource]}
{% endfor %}
Note "servers" is the property expected by the ExtraConfig template you are trying to use, which is why this is still failing.
Please can you re-test with https://review.openstack.org/#/c/424079/3/overcloud.j2.yaml correctly applied, thanks!
Sorry should be:
properties:
servers:
{% for role in roles %}
{{role.name}}: {get_attr: [{{role.name}}, attributes, nova_server_resource]}
{% endfor %}
(corrected indentation)
Or alternatively copy/paste the AllNodesExtraConfig resource definition from here:
https://github.com/openstack/tripleo-heat-templates/blob/master/overcloud.j2.yaml#L661
Or, test the package verified as fixing https://bugzilla.redhat.com/show_bug.cgi?id=1415103
Thanks!
I applied the patch without being really focused. Sorry for that. It's now starting the deployment without complaining about the original error in subject. So I think that we can say that https://review.openstack.org/#/c/424079/3/overcloud.j2.yaml is OK for our case. Thanks If this issue is taken care of, should this bugzilla be closed? |