Actions
Bug #24553
closedPuppetCA migration does not work
Description
Hey,
I am unsure about migration and how this is supposed to work, but in my case I have no YAML file available and it's quitting with:
Running migrations... migrate_monolithic_config migrate_dns_settings migrate_dhcp_settings migrate_virsh_to_libvirt_config migrate_puppet_settings migrate_realm_settings migrate_autosign_setting migrate_puppet_ca_settings rake aborted! Errno::ENOENT: No such file or directory @ rb_sysopen - /tmp/d20180807-31392-qmw94z/migrate_puppet_ca_settings/src/settings.d/puppetca_hostname_whitelisting.yml /home/lzap/work/smart-proxy/extra/migrations/2018062000000_migrate_puppetca_settings.rb:9:in `migrate' /home/lzap/work/smart-proxy/extra/migrate_settings.rb:151:in `block in execute_migrations' /home/lzap/work/smart-proxy/extra/migrate_settings.rb:140:in `each' /home/lzap/work/smart-proxy/extra/migrate_settings.rb:140:in `execute_migrations' /home/lzap/work/smart-proxy/extra/migrate_settings.rb:133:in `migrate' /home/lzap/work/smart-proxy/Rakefile:52:in `block (2 levels) in <top (required)>' /home/lzap/work/smart-proxy/Rakefile:49:in `block in <top (required)>' /home/lzap/.rbenv/versions/2.5.1/bin/bundle:23:in `load' /home/lzap/.rbenv/versions/2.5.1/bin/bundle:23:in `<main>' Tasks: TOP => migrate_settings
Not sure if this file should be skipped if missing.
Updated by Lukas Zapletal over 6 years ago
- Related to Refactor #23799: Make PuppetCA pluggable added
Updated by Lukas Zapletal over 6 years ago
This helped:
touch config/settings.d/puppetca_hostname_whitelisting.yml
Updated by Julian Todt over 6 years ago
- Status changed from New to Assigned
- Assignee set to Julian Todt
It should create the file if it doesn't exist like you fixed it by yourself. Will update the migration asap. Thanks for the report.
Updated by The Foreman Bot over 6 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/601 added
Updated by Julian Todt over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 868366c471a8268399c023074b6f5cac344ac7c6.
Updated by Ewoud Kohl van Wijngaarden over 6 years ago
- Target version set to 1.20.0
- Fixed in Releases 1.20.0 added
- Fixed in Releases deleted (
)
Actions