8 Replies Latest reply on Apr 5, 2012 12:21 AM by Avi Miller-Oracle

    Boot loader didn't return any data!

    User641568-Oracle
      I have set up an OVM 3.0.3 server at home with internal disks as its repository. I have another machine where the VM manager is configured. Since I have no other app server running at home, I use the VM Manager server as my app server. Still I am not able to create a virtual machine with network boot URL specified as this: http://192.168.1.20:7001/consolehelp/el48 - I have mounted the iso file of the Oracle Enterprise Linux 4.8 DVD (with -o loop) in this directory. See below the commands I have executed from the VM server (gramvs) to the VM manager(192.168.1.20):

      [root@gramvs VirtualMachines]# date
      Fri Mar 16 21:17:10 EDT 2012
      [root@gramvs VirtualMachines]# ssh 192.168.1.20 df -k | egrep "R4|el48"
      root@192.168.1.20's password:
      /root32/stage/OS/OEL48_64/Enterprise-R4-U8-x86_64-dvd.iso
      2669604 2669604 0 100% /u01/app/oracle/Middleware/wlserver_10.3/server/lib/consoleapp/consolehelp/el48
      [root@gramvs VirtualMachines]# ls -l README-en.html
      ls: README-en.html: No such file or directory
      [root@gramvs VirtualMachines]# wget http://192.168.1.20:7001/consolehelp/el48/README-en.html
      --2012-03-16 21:17:47-- http://192.168.1.20:7001/consolehelp/el48/README-en.html
      Connecting to 192.168.1.20:7001... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 6102 (6.0K) [text/html]
      Saving to: `README-en.html'

      100%[============================================================================>] 6,102 --.-K/s in 0s

      2012-03-16 21:17:47 (330 MB/s) - `README-en.html' saved [6102/6102]

      [root@gramvs VirtualMachines]# ls -l README-en.html
      -rw-r--r-- 1 root root 6102 May 20 2009 README-en.html
      [root@gramvs VirtualMachines]# ssh 192.168.1.20 ls -l /u01/app/oracle/Middleware/wlserver_10.3/server/lib/consoleapp/consolehelp/el48
      root@192.168.1.20's password:
      total 115
      -r-xr-xr-x. 3 root root 248 May 20 2009 autorun
      -r--r--r--. 3 root root 5165 May 20 2009 blafdoc.css
      dr-xr-xr-x. 4 root root 2048 May 21 2009 Enterprise
      -r--r--r--. 13 root root 7037 May 20 2009 EULA
      -r--r--r--. 3 root root 7037 May 20 2009 eula.en_US
      -r--r--r--. 3 root root 3334 May 20 2009 eula.py
      -r--r--r--. 13 root root 18390 May 20 2009 GPL
      dr-xr-xr-x. 4 root root 2048 May 21 2009 images
      dr-xr-xr-x. 2 root root 2048 May 21 2009 isolinux
      -r--r--r--. 3 root root 3548 May 20 2009 README-en
      -r--r--r--. 3 root root 6102 May 20 2009 README-en.html
      -r--r--r--. 3 root root 9927 May 20 2009 RELEASE-NOTES-en
      -r--r--r--. 3 root root 13565 May 20 2009 RELEASE-NOTES-en.html
      -r--r--r--. 3 root root 9927 May 20 2009 RELEASE-NOTES-U8-en
      -r--r--r--. 3 root root 13565 May 20 2009 RELEASE-NOTES-U8-en.html
      -r--r--r--. 13 root root 1954 May 20 2009 RPM-GPG-KEY
      -r--r--r--. 3 root root 1954 May 20 2009 RPM-GPG-KEY-oracle
      dr-xr-xr-x. 2 root root 2048 May 21 2009 SRPMS
      -r--r--r--. 3 root root 105 May 20 2009 supportinfo
      -r--r--r--. 1 root root 4463 May 21 2009 TRANS.TBL
      [root@gramvs VirtualMachines]# date
      Fri Mar 16 21:19:02 EDT 2012

      ==================

      From the above, I know that the network is fine (ssh works) and the URL is fine too (wget works). Yet when I try to boot the guest from VM Manager, it immediately aborts with "Boot loader didn't return any data!" Please see below:

      ...
      Starting operation 'Virtual Machine Start' on object '0004fb000006000002b172ab7bc0fbe8 (oemel48)'
      Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: start_vm to server: gramvs.home.gram.com failed. OVMAPI_4004E Server Failed Command: start_vm 0004fb00000300008cfb55d16e006e8b 0004fb000006000002b172ab7bc0fbe8, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command ['xm', 'create', '/OVS/Repositories/0004fb00000300008cfb55d16e006e8b/VirtualMachines/0004fb000006000002b172ab7bc0fbe8/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
      , stdout: Using config file "/OVS/Repositories/0004fb00000300008cfb55d16e006e8b/VirtualMachines/0004fb000006000002b172ab7bc0fbe8/vm.cfg".
      ...

      The strange thing is when I installed the VM server a couple of months back, I managed to install a couple of OEL guests using exactly the same method (mounting the ISO file into a directory under the same place and using the URL to VM manager server).

      Anyone could see what I am doing wrong here? Any help would greatly be appreciated. Thanks!

      - Govardhanan.
        • 1. Re: Boot loader didn't return any data!
          876211
          Hi,

          I have a very similar issue. I've managed to create PVM guests under 3.0.1 and upgraded via YUM to 3.0.3. I now have 2 Hosts and created a guest Server that I downloaded from the Oracle Software Cloud. This boots fine and is accessible. I cannot create a standalone guest (I want to create a RHEL 5 Server) as this gives me the same error. The Server Pool has one Server Pool LUN and one Repo for the Guests.

          I can create the guest and and add a small boot ISO from the ISO Repositiory, which I then intent to Kickstart the rest of the installation. When starting the Guest, the following is received:

          Starting operation 'Virtual Machine Start' on object '0004fb0000060000951b61a25a250dc9 (csitestvl14)'
          Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: gbahel71.gb.xxxxxx.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@10.xxx.xxx.xxx:8899/api/1 start_vm 0004fb00000300009edc3a187ae931f0 0004fb0000060000951b61a25a250dc9, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command ['xm', 'create', '/OVS/Repositories/0004fb00000300009edc3a187ae931f0/VirtualMachines/0004fb0000060000951b61a25a250dc9/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
          , stdout: Using config file "/OVS/Repositories/0004fb00000300009edc3a187ae931f0/VirtualMachines/0004fb0000060000951b61a25a250dc9/vm.cfg".

          Edited by: LeeUK on 20-Mar-2012 08:54
          • 2. Re: Boot loader didn't return any data!
            Avi Miller-Oracle
            LeeUK wrote:
            I can create the guest and and add a small boot ISO from the ISO Repositiory, which I then intent to Kickstart the rest of the installation. When starting the Guest, the following is received:
            You can't boot a PVM guest from an ISO. It can only boot from a Network Boot Path.
            • 3. Re: Boot loader didn't return any data!
              Calintz
              Hi guys,

              I have the same issue here. Encountered 12hours ago. Anyone got any solution on how to install RHEL6.2 on a XEN PVM? I logged a case to Oracle Support 9hours ago. However, they have not get backup to me yet. According to the OVM guest compatibility check list, paravirtualize VM can support RHEL 6.x guest OS. I try NFS, HTTP and FTP. None of them works to boot Linux bootloader from network boot path.
              • 4. Re: Boot loader didn't return any data!
                Avi Miller-Oracle
                user2647970 wrote:
                I have the same issue here. Encountered 12hours ago. Anyone got any solution on how to install RHEL6.2 on a XEN PVM? I logged a case to Oracle Support 9hours ago. However, they have not get backup to me yet. According to the OVM guest compatibility check list, paravirtualize VM can support RHEL 6.x guest OS. I try NFS, HTTP and FTP. None of them works to boot Linux bootloader from network boot path.
                You should verify that your guest is making HTTP requests properly. Check the access_log on your HTTP server and make sure the files it is looking for are there and are returning a status of 200.
                • 5. Re: Boot loader didn't return any data!
                  Calintz
                  The HTTP access is alright. I can browse all files from a web browser. I even create /images/xen directory and copy over the vmlinuz and initrd image to it. As I read from one thread, it mentions that xen directory has been removed from the installer CDROM in RHEL ver 6.
                  • 6. Re: Boot loader didn't return any data!
                    Avi Miller-Oracle
                    user2647970 wrote:
                    The HTTP access is alright. I can browse all files from a web browser. I even create /images/xen directory and copy over the vmlinuz and initrd image to it. As I read from one thread, it mentions that xen directory has been removed from the installer CDROM in RHEL ver 6.
                    We updated pyGRUB to look in the right place for the RHEL6 and OL6 media. Again, check the access_log on your webserver to see if your Oracle VM Server is even managing to get to the webserver. Perhaps there is a DNS issue? Or firewall that's blocking access?
                    • 7. Re: Boot loader didn't return any data!
                      Calintz
                      Hi, below is the HTTP logs from Windows IIS

                      #Software: Microsoft Internet Information Services 6.0
                      #Version: 1.0
                      #Date: 2012-04-04 16:15:40
                      #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
                      2012-04-04 16:15:40 W3SVC1 172.21.40.12 GET /install/rhel-server-6.2-x86_64-dvd/images/xen/vmlinuz - 80 - 172.21.40.188 urlgrabber/3.9.1 404 3 50
                      2012-04-04 16:15:40 W3SVC1 172.21.40.12 GET /install/rhel-server-6.2-x86_64-dvd/boot/i386/vmlinuz-xen - 80 - 172.21.40.188 urlgrabber/3.9.1 404 0 3
                      2012-04-04 16:15:40 W3SVC1 172.21.40.12 GET /install/rhel-server-6.2-x86_64-dvd/boot/x86_64/vmlinuz-xen - 80 - 172.21.40.188 urlgrabber/3.9.1 404 0 3
                      2012-04-04 16:15:40 W3SVC1 172.21.40.12 GET /install/rhel-server-6.2-x86_64-dvd/current/images/netboot/xen/vmlinuz - 80 - 172.21.40.188 urlgrabber/3.9.1 404 0 3
                      2012-04-04 16:15:40 W3SVC1 172.21.40.12 GET /install/rhel-server-6.2-x86_64-dvd/images/pxeboot/vmlinuz - 80 - 172.21.40.188 urlgrabber/3.9.1 404 3 50
                      2012-04-04 16:15:40 W3SVC1 172.21.40.12 GET /install/rhel-server-6.2-x86_64-dvd/isolinux/vmlinuz - 80 - 172.21.40.188 urlgrabber/3.9.1 404 3 50
                      • 8. Re: Boot loader didn't return any data!
                        Avi Miller-Oracle
                        Calintz wrote:
                        Hi, below is the HTTP logs from Windows IIS
                        Those are all returning 404 File Not Found errors, so your server is unable to find the files it is looking for on that webserver. You need to confirm that those files are in the right place and accessible by the Oracle VM Servers in your environment. Keep in mind that you need the entire contents of the DVD, not just the RPMs.