Bug 1644917
| Summary: | config-download takes hours to complete | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Lars Kellogg-Stedman <lars> | ||||
| Component: | python-tripleoclient | Assignee: | James Slagle <jslagle> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Gurenko Alex <agurenko> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 13.0 (Queens) | CC: | aschultz, emacchi, hbrock, jslagle, lars, mburns, sbaker | ||||
| Target Milestone: | --- | Keywords: | Triaged, ZStream | ||||
| Target Release: | --- | ||||||
| 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: | 2019-08-07 15:36:59 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: | |||||||
| Bug Blocks: | 1644920 | ||||||
| Attachments: |
|
||||||
|
Description
Lars Kellogg-Stedman
2018-10-31 22:06:44 UTC
Is that captured output from when you ran the command with --debug? Either way, can you try the command with --debug, save the output and attach it for us to examine? Even a partial log would be helpful. It shouldn't take more than a few minutes, so what you've captured after 5 or so minutes would probably be helpful for us to see what is happening. How many nodes are in this deployment? The was --debug output. I'll re-run the download and attach the log to this bz shortly. There are 3 controllers, 2 network hosts, and 15 compute nodes in this deployment. Let us know when the log is available. Created attachment 1500081 [details]
output of config download --debug
This is the log from running `openstack --debug overcloud config download --config-dir config` and waiting about 10 minutes.
can you add a name property to each of the OS::Heat::SoftwareDeploymentGroup resources in your templates/postconfig.yaml?
I think there is a performance issue with trying to fetch the name dynamically if it's not set. The name can just be the name of the resource.
So as an example, it would look like:
KeystoneFederationDeployments:
type: OS::Heat::SoftwareDeploymentGroup
depends_on: CreateCloudYamlDeployments
properties:
name: KeystoneFederationDeployments # <------- new line
servers: {get_param: servers}
That needs to be done for each OS::Heat::SoftwareDeploymentGroup in your custom template.
I removed most of the SoftwareDeploymentGroups from the configuration, and added a name to the remaining one [1]. This seems to have fixed things up: just now, running 'config download' completed in under two minutes. [1]: https://github.com/CCI-MOC/rhosp-director-config/blob/master/templates/postconfig.yaml We've improved the config download call to do something a bit more optimal if the name is not configured on a SoftwareDeploymentGroup. It's still a good idea to use a name on the SoftwareDeploymentGroup as that will use the best path in the code. *** This bug has been marked as a duplicate of bug 1738344 *** |