Project

General

Profile

Bug #17356

Upgrade to 3.2 get the following error

Added by Mario Gamboa over 4 years ago. Updated almost 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
medium
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

[DEBUG 2016-11-16 11:54:48 main] Exit with status code: 6 (signal was 6)
[ERROR 2016-11-16 11:54:48 main] Errors encountered during run:
[ERROR 2016-11-16 11:54:48 main] /usr/bin/grub2-mkimage -O x86_64-efi -d /usr/lib/grub/x86_64-efi -o /var/lib/tftpboot/grub2/grubx64.efi -p '' all_video boot btrfs cat chain configfile echo efifwsetup efinet ext2 fat font gfxmenu gfxterm gzio halt hfsplus iso9660 jpeg loadenv loopback lvm mdraid09 mdraid1x minicmd normal part_apple part_msdos part_gpt password_pbkdf2 png reboot search search_fs_uuid search_fs_file search_label serial sleep syslinuxcfg test tftp video xfs linux backtrace usb usbserial_common usbserial_pl2303 usbserial_ftdi usbserial_usbdebug linuxefi returned 1 instead of one of [0]
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/errors.rb:106:in `fail'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/exec.rb:160:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:204:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:in `block in perform_changes'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `each'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `perform_changes'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:335:in `block in thinmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:334:in `thinmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/gems/gems/kafo-0.9.8/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:31:in `evaluate_with_trigger'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
[ERROR 2016-11-16 11:54:48 main] /usr/share/gems/gems/kafo-0.9.8/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:34:in `method_missing'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in main'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
[ERROR 2016-11-16 11:54:48 main] /usr/bin/puppet:8:in `<main>'
[ERROR 2016-11-16 11:54:48 main] /Stage[main]/Foreman_proxy::Tftp/Exec[build-grub2-efi-image]/returns: change from notrun to 0 failed: /usr/bin/grub2-mkimage -O x86_64-efi -d /usr/lib/grub/x86_64-efi -o /var/lib/tftpboot/grub2/grubx64.efi -p '' all_video boot btrfs cat chain configfile echo efifwsetup efinet ext2 fat font gfxmenu gfxterm gzio halt hfsplus iso9660 jpeg loadenv loopback lvm mdraid09 mdraid1x minicmd normal part_apple part_msdos part_gpt password_pbkdf2 png reboot search search_fs_uuid search_fs_file search_label serial sleep syslinuxcfg test tftp video xfs linux backtrace usb usbserial_common usbserial_pl2303 usbserial_ftdi usbserial_usbdebug linuxefi returned 1 instead of one of [0]
[ERROR 2016-11-16 11:54:48 main] Could not set 'file' on ensure: No such file or directory - /var/lib/tftpboot/grub2/shim.efi20161116-31815-1tnd0gw.lock at 12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/tftp/copy_file.pp
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:186:in `rmdir'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:186:in `rmdir'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:178:in `ensure in locking'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:178:in `locking'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:38:in `block in initialize'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:134:in `create_tmpname'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:28:in `initialize'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:409:in `new'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:409:in `replace_file'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file.rb:798:in `write'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file/content.rb:150:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file/ensure.rb:65:in `block (2 levels) in <module:Puppet>'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/property.rb:197:in `call_valuemethod'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/property.rb:498:in `set'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file/ensure.rb:183:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:204:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:81:in `perform_changes'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:335:in `block in thinmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:334:in `thinmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/gems/gems/kafo-0.9.8/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:31:in `evaluate_with_trigger'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
[ERROR 2016-11-16 11:54:48 main] /usr/share/gems/gems/kafo-0.9.8/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:34:in `method_missing'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in main'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
[ERROR 2016-11-16 11:54:48 main] /usr/bin/puppet:8:in `<main>'
[ERROR 2016-11-16 11:54:48 main] Could not set 'file' on ensure: No such file or directory - /var/lib/tftpboot/grub2/shim.efi20161116-31815-1tnd0gw.lock at 12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/tftp/copy_file.pp
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:186:in `rmdir'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:186:in `rmdir'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:178:in `ensure in locking'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:178:in `locking'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:38:in `block in initialize'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:134:in `create_tmpname'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:28:in `initialize'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:409:in `new'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:409:in `replace_file'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file.rb:798:in `write'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file/content.rb:150:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file/ensure.rb:65:in `block (2 levels) in <module:Puppet>'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/property.rb:197:in `call_valuemethod'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/property.rb:498:in `set'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file/ensure.rb:183:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:204:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:81:in `perform_changes'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:335:in `block in thinmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:334:in `thinmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/gems/gems/kafo-0.9.8/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:31:in `evaluate_with_trigger'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
[ERROR 2016-11-16 11:54:48 main] /usr/share/gems/gems/kafo-0.9.8/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:34:in `method_missing'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in main'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
[ERROR 2016-11-16 11:54:48 main] /usr/bin/puppet:8:in `<main>'
[ERROR 2016-11-16 11:54:48 main] Wrapped exception:
[ERROR 2016-11-16 11:54:48 main] No such file or directory - /var/lib/tftpboot/grub2/shim.efi20161116-31815-1tnd0gw.lock
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:186:in `rmdir'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:186:in `rmdir'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:178:in `ensure in locking'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:178:in `locking'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:38:in `block in initialize'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:134:in `create_tmpname'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:28:in `initialize'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:409:in `new'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:409:in `replace_file'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file.rb:798:in `write'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file/content.rb:150:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file/ensure.rb:65:in `block (2 levels) in <module:Puppet>'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/property.rb:197:in `call_valuemethod'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/property.rb:498:in `set'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/type/file/ensure.rb:183:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:204:in `sync'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:81:in `perform_changes'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:335:in `block in thinmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:334:in `thinmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
[ERROR 2016-11-16 11:54:48 main] /usr/share/gems/gems/kafo-0.9.8/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:31:in `evaluate_with_trigger'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
[ERROR 2016-11-16 11:54:48 main] /usr/share/gems/gems/kafo-0.9.8/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:34:in `method_missing'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catalog'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in main'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
[ERROR 2016-11-16 11:54:48 main] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
[ERROR 2016-11-16 11:54:48 main] /usr/bin/puppet:8:in `<main>'
[ERROR 2016-11-16 11:54:48 main] /Stage[main]/Foreman_proxy::Tftp/Foreman_proxy::Tftp::Copy_file[/boot/efi/EFI/redhat/shim.efi]/File[/var/lib/tftpboot/grub2/shim.efi]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /var/lib/tftpboot/grub2/shim.efi20161116-31815-1tnd0gw.lock at 12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/tftp/copy_file.pp

katello.1.log katello.1.log 1.27 MB Mario Gamboa, 11/16/2016 06:10 AM

Related issues

Is duplicate of Katello - Bug #17639: Upgrade fails if /var/lib/tfpboot/grub2 is not pre-createdClosed2016-12-12

History

#1 Updated by Anonymous over 4 years ago

create the directory /var/lib/tftpboot/grub2 and give it to the foreman-proxy user and group, then try again.

#2 Updated by Mario Gamboa over 4 years ago

Thanks fixed

#3 Updated by Sven Vogel over 4 years ago

Hi,

fixed my problem with upgrade from 3.0 -> 3.2 too

question.

rights in /var/lib/tftpboot/ now
@total 140K
1260180 0 drwxr-xr-x 5 root root 110 Nov 24 22:50 .
67108998 4.0K drwxr-xr-x. 39 root root 4.0K Nov 24 22:31 ..
1195482 0 drwxr-xr-x 2 foreman-proxy root 150 Jul 6 17:41 boot
1260186 24K rw-r--r- 1 root root 21K Apr 16 2016 chain.c32
69765702 0 drwxr-xr-x 2 foreman-proxy foreman-proxy 39 Nov 24 22:54 grub2
1260185 28K rw-r--r- 1 root root 26K Apr 16 2016 memdisk
1195451 56K rw-r--r- 1 root root 54K Apr 16 2016 menu.c32
1260175 28K rw-r--r- 1 root root 27K Apr 16 2016 pxelinux.0
68362377 0 drwxr-xr-x 2 foreman-proxy root 87 Nov 19 15:07 pxelinux.cfg

should the other directory like boot or foreman-proxy the same username and group or should it also work to set grub 2 to foreman-proxy:root?

thanks

Sven

#4 Updated by Anonymous over 4 years ago

  • Category set to Installer
  • Status changed from New to Duplicate
  • Priority changed from High to Normal
  • Legacy Backlogs Release (now unused) deleted (162)

#5 Updated by Anonymous over 4 years ago

  • Is duplicate of Bug #16820: Upgrading Katello 3.1 to 3.2 Error with /usr/bin/grub2-mkimage added

#6 Updated by Anonymous over 4 years ago

  • Is duplicate of deleted (Bug #16820: Upgrading Katello 3.1 to 3.2 Error with /usr/bin/grub2-mkimage)

#7 Updated by Anonymous over 4 years ago

  • Is duplicate of Bug #17639: Upgrade fails if /var/lib/tfpboot/grub2 is not pre-created added

#8 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF