Bug 1656124
Summary: | [CI] TLS everywhere deployments fail with: Invalid input for field/attribute compact_services | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Waldemar Znoinski <wznoinsk> | |
Component: | openstack-tripleo-heat-templates | Assignee: | Raildo Mascena de Sousa Filho <rmascena> | |
Status: | CLOSED ERRATA | QA Contact: | Jeremy Agee <jagee> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 14.0 (Rocky) | CC: | alee, aschultz, hrybacki, kbasil, mburns, nkinder, nmanos, pgrist, rmascena, sclewis, wznoinsk | |
Target Milestone: | ga | Keywords: | TestBlocker, Triaged | |
Target Release: | 14.0 (Rocky) | Flags: | rmascena:
needinfo-
|
|
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | openstack-tripleo-heat-templates-9.0.1-0.20181013060906.el7ost | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1659464 1659596 (view as bug list) | Environment: | ||
Last Closed: | 2019-01-11 11:55:18 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: | ||||
Bug Depends On: | 1659464 | |||
Bug Blocks: |
Description
Waldemar Znoinski
2018-12-04 18:24:31 UTC
The issue here is as follows: * In THT, we construct data to be passed to novajoin for all the services to be configured. The data is passed as nova metadata fields. * There can be any number of these fields, but each field cannot exceed 256 bytes. * In particular, the services on a controller not related to a VIP are passed in a field called "compact_services" * If there are additional services added (as ODL does), we can exceed the 256 byte restriction. * We see that happen in the log snippet above .. BadRequest: resources.Controller: Invalid input for field/attribute compact_services. Value: {"ovs": ["internalapi"], "HTTP": ["ctlplane", "storage", "storagemgmt", "internalapi", "external", "management"], "libvirt-vnc": ["internalapi"], "rabbitmq": ["internalapi"], "odl": ["internalapi"], "mysql": ["internalapi"], "novnc-proxy": ["internalapi"], "neutron": ["internalapi"]}. u'{"ovs": ["internalapi"], "HTTP": ["ctlplane", "storage", "storagemgmt", "internalapi", "external", "management"], "libvirt-vnc": ["internalapi"], "rabbitmq": ["internalapi"], "odl": ["internalapi"], "mysql": ["internalapi"], "novnc-proxy": ["internalapi"], "neutron": ["internalapi"]}' is too long (HTTP 400) The solution to this problem is to instead send the services as individual entries, rather than collecting them as above. This requires changes to both THT to construct the new metadata to be passed, and novajoin to parse it correctly. The upstream review for the THT change is here: https://review.openstack.org/#/c/623316/ The upstream change to novajoin is being worked on. Novajoin change is here: https://review.openstack.org/#/c/624502/ TLS Job passed on puddle 2018-12-20.4: https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/opendaylight/view/odl-netvirt/job/DFG-opendaylight-odl-netvirt-14_director-rhel-virthost-3cont_2comp_1ipa-ipv4-vxlan-ha-tls-tempest/24/ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0045 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |