2 Replies Latest reply on Oct 28, 2010 7:06 AM by Marek Goldmann

    Augeas save failed on guestfs

    Tiago Pires Newbie

      Hi,

       

      I'm trying to build an EBS image of fedora 13, using the new EBS delivery plugin, but I get an error everytime. A small extract of the output follows (the entire log file and output can be found as attachments).

       

      The command executed was:

      nohup boxgrinder-build -V --trace Fedora13EC2-web-basic.appl -p ec2 -d ebs &

      Any help or suggestion is greatly welcome.

       

      Thanks,

       

      Tiago

       

      D, [2010-10-23T15:20:39.380681 #28523] DEBUG -- : Preparing guestfs...
      D, [2010-10-23T15:20:39.445510 #28523] DEBUG -- : Launching guestfs...
      D, [2010-10-23T15:23:08.058477 #28523] DEBUG -- : Uploading '/etc/resolv.conf'...
      D, [2010-10-23T15:23:08.089550 #28523] DEBUG -- : '/etc/resolv.conf' uploaded.
      D, [2010-10-23T15:23:08.089765 #28523] DEBUG -- : Changing configuration files using augeas...
      D, [2010-10-23T15:23:08.097492 #28523] DEBUG -- : File/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `aug_save': aug_save: Augeas save failed (Guestfs::Error)
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `send'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `method_missing'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:52:in `redirect_streams'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:34:in `method_missing'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/augeas-helper.rb:61:in `edit'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:203:in `augeas'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-rpm-based-os-plugin-0.0.4/lib/boxgrinder-build-rpm-based-os-plugin/rpm-based-os-plugin.rb:83:in `change_configuration'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-rpm-based-os-plugin-0.0.4/lib/boxgrinder-build-rpm-based-os-plugin/rpm-based-os-plugin.rb:52:in `build_with_appliance_creator'
               ... 14 levels...
              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/runner.rb:74:in `run!'
              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/delegates.rb:7:in `run!'
              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/import.rb:10
              from /usr/bin/boxgrinder-build:19
      '/etc/sysconfig/selinux' doesn't exists, skipping augeas changes...
      closing guestfs handle 0x9f700a8 (state 2)
      sending SIGTERM to process 4519
      kill_subprocess

      D, [2010-10-23T15:20:39.380681 #28523] DEBUG -- : Preparing guestfs...

      D, [2010-10-23T15:20:39.445510 #28523] DEBUG -- : Launching guestfs...

      D, [2010-10-23T15:23:08.058477 #28523] DEBUG -- : Uploading '/etc/resolv.conf'...

      D, [2010-10-23T15:23:08.089550 #28523] DEBUG -- : '/etc/resolv.conf' uploaded.

      D, [2010-10-23T15:23:08.089765 #28523] DEBUG -- : Changing configuration files using augeas...

      D, [2010-10-23T15:23:08.097492 #28523] DEBUG -- : File/usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `aug_save': aug_save: Augeas save failed (Guestfs::Error)

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `send'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `method_missing'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:52:in `redirect_streams'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:34:in `method_missing'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/augeas-helper.rb:61:in `edit'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:203:in `augeas'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-rpm-based-os-plugin-0.0.4/lib/boxgrinder-build-rpm-based-os-plugin/rpm-based-os-plugin.rb:83:in `change_configuration'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-rpm-based-os-plugin-0.0.4/lib/boxgrinder-build-rpm-based-os-plugin/rpm-based-os-plugin.rb:52:in `build_with_appliance_creator'

               ... 14 levels...

              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/runner.rb:74:in `run!'

              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/delegates.rb:7:in `run!'

              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/import.rb:10

              from /usr/bin/boxgrinder-build:19

      '/etc/sysconfig/selinux' doesn't exists, skipping augeas changes...

      closing guestfs handle 0x9f700a8 (state 2)

      sending SIGTERM to process 4519

      kill_subprocess