Uploaded image for project: 'BoxGrinder Build'
  1. BoxGrinder Build
  2. BGBUILD-353

Images not bootable on new type of AWS instances

    Details

    • Steps to Reproduce:
      Hide

      boxgrinder-build cybaea-base.appl --trace -p ec2 -d ami
      Launch from AWS console
      Watch it not pass systems checks

      Show
      boxgrinder-build cybaea-base.appl --trace -p ec2 -d ami Launch from AWS console Watch it not pass systems checks

      Description

      Launched image on AWS (which works with libvirt) but it hangs. mgoldmann on IRC said '/dev/xvdc wasn't mounted and relabelinng requires to have mounted disks' and suggested a bug report. [Warning: newbie with .appl files so I may have done something silly]

      [10:25] cybaea that one is still running and still initializing status checks
      [10:25] cybaea works on my machine with libvirt
      [10:25] mgoldmann yes, /dev/xvdc wasn't mounted and relabelinng requires to have mounted disks
      [10:25] mgoldmann can you log in to that instance?
      [10:25] mgoldmann ah, you cannot
      [10:25] cybaea no
      [10:25] mgoldmann it's in emergency mode
      [10:26] mgoldmann cybaea: please file a new ticket attaching you appliance
      [10:26] mgoldmann https://issues.jboss.org/secure/CreateIssue.jspa?pid=12310920&issuetype=1
      [10:26] mgoldmann appliance definition file of course
      [10:26] cybaea The .appl?

      The running instance is

      --------
      AMI: Unnamed (ami-1e8d5277)

      Zone: us-east-1c
      Security Groups: default

      Type: m1.small
      State: running

      Scheduled Events: No scheduled events
      Owner: 570032957856

      VPC ID: -
      Subnet ID: -

      Source/Dest. Check:
      Virtualization: paravirtual

      Placement Group:
      Reservation: r-64a05e07

      RAM Disk ID: -
      Platform: -

      Key Pair Name: aws2
      Kernel ID: aki-427d952b

      Monitoring: basic
      AMI Launch Index: 0

      Elastic IP: -
      Root Device:

      Root Device Type: instance store
      Tenancy: default
      Lifecycle: normal
      Block Devices:
      Network Interfaces:

      Public DNS: ec2-50-19-53-233.compute-1.amazonaws.com
      Private DNS: ip-10-111-67-127.ec2.internal

      Private IP Address: 10.111.67.127
      Launch Time: 2012-03-17 10:17 GMT (less than an hour)
      State Transition Reason:
      Termination Protection: Disabled
      --------

      Instance created with boxgrinder-build cybaea-base.appl --trace -p ec2 -d ami

      --------
      name: cybaea.base
      summary: Base Fedora system
      version: 0
      release: 4
      packages:

      • @base
      • yum
      • openssh-server
      • openssh-clients
      • system-config-firewall-base
      • sudo
      • acpid
        default_repos: true
        os:
        name: fedora
        version: 16
        password: cybaea
        hardware:
        partitions:
        "/":
        size: 2
        type: ext4
        "/home":
        size: 2
        type: ext4
        files:
        "/":
      • "opt/CYBAEA/setup/services.sh"
      • "opt/CYBAEA/setup/users.sh"
        post:
        base:
      • "echo 'base' > /etc/platform"
      • "chown -R root:root /opt/CYBAEA"
      • "/bin/bash /opt/CYBAEA/setup/services.sh"
      • "/bin/bash /opt/CYBAEA/setup/users.sh"
        vmware:
      • "echo 'vmware' > /etc/platform"
        virtualpc:
      • "echo 'virtualpc' > /etc/platform"
        virtualbox:
      • "echo 'virtualbox' > /etc/platform"
        ec2:
      • "echo 'ec2' > /etc/platform"
        --------

      I assume there will be a place to attach the two files later...

        Gliffy Diagrams

          Attachments

          1. boxgrinder-build.out
            775 kB
          2. cybaea-base.appl
            0.8 kB
          3. opt.tar
            10 kB
          4. system.log
            22 kB

            Activity

              People

              • Assignee:
                msavy Marc Savy
                Reporter:
                cybaea Allan Engelhardt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: