1 Reply Latest reply: Oct 5, 2010 4:43 PM by Shail Goel RSS

    OVAB Issue - Error when creating a template

    799594
      Hi,
      I am new to OVAB product and need some help. I am using an OEL5 Linux VM.
      I had made the Introspection of a WebLogic Server 10.3.3.0 with a JDBC configuration of a XE DataBase. The Introspection was done OK, but when I try to build the template an error appears.
      I am using the OEL Template Type, and the "create new package" option with Remote Host.
      This is the log from the OVAB Studio:

      ------------------------------------------------------------------------------------------------------------
      Create Templates: Creating OEL template for WLS1033 (Capture ID: jnI4hnZz4eUl8vt)
      Create Templates: Status: Packaging - 8ZCLwcslLM7wynv_
      jnI4hnZz4eUl8vt_OVM_OEL
      Create Templates: Copy AssemblyBuilder to remote machine.
      Create Templates: Copying assemblybuilder.zip to remote machine.
      Create Templates: Copy at 10%
      Create Templates: Copy at 20%
      Create Templates: Copy at 30%
      Create Templates: Copy at 40%
      Create Templates: Copy at 50%
      Create Templates: Copy at 60%
      Create Templates: Copy at 70%
      Create Templates: Copy at 80%
      Create Templates: Copy at 90%
      Create Templates: Copy at 100%
      Create Templates: Copy of assemblybuilder.zip complete.
      Create Templates: Copying support scripts
      Create Templates: Copy of support scripts complete
      Create Templates: Copy of AssemblyBuilder is complete.
      Create Templates: Start remote AssemblyBuilder.
      Create Templates: Remote AssemblyBuilder is started and connected.
      Create Templates: Packaging assembly TestAssembly/WLS1033
      Create Templates: Packaging appliance TestAssembly/WLS1033/AdminServer
      Create Templates: Packaging bundle MiddlewareHome
      Create Templates: Writing to MiddlewareHome_1.zip started
      Create Templates: Written 13MB at 7.00MB/s ETA: 00:03:07 1%
      Create Templates: Written 26MB at 4.00MB/s ETA: 00:04:49 2%
      Create Templates: Written 39MB at 2.00MB/s ETA: 00:08:10 3%
      Create Templates: Written 52MB at 3.00MB/s ETA: 00:07:09 4%
      Create Templates: Written 66MB at 3.00MB/s ETA: 00:06:31 5%
      Create Templates: Written 79MB at 3.00MB/s ETA: 00:06:45 6%
      Create Templates: Written 92MB at 3.00MB/s ETA: 00:06:23 7%
      Create Templates: Written 105MB at 2.00MB/s ETA: 00:06:56 8%
      Create Templates: Written 119MB at 3.00MB/s ETA: 00:06:41 9%
      Create Templates: Written 132MB at 3.00MB/s ETA: 00:06:27 10%
      Create Templates: Written 145MB at 3.00MB/s ETA: 00:06:28 11%
      Create Templates: Written 158MB at 3.00MB/s ETA: 00:06:21 12%
      Create Templates: Written 172MB at 2.00MB/s ETA: 00:07:22 13%
      Create Templates: Written 185MB at 2.00MB/s ETA: 00:08:31 14%
      Create Templates: Written 198MB at 2.00MB/s ETA: 00:09:33 15%
      Create Templates: Written 211MB at 1.00MB/s ETA: 00:09:32 16%
      Create Templates: Written 225MB at 1.00MB/s ETA: 00:10:19 17%
      Create Templates: Written 238MB at 1.00MB/s ETA: 00:10:12 18%
      Create Templates: Written 251MB at 1.00MB/s ETA: 00:09:48 19%
      Create Templates: Written 264MB at 1.00MB/s ETA: 00:09:41 20%
      Create Templates: Written 278MB at 1.00MB/s ETA: 00:09:30 21%
      Create Templates: Written 291MB at 1.00MB/s ETA: 00:09:22 22%
      Create Templates: Written 304MB at 1.00MB/s ETA: 00:09:11 23%
      Create Templates: Written 317MB at 1.00MB/s ETA: 00:08:57 24%
      Create Templates: Written 331MB at 1.00MB/s ETA: 00:08:45 25%
      Create Templates: Written 344MB at 1.00MB/s ETA: 00:08:32 26%
      Create Templates: Written 357MB at 1.00MB/s ETA: 00:08:26 27%
      Create Templates: Written 370MB at 1.00MB/s ETA: 00:08:17 28%
      Create Templates: Written 384MB at 1.00MB/s ETA: 00:08:11 29%
      Create Templates: Written 397MB at 1.00MB/s ETA: 00:08:02 30%
      Create Templates: Written 410MB at 1.00MB/s ETA: 00:07:56 31%
      Create Templates: Written 423MB at 1.00MB/s ETA: 00:07:52 32%
      Create Templates: Written 436MB at 1.00MB/s ETA: 00:07:42 33%
      Create Templates: Written 450MB at 1.00MB/s ETA: 00:07:40 34%
      Create Templates: Written 463MB at 1.00MB/s ETA: 00:07:35 35%
      Create Templates: Written 476MB at 1.00MB/s ETA: 00:07:31 36%
      Create Templates: Written 489MB at 1.00MB/s ETA: 00:07:25 37%
      Create Templates: Written 503MB at 1.00MB/s ETA: 00:07:15 38%
      Create Templates: Written 516MB at 1.00MB/s ETA: 00:07:05 39%
      Create Templates: Written 529MB at 1.00MB/s ETA: 00:06:54 40%
      Create Templates: Written 542MB at 1.00MB/s ETA: 00:06:49 41%
      Create Templates: Written 556MB at 1.00MB/s ETA: 00:06:40 42%
      Create Templates: Written 569MB at 1.00MB/s ETA: 00:06:29 43%
      Create Templates: Written 582MB at 2.00MB/s ETA: 00:06:17 44%
      Create Templates: Written 595MB at 2.00MB/s ETA: 00:06:09 45%
      Create Templates: Written 609MB at 2.00MB/s ETA: 00:05:59 46%
      Create Templates: Written 622MB at 1.00MB/s ETA: 00:06:02 47%
      Create Templates: Written 635MB at 1.00MB/s ETA: 00:06:06 48%
      Create Templates: Written 648MB at 1.00MB/s ETA: 00:06:03 49%
      Create Templates: Written 662MB at 1.00MB/s ETA: 00:06:03 50%
      Create Templates: Written 675MB at 1.00MB/s ETA: 00:05:59 51%
      Create Templates: Written 688MB at 1.00MB/s ETA: 00:05:55 52%
      Create Templates: Written 701MB at 1.00MB/s ETA: 00:05:50 53%
      Create Templates: Written 715MB at 1.00MB/s ETA: 00:05:50 54%
      Create Templates: Written 728MB at 1.00MB/s ETA: 00:05:44 55%
      Create Templates: Written 741MB at 1.00MB/s ETA: 00:05:36 56%
      Create Templates: Written 754MB at 1.00MB/s ETA: 00:05:29 57%
      Create Templates: Written 768MB at 1.00MB/s ETA: 00:05:23 58%
      Create Templates: Written 781MB at 1.00MB/s ETA: 00:05:20 59%
      Create Templates: Written 794MB at 1.00MB/s ETA: 00:05:09 60%
      Create Templates: Written 807MB at 1.00MB/s ETA: 00:04:58 61%
      Create Templates: Written 820MB at 1.00MB/s ETA: 00:04:49 62%
      Create Templates: Written 834MB at 1.00MB/s ETA: 00:04:38 63%
      Create Templates: Written 847MB at 1.00MB/s ETA: 00:04:30 64%
      Create Templates: Written 860MB at 1.00MB/s ETA: 00:04:22 65%
      Create Templates: Written 873MB at 1.00MB/s ETA: 00:04:11 66%
      Create Templates: Written 887MB at 1.00MB/s ETA: 00:04:03 67%
      Create Templates: Written 900MB at 1.00MB/s ETA: 00:03:54 68%
      Create Templates: Written 913MB at 1.00MB/s ETA: 00:03:45 69%
      Create Templates: Written 926MB at 1.00MB/s ETA: 00:03:36 70%
      Create Templates: Written 940MB at 1.00MB/s ETA: 00:03:28 71%
      Create Templates: Written 953MB at 1.00MB/s ETA: 00:03:20 72%
      Create Templates: Written 966MB at 1.00MB/s ETA: 00:03:12 73%
      Create Templates: Written 979MB at 1.00MB/s ETA: 00:03:04 74%
      Create Templates: Written 993MB at 1.00MB/s ETA: 00:02:56 75%
      Create Templates: Written 1006MB at 1.00MB/s ETA: 00:02:47 76%
      Create Templates: Written 1019MB at 1.00MB/s ETA: 00:02:40 77%
      Create Templates: Written 1032MB at 1.00MB/s ETA: 00:02:32 78%
      Create Templates: Written 1046MB at 1.00MB/s ETA: 00:02:24 79%
      Create Templates: Written 1059MB at 1.00MB/s ETA: 00:02:18 80%
      Create Templates: Written 1072MB at 1.00MB/s ETA: 00:02:11 81%
      Create Templates: Written 1085MB at 1.00MB/s ETA: 00:02:04 82%
      Create Templates: Written 1099MB at 1.00MB/s ETA: 00:01:57 83%
      Create Templates: Written 1112MB at 1.00MB/s ETA: 00:01:50 84%
      Create Templates: Written 1125MB at 1.00MB/s ETA: 00:01:43 85%
      Create Templates: Written 1138MB at 1.00MB/s ETA: 00:01:36 86%
      Create Templates: Written 1152MB at 1.00MB/s ETA: 00:01:29 87%
      Create Templates: Written 1165MB at 1.00MB/s ETA: 00:01:23 88%
      Create Templates: Written 1178MB at 1.00MB/s ETA: 00:01:17 89%
      Create Templates: Written 1191MB at 1.00MB/s ETA: 00:01:11 90%
      Create Templates: Written 1205MB at 1.00MB/s ETA: 00:01:04 91%
      Create Templates: Written 1218MB at 1.00MB/s ETA: 00:00:57 92%
      Create Templates: Written 1231MB at 1.00MB/s ETA: 00:00:50 93%
      Create Templates: Written 1244MB at 1.00MB/s ETA: 00:00:42 94%
      Create Templates: Written 1257MB at 1.00MB/s ETA: 00:00:35 95%
      Create Templates: Written 1271MB at 1.00MB/s ETA: 00:00:28 96%
      Create Templates: Written 1284MB at 1.00MB/s ETA: 00:00:21 97%
      Create Templates: Written 1297MB at 1.00MB/s ETA: 00:00:14 98%
      Create Templates: Written 1310MB at 1.00MB/s ETA: 00:00:07 99%
      Create Templates: Written 1324MB at 1.00MB/s ETA: 00:00:00 100%
      Create Templates:

      Create Templates: Writing to MiddlewareHome_1.zip completed
      Create Templates: Successfully packaged MiddlewareHome
      Create Templates: Successfully packaged TestAssembly/WLS1033/AdminServer
      Create Templates: Successfully packaged TestAssembly/WLS1033
      Create Templates: Copying packages from remote machine.
      Create Templates: Copied file INDEX.MF from remote machine.
      Create Templates: Copied file MiddlewareHome_1.zip from remote machine.
      Create Templates: Copying packages completed.
      Create Templates: Status: Creating - 8ZCLwcslLM7wynv_jnI4hnZz4eUl8vt_OVM_OEL
      Create Templates: Failed to create template for TestAssembly/WLS1033
      Create Templates: Status: Create Failed - 8ZCLwcslLM7wynv_jnI4hnZz4eUl8vt_OVM_OEL
      oracle.as.assemblybuilder.bottler.BottlerException: Failed to stat the base image at /home/oracle/Desktop/ofm_vab_linux_11.1.1.2.0_disk1_1of1.zip_FILES/catalog/templates/jnI4hnZz4eUl8vt/OVM/OEL/templates/System.img.
      at oracle.as.assemblybuilder.internal.bottler.OvmBottlerImpl.bottleAtomicAssembly(OvmBottlerImpl.java:576)
      at oracle.as.assemblybuilder.internal.bottler.OvmBottlerImpl.bottle(OvmBottlerImpl.java:248)
      at oracle.as.assemblybuilder.internal.bottler.OvmBottlerFacadeImpl.bottleAtomicAssembly(OvmBottlerFacadeImpl.java:334)
      at oracle.as.assemblybuilder.internal.bottler.OvmBottlerFacadeImpl.bottle(OvmBottlerFacadeImpl.java:186)
      at oracle.as.assemblybuilder.fcp.bottler.TemplateTask.createTemplate(TemplateTask.java:209)
      at oracle.as.assemblybuilder.fcp.bottler.TemplateTask.run(TemplateTask.java:139)
      at oracle.as.assemblybuilder.fcp.bottler.TemplateTaskManager$1.run(TemplateTaskManager.java:34)
      Caused by: oracle.as.assemblybuilder.bottler.BottlerException: Failed to stat the base image at /home/oracle/Desktop/ofm_vab_linux_11.1.1.2.0_disk1_1of1.zip_FILES/catalog/templates/jnI4hnZz4eUl8vt/OVM/OEL/templates/System.img.
      at oracle.as.assemblybuilder.internal.bottler.BaseImageStat.<init>(BaseImageStat.java:105)
      at oracle.as.assemblybuilder.internal.bottler.BaseImageStat.<init>(BaseImageStat.java:78)
      at oracle.as.assemblybuilder.internal.bottler.OvmBottlerImpl.bottleAtomicAssembly(OvmBottlerImpl.java:541)
      ... 6 more
      Caused by: oracle.as.assemblybuilder.common.exception.AbException: mount exited with code 32
      at oracle.as.assemblybuilder.internal.bottler.DiskCommandImpl.mount(DiskCommandImpl.java:116)
      at oracle.as.assemblybuilder.internal.bottler.BaseImageStat.mount(BaseImageStat.java:372)
      at oracle.as.assemblybuilder.internal.bottler.BaseImageStat.<init>(BaseImageStat.java:98)
      ... 8 more
      ---------------------------------------------------------------------------------------------------------------------------------------

      It is an urgent request., Any help would be appreciate,
      Thanks,
      Pablo
        • 1. Re: OVAB Issue - Error when creating a template
          Shail Goel
          Can you confirm if you have a system base image in the default location (which in your case is -
          /home/oracle/Desktop/ofm_vab_linux_11.1.1.2.0_disk1_1of1.zip_FILES/catalog/templates/jnI4hnZz4eUl8vt/OVM/OEL/templates)? Or if not in default location, did you provide the location of the system base image in "Step 5 of 6 - Specify Image Location" of Build Templates wizard of OVAB Studio?

          Section 2.3.3 in User's Guide states this:
          http://download.oracle.com/docs/cd/E16104_01/doc.1111/e15835/use.htm#CHDHHHHD

          To create a template, you must provide a system base image that contains the operating system. Oracle Virtual Assembly Builder provides a sample system base image. You may create your own system base image if the sample system base image does not meet your needs. For instance, if you want more disk space in the base image, or needs some specific RPMs, then you will use Oracle VM's modifyjeos tool to create a customized system base image.

          You can find the "sample system base image" here:
          http://download.oracle.com/otn/linux/middleware/11g/sampleOELBaseImage.zip

          Refer section 4.2.4 in Install Guide for more details:
          http://download.oracle.com/docs/cd/E16104_01/doc.1111/e15836/toc.htm#BHCGCICG

          Pl. make sure you either have the sample system base image or your own created system base image (that meets the requirements mentioned in the Install Guide) and use that when you are building the templates. When you retry this, you can select "Use existing packages" option and create the templates.

          Hopefully this will get you going.

          Thanks
          Shail