Topic
3 replies Latest Post - ‏2013-06-30T17:48:03Z by F7QD_Nicolas_Echavarria
F7QD_Nicolas_Echavarria
19 Posts
ACCEPTED ANSWER

Pinned topic Virtual Pattern Kit for Developers could not import the virtual image from file

‏2013-06-03T02:39:14Z |

Hello forum and developers!

After trying for half a dozen times to deploy "IBM Business Process Manager Advanced Pattern V8.0.1 on RHEL Server for X86" in a local installation of IVPKFD the process always halts. Here's what's we're doing:

1.) Use the expandaded installer.bat utility.

2.) The image uploads and VPKFD starts processing it for a long time.

3.) After some time of VPKFD "digesting" the OVA the following error shows up"

---
Time elapsed: 331 minutes ...
Time elapsed: 331 minutes ...
Traceback (most recent call last):
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\patternloader.py", line 632, in JSONtoPattern
    obj = _findVirtualImage(virtuaImage, dest)
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\patternloader.py", line 182, in _findVirtualImage
    assert len(matches) == 1 and matches[0].name == name, utils.utos(message('IW
D00023') % (name))
AssertionError: No virtual image named "IBM Business Process Manager Advanced 8.
0.1.0 RHEL 6 x64 (VMWare)" is defined.
Traceback (most recent call last):
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\patternloader.py", line 648, in JSONtoPattern
    vi.acceptLicense()
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\resources\virtualimage.py", line 135, in acceptLicense
    http.putJSON(self.uri, { 'licenseaccepted': accept, 'licenses': utils.stou(l
icenses) })
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 446, in putJSON
    return _httpRequest(uri, 'PUT', putBody, _jsonHeader(_defaultHeaders()))
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 255, in _httpRequest
    return responseHandler(resp)
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 142, in _defaultResponseHandler
    raise IOError(utos(read.get('message', resp.reason)))
IOError: You cannot modify the license agreement of an image while it is in a tr
ansient or failed state.
Traceback (most recent call last):
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\patternloader.py", line 786, in JSONtoPattern
    vi.acceptLicense(accept='F')
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\resources\virtualimage.py", line 111, in acceptLicense
    http.putJSON(self.uri, { 'licenseaccepted': accept })
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 446, in putJSON
    return _httpRequest(uri, 'PUT', putBody, _jsonHeader(_defaultHeaders()))
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 255, in _httpRequest
    return responseHandler(resp)
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 142, in _defaultResponseHandler
    raise IOError(utos(read.get('message', resp.reason)))
IOError: You cannot modify the license agreement of an image while it is in a tr
ansient or failed state.
Traceback (most recent call last):
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\patternloader.py", line 648, in JSONtoPattern
    vi.acceptLicense()
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\resources\virtualimage.py", line 135, in acceptLicense
    http.putJSON(self.uri, { 'licenseaccepted': accept, 'licenses': utils.stou(l
icenses) })
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 446, in putJSON
    return _httpRequest(uri, 'PUT', putBody, _jsonHeader(_defaultHeaders()))
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 255, in _httpRequest
    return responseHandler(resp)
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 142, in _defaultResponseHandler
    raise IOError(utos(read.get('message', resp.reason)))
IOError: You cannot modify the license agreement of an image while it is in a tr
ansient or failed state.
Traceback (most recent call last):
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\patternloader.py", line 786, in JSONtoPattern
    vi.acceptLicense(accept='F')
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\resources\virtualimage.py", line 111, in acceptLicense
    http.putJSON(self.uri, { 'licenseaccepted': accept })
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 446, in putJSON
    return _httpRequest(uri, 'PUT', putBody, _jsonHeader(_defaultHeaders()))
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 255, in _httpRequest
    return responseHandler(resp)
  File "C:\temp\BPM_Adv_Pattern_8.0.1_RHEL_64bit\deployer.cli\lib\3.1.0.5-201210
28220303\deployer\http.py", line 142, in _defaultResponseHandler
    raise IOError(utos(read.get('message', resp.reason)))
IOError: You cannot modify the license agreement of an image while it is in a tr
ansient or failed state.
None

---

And the app shows the following message with a red alert icon:

"Virtual Pattern Kit for Developers could not import the virtual image from file:///drouter/ramdisk2/mnt/raid-volume/raid0/templates/rainmaker-templates/uploaded-template-1370201036019.ova due to the following error: Virtual image import failed"

It's important to note that we were able to import the WMB OVA without problems.

What are we doing wrong? How can we make sure the OVA file imports take place correctly?

Thanks a lot!!

 

Nicolas E.

  • Vipin_Sakhare
    Vipin_Sakhare
    12 Posts
    ACCEPTED ANSWER

    Re: Virtual Pattern Kit for Developers could not import the virtual image from file

    ‏2013-06-05T07:14:45Z  in response to F7QD_Nicolas_Echavarria

    Hi,

    Investigating on this. Will get back to you.

    Thanks,

    Vipin Sakhare

  • binnes
    binnes
    21 Posts
    ACCEPTED ANSWER

    Re: Virtual Pattern Kit for Developers could not import the virtual image from file

    ‏2013-06-07T10:48:54Z  in response to F7QD_Nicolas_Echavarria

    Hello,

     

    Can I check what version of VPDK you are running, as the quickstart for this image contains the following:

     

    Use the patterns to create, deploy, and manage IBM BPM environments with either IBM PureApplication System, version 1.0.0.4 and later fix packs or IBM Workload Deployer, version 3.1.0.7 and later fix packs.

     

    You need to ensure you are using VPDK 3.1.0.7, which is currently available on the developerWorks download site. You check the version of VPDK you are running by logging into VPDK and checking the bottom right corner of the browser window.  The current version shows 3.1.0.7-20130319100736  /  20130319-1003-614, which is at level 3.1.0.7.  If you are running a previous version you will need to move to the newer version to use this pattern.

    Brian

     

    • F7QD_Nicolas_Echavarria
      19 Posts
      ACCEPTED ANSWER

      Re: Virtual Pattern Kit for Developers could not import the virtual image from file

      ‏2013-06-30T17:48:03Z  in response to binnes

      Brian,

      The current firmware version is IBM Virtual Pattern Kit for Developers 3.1.0.7-20130319100736

      I was, however, able to import the BPM image after a hardware change (spin to SSDs).
      Will report back if an exact solution is found.

       

      Thanks a lot!!

      Nicolas E.