6 Replies Latest reply on Nov 18, 2010 8:33 AM by Steven Saksa

    Fedora 14 Image creation fails with aug_save

    Steven Saksa Newbie

      I ran it with trace and it failed in aug_save because unexpected end of file.  I ran the build again with -W option and have attached the log, it seems to have created a core but I don't know how to find it our do anything with it.  Is there no away to capture standard out or something??

       

      D, [2010-11-17T18:47:41.600136 #22198] DEBUG -- : Changing configuration files using augeas...

      T, [2010-11-17T18:47:41.670592 #22198] TRACE -- : Enabling coredump catching for augeas...

       

       

      I have also attached my appl file.  Let me know what else I need.

       

       

       

      # boxgrinder-build --trace jeos-f14.appl
      I, [2010-11-17T19:02:53.288299 #28477]  INFO -- : Building 'cacis-jeos-f14' appliance for i686 architecture.
      I, [2010-11-17T19:02:53.294037 #28477]  INFO -- : Resolving packages added to cacis-jeos-f14 appliance definition file...
      I, [2010-11-17T19:03:32.163927 #28477]  INFO -- : All additional packages for cacis-jeos-f14 appliance successfully resolved.
      I, [2010-11-17T19:03:32.164269 #28477]  INFO -- : Building cacis-jeos-f14 appliance...
      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `aug_save': unexpected end of file when reading from daemon (Guestfs::Error)
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `send'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `method_missing'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/guestfs-helper.rb:52:in `redirect_streams'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/guestfs-helper.rb:34:in `method_missing'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/augeas-helper.rb:64:in `edit'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/guestfs-helper.rb:238:in `augeas'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-rpm-based-os-plugin-0.0.7/lib/boxgrinder-build-rpm-based-os-plugin/rpm-based-os-plugin.rb:90:in `change_configuration'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-rpm-based-os-plugin-0.0.7/lib/boxgrinder-build-rpm-based-os-plugin/rpm-based-os-plugin.rb:52:in `build_with_appliance_creator'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/image-helper.rb:126:in `customize'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/guestfs-helper.rb:127:in `customize'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/image-helper.rb:125:in `customize'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-rpm-based-os-plugin-0.0.7/lib/boxgrinder-build-rpm-based-os-plugin/rpm-based-os-plugin.rb:46:in `build_with_appliance_creator'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-fedora-os-plugin-0.0.4/lib/boxgrinder-build-fedora-os-plugin/fedora-plugin.rb:39:in `execute'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/plugins/base-plugin.rb:124:in `run'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/appliance.rb:85:in `execute_os_plugin'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/appliance.rb:59:in `execute_plugin_chain'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/appliance.rb:70:in `create'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/bin/boxgrinder-build:72
              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in `call'
              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in `call'
              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:155:in `run'
              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/runner.rb:385:in `run_active_command'
              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
      closing guestfs handle 0xa478500 (state 0)

      # boxgrinder-build --trace jeos-f14.appl

      I, [2010-11-17T19:02:53.288299 #28477]  INFO -- : Building 'cacis-jeos-f14' appliance for i686 architecture.

      I, [2010-11-17T19:02:53.294037 #28477]  INFO -- : Resolving packages added to cacis-jeos-f14 appliance definition file...

      I, [2010-11-17T19:03:32.163927 #28477]  INFO -- : All additional packages for cacis-jeos-f14 appliance successfully resolved.

      I, [2010-11-17T19:03:32.164269 #28477]  INFO -- : Building cacis-jeos-f14 appliance...

      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `aug_save': unexpected end of file when reading from daemon (Guestfs::Error)

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

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

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

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

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

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

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

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

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/image-helper.rb:126:in `customize'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/guestfs-helper.rb:127:in `customize'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/helpers/image-helper.rb:125:in `customize'

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

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-fedora-os-plugin-0.0.4/lib/boxgrinder-build-fedora-os-plugin/fedora-plugin.rb:39:in `execute'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/plugins/base-plugin.rb:124:in `run'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/appliance.rb:85:in `execute_os_plugin'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/appliance.rb:59:in `execute_plugin_chain'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/lib/boxgrinder-build/appliance.rb:70:in `create'

              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.6.3/bin/boxgrinder-build:72

              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in `call'

              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in `call'

              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:155:in `run'

              from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/runner.rb:385:in `run_active_command'

              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

      closing guestfs handle 0xa478500 (state 0)