Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old style kickstart generation. #28

Merged
merged 1 commit into from
Sep 23, 2016

Conversation

jabl
Copy link
Contributor

@jabl jabl commented Sep 14, 2016

Even if hosts_file_use_custom_inventory == True, skipping over all the
hosts in the old-style kickstart generation takes a long time. In our
environment, running

ansible-playbook install.yml --tags=pxe

shows the following timings:

Wednesday 14 September 2016 10:10:12 +0300 (0:00:01.322) 0:02:16.558 ***

ansible-role-pxe_config : copy over kickstart file (old style) --------- 34.82s
ansible-role-pxe_config : populate hosts file from template with PXE hosts -- 20.68s
ansible-role-pxe_config : create pxe boot data json file --------------- 19.28s
ansible-role-pxe_config : create_dhcp_configs -------------------------- 19.10s
ansible-role-pxe_config : copy over kickstart file (new and faster style) --- 9.45s

(top 5 only, all other tasks are below 2s.)

Even if hosts_file_use_custom_inventory == True, skipping over all the
hosts in the old-style kickstart generation takes a long time. In our
environment, running

ansible-playbook install.yml --tags=pxe

shows the following timings:

Wednesday 14 September 2016  10:10:12 +0300 (0:00:01.322)       0:02:16.558 ***
===============================================================================
ansible-role-pxe_config : copy over kickstart file (old style) --------- 34.82s
ansible-role-pxe_config : populate hosts file from template with PXE hosts -- 20.68s
ansible-role-pxe_config : create pxe boot data json file --------------- 19.28s
ansible-role-pxe_config : create_dhcp_configs -------------------------- 19.10s
ansible-role-pxe_config : copy over kickstart file (new and faster style) --- 9.45s

(top 5 only, all other tasks are below 2s.)
@martbhell
Copy link
Contributor

I'd like to first get the new and shiny custom-inventory.py in use in fgci-ansible's master branch and have us check on the other fgci sites how it looks before we change the default.

@martbhell
Copy link
Contributor

I've put the question in the meeting minutes for the weekly Friday meeting. I can't check this for sites as I don't have access (nor would I like to have) to configure their install nodes. If there are no objections we're merging this on Friday to be included in the release.

@martbhell martbhell merged commit 188aeae into CSCfi:master Sep 23, 2016
@martbhell martbhell removed the review label Sep 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants