Unable to build new AWS RHEL image

Kevin Sample's Avatar

Kevin Sample

10 Sep, 2015 04:02 PM

Fails on Chef run at scalarizr install recipe:

Message: role-builder-step.log: [2015-09-10T11:57:46-04:00] INFO: Forking chef instance to converge... [2015-09-10T11:57:46-04:00] INFO: *** Chef 12.1.2 *** [2015-09-10T11:57:46-04:00] INFO: Chef-client pid: 1744 [2015-09-10T11:57:54-04:00] INFO: Setting the run_list to ["recipe[base]", "recipe[scalarizr]"] from CLI options [2015-09-10T11:57:54-04:00] INFO: Run List is [recipe[base], recipe[scalarizr]] [2015-09-10T11:57:54-04:00] INFO: Run List expands to [base, scalarizr] [2015-09-10T11:57:54-04:00] INFO: Starting Chef Run for ip-172-31-30-199.ec2.internal [2015-09-10T11:57:54-04:00] INFO: Running start handlers [2015-09-10T11:57:54-04:00] INFO: Start handlers complete. [2015-09-10T11:57:54-04:00] INFO: Processing yum_package[ntp] action install (ntp::default line 21) [2015-09-10T11:57:58-04:00] INFO: Processing service[ntpd] action enable (ntp::default line 24) [2015-09-10T11:57:58-04:00] INFO: service[ntpd] enabled [2015-09-10T11:57:58-04:00] INFO: Processing service[ntpd] action start (ntp::default line 24) [2015-09-10T11:57:59-04:00] INFO: service[ntpd] started [2015-09-10T11:57:59-04:00] INFO: Processing remote_file[/tmp/chef-solo/cookbooks/install_scalarizr.sh] action create (scalarizr::default line 10) [2015-09-10T11:57:59-04:00] INFO: remote_file[/tmp/chef-solo/cookbooks/install_scalarizr.sh] created file /tmp/chef-solo/cookbooks/install_scalarizr.sh [2015-09-10T11:57:59-04:00] INFO: remote_file[/tmp/chef-solo/cookbooks/install_scalarizr.sh] updated file contents /tmp/chef-solo/cookbooks/install_scalarizr.sh [2015-09-10T11:57:59-04:00] INFO: remote_file[/tmp/chef-solo/cookbooks/install_scalarizr.sh] mode changed to 1274 [2015-09-10T11:57:59-04:00] INFO: Processing execute[installing scalarizr] action run (scalarizr::default line 15)  ================================================================================ Error executing action run on resource 'execute[installing scalarizr]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of /tmp/chef-solo/cookbooks/install_scalarizr.sh ---- STDOUT: STDERR: LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch is not supported. ---- End output of /tmp/chef-solo/cookbooks/install_scalarizr.sh ---- Ran /tmp/chef-solo/cookbooks/install_scalarizr.sh returned 1 Resource Declaration: --------------------- # In /tmp/chef-solo/cookbooks/scalarizr/recipes/default.rb   15: execute "installing scalarizr" do  16: command node['scalarizr']['script_path']  17: end  18:  Compiled Resource: ------------------ # Declared in /tmp/chef-solo/cookbooks/scalarizr/recipes/default.rb:15:in `from_file'  execute("installing scalarizr") do  action "run"  retries 0  retry_delay 2  default_guard_interpreter :execute  command "/tmp/chef-solo/cookbooks/install_scalarizr.sh"  backup 5  returns 0  declared_type :execute  cookbook_name :scalarizr  recipe_name "default" end  [2015-09-10T11:57:59-04:00] INFO: Running queued delayed notifications before re-raising exception [2015-09-10T11:57:59-04:00] ERROR: Running exception handlers [2015-09-10T11:57:59-04:00] ERROR: Exception handlers complete [2015-09-10T11:57:59-04:00] FATAL: Stacktrace dumped to /tmp/chef-solo/cookbooks/chef-stacktrace.out [2015-09-10T11:57:59-04:00] ERROR: executeinstalling scalarizr had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of /tmp/chef-solo/cookbooks/install_scalarizr.sh ---- STDOUT: STDERR: LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch is not supported. ---- End output of /tmp/chef-solo/cookbooks/install_scalarizr.sh ---- Ran /tmp/chef-solo/cookbooks/install_scalarizr.sh returned 1 [2015-09-10T11:57:59-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

  1. 1 Posted by Nick Demyanchuk on 18 Sep, 2015 12:03 PM

    Nick Demyanchuk's Avatar

    Kevin,

    Our engineers are working on this problem. Sorry for the inconvinience, we'll let you know when fix is ready.

    Regards,
    Nick.

  2. 2 Posted by Hennadii Stas on 30 Sep, 2015 01:36 PM

    Hennadii Stas's Avatar

    Hello,

    We've released a fix regarding this issue, Scalarizr install should be working.

    Regards,
    Hennadii

  3. Kevin Sample closed this discussion on 31 Mar, 2016 04:56 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

02 Jul, 2019 07:54 PM
07 Jun, 2019 07:12 PM
02 May, 2019 04:04 PM
28 Mar, 2019 05:24 PM
22 Feb, 2019 08:11 PM