3 Replies Latest reply: Nov 17, 2010 1:02 PM by Marek Goldmann RSS

    Prblem when trying to convert an appliance image to EC2 Format

    Younes Yahyaoui Novice

      Hello,

       

      when trying to build an AMI from a spec file the following Error was occured:

       

       

      [root@ip-10-112-191-22 appliances]# boxgrinder-build --trace  /mnt/appliances/jbossesb.appl
      I, [2010-11-17T10:24:38.602409 #8270]  INFO -- : Building 'jbossesb' appliance for i686 architecture.
      I, [2010-11-17T10:24:38.602971 #8270]  INFO -- : Deliverables for fedora operating system plugin exists, skipping.
      [root@ip-10-112-191-22 appliances]# boxgrinder-build --trace  /mnt/appliances/jbossesb.appl  -p ec2
      I, [2010-11-17T10:24:48.450888 #8274]  INFO -- : Building 'jbossesb' appliance for i686 architecture.
      I, [2010-11-17T10:24:48.451514 #8274]  INFO -- : Deliverables for fedora operating system plugin exists, skipping.
      I, [2010-11-17T10:24:48.662286 #8274]  INFO -- : Converting jbossesb appliance image to EC2 format...
      /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-ec2-platform-plugin-0.0.5/lib/boxgrinder-build-ec2-platform-plugin/ec2-plugin.rb:249:in `change_configuration'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-ec2-platform-plugin-0.0.5/lib/boxgrinder-build-ec2-platform-plugin/ec2-plugin.rb:108:in `execute'
               ... 13 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
      closing guestfs handle 0x9a882b0 (state 0)
      
      
      
      

       

       

      [root@ip-10-112-191-22 appliances]# boxgrinder-build --trace  /mnt/appliances/jbossesb.appl
      I, [2010-11-17T10:24:38.602409 #8270]  INFO -- : Building 'jbossesb' appliance for i686 architecture.
      I, [2010-11-17T10:24:38.602971 #8270]  INFO -- : Deliverables for fedora operating system plugin exists, skipping.
      [root@ip-10-112-191-22 appliances]# boxgrinder-build --trace  /mnt/appliances/jbossesb.appl  -p ec2
      I, [2010-11-17T10:24:48.450888 #8274]  INFO -- : Building 'jbossesb' appliance for i686 architecture.
      I, [2010-11-17T10:24:48.451514 #8274]  INFO -- : Deliverables for fedora operating system plugin exists, skipping.
      I, [2010-11-17T10:24:48.662286 #8274]  INFO -- : Converting jbossesb appliance image to EC2 format...
      /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-ec2-platform-plugin-0.0.5/lib/boxgrinder-build-ec2-platform-plugin/ec2-plugin.rb:249:in `change_configuration'
              from /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-ec2-platform-plugin-0.0.5/lib/boxgrinder-build-ec2-platform-plugin/ec2-plugin.rb:108:in `execute'
               ... 13 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
      closing guestfs handle 0x9a882b0 (state 0)

      any idea please?

       

      --regards

       

      younes