Actions
Bug #7529
closedInteractive installer menus don't have deterministic ordering
Status:
Closed
Priority:
Normal
Assignee:
-
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1144056
Description of problem:
When running katello-installer -i, the order in which the installer reports its options changes on each run of the command.
Version-Release number of selected component (if applicable):
katello-installer-0.0.64-1.el6sat.noarch
How reproducible:
100%
Steps to Reproduce:
1. run katello-installer -i
2. exit the command
3. run katello-installer -i again
Actual results:
The menu items are in differing order each time the command is run, which confuses the end user.
# katello-installer -i Welcome to the Kafo installer! ------------------------------ This wizard will gather all required information. You can change any parameter to your needs. Ready to start? (y/n) y Main Config Menu 1. [✓] Configure foreman 2. [✓] Configure foreman_plugin_tasks 3. [✗] Configure foreman_plugin_puppetdb 4. [✓] Configure foreman_plugin_hooks 5. [✗] Configure foreman_plugin_chef 6. [✓] Configure certs 7. [✓] Configure katello 8. [✓] Configure capsule 9. [✗] Configure foreman_plugin_setup 10. [✗] Configure foreman_plugin_default_hostgroup 11. [✗] Configure foreman_plugin_templates 12. [✓] Configure foreman_plugin_discovery 13. [✓] Configure foreman_plugin_bootdisk 14. Display current config 15. Save and run 16. Cancel run without Saving Choose an option from the menu... ^CGot interrupt, exiting
# katello-installer -i Welcome to the Kafo installer! ------------------------------ This wizard will gather all required information. You can change any parameter to your needs. Ready to start? (y/n) y Main Config Menu 1. [✓] Configure capsule 2. [✗] Configure foreman_plugin_setup 3. [✗] Configure foreman_plugin_templates 4. [✗] Configure foreman_plugin_chef 5. [✓] Configure certs 6. [✓] Configure foreman_plugin_hooks 7. [✓] Configure foreman_plugin_bootdisk 8. [✓] Configure foreman 9. [✗] Configure foreman_plugin_default_hostgroup 10. [✓] Configure katello 11. [✓] Configure foreman_plugin_discovery 12. [✓] Configure foreman_plugin_tasks 13. [✗] Configure foreman_plugin_puppetdb 14. Display current config 15. Save and run 16. Cancel run without Saving Choose an option from the menu...
Expected results:
Menu items are placed in the same order on each invocation of the command.
Updated by Dominic Cleal over 10 years ago
- Subject changed from katello-installer's interactive installer doesn't have deterministic behavior on successive runs. to Interactive installer menus don't have deterministic ordering
- Description updated (diff)
Using kafo 0.6.4.
Updated by Dominic Cleal over 10 years ago
- Related to Bug #4177: Help output randomises the order of modules added
Updated by The Foreman Bot about 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/kafo/pull/103 added
- Pull request deleted (
)
Updated by Marek Hulán almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 3952b736b8d377ab7f0a35d27d642b76733939f8.
Actions